[PATCH 5/5] ARM: dts: imx51-babbage: Fix esdhc setup
Lothar Waßmann
LW at KARO-electronics.de
Tue Jun 10 01:01:59 PDT 2014
Hi,
Shawn Guo wrote:
> On Fri, May 23, 2014 at 02:33:04PM +0200, Sascha Hauer wrote:
> > - Move cd/wp pinctrl from the hog group to the esdhc groups
> > - use gpio for card detection / write protection on esdhc2 since
> > the controller based detection does not work
> > - Fix cd gpio polarity for esdhc1. This is wrong and currently
> > only works because the imx esdhc driver ignores the polarity.
> >
[...]
> > @@ -330,6 +326,8 @@
> >
> > pinctrl_esdhc1: esdhc1grp {
> > fsl,pins = <
> > + MX51_PAD_GPIO1_0__GPIO1_0 0x20d5
> > + MX51_PAD_GPIO1_1__GPIO1_1 0x20d5
>
> The pad config value 0x20d5 still makes sense here when switching to
> GPIO function? Probably should be 0x100 like what we have in esdhc2grp?
>
The pad config 0x20d5 doesn't make any sense at all because according
to the Ref. Manual only bits 0..2 and 4..8 (mask 0x01f7) are defined for
those pads. Thus 0x2000 doesn't serve any purpose at all.
Lothar Waßmann
--
___________________________________________________________
Ka-Ro electronics GmbH | Pascalstraße 22 | D - 52076 Aachen
Phone: +49 2408 1402-0 | Fax: +49 2408 1402-10
Geschäftsführer: Matthias Kaussen
Handelsregistereintrag: Amtsgericht Aachen, HRB 4996
www.karo-electronics.de | info at karo-electronics.de
___________________________________________________________
More information about the linux-arm-kernel
mailing list