GPIO LED support LS1046A

cancel
Showing results for 
Search instead for 
Did you mean: 

GPIO LED support LS1046A

311 Views
jhering_ruegen
Contributor II

Hi colleagues,

I am trying to enable LED support via GPIO for our board based on LS1046. In the system I have both mpc8xxx (CONFIG_GPIO_MPC8XXX) based GPIOs and I2C based GPIOs. The LED functionality works for the I2C part e.g.
echo heartbeat > /sys/class/leds/x1p/trigger
but for the LS1046 GPIOs
echo heartbeat > /sys/class/leds/run-g/trigger
not

the same is also with

echo 255 > /sys/class/leds/run-g/brightness


The kernel https://github.com/Freescale/linux-fslc/tree/5.10-2.1.x-imx
attached is the device tree and the kernel configuration file

does anyone have any idea, it looks like the LED support for the qoriq gpio drivers is not working?
Greetings from the island of Rügen
Jörg Hering

0 Kudos
1 Reply

280 Views
yipingwang
NXP TechSupport
NXP TechSupport
0 Kudos