imx27: pinctrl: GPIO set output value failed
Markus Pargmann
mpa at pengutronix.de
Tue Jan 14 03:57:02 EST 2014
Hi,
On Tue, Jan 14, 2014 at 01:39:22PM +0800, Chris Ruehl wrote:
> Just fall over the Reference manual for the GPIO ports.
> Seams the iconfb0 is not addressed right.
>
> On Tuesday, January 14, 2014 12:13 PM, Chris Ruehl wrote:
> >Hi,
> >
> >some kind of weired problem:
> >Some GPIO's can modified via /sysfs others cannot
> >in my case gpio9 works, and gpio10,12 not.
> >The pinctrl debug out looks good to me.
> >
> >running kernel 3.13-rc
> >
> >Working OK
> Table 6.1 of the imx27 reference manual says (Page 6-5,6-6)
> >[ 1.553601] imx27-pinctrl 10015000.iomuxc: imx1_pmx_enable, pin
> >0x9, function 0, gpio 1, direction 1, oconf 3, iconfa 0, iconfb 0
> >[ 1.553657] imx27-pinctrl 10015000.iomuxc: write: register
> >0xf4415004 offset 18 value 0x3
> PTA_OCR1 1001_5004 OK
> >
> >[ 1.553712] imx27-pinctrl 10015000.iomuxc: write: register
> >0xf441500c offset 18 value 0x0
> PTA_ICONFA1 1001_500C OK
> >
> >[ 1.553766] imx27-pinctrl 10015000.iomuxc: write: register
> >0xf4415010 offset 18 value 0x0
> PTA_ICONFB1 1001_5014 ---> 0xf4415010 seams the wrong address
> 1001_5010 is the PTA_ICONFA2
Yes you are right, it is wrong by 0x4, pinctrl-imx1-core.c:
#define MX1_ICONFB 0x10
Can you send a patch?
Thanks,
Markus
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the linux-arm
mailing list