mirror of
https://github.com/torvalds/linux.git
synced 2026-05-23 22:52:19 +02:00
ARM: dts: NSP: MX6X: correct LED function types
Currently, the amber LED will remain always on. This is due to a misinterpretation of the LED sub-node properties, where-by "default-state" was used to indicate the initial state when powering on the device. When in use, however, this resulted in the amber LED always being on. Instead change this to only indicate a fault state. Assign LED_FUNCTION_POWER to the green PWM LED. These changes bring the MX64/65 in line with the MR32's devicetree. Signed-off-by: Matthew Hagan <mnhagan88@gmail.com> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
This commit is contained in:
parent
66848aff05
commit
482c85c7fc
|
|
@ -57,10 +57,9 @@ led-3 {
|
|||
|
||||
led-4 {
|
||||
/* amber:power */
|
||||
function = LED_FUNCTION_POWER;
|
||||
function = LED_FUNCTION_FAULT;
|
||||
color = <LED_COLOR_ID_AMBER>;
|
||||
gpios = <&gpioa 3 GPIO_ACTIVE_HIGH>;
|
||||
default-state = "on";
|
||||
};
|
||||
|
||||
led-5 {
|
||||
|
|
|
|||
|
|
@ -106,10 +106,9 @@ led-9 {
|
|||
|
||||
led-a {
|
||||
/* amber:power */
|
||||
function = LED_FUNCTION_POWER;
|
||||
function = LED_FUNCTION_FAULT;
|
||||
color = <LED_COLOR_ID_AMBER>;
|
||||
gpios = <&gpioa 0 GPIO_ACTIVE_LOW>;
|
||||
default-state = "on";
|
||||
};
|
||||
|
||||
led-b {
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ led-1 {
|
|||
};
|
||||
|
||||
led-2 {
|
||||
function = LED_FUNCTION_INDICATOR;
|
||||
function = LED_FUNCTION_POWER;
|
||||
color = <LED_COLOR_ID_GREEN>;
|
||||
pwms = <&pwm 2 50000>;
|
||||
max-brightness = <255>;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user