lkml.org 
[lkml]   [2022]   [May]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 2/4] arm64: dts: qcom: sdm845: Enable user LEDs on DB845c
    Hi!

    > The DB845c has 4 "user LEDs", the last one is already supported as it's
    > just wired to a gpio. Now that the LPG binding is in place we can wire
    > up the other 3 LEDs as well.


    > +&pmi8998_lpg {
    > + status = "okay";
    > +
    > + qcom,power-source = <1>;
    > +
    > + led@3 {
    > + reg = <3>;
    > + color = <LED_COLOR_ID_GREEN>;
    > + function = LED_FUNCTION_HEARTBEAT;
    > + function-enumerator = <3>;
    > +
    > + linux,default-trigger = "heartbeat";
    > + default-state = "on";
    > + };
    > +
    > + led@4 {
    > + reg = <4>;
    > + color = <LED_COLOR_ID_GREEN>;
    > + function = LED_FUNCTION_INDICATOR;
    > + function-enumerator = <2>;
    > + };
    > +
    > + led@5 {
    > + reg = <5>;
    > + color = <LED_COLOR_ID_GREEN>;
    > + function = LED_FUNCTION_INDICATOR;
    > + function-enumerator = <1>;
    > + };

    Do the LEDs have some kind of markings? Marking them as "indicator" is not too useful.

    Best regards,
    Pavel
    --
    (english) http://www.livejournal.com/~pavelmachek
    (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

    \
     
     \ /
      Last update: 2022-05-30 09:06    [W:3.231 / U:0.072 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site