[PATCH] arm64: dts: rockchip: Add a few aliases to the PineTab2 dtsi
Diederik de Haas
didi.debian at cknow.org
Thu Sep 5 05:21:12 PDT 2024
On Thu Sep 5, 2024 at 1:39 PM CEST, Krzysztof Kozlowski wrote:
> On 05/09/2024 13:32, Dragan Simic wrote:
> > Sprinkle a few commonly used aliases onto the PineTab2 dtsi file, to improve
> > its readability a bit, to make it easier to refer to the actual nodes later,
> > if needed, and to add a bit more detail to some of the labels.
> >
> > Suggested-by: Diederik de Haas <didi.debian at cknow.org>
> > Signed-off-by: Dragan Simic <dsimic at manjaro.org>
>
> Unused aliases do not improve readability, so for me this change is
> making code worse without valid reason.
This came forth by a question from me to Dragan about a patch for
another board which doesn't have a charger defined at all (yet).
I actually have that patch (but not the HW) for a while (~1.5 year)
now and I had used `rk817_charger: charger` for that, probably because
I saw that being used everywhere else.
Then I compared it to the PineTab2 and noticed it had only `charger`, so
I asked "What should I use? With or without the alias?"
In this case the inconsistency is causing confusion (with me).
So: What should be used for that other/new board(s)?
Cheers,
Diederik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-rockchip/attachments/20240905/4a32e2af/attachment.sig>
More information about the Linux-rockchip
mailing list