[PATCH 04/23] arm: dts: k3-am642-sk: Fix mmc1 pinmux pull polarity

Nishanth Menon nm at ti.com
Mon Apr 17 13:12:17 CEST 2023


On 13:42-20230417, Roger Quadros wrote:
> 
> 
> On 14/04/2023 10:57, Nishanth Menon wrote:
> > Fix the pinmux pull polarity.
> > 
> > This is a pending upstream kernel updates as of v6.3-rc6.
> > 
> > Signed-off-by: Nishanth Menon <nm at ti.com>
> > ---
> > Sent to kernel.org https://lore.kernel.org/linux-devicetree/20230414073328.381336-1-nm@ti.com/
> 
> Link to actual patch is
> https://lore.kernel.org/linux-devicetree/20230414073328.381336-3-nm@ti.com/
> 
> > 
> >  arch/arm/dts/k3-am642-sk.dts | 16 +++++++++-------
> >  1 file changed, 9 insertions(+), 7 deletions(-)
> > 
> > diff --git a/arch/arm/dts/k3-am642-sk.dts b/arch/arm/dts/k3-am642-sk.dts
> > index 4fb279489cfc..cc2027417e86 100644
> > --- a/arch/arm/dts/k3-am642-sk.dts
> > +++ b/arch/arm/dts/k3-am642-sk.dts
> > @@ -223,15 +223,17 @@
> >  
> >  &main_pmx0 {
> >  	main_mmc1_pins_default: main-mmc1-pins-default {
> > +		/* XXX: Kernel-Upstream: TODO: Upstream (pull changes) */
> 
> Do we really want to sprinkle these comments in u-boot upstream?

I have no other means to indicate that these nodes need to get to
upstream kernel and when they do get into upstream kernel, what needs to
be dropped from u-boot.

I am open to suggestions here.

> If we are quite sure this makes to upstream kernel we might as well pull them into
> u-boot as is.

No, that has been the reason why the entire dt mismatch occurred in the
first place. the subjective evaluation from various devs have been way
off. if it makes it to kernel.org master, only then can we claim that
the changes are in upstream.

> 
> >  		pinctrl-single,pins = <
> > -			AM64X_IOPAD(0x0294, PIN_INPUT, 0) /* (J19) MMC1_CMD */
> > +			AM64X_IOPAD(0x029c, PIN_INPUT_PULLUP, 0) /* (C20) MMC1_SDWP */
> > +			AM64X_IOPAD(0x0298, PIN_INPUT_PULLUP, 0) /* (D19) MMC1_SDCD */
> > +			AM64X_IOPAD(0x0294, PIN_INPUT_PULLUP, 0) /* (J19) MMC1_CMD */
> >  			AM64X_IOPAD(0x0290, PIN_INPUT, 0) /* (#N/A) MMC1_CLKLB */
> > -			AM64X_IOPAD(0x028c, PIN_INPUT, 0) /* (L20) MMC1_CLK */
> > -			AM64X_IOPAD(0x0288, PIN_INPUT, 0) /* (K21) MMC1_DAT0 */
> > -			AM64X_IOPAD(0x0284, PIN_INPUT, 0) /* (L21) MMC1_DAT1 */
> > -			AM64X_IOPAD(0x0280, PIN_INPUT, 0) /* (K19) MMC1_DAT2 */
> > -			AM64X_IOPAD(0x027c, PIN_INPUT, 0) /* (K18) MMC1_DAT3 */
> > -			AM64X_IOPAD(0x0298, PIN_INPUT, 0) /* (D19) MMC1_SDCD */
> > +			AM64X_IOPAD(0x028c, PIN_INPUT_PULLDOWN, 0) /* (L20) MMC1_CLK */
> > +			AM64X_IOPAD(0x0288, PIN_INPUT_PULLUP, 0) /* (K21) MMC1_DAT0 */
> > +			AM64X_IOPAD(0x0284, PIN_INPUT_PULLUP, 0) /* (L21) MMC1_DAT1 */
> > +			AM64X_IOPAD(0x0280, PIN_INPUT_PULLUP, 0) /* (K19) MMC1_DAT2 */
> > +			AM64X_IOPAD(0x027c, PIN_INPUT_PULLUP, 0) /* (K18) MMC1_DAT3 */
> >  		>;
> >  	};
> >  
> 
> cheers,
> -roger

-- 
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D


More information about the U-Boot mailing list