On Wed, 2021-04-21 at 23:25 +0200, Johan Jonker wrote: > On 4/21/21 11:06 PM, Ezequiel Garcia wrote: > > On Wed, 2021-04-21 at 22:46 +0200, Johan Jonker wrote: > > > On 4/21/21 10:04 PM, Ezequiel Garcia wrote: > > > > Add a new compatible for the thermal sensor device on RK3568 SoCs. > > > > > > > > Signed-off-by: Ezequiel Garcia <ezequiel@xxxxxxxxxxxxx> > > > > --- > > > > Documentation/devicetree/bindings/thermal/rockchip-thermal.txt | 1 + > > > > 1 file changed, 1 insertion(+) > > > > > > > > diff --git a/Documentation/devicetree/bindings/thermal/rockchip-thermal.txt b/Documentation/devicetree/bindings/thermal/rockchip-thermal.txt > > > > index 7f94669e9ebe..346e466c2006 100644 > > > > --- a/Documentation/devicetree/bindings/thermal/rockchip-thermal.txt > > > > +++ b/Documentation/devicetree/bindings/thermal/rockchip-thermal.txt > > > > @@ -9,6 +9,7 @@ Required properties: > > > > "rockchip,rk3328-tsadc": found on RK3328 SoCs > > > > "rockchip,rk3368-tsadc": found on RK3368 SoCs > > > > "rockchip,rk3399-tsadc": found on RK3399 SoCs > > > > > > > + "rockchip,rk3568-tsadc": found on RK3568 SoCs > > > > > > This is still a text document. > > > rob+dt has now scripts that check for undocumented compatibility > > > strings, so first convert rockchip-thermal.txt to YAML and then add this > > > in a separated patch. > > > > > > > Is it a showstopper to convert devicetree bindings to YAML for driver submission? > > You now that hardware best, so try to fix the documents as well. Well, not really. I'm just forward porting the driver from downstream kernels, so we can support this new SoC. Not really a hardware _expert_ for all the devices I plan to be pushing. > The new norm is YAML, so aim for that. I am aware of that. In fact, at Collabora we encourage all the kernel developers to convert to YAML, if/when possible. > Try to submit a complete package of YAML, driver (and dts nodes) for review. The devicetree for RK3566 and RK3568 is under discussion, in fact it was submitted today. Rockhip is leading that, and doing a great job already :) Meanwhile, I'd like to merge the small drivers (thermal, pmic, dwmac, io-domains and so on), so they are ready when the devicetree lands. Most if not all of these devices just need a new compatible string. It would really delay things if I aim to convert all those bindings docs to YAML first, so let's please avoid that... ... unless it's a new hard-rule that DT maintainers have agreed on. Having said that, if you want to help the RK3568 bringup adventure, converting the bindings to YAML, that would be really appreciated! Of course, I know you've converted plenty of them already, and I already appreciate that :) Thanks, Ezequiel