I've been reading through that stuff, but something just isn't sinking in.
Bear with me here (thanks for your patience)...
If I have this in my .dts file...
&iomuxc {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_hog_1>;
hog {
pinctrl_hog_1: hoggrp-1 {
fsl,pins = <
MX6QDL_PAD_GPIO_0__GPIO1_IO00 0x80000000
MX6QDL_PAD_GPIO_1__GPIO1_IO01 0x80000000
...
>;
}
}
}
and I've got these two pins configured in uboot, the way I want them (GPIO_0=out, GPIO_1=in)
shouldn't I be able to access them as regular GPIO using /sys/class/gpio?
I know they are configured correctly in uboot because I can access them there and they do what
I expect; however when I try to read the input line (/sys/class/gpio/gpio1/value) its not reading
back the value on the bit.
Note, I realize that GPIO_1 *could* be allocated to usbotg, but I don't have USB on
this board; so that node is removed from my dts file.
Ed