Thread (19 messages) 19 messages, 8 authors, 2019-02-05

[PATCH v3 0/7] Standardize onboard LED support for 96Boards

From: Linus Walleij <hidden>
Date: 2018-10-31 13:39:12
Also in: linux-arm-msm, linux-devicetree, linux-leds, linux-rockchip, lkml

On Mon, Oct 29, 2018 at 10:43 AM Manivannan Sadhasivam
[off-list ref] wrote:
This patchset standardizes the onboard LEDs on 96Boards by maintaining
common labels and triggers as below:

green:user1  default-trigger: heartbeat
green:user2  default-trigger: mmc0/disk-activity (onboard-storage)
green:user3  default-trigger: mmc1 (SD card)
green:user4  default-trigger: none, panic-indicator
yellow:wlan  default-trigger: phy0tx
blue:bt      default-trigger: hci0-power

This standardization is required to provide a common behaviour of LEDs
across all mainline supported 96Boards and also making it easier to
control it using an userspace library like MRAA.

For Rock960 and Ficus boards, the LED support is added in this patchset.
Rest of the boards are converted to adopt the standard.

Note: Since there is no UFS trigger available for now, user2 LED trigger
is set to none on HiKey960.
This series:
Reviewed-by: Linus Walleij <redacted>

It makes a lot of sense to try to unify the userspace ABI so we get
some kind of order here instead of trying to counteract it with
per-device kludges in userspace. It definately makes things better!

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help