arm64: dts: rockchip: add 'chassis-type' property on PineNote
Subsystems (2)
PATCH 1/1 arm64: dts: rockchip: add 'chassis-type' property on PineNote
Add the recommended chassis-type root node property so userspace can request the form factor and adjust their behavior accordingly.
--- arch/arm64/boot/dts/rockchip/rk3566-pinenote.dtsi | 2 ++ 1 file changed, 2 insertions(+)
arch/arm64/boot/dts/rockchip/rk3566-pinenote.dtsi +2 -0
@@ -9,6 +9,8 @@ #include "rk3566.dtsi" / { + chassis-type = "tablet"; + aliases { mmc0 = &sdhci; };
Signature · 1 line
2.47.2
Hello Diederik,
Quoted 5 lines · Diederik de Haas
Add the recommended chassis-type root node property so userspace can request the form factor and adjust their behavior accordingly.
Maybe the Link tag should be converted into a "[1]" reference? To me, this is more like a reference for this DT addition.
In general, references can also be placed closer to the contents they back up, which isn't possible with Link tags, but of course that doesn't matter much in this case.
Quoted 10 lines
--- arch/arm64/boot/dts/rockchip/rk3566-pinenote.dtsi | 2 ++ 1 file changed, 2 insertions(+)arch/arm64/boot/dts/rockchip/rk3566-pinenote.dtsi +0
-0
arch/arm64/boot/dts/rockchip/rk3566-pinenote.dtsi line 16
Quoted 8 lines
arch/arm64/boot/dts/rockchip/rk3566-pinenote.dtsi +2
-0@@ -9,6 +9,8 @@ #include "rk3566.dtsi" / { + chassis-type = "tablet"; + aliases { mmc0 = &sdhci; };
The patch is obviously fine. Thanks for the patch, and please feel free to include, regardless of the note above, my:
Hi Dragan,
Quoted 8 lines · Dragan Simic
Quoted 6 lines · Diederik de Haas
Add the recommended chassis-type root node property so userspace can request the form factor and adjust their behavior accordingly.
Signed-off-by Diederik de Haas <[email protected]>
Quoted 6 lines
Maybe the Link tag should be converted into a "[1]" reference? To me, this is more like a reference for this DT addition.
In general, references can also be placed closer to the contents they back up, which isn't possible with Link tags, but of course that doesn't matter much in this case.
I generally use the "[1]" format when linking to specific claims, which I could've done wrt the "recommended". But I considered this a general background link and then I prefer to do it via a Link tag.
If requested by a maintainer I'll change it ofc, but otherwise I prefer to keep it as is.
Quoted 22 lines
Quoted 10 lines
--- arch/arm64/boot/dts/rockchip/rk3566-pinenote.dtsi | 2 ++ 1 file changed, 2 insertions(+)arch/arm64/boot/dts/rockchip/rk3566-pinenote.dtsi +0
-0arch/arm64/boot/dts/rockchip/rk3566-pinenote.dtsi line 16
Quoted 8 lines
arch/arm64/boot/dts/rockchip/rk3566-pinenote.dtsi +2
-0@@ -9,6 +9,8 @@ #include "rk3566.dtsi" / { + chassis-type = "tablet"; + aliases { mmc0 = &sdhci; };The patch is obviously fine. Thanks for the patch, and please feel free to include, regardless of the note above, my:
Quoted 1 line
Reviewed-by Dragan Simic <[email protected]>
Thanks :)
Cheers,
Diederik
Quoted 16 lines · Diederik de Haas
Quoted 8 lines · Dragan Simic
Quoted 6 lines · Diederik de Haas
Add the recommended chassis-type root node property so userspace can request the form factor and adjust their behavior accordingly.
Signed-off-by Diederik de Haas <[email protected]>Quoted 6 lines
Maybe the Link tag should be converted into a "[1]" reference? To me, this is more like a reference for this DT addition.
In general, references can also be placed closer to the contents they back up, which isn't possible with Link tags, but of course that doesn't matter much in this case.
Quoted 6 lines
I generally use the "[1]" format when linking to specific claims, which I could've done wrt the "recommended". But I considered this a general background link and then I prefer to do it via a Link tag.
If requested by a maintainer I'll change it ofc, but otherwise I prefer to keep it as is.
Indeed, in this case it's pretty much irrelevant which format is used. In fact, it may look nicer to use a Link tag, because there are only a few lines in the patch description in total. :)
My comment was more about longer commit/patch descriptions with multiple references, which should benefit from placing references closer to the backed-up contents using the "[*]" layout, instead of relying on Link tags to bunch it all together at the end of the description.
Quoted 4 lines · Diederik de Haas
Add the recommended chassis-type root node property so userspace can request the form factor and adjust their behavior accordingly.
Applied, thanks!
[1/1] arm64: dts: rockchip: add 'chassis-type' property on PineNote
commit: 18cb5cb58f4fcbd96d00e1d882e6b5882d1b272f
Best regards,
Signature · 1 line
Heiko Stuebner <[email protected]>
Quoted 5 lines · Diederik de Haas
Add the recommended chassis-type root node property so userspace can request the form factor and adjust their behavior accordingly.
Drop link, no need to point to source of every property. You don't do it for aliases, compatible, model etc, right?
With link dropped:
Best regards,
Krzysztof
Heiko Stübner
maintainerAm Montag, 10. Februar 2025, 12:06:15 MEZ schrieb Krzysztof Kozlowski:
Quoted 7 lines · Diederik de Haas
Quoted 5 lines
Add the recommended chassis-type root node property so userspace can request the form factor and adjust their behavior accordingly.
Quoted 6 lines
Drop link, no need to point to source of every property. You don't do it for aliases, compatible, model etc, right?
With link dropped:
Reviewed-by Krzysztof Kozlowski <[email protected]>
I've amended the patch [0] by dropping the Link and adding Krzysztof's Reviewed-by.
Heiko
Quoted 9 lines · Krzysztof Kozlowski
Quoted 5 lines · Diederik de Haas
Add the recommended chassis-type root node property so userspace can request the form factor and adjust their behavior accordingly.
Drop link, no need to point to source of every property. You don't do it for aliases, compatible, model etc, right?
Thanks for that hint, I'll keep that in mind for next time :-)
Cheers,
Diederik