NSA310 + DT

Tibor Harsszegi tibor at harsszegi.com
Wed Jul 10 13:29:12 EDT 2013


Hello,
> root at qnap:/sys# find . -name *gpio*
root at nsa310:/sys# find . -name *gpio*
./bus/platform/devices/gpio_keys.1
./bus/platform/devices/f1010140.gpio
./bus/platform/devices/gpio-leds.2
./bus/platform/devices/f1010100.gpio
./bus/platform/devices/gpio_poweroff.3
./bus/platform/drivers/leds-gpio
./bus/platform/drivers/mvebu-gpio
./bus/platform/drivers/mvebu-gpio/f1010140.gpio
./bus/platform/drivers/mvebu-gpio/f1010100.gpio
./bus/platform/drivers/poweroff-gpio
./bus/platform/drivers/gpio-keys
./bus/platform/drivers/basic-mmio-gpio
./devices/gpio_keys.1
./devices/ocp.0/f1010140.gpio
./devices/ocp.0/f1010140.gpio/gpio
./devices/ocp.0/f1010140.gpio/gpio/gpiochip32
./devices/ocp.0/f1010140.gpio/gpio/gpiochip32/ngpio
./devices/ocp.0/f1010100.gpio
./devices/ocp.0/f1010100.gpio/gpio
./devices/ocp.0/f1010100.gpio/gpio/gpiochip0
./devices/ocp.0/f1010100.gpio/gpio/gpiochip0/ngpio
./devices/gpio-leds.2
./devices/gpio_poweroff.3
./class/gpio
./class/gpio/gpiochip32
./class/gpio/gpiochip0

> I have no LEDs on this box, but you should should see entries in
>
> /sys/class/leds
>
No, I don't.

root at nsa310:/sys# ls -la /sys/class/leds/
total 0
drwxr-xr-x 2 root root 0 j�úl 10 19:24 .
drwxr-xr-x 34 root root 0 j�úl 10 19:24 ..

Cheers,
t.

> What you probably see in the kernel logs is lots of warnings from gpio
> about deferred, but then they get repeated later and are successful.
>
> 	Andrew




More information about the linux-arm-kernel mailing list