Re: [PATCH] leds: leds-gpio: Add a condition check for active low leds.

2018-09-05 Thread Pavel Machek
On Wed 2018-09-05 09:44:04, Michal Vokáč wrote: > Hi Song, > On 5.9.2018 04:34, Song Qiang wrote: > >Some leds on our board are active low leds, which means these leds > >are lighted when the corresponding gpio line is low, while the > >original leds-gpio driver default all leds are active high

Re: [PATCH] leds: leds-gpio: Add a condition check for active low leds.

2018-09-05 Thread Pavel Machek
On Wed 2018-09-05 09:44:04, Michal Vokáč wrote: > Hi Song, > On 5.9.2018 04:34, Song Qiang wrote: > >Some leds on our board are active low leds, which means these leds > >are lighted when the corresponding gpio line is low, while the > >original leds-gpio driver default all leds are active high

Re: [PATCH] leds: leds-gpio: Add a condition check for active low leds.

2018-09-05 Thread Michal Vokáč
Hi Song, On 5.9.2018 04:34, Song Qiang wrote: Some leds on our board are active low leds, which means these leds are lighted when the corresponding gpio line is low, while the original leds-gpio driver default all leds are active high leds. This patch adds a devicetree node "light-state", whose

Re: [PATCH] leds: leds-gpio: Add a condition check for active low leds.

2018-09-05 Thread Michal Vokáč
Hi Song, On 5.9.2018 04:34, Song Qiang wrote: Some leds on our board are active low leds, which means these leds are lighted when the corresponding gpio line is low, while the original leds-gpio driver default all leds are active high leds. This patch adds a devicetree node "light-state", whose

[PATCH] leds: leds-gpio: Add a condition check for active low leds.

2018-09-04 Thread Song Qiang
Some leds on our board are active low leds, which means these leds are lighted when the corresponding gpio line is low, while the original leds-gpio driver default all leds are active high leds. This patch adds a devicetree node "light-state", whose value should be "high" for active high leds and

[PATCH] leds: leds-gpio: Add a condition check for active low leds.

2018-09-04 Thread Song Qiang
Some leds on our board are active low leds, which means these leds are lighted when the corresponding gpio line is low, while the original leds-gpio driver default all leds are active high leds. This patch adds a devicetree node "light-state", whose value should be "high" for active high leds and