Message ID | 20230310075145.3996-2-zajec5@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp739710wrd; Thu, 9 Mar 2023 23:58:25 -0800 (PST) X-Google-Smtp-Source: AK7set8ooBUsN0Ue2rM3lhVoyMgYWfu+ohQOn5/wCus3JDOEvHr0ARbj2yDwsGjBe3tXe1+NFS8V X-Received: by 2002:a17:90b:350c:b0:234:2776:a357 with SMTP id ls12-20020a17090b350c00b002342776a357mr24804620pjb.43.1678435105282; Thu, 09 Mar 2023 23:58:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678435105; cv=none; d=google.com; s=arc-20160816; b=SwtBxgfuBlgPFRYoYq0vgnuFnWxNKBI11yvJosEKU3Hk4gdcnKmFyjYu1F/D5KeRl+ Rr22D3ZHb8mrZ2kli5o2MBVAA5tcKxzTzpKmfRqSdKYYuTnfI3a+raJ//qq64E7WKsUf 22b0iaIqzLlFdjjAvik8wwUtQL24ujOTFlpE8NAjWv5u66B4+ihFFIYWGY1H6+q1ydif pEHR8pmm3n+3wXYiavKIR3tKUWnWOpLEO9T/bIZcr+BBzzj+89v8ceAnMQtNgoGwFFFW ILB1gDYZN+64m5UGj11Y195aHvxv1UYs6Awln763bEdG4D95gOB5Hml+9Ga0Kl77Z5jI ehUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=P+Y+kKVSplNK0Q0iu8ToDogpEQGUULDqafcR05uVFhw=; b=A0t1mE2+OvDFDC4XwUUGYMTWC7Ory3cr1FwIUCWFOjukObiaOF9ymD1VI0gfye1TOt zKuOukdoD0cuFZO6PQOqBN7JrNdlZT5FY4wZu0LSFGgQ4ieLJhb09diYy/LtxqUKjYqZ LcMK48x8KInf7U/AqOYpLgLNRjhyhSpJ5cGPj6ODLDcpFjByLsb7eIL9KPKFHJFGs+61 h+PGIJsW6AoTOE7XHqKYIPYDZpdQlR7ksc+PJC6t4Bvhln9rkI2eClIM0CS2cxAqSadQ IOd6+Dy1j1E8xE6qDsxIzjUOW2VTcswYRIRZDlbZkAmCk0kI/mE9SXmQuEP9VTI74zMU qGog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=PKPmN7ti; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id mh10-20020a17090b4aca00b00234bc923a16si1406855pjb.148.2023.03.09.23.58.12; Thu, 09 Mar 2023 23:58:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=PKPmN7ti; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229993AbjCJHwG (ORCPT <rfc822;carlos.wei.hk@gmail.com> + 99 others); Fri, 10 Mar 2023 02:52:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56866 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229706AbjCJHv7 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 10 Mar 2023 02:51:59 -0500 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 821FF4C6E3; Thu, 9 Mar 2023 23:51:56 -0800 (PST) Received: by mail-lf1-x133.google.com with SMTP id i28so5552138lfv.0; Thu, 09 Mar 2023 23:51:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678434715; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=P+Y+kKVSplNK0Q0iu8ToDogpEQGUULDqafcR05uVFhw=; b=PKPmN7tigMaSTERU9kl3Nw/xNPhwNY3xRmsF2OIwXvnDcrnpthOVUzn6QfgdnFyoYa kWIn7KtiyHxzNJI4tGaX255pUv+iE4BPJ58LhDDELRCXHQb7cHVfYem4XnhKK41JEKN4 TsvPX6ypZMETQQhqOmyL+JWnJnv6EZOlQAYPV+GdKeBCjxDKW32KwJcv9/M3gI1Ye54e Mianq+tw11lZ9xA3Ac/CB8MD1R3YJMJHNPLfZXzyToJGwWpyucHUjI5648r1O8xThITj CNlolzng5n/SWQNpRI/JjyJAedknADJV/Oe6DQPavBu8OouwYilP+wIK4nmHaxmzUV4M +5ng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678434715; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=P+Y+kKVSplNK0Q0iu8ToDogpEQGUULDqafcR05uVFhw=; b=gHB/ktyj3cOzGK4shiS30RI9uGiZiDak6efIczVKOtEZx8RrIeB6q8TBl1rYGI/rEW B2yEybAmeOS8weE5c4iRIz2B8b923wDoxYmkqauPlT0iyTOH53EdMzLzPtyaYjtIlvSY GtGugzlit8ZsUpmhDnYnjVnDBNq0LcOsYRCwwrFWiV2Eqw2cpr4mmpjASGsyLSMF1ojf /exof4JvtPZjsE8sghw9b1BheTel+hQHDnYevRIyorrRMJ/jkGQrMy1+WHxgS4XiV9GP Nj2vuO8xDKRG/WOwz0k1xRzjK0HpXYfz/bPl3T5KTZGjxmZmXGiWr3vSszCqFtfVHElH qp+A== X-Gm-Message-State: AO0yUKX6abjPW8AcjNVbb+zqS/CI+8MdGmWXH7N9lTofX8nhSnOSOTYV 7o1vUkZiynsFOBwwDBYbiko= X-Received: by 2002:ac2:5dc8:0:b0:4b5:3621:7ecb with SMTP id x8-20020ac25dc8000000b004b536217ecbmr6781518lfq.63.1678434714674; Thu, 09 Mar 2023 23:51:54 -0800 (PST) Received: from localhost.lan (ip-194-187-74-233.konfederacka.maverick.com.pl. [194.187.74.233]) by smtp.gmail.com with ESMTPSA id l27-20020ac2555b000000b004b5480edf67sm162066lfk.36.2023.03.09.23.51.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Mar 2023 23:51:54 -0800 (PST) From: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= <zajec5@gmail.com> To: Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org> Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Miquel Raynal <miquel.raynal@bootlin.com>, Michael Walle <michael@walle.cc>, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?b?UmFm?= =?utf-8?b?YcWCIE1pxYJlY2tp?= <rafal@milecki.pl> Subject: [PATCH V3] dt-bindings: nvmem: convert base example to use "nvmem-layout" node Date: Fri, 10 Mar 2023 08:51:45 +0100 Message-Id: <20230310075145.3996-2-zajec5@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230310075145.3996-1-zajec5@gmail.com> References: <20230310075145.3996-1-zajec5@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759966768874458891?= X-GMAIL-MSGID: =?utf-8?q?1759966768874458891?= |
Series |
[V3] dt-bindings: nvmem: convert base example to use "nvmem-layout" node
|
|
Commit Message
Rafał Miłecki
March 10, 2023, 7:51 a.m. UTC
From: Rafał Miłecki <rafal@milecki.pl> With support for "fixed-layout" binding we can use now "nvmem-layout" even for fixed NVMEM cells. Use that in the base example as it should be preferred over placing cells directly in the device node. New and other bindings should follow as old binding will get deprecated at some point. Signed-off-by: Rafał Miłecki <rafal@milecki.pl> --- .../devicetree/bindings/nvmem/nvmem.yaml | 42 +++++++++++-------- 1 file changed, 24 insertions(+), 18 deletions(-)
Comments
Hi Rafał, zajec5@gmail.com wrote on Fri, 10 Mar 2023 08:51:45 +0100: > From: Rafał Miłecki <rafal@milecki.pl> > > With support for "fixed-layout" binding we can use now "nvmem-layout" > even for fixed NVMEM cells. Use that in the base example as it should be > preferred over placing cells directly in the device node. > > New and other bindings should follow as old binding will get deprecated > at some point. > > Signed-off-by: Rafał Miłecki <rafal@milecki.pl> > --- > .../devicetree/bindings/nvmem/nvmem.yaml | 42 +++++++++++-------- > 1 file changed, 24 insertions(+), 18 deletions(-) > > diff --git a/Documentation/devicetree/bindings/nvmem/nvmem.yaml b/Documentation/devicetree/bindings/nvmem/nvmem.yaml > index 732162e9d13e..c77be1c20e47 100644 > --- a/Documentation/devicetree/bindings/nvmem/nvmem.yaml > +++ b/Documentation/devicetree/bindings/nvmem/nvmem.yaml > @@ -67,24 +67,30 @@ examples: > > /* ... */ > > - /* Data cells */ > - tsens_calibration: calib@404 { > - reg = <0x404 0x10>; > - }; > - > - tsens_calibration_bckp: calib_bckp@504 { > - reg = <0x504 0x11>; > - bits = <6 128>; > - }; > - > - pvs_version: pvs-version@6 { > - reg = <0x6 0x2>; > - bits = <7 2>; > - }; > - > - speed_bin: speed-bin@c{ > - reg = <0xc 0x1>; > - bits = <2 3>; > + nvmem-layout { I believe we should not introduce "intermediate state" bindings when this is not strictly required, in order to avoid confusion with what is backward and what is transitory. So I would expect this to only apply after the switch to: nvmem-layout@xxx { reg = <xxx>; I don't care who will take care of it, but I think it would be better to have everything in one series. Other than the "order" problematic which I think is important here, I agree with this series. > + compatible = "fixed-layout"; > + #address-cells = <1>; > + #size-cells = <1>; > + > + /* Data cells */ > + tsens_calibration: calib@404 { > + reg = <0x404 0x10>; > + }; > + > + tsens_calibration_bckp: calib_bckp@504 { > + reg = <0x504 0x11>; > + bits = <6 128>; > + }; > + > + pvs_version: pvs-version@6 { > + reg = <0x6 0x2>; > + bits = <7 2>; > + }; > + > + speed_bin: speed-bin@c{ > + reg = <0xc 0x1>; > + bits = <2 3>; > + }; > }; > }; > Thanks, Miquèl
On 10.03.2023 09:59, Miquel Raynal wrote: > Hi Rafał, > > zajec5@gmail.com wrote on Fri, 10 Mar 2023 08:51:45 +0100: > >> From: Rafał Miłecki <rafal@milecki.pl> >> >> With support for "fixed-layout" binding we can use now "nvmem-layout" >> even for fixed NVMEM cells. Use that in the base example as it should be >> preferred over placing cells directly in the device node. >> >> New and other bindings should follow as old binding will get deprecated >> at some point. >> >> Signed-off-by: Rafał Miłecki <rafal@milecki.pl> >> --- >> .../devicetree/bindings/nvmem/nvmem.yaml | 42 +++++++++++-------- >> 1 file changed, 24 insertions(+), 18 deletions(-) >> >> diff --git a/Documentation/devicetree/bindings/nvmem/nvmem.yaml b/Documentation/devicetree/bindings/nvmem/nvmem.yaml >> index 732162e9d13e..c77be1c20e47 100644 >> --- a/Documentation/devicetree/bindings/nvmem/nvmem.yaml >> +++ b/Documentation/devicetree/bindings/nvmem/nvmem.yaml >> @@ -67,24 +67,30 @@ examples: >> >> /* ... */ >> >> - /* Data cells */ >> - tsens_calibration: calib@404 { >> - reg = <0x404 0x10>; >> - }; >> - >> - tsens_calibration_bckp: calib_bckp@504 { >> - reg = <0x504 0x11>; >> - bits = <6 128>; >> - }; >> - >> - pvs_version: pvs-version@6 { >> - reg = <0x6 0x2>; >> - bits = <7 2>; >> - }; >> - >> - speed_bin: speed-bin@c{ >> - reg = <0xc 0x1>; >> - bits = <2 3>; >> + nvmem-layout { > > I believe we should not introduce "intermediate state" bindings when > this is not strictly required, in order to avoid confusion with what is > backward and what is transitory. So I would expect this to only apply > after the switch to: > > nvmem-layout@xxx { > reg = <xxx>; > > I don't care who will take care of it, but I think it would be better > to have everything in one series. > > Other than the "order" problematic which I think is important here, I > agree with this series. I fail to see how / why: 1. Adding new NVMEM layout 2. Supporting mutliple NVMEM layouts would depend on each other. We already have 2 NVMEM layouts bindings. I'm just adding a new (third) one. If having NVMEM layouts bindings puts us in any kind of intermediate state then we're already there. I don't think my new NVMEM layout changes this situation. >> + compatible = "fixed-layout"; >> + #address-cells = <1>; >> + #size-cells = <1>; >> + >> + /* Data cells */ >> + tsens_calibration: calib@404 { >> + reg = <0x404 0x10>; >> + }; >> + >> + tsens_calibration_bckp: calib_bckp@504 { >> + reg = <0x504 0x11>; >> + bits = <6 128>; >> + }; >> + >> + pvs_version: pvs-version@6 { >> + reg = <0x6 0x2>; >> + bits = <7 2>; >> + }; >> + >> + speed_bin: speed-bin@c{ >> + reg = <0xc 0x1>; >> + bits = <2 3>; >> + }; >> }; >> };
On 10/03/2023 07:51, Rafał Miłecki wrote: > From: Rafał Miłecki <rafal@milecki.pl> > > With support for "fixed-layout" binding we can use now "nvmem-layout" > even for fixed NVMEM cells. Use that in the base example as it should be > preferred over placing cells directly in the device node. > Fixed layouts are the core part of nvmem, am not sure why you want to deprecate this. Either we derive the cell information dt or via layouts or some post processing they should still endup as fixed layouts. this way the core part is always same irrespective of where the cell info comes from. --srini > New and other bindings should follow as old binding will get deprecated > at some point. > > Signed-off-by: Rafał Miłecki <rafal@milecki.pl> > --- > .../devicetree/bindings/nvmem/nvmem.yaml | 42 +++++++++++-------- > 1 file changed, 24 insertions(+), 18 deletions(-) > > diff --git a/Documentation/devicetree/bindings/nvmem/nvmem.yaml b/Documentation/devicetree/bindings/nvmem/nvmem.yaml > index 732162e9d13e..c77be1c20e47 100644 > --- a/Documentation/devicetree/bindings/nvmem/nvmem.yaml > +++ b/Documentation/devicetree/bindings/nvmem/nvmem.yaml > @@ -67,24 +67,30 @@ examples: > > /* ... */ > > - /* Data cells */ > - tsens_calibration: calib@404 { > - reg = <0x404 0x10>; > - }; > - > - tsens_calibration_bckp: calib_bckp@504 { > - reg = <0x504 0x11>; > - bits = <6 128>; > - }; > - > - pvs_version: pvs-version@6 { > - reg = <0x6 0x2>; > - bits = <7 2>; > - }; > - > - speed_bin: speed-bin@c{ > - reg = <0xc 0x1>; > - bits = <2 3>; > + nvmem-layout { > + compatible = "fixed-layout"; > + #address-cells = <1>; > + #size-cells = <1>; > + > + /* Data cells */ > + tsens_calibration: calib@404 { > + reg = <0x404 0x10>; > + }; > + > + tsens_calibration_bckp: calib_bckp@504 { > + reg = <0x504 0x11>; > + bits = <6 128>; > + }; > + > + pvs_version: pvs-version@6 { > + reg = <0x6 0x2>; > + bits = <7 2>; > + }; > + > + speed_bin: speed-bin@c{ > + reg = <0xc 0x1>; > + bits = <2 3>; > + }; > }; > }; >
On 10.03.2023 10:29, Srinivas Kandagatla wrote: > > > On 10/03/2023 07:51, Rafał Miłecki wrote: >> From: Rafał Miłecki <rafal@milecki.pl> >> >> With support for "fixed-layout" binding we can use now "nvmem-layout" >> even for fixed NVMEM cells. Use that in the base example as it should be >> preferred over placing cells directly in the device node. >> > Fixed layouts are the core part of nvmem, am not sure why you want to deprecate this. Either we derive the cell information dt or via layouts or some post processing they should still endup as fixed layouts. > this way the core part is always same irrespective of where the cell info comes from. I really don't understand why my changes get misunderstood. It's just happened another time. Yesterday Michael wrote: "your motivation to drop handling the fixed cells". Again: I DON'T deprecate or drop support for fixed layouts (fixed NVMEM cells) I DON'T deprecate or drop support for fixed layouts (fixed NVMEM cells) I just want NVMEM bindings to move location of DT fixed NVMEM cells from *device* node to *nvmem-layout* node. Also: I WON'T drop support for old binding. We stay backward compatible. I WON'T drop support for old binding. We stay backward compatible. >> New and other bindings should follow as old binding will get deprecated >> at some point. >> >> Signed-off-by: Rafał Miłecki <rafal@milecki.pl> >> --- >> .../devicetree/bindings/nvmem/nvmem.yaml | 42 +++++++++++-------- >> 1 file changed, 24 insertions(+), 18 deletions(-) >> >> diff --git a/Documentation/devicetree/bindings/nvmem/nvmem.yaml b/Documentation/devicetree/bindings/nvmem/nvmem.yaml >> index 732162e9d13e..c77be1c20e47 100644 >> --- a/Documentation/devicetree/bindings/nvmem/nvmem.yaml >> +++ b/Documentation/devicetree/bindings/nvmem/nvmem.yaml >> @@ -67,24 +67,30 @@ examples: >> /* ... */ >> - /* Data cells */ >> - tsens_calibration: calib@404 { >> - reg = <0x404 0x10>; >> - }; >> - >> - tsens_calibration_bckp: calib_bckp@504 { >> - reg = <0x504 0x11>; >> - bits = <6 128>; >> - }; >> - >> - pvs_version: pvs-version@6 { >> - reg = <0x6 0x2>; >> - bits = <7 2>; >> - }; >> - >> - speed_bin: speed-bin@c{ >> - reg = <0xc 0x1>; >> - bits = <2 3>; >> + nvmem-layout { >> + compatible = "fixed-layout"; >> + #address-cells = <1>; >> + #size-cells = <1>; >> + >> + /* Data cells */ >> + tsens_calibration: calib@404 { >> + reg = <0x404 0x10>; >> + }; >> + >> + tsens_calibration_bckp: calib_bckp@504 { >> + reg = <0x504 0x11>; >> + bits = <6 128>; >> + }; >> + >> + pvs_version: pvs-version@6 { >> + reg = <0x6 0x2>; >> + bits = <7 2>; >> + }; >> + >> + speed_bin: speed-bin@c{ >> + reg = <0xc 0x1>; >> + bits = <2 3>; >> + }; >> }; >> };
Hi Srinivas, srinivas.kandagatla@linaro.org wrote on Fri, 10 Mar 2023 09:29:18 +0000: > On 10/03/2023 07:51, Rafał Miłecki wrote: > > From: Rafał Miłecki <rafal@milecki.pl> > > > > With support for "fixed-layout" binding we can use now "nvmem-layout" > > even for fixed NVMEM cells. Use that in the base example as it should be > > preferred over placing cells directly in the device node. > > > Fixed layouts are the core part of nvmem, am not sure why you want to deprecate this. Either we derive the cell information dt or via layouts or some post processing they should still endup as fixed layouts. > this way the core part is always same irrespective of where the cell info comes from. Actually I was suspicious as first but we had a very similar case in mtd: - People need partitioning so we add partitions in the mtd node - People need more advanced partitioning and partitioning becomes a mess so we containerize everything in a "partitions" subnode. It definitely improves the readability and makes the code more resilient: outside of the container, it's not a partition, period. I believe that's what Rafał is trying to anticipate. Just moving the fixed cells declaration into a container (and we have one already: nvmem-layout). Thanks, Miquèl
diff --git a/Documentation/devicetree/bindings/nvmem/nvmem.yaml b/Documentation/devicetree/bindings/nvmem/nvmem.yaml index 732162e9d13e..c77be1c20e47 100644 --- a/Documentation/devicetree/bindings/nvmem/nvmem.yaml +++ b/Documentation/devicetree/bindings/nvmem/nvmem.yaml @@ -67,24 +67,30 @@ examples: /* ... */ - /* Data cells */ - tsens_calibration: calib@404 { - reg = <0x404 0x10>; - }; - - tsens_calibration_bckp: calib_bckp@504 { - reg = <0x504 0x11>; - bits = <6 128>; - }; - - pvs_version: pvs-version@6 { - reg = <0x6 0x2>; - bits = <7 2>; - }; - - speed_bin: speed-bin@c{ - reg = <0xc 0x1>; - bits = <2 3>; + nvmem-layout { + compatible = "fixed-layout"; + #address-cells = <1>; + #size-cells = <1>; + + /* Data cells */ + tsens_calibration: calib@404 { + reg = <0x404 0x10>; + }; + + tsens_calibration_bckp: calib_bckp@504 { + reg = <0x504 0x11>; + bits = <6 128>; + }; + + pvs_version: pvs-version@6 { + reg = <0x6 0x2>; + bits = <7 2>; + }; + + speed_bin: speed-bin@c{ + reg = <0xc 0x1>; + bits = <2 3>; + }; }; };