[PATCH 0/2] arm64: dts: imx8m: Add pinctrl config definitions

Lucas Stach l.stach at pengutronix.de
Mon Feb 17 01:21:23 PST 2025


Am Samstag, dem 15.02.2025 um 10:02 +0000 schrieb Maud Spierings |
GOcontroll:
> From: Lucas Stach <l.stach at pengutronix.de>
> Sent: Friday, February 14, 2025 5:28 PM
>  
> > Hi Maud,
> 
> > Am Freitag, dem 14.02.2025 um 16:57 +0100 schrieb Maud Spierings via B4
> > Relay:
> > > Up untill now the extra function mux (pull resistor, etc) has been
> > > defined as a raw hex value, this is difficult to interpret. Add
> > > definitions for these parts of the pinctrl registers to allow for more
> > > readable pinctrl definitions in devictree files.
> 
> > I certainly prefer the short form with the hex value, I find that quite
> > a bit more readable than very verbose swathes of defines ORed together.
> > But each to their own.
> 
> I personally prefer it, but it would be accepted if I write a dts using this if it
> gets accepted? I am currently working on devicetrees for all of our devices
> preferably they would use this.
> 
I'm not the ultimate authority on this, as I'm not the official
maintainer of the i.MX DTs. That would be Shawn, so he has to agree to
this. However, my gut feeling is that it would be accepted if you as
the author of the board DT prefer this style.

Just don't go around and convert other board DTs maintained by other
people to the verbose define style.

Regards,
Lucas




More information about the linux-arm-kernel mailing list