lkml.org 
[lkml]   [2019]   [Sep]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v9 10/15] ARM: dts: n900: Add reg property to the LP5523 channel node
    Date
    Add the reg property to each channel node.  This update is
    to accomodate the multicolor framework. In addition to the
    accomodation this allows the LEDs to be placed on any channel
    and allow designs to skip channels as opposed to requiring
    sequential order.

    Signed-off-by: Dan Murphy <dmurphy@ti.com>
    CC: Tony Lindgren <tony@atomide.com>
    CC: "Benoît Cousson" <bcousson@baylibre.com>

    k# interactive rebase in progress; onto ae89cc6d4a8c
    ---
    arch/arm/boot/dts/omap3-n900.dts | 11 +++++++++++
    1 file changed, 11 insertions(+)

    diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts
    index 84a5ade1e865..e6d0a7c52c5d 100644
    --- a/arch/arm/boot/dts/omap3-n900.dts
    +++ b/arch/arm/boot/dts/omap3-n900.dts
    @@ -607,6 +607,8 @@
    };

    lp5523: lp5523@32 {
    + #address-cells = <1>;
    + #size-cells = <0>;
    compatible = "national,lp5523";
    reg = <0x32>;
    clock-mode = /bits/ 8 <0>; /* LP55XX_CLOCK_AUTO */
    @@ -616,54 +618,63 @@
    chan-name = "lp5523:kb1";
    led-cur = /bits/ 8 <50>;
    max-cur = /bits/ 8 <100>;
    + reg = <0>;
    };

    chan1 {
    chan-name = "lp5523:kb2";
    led-cur = /bits/ 8 <50>;
    max-cur = /bits/ 8 <100>;
    + reg = <1>;
    };

    chan2 {
    chan-name = "lp5523:kb3";
    led-cur = /bits/ 8 <50>;
    max-cur = /bits/ 8 <100>;
    + reg = <2>;
    };

    chan3 {
    chan-name = "lp5523:kb4";
    led-cur = /bits/ 8 <50>;
    max-cur = /bits/ 8 <100>;
    + reg = <3>;
    };

    chan4 {
    chan-name = "lp5523:b";
    led-cur = /bits/ 8 <50>;
    max-cur = /bits/ 8 <100>;
    + reg = <4>;
    };

    chan5 {
    chan-name = "lp5523:g";
    led-cur = /bits/ 8 <50>;
    max-cur = /bits/ 8 <100>;
    + reg = <5>;
    };

    chan6 {
    chan-name = "lp5523:r";
    led-cur = /bits/ 8 <50>;
    max-cur = /bits/ 8 <100>;
    + reg = <6>;
    };

    chan7 {
    chan-name = "lp5523:kb5";
    led-cur = /bits/ 8 <50>;
    max-cur = /bits/ 8 <100>;
    + reg = <7>;
    };

    chan8 {
    chan-name = "lp5523:kb6";
    led-cur = /bits/ 8 <50>;
    max-cur = /bits/ 8 <100>;
    + reg = <8>;
    };
    };

    --
    2.22.0.214.g8dca754b1e
    \
     
     \ /
      Last update: 2019-09-25 19:43    [W:2.626 / U:0.344 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site