From: Kunihiko Hayashi <hayashi.kunihiko@socionext.com> To: Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org> Cc: Masami Hiramatsu <mhiramat@kernel.org>, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Kunihiko Hayashi <hayashi.kunihiko@socionext.com> Subject: [PATCH v3 08/17] dt-bindings: nvmem: Fix node descriptions in uniphier-efuse example Date: Tue, 13 Dec 2022 17:24:40 +0900 [thread overview] Message-ID: <20221213082449.2721-9-hayashi.kunihiko@socionext.com> (raw) In-Reply-To: <20221213082449.2721-1-hayashi.kunihiko@socionext.com> Prior to adding dt-bindings for SoC-dependent controllers, rename the parent node to the generic name in the example. And drop a parent node of the nvmem as it is not directly necessary here. Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com> --- .../nvmem/socionext,uniphier-efuse.yaml | 101 ++++++++---------- 1 file changed, 46 insertions(+), 55 deletions(-) diff --git a/Documentation/devicetree/bindings/nvmem/socionext,uniphier-efuse.yaml b/Documentation/devicetree/bindings/nvmem/socionext,uniphier-efuse.yaml index 2578e39deda9..a1dea3d7669c 100644 --- a/Documentation/devicetree/bindings/nvmem/socionext,uniphier-efuse.yaml +++ b/Documentation/devicetree/bindings/nvmem/socionext,uniphier-efuse.yaml @@ -31,65 +31,56 @@ unevaluatedProperties: false examples: - | - // The UniPhier eFuse should be a subnode of a "soc-glue" node. + efuse@100 { + compatible = "socionext,uniphier-efuse"; + reg = <0x100 0x28>; + }; - soc-glue@5f900000 { - compatible = "simple-mfd"; + efuse@200 { + compatible = "socionext,uniphier-efuse"; + reg = <0x200 0x68>; #address-cells = <1>; #size-cells = <1>; - ranges = <0x0 0x5f900000 0x2000>; - efuse@100 { - compatible = "socionext,uniphier-efuse"; - reg = <0x100 0x28>; + /* Data cells */ + usb_rterm0: trim@54,4 { + reg = <0x54 1>; + bits = <4 2>; }; - - efuse@200 { - compatible = "socionext,uniphier-efuse"; - reg = <0x200 0x68>; - #address-cells = <1>; - #size-cells = <1>; - - /* Data cells */ - usb_rterm0: trim@54,4 { - reg = <0x54 1>; - bits = <4 2>; - }; - usb_rterm1: trim@55,4 { - reg = <0x55 1>; - bits = <4 2>; - }; - usb_rterm2: trim@58,4 { - reg = <0x58 1>; - bits = <4 2>; - }; - usb_rterm3: trim@59,4 { - reg = <0x59 1>; - bits = <4 2>; - }; - usb_sel_t0: trim@54,0 { - reg = <0x54 1>; - bits = <0 4>; - }; - usb_sel_t1: trim@55,0 { - reg = <0x55 1>; - bits = <0 4>; - }; - usb_sel_t2: trim@58,0 { - reg = <0x58 1>; - bits = <0 4>; - }; - usb_sel_t3: trim@59,0 { - reg = <0x59 1>; - bits = <0 4>; - }; - usb_hs_i0: trim@56,0 { - reg = <0x56 1>; - bits = <0 4>; - }; - usb_hs_i2: trim@5a,0 { - reg = <0x5a 1>; - bits = <0 4>; - }; + usb_rterm1: trim@55,4 { + reg = <0x55 1>; + bits = <4 2>; + }; + usb_rterm2: trim@58,4 { + reg = <0x58 1>; + bits = <4 2>; + }; + usb_rterm3: trim@59,4 { + reg = <0x59 1>; + bits = <4 2>; + }; + usb_sel_t0: trim@54,0 { + reg = <0x54 1>; + bits = <0 4>; + }; + usb_sel_t1: trim@55,0 { + reg = <0x55 1>; + bits = <0 4>; + }; + usb_sel_t2: trim@58,0 { + reg = <0x58 1>; + bits = <0 4>; + }; + usb_sel_t3: trim@59,0 { + reg = <0x59 1>; + bits = <0 4>; + }; + usb_hs_i0: trim@56,0 { + reg = <0x56 1>; + bits = <0 4>; + }; + usb_hs_i2: trim@5a,0 { + reg = <0x5a 1>; + bits = <0 4>; }; }; -- 2.25.1
WARNING: multiple messages have this Message-ID (diff)
From: Kunihiko Hayashi <hayashi.kunihiko@socionext.com> To: Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org> Cc: Masami Hiramatsu <mhiramat@kernel.org>, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Kunihiko Hayashi <hayashi.kunihiko@socionext.com> Subject: [PATCH v3 08/17] dt-bindings: nvmem: Fix node descriptions in uniphier-efuse example Date: Tue, 13 Dec 2022 17:24:40 +0900 [thread overview] Message-ID: <20221213082449.2721-9-hayashi.kunihiko@socionext.com> (raw) In-Reply-To: <20221213082449.2721-1-hayashi.kunihiko@socionext.com> Prior to adding dt-bindings for SoC-dependent controllers, rename the parent node to the generic name in the example. And drop a parent node of the nvmem as it is not directly necessary here. Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com> --- .../nvmem/socionext,uniphier-efuse.yaml | 101 ++++++++---------- 1 file changed, 46 insertions(+), 55 deletions(-) diff --git a/Documentation/devicetree/bindings/nvmem/socionext,uniphier-efuse.yaml b/Documentation/devicetree/bindings/nvmem/socionext,uniphier-efuse.yaml index 2578e39deda9..a1dea3d7669c 100644 --- a/Documentation/devicetree/bindings/nvmem/socionext,uniphier-efuse.yaml +++ b/Documentation/devicetree/bindings/nvmem/socionext,uniphier-efuse.yaml @@ -31,65 +31,56 @@ unevaluatedProperties: false examples: - | - // The UniPhier eFuse should be a subnode of a "soc-glue" node. + efuse@100 { + compatible = "socionext,uniphier-efuse"; + reg = <0x100 0x28>; + }; - soc-glue@5f900000 { - compatible = "simple-mfd"; + efuse@200 { + compatible = "socionext,uniphier-efuse"; + reg = <0x200 0x68>; #address-cells = <1>; #size-cells = <1>; - ranges = <0x0 0x5f900000 0x2000>; - efuse@100 { - compatible = "socionext,uniphier-efuse"; - reg = <0x100 0x28>; + /* Data cells */ + usb_rterm0: trim@54,4 { + reg = <0x54 1>; + bits = <4 2>; }; - - efuse@200 { - compatible = "socionext,uniphier-efuse"; - reg = <0x200 0x68>; - #address-cells = <1>; - #size-cells = <1>; - - /* Data cells */ - usb_rterm0: trim@54,4 { - reg = <0x54 1>; - bits = <4 2>; - }; - usb_rterm1: trim@55,4 { - reg = <0x55 1>; - bits = <4 2>; - }; - usb_rterm2: trim@58,4 { - reg = <0x58 1>; - bits = <4 2>; - }; - usb_rterm3: trim@59,4 { - reg = <0x59 1>; - bits = <4 2>; - }; - usb_sel_t0: trim@54,0 { - reg = <0x54 1>; - bits = <0 4>; - }; - usb_sel_t1: trim@55,0 { - reg = <0x55 1>; - bits = <0 4>; - }; - usb_sel_t2: trim@58,0 { - reg = <0x58 1>; - bits = <0 4>; - }; - usb_sel_t3: trim@59,0 { - reg = <0x59 1>; - bits = <0 4>; - }; - usb_hs_i0: trim@56,0 { - reg = <0x56 1>; - bits = <0 4>; - }; - usb_hs_i2: trim@5a,0 { - reg = <0x5a 1>; - bits = <0 4>; - }; + usb_rterm1: trim@55,4 { + reg = <0x55 1>; + bits = <4 2>; + }; + usb_rterm2: trim@58,4 { + reg = <0x58 1>; + bits = <4 2>; + }; + usb_rterm3: trim@59,4 { + reg = <0x59 1>; + bits = <4 2>; + }; + usb_sel_t0: trim@54,0 { + reg = <0x54 1>; + bits = <0 4>; + }; + usb_sel_t1: trim@55,0 { + reg = <0x55 1>; + bits = <0 4>; + }; + usb_sel_t2: trim@58,0 { + reg = <0x58 1>; + bits = <0 4>; + }; + usb_sel_t3: trim@59,0 { + reg = <0x59 1>; + bits = <0 4>; + }; + usb_hs_i0: trim@56,0 { + reg = <0x56 1>; + bits = <0 4>; + }; + usb_hs_i2: trim@5a,0 { + reg = <0x5a 1>; + bits = <0 4>; }; }; -- 2.25.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2022-12-13 8:26 UTC|newest] Thread overview: 84+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-12-13 8:24 [PATCH v3 00/17] dt-bindings: soc: Introduce UniPhier miscellaneous register blocks and fix examples Kunihiko Hayashi 2022-12-13 8:24 ` Kunihiko Hayashi 2022-12-13 8:24 ` [PATCH v3 01/17] dt-bindings: clock: Fix node descriptions in uniphier-clock example Kunihiko Hayashi 2022-12-13 8:24 ` Kunihiko Hayashi 2022-12-13 14:50 ` Krzysztof Kozlowski 2022-12-13 14:50 ` Krzysztof Kozlowski 2022-12-13 8:24 ` [PATCH v3 02/17] dt-bindings: reset: Fix node descriptions in uniphier-reset example Kunihiko Hayashi 2022-12-13 8:24 ` Kunihiko Hayashi 2022-12-13 14:50 ` Krzysztof Kozlowski 2022-12-13 14:50 ` Krzysztof Kozlowski 2022-12-13 8:24 ` [PATCH v3 03/17] dt-bindings: pinctrl: Fix node descriptions in uniphier-pinctrl example Kunihiko Hayashi 2022-12-13 8:24 ` Kunihiko Hayashi 2022-12-13 14:52 ` Krzysztof Kozlowski 2022-12-13 14:52 ` Krzysztof Kozlowski 2022-12-15 4:26 ` Kunihiko Hayashi 2022-12-15 4:26 ` Kunihiko Hayashi 2022-12-13 8:24 ` [PATCH v3 04/17] dt-bindings: regulator: Fix node descriptions in uniphier-regulator example Kunihiko Hayashi 2022-12-13 8:24 ` Kunihiko Hayashi 2022-12-13 14:52 ` Krzysztof Kozlowski 2022-12-13 14:52 ` Krzysztof Kozlowski 2022-12-13 8:24 ` [PATCH v3 05/17] dt-bindings: watchdog: Fix node descriptions in uniphier-wdt example Kunihiko Hayashi 2022-12-13 8:24 ` Kunihiko Hayashi 2022-12-13 14:53 ` Krzysztof Kozlowski 2022-12-13 14:53 ` Krzysztof Kozlowski 2022-12-13 8:24 ` [PATCH v3 06/17] dt-bindings: thermal: Fix node descriptions in uniphier-thermal example Kunihiko Hayashi 2022-12-13 8:24 ` Kunihiko Hayashi 2022-12-13 14:54 ` Krzysztof Kozlowski 2022-12-13 14:54 ` Krzysztof Kozlowski 2022-12-15 4:26 ` Kunihiko Hayashi 2022-12-15 4:26 ` Kunihiko Hayashi 2022-12-13 8:24 ` [PATCH v3 07/17] dt-bindings: phy: Fix node descriptions in uniphier-phy example Kunihiko Hayashi 2022-12-13 8:24 ` Kunihiko Hayashi 2022-12-14 12:04 ` Krzysztof Kozlowski 2022-12-14 12:04 ` Krzysztof Kozlowski 2022-12-13 8:24 ` Kunihiko Hayashi [this message] 2022-12-13 8:24 ` [PATCH v3 08/17] dt-bindings: nvmem: Fix node descriptions in uniphier-efuse example Kunihiko Hayashi 2022-12-14 12:06 ` Krzysztof Kozlowski 2022-12-14 12:06 ` Krzysztof Kozlowski 2022-12-13 8:24 ` [PATCH v3 09/17] dt-bindings: soc: socionext: Add UniPhier system controller Kunihiko Hayashi 2022-12-13 8:24 ` Kunihiko Hayashi 2022-12-14 12:07 ` Krzysztof Kozlowski 2022-12-14 12:07 ` Krzysztof Kozlowski 2022-12-13 8:24 ` [PATCH v3 10/17] dt-bindings: soc: socionext: Add UniPhier SoC-glue logic Kunihiko Hayashi 2022-12-13 8:24 ` Kunihiko Hayashi 2022-12-14 12:11 ` Krzysztof Kozlowski 2022-12-14 12:11 ` Krzysztof Kozlowski 2022-12-13 8:24 ` [PATCH v3 11/17] dt-bindings: soc: socionext: Add UniPhier SoC-glue logic debug part Kunihiko Hayashi 2022-12-13 8:24 ` Kunihiko Hayashi 2022-12-14 12:12 ` Krzysztof Kozlowski 2022-12-14 12:12 ` Krzysztof Kozlowski 2022-12-13 8:24 ` [PATCH v3 12/17] dt-bindings: soc: socionext: Add UniPhier peripheral block Kunihiko Hayashi 2022-12-13 8:24 ` Kunihiko Hayashi 2022-12-14 12:57 ` Krzysztof Kozlowski 2022-12-14 12:57 ` Krzysztof Kozlowski 2022-12-13 8:24 ` [PATCH v3 13/17] dt-bindings: soc: socionext: Add UniPhier media I/O block Kunihiko Hayashi 2022-12-13 8:24 ` Kunihiko Hayashi 2022-12-14 13:06 ` Krzysztof Kozlowski 2022-12-14 13:06 ` Krzysztof Kozlowski 2022-12-13 8:24 ` [PATCH v3 14/17] dt-bindings: soc: socionext: Add UniPhier SD interface block Kunihiko Hayashi 2022-12-13 8:24 ` Kunihiko Hayashi 2022-12-14 13:06 ` Krzysztof Kozlowski 2022-12-14 13:06 ` Krzysztof Kozlowski 2022-12-13 8:24 ` [PATCH v3 15/17] dt-bindings: soc: socionext: Add UniPhier ADAMV block Kunihiko Hayashi 2022-12-13 8:24 ` Kunihiko Hayashi 2022-12-14 13:07 ` Krzysztof Kozlowski 2022-12-14 13:07 ` Krzysztof Kozlowski 2022-12-13 8:24 ` [PATCH v3 16/17] dt-bindings: soc: socionext: Add UniPhier DWC3 USB glue layer Kunihiko Hayashi 2022-12-13 8:24 ` Kunihiko Hayashi 2022-12-14 13:07 ` Krzysztof Kozlowski 2022-12-14 13:07 ` Krzysztof Kozlowski 2022-12-13 8:24 ` [PATCH v3 17/17] dt-bindings: soc: socionext: Add UniPhier AHCI " Kunihiko Hayashi 2022-12-13 8:24 ` Kunihiko Hayashi 2022-12-14 13:07 ` Krzysztof Kozlowski 2022-12-14 13:07 ` Krzysztof Kozlowski 2022-12-19 15:49 ` [PATCH v3 00/17] dt-bindings: soc: Introduce UniPhier miscellaneous register blocks and fix examples Rob Herring 2022-12-19 15:49 ` Rob Herring 2022-12-20 1:13 ` Kunihiko Hayashi 2022-12-20 1:13 ` Kunihiko Hayashi 2023-01-19 8:22 ` Kunihiko Hayashi 2023-01-19 8:22 ` Kunihiko Hayashi 2023-01-19 19:57 ` Rob Herring 2023-01-19 19:57 ` Rob Herring 2023-01-20 0:03 ` Kunihiko Hayashi 2023-01-20 0:03 ` Kunihiko Hayashi
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20221213082449.2721-9-hayashi.kunihiko@socionext.com \ --to=hayashi.kunihiko@socionext.com \ --cc=devicetree@vger.kernel.org \ --cc=krzysztof.kozlowski+dt@linaro.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=mhiramat@kernel.org \ --cc=robh+dt@kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.