lkml.org 
[lkml]   [2021]   [Oct]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v2 2/8] dt-bindings: leds: register-bit-led: Use 'reg' instead of 'offset'
    On Mon, 13 Sep 2021 14:28:10 -0500, Rob Herring wrote:
    > 'reg' is the standard property for defining register banks/addresses. Add
    > it to use for the register address and deprecate 'offset'. This also
    > allows for using standard node names with unit-addresses. However, since
    > it is quite possible to have multiple nodes at the same register
    > address, allow for the unit-address to optionally have the bit
    > offset. The unit-address format is '@<reg address>[,<bit offset>]'. This
    > matches the format recently added for nvmem binding which has the same
    > issue.
    >
    > Cc: Pavel Machek <pavel@ucw.cz>
    > Cc: Linus Walleij <linus.walleij@linaro.org>
    > Cc: linux-leds@vger.kernel.org
    > Signed-off-by: Rob Herring <robh@kernel.org>
    > ---
    > .../bindings/leds/register-bit-led.yaml | 25 ++++++++++++++++---
    > 1 file changed, 21 insertions(+), 4 deletions(-)
    >

    Applied, thanks!

    \
     
     \ /
      Last update: 2021-10-14 00:23    [W:4.159 / U:0.968 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site