Re: AM37x unable to drive output of some gpio lines (works with 2.6.37)

2015-10-13 Thread Grygorii Strashko
On 10/12/2015 04:12 PM, Ladislav Michl wrote: > On Fri, Oct 09, 2015 at 11:45:17AM +0200, Rolf Peukert wrote: >> On 09.10.2015 02:54, Ladislav Michl wrote: >>> Hi there! >>> >>> on custom AM37x board running 2.6.37 this was enough to enable gpio 67: >>> echo 71 > /sys/class/gpio/export >>> echo

Re: AM37x unable to drive output of some gpio lines (works with 2.6.37)

2015-10-13 Thread Ladislav Michl
On Tue, Oct 13, 2015 at 09:26:24PM +0300, Grygorii Strashko wrote: > I think You might need to check pin muxing in DT-file. if you have smth like > > dss_dpi_pins_cm_t35x: pinmux_dss_dpi_pins_cm_t35x { > pinctrl-single,pins = < > OMAP3_CORE1_IOPAD(0x20dc,

Re: AM37x unable to drive output of some gpio lines (works with 2.6.37)

2015-10-12 Thread Ladislav Michl
On Fri, Oct 09, 2015 at 11:45:17AM +0200, Rolf Peukert wrote: > On 09.10.2015 02:54, Ladislav Michl wrote: > > Hi there! > > > > on custom AM37x board running 2.6.37 this was enough to enable gpio 67: > > echo 71 > /sys/class/gpio/export > > echo out > /sys/class/gpio/gpio71/direction > > echo 1

Re: AM37x unable to drive output of some gpio lines (works with 2.6.37)

2015-10-09 Thread Rolf Peukert
On 09.10.2015 02:54, Ladislav Michl wrote: > Hi there! > > on custom AM37x board running 2.6.37 this was enough to enable gpio 67: > echo 71 > /sys/class/gpio/export > echo out > /sys/class/gpio/gpio71/direction > echo 1 > /sys/class/gpio/gpio71/value > > However, with DT configured linux-4.2

AM37x unable to drive output of some gpio lines (works with 2.6.37)

2015-10-08 Thread Ladislav Michl
Hi there! on custom AM37x board running 2.6.37 this was enough to enable gpio 67: echo 71 > /sys/class/gpio/export echo out > /sys/class/gpio/gpio71/direction echo 1 > /sys/class/gpio/gpio71/value However, with DT configured linux-4.2 compiled using omap2plus_defconfig this no longer works.