01-19-2018, 09:33 PM
Two LEDs (white: Power, red: Stanby) on rock64-board are not displayed correctly.
Do you recognize that?
Concrete state is:
In kernel-4.4.103 both of them are always off, and
in kernel-4.15.0 both are always on.
When confirming Commits, the LED display has been changed several times.
And the contents of the last Commits are as follows.
Looking at this, I think that the above state is different from the expected behavior.
Finally,
The kernel-4.15.0 @ 0.6.13 setting is "heartbeat" & "mmc 0".
And this version will work correctly, I add this and report it.
---
ayufan: rock64: use disk-activity as trigger
Change-Id: I1467219088d94df1f874319afd8bf286c64ed6a7 standby-led {
...
standby-led {
- linux,default-trigger = "heartbeat";
- gpios = <&rk805 1 GPIO_ACTIVE_LOW>;
+ linux,default-trigger = "disk-activity";
+ gpios = <&rk805 0 GPIO_ACTIVE_LOW>;
default-state = "on";
};
power-led {
- linux,default-trigger = "mmc0";
- gpios = <&rk805 0 GPIO_ACTIVE_LOW>;
+ gpios = <&rk805 1 GPIO_ACTIVE_LOW>;
default-state = "on";
};
...
Do you recognize that?
Concrete state is:
In kernel-4.4.103 both of them are always off, and
in kernel-4.15.0 both are always on.
When confirming Commits, the LED display has been changed several times.
And the contents of the last Commits are as follows.
Looking at this, I think that the above state is different from the expected behavior.
Finally,
The kernel-4.15.0 @ 0.6.13 setting is "heartbeat" & "mmc 0".
And this version will work correctly, I add this and report it.
---
ayufan: rock64: use disk-activity as trigger
Change-Id: I1467219088d94df1f874319afd8bf286c64ed6a7 standby-led {
...
standby-led {
- linux,default-trigger = "heartbeat";
- gpios = <&rk805 1 GPIO_ACTIVE_LOW>;
+ linux,default-trigger = "disk-activity";
+ gpios = <&rk805 0 GPIO_ACTIVE_LOW>;
default-state = "on";
};
power-led {
- linux,default-trigger = "mmc0";
- gpios = <&rk805 0 GPIO_ACTIVE_LOW>;
+ gpios = <&rk805 1 GPIO_ACTIVE_LOW>;
default-state = "on";
};
...