From: Inochi Amaoto <inochiama@gmail.com>
To: Jean Delvare <jdelvare@suse.com>,
Guenter Roeck <linux@roeck-us.net>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Chen Wang <unicorn_wang@outlook.com>,
Inochi Amaoto <inochiama@gmail.com>,
Andi Shyti <andi.shyti@kernel.org>,
Thomas Gleixner <tglx@linutronix.de>,
Paul Walmsley <paul.walmsley@sifive.com>,
Samuel Holland <samuel.holland@sifive.com>,
Ulf Hansson <ulf.hansson@linaro.org>,
Philipp Zabel <p.zabel@pengutronix.de>,
Palmer Dabbelt <palmer@dabbelt.com>,
Albert Ou <aou@eecs.berkeley.edu>,
Alexandre Ghiti <alex@ghiti.fr>,
Daniel Lezcano <daniel.lezcano@linaro.org>,
Thomas Bonnefille <thomas.bonnefille@bootlin.com>,
Jarkko Nikula <jarkko.nikula@linux.intel.com>,
Jisheng Zhang <jszhang@kernel.org>,
Chao Wei <chao.wei@sophgo.com>
Cc: linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org,
sophgo@lists.linux.dev, linux-kernel@vger.kernel.org,
linux-i2c@vger.kernel.org, linux-riscv@lists.infradead.org,
linux-mmc@vger.kernel.org, Yixun Lan <dlan@gentoo.org>,
Longbin Li <looong.bin@gmail.com>
Subject: [PATCH v2 01/10] dt-bindings: i2c: dw: merge duplicate compatible entry.
Date: Mon, 14 Apr 2025 06:34:55 +0800 [thread overview]
Message-ID: <20250413223507.46480-2-inochiama@gmail.com> (raw)
In-Reply-To: <20250413223507.46480-1-inochiama@gmail.com>
Each vendor have an items entry of its own compatible, It is needless
and some can be merged as it share the same base "snps,designware-i2c"
compatible.
Merge the duplicate compatible entry into one item entry.
Signed-off-by: Inochi Amaoto <inochiama@gmail.com>
---
.../devicetree/bindings/i2c/snps,designware-i2c.yaml | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/Documentation/devicetree/bindings/i2c/snps,designware-i2c.yaml b/Documentation/devicetree/bindings/i2c/snps,designware-i2c.yaml
index bc5d0fb5abfe..98567dc791c3 100644
--- a/Documentation/devicetree/bindings/i2c/snps,designware-i2c.yaml
+++ b/Documentation/devicetree/bindings/i2c/snps,designware-i2c.yaml
@@ -32,15 +32,12 @@ properties:
- const: renesas,r9a06g032-i2c # RZ/N1D
- const: renesas,rzn1-i2c # RZ/N1
- const: snps,designware-i2c
- - description: Microsemi Ocelot SoCs I2C controller
- items:
- - const: mscc,ocelot-i2c
- - const: snps,designware-i2c
- description: Baikal-T1 SoC System I2C controller
const: baikal,bt1-sys-i2c
- - description: T-HEAD TH1520 SoCs I2C controller
- items:
- - const: thead,th1520-i2c
+ - items:
+ - enum:
+ - mscc,ocelot-i2c
+ - thead,th1520-i2c
- const: snps,designware-i2c
reg:
--
2.49.0
WARNING: multiple messages have this Message-ID (diff)
From: Inochi Amaoto <inochiama@gmail.com>
To: Jean Delvare <jdelvare@suse.com>,
Guenter Roeck <linux@roeck-us.net>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Chen Wang <unicorn_wang@outlook.com>,
Inochi Amaoto <inochiama@gmail.com>,
Andi Shyti <andi.shyti@kernel.org>,
Thomas Gleixner <tglx@linutronix.de>,
Paul Walmsley <paul.walmsley@sifive.com>,
Samuel Holland <samuel.holland@sifive.com>,
Ulf Hansson <ulf.hansson@linaro.org>,
Philipp Zabel <p.zabel@pengutronix.de>,
Palmer Dabbelt <palmer@dabbelt.com>,
Albert Ou <aou@eecs.berkeley.edu>,
Alexandre Ghiti <alex@ghiti.fr>,
Daniel Lezcano <daniel.lezcano@linaro.org>,
Thomas Bonnefille <thomas.bonnefille@bootlin.com>,
Jarkko Nikula <jarkko.nikula@linux.intel.com>,
Jisheng Zhang <jszhang@kernel.org>,
Chao Wei <chao.wei@sophgo.com>
Cc: linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org,
sophgo@lists.linux.dev, linux-kernel@vger.kernel.org,
linux-i2c@vger.kernel.org, linux-riscv@lists.infradead.org,
linux-mmc@vger.kernel.org, Yixun Lan <dlan@gentoo.org>,
Longbin Li <looong.bin@gmail.com>
Subject: [PATCH v2 01/10] dt-bindings: i2c: dw: merge duplicate compatible entry.
Date: Mon, 14 Apr 2025 06:34:55 +0800 [thread overview]
Message-ID: <20250413223507.46480-2-inochiama@gmail.com> (raw)
In-Reply-To: <20250413223507.46480-1-inochiama@gmail.com>
Each vendor have an items entry of its own compatible, It is needless
and some can be merged as it share the same base "snps,designware-i2c"
compatible.
Merge the duplicate compatible entry into one item entry.
Signed-off-by: Inochi Amaoto <inochiama@gmail.com>
---
.../devicetree/bindings/i2c/snps,designware-i2c.yaml | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/Documentation/devicetree/bindings/i2c/snps,designware-i2c.yaml b/Documentation/devicetree/bindings/i2c/snps,designware-i2c.yaml
index bc5d0fb5abfe..98567dc791c3 100644
--- a/Documentation/devicetree/bindings/i2c/snps,designware-i2c.yaml
+++ b/Documentation/devicetree/bindings/i2c/snps,designware-i2c.yaml
@@ -32,15 +32,12 @@ properties:
- const: renesas,r9a06g032-i2c # RZ/N1D
- const: renesas,rzn1-i2c # RZ/N1
- const: snps,designware-i2c
- - description: Microsemi Ocelot SoCs I2C controller
- items:
- - const: mscc,ocelot-i2c
- - const: snps,designware-i2c
- description: Baikal-T1 SoC System I2C controller
const: baikal,bt1-sys-i2c
- - description: T-HEAD TH1520 SoCs I2C controller
- items:
- - const: thead,th1520-i2c
+ - items:
+ - enum:
+ - mscc,ocelot-i2c
+ - thead,th1520-i2c
- const: snps,designware-i2c
reg:
--
2.49.0
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
next prev parent reply other threads:[~2025-04-13 22:35 UTC|newest]
Thread overview: 53+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-13 22:34 [PATCH v2 00/10] riscv: sophgo: Introduce SG2044 SRD3-10 board support Inochi Amaoto
2025-04-13 22:34 ` Inochi Amaoto
2025-04-13 22:34 ` Inochi Amaoto [this message]
2025-04-13 22:34 ` [PATCH v2 01/10] dt-bindings: i2c: dw: merge duplicate compatible entry Inochi Amaoto
2025-04-14 7:27 ` Krzysztof Kozlowski
2025-04-14 7:27 ` Krzysztof Kozlowski
2025-04-13 22:34 ` [PATCH v2 02/10] dt-bindings: timer: Add Sophgo SG2044 ACLINT timer Inochi Amaoto
2025-04-13 22:34 ` Inochi Amaoto
2025-05-13 14:33 ` Daniel Lezcano
2025-05-13 14:33 ` Daniel Lezcano
2025-05-14 1:16 ` Inochi Amaoto
2025-05-14 1:16 ` Inochi Amaoto
2025-05-21 15:49 ` [tip: timers/clocksource] " tip-bot2 for Inochi Amaoto
2025-04-13 22:34 ` [PATCH v2 03/10] dt-bindings: interrupt-controller: Add Sophgo SG2044 CLINT mswi Inochi Amaoto
2025-04-13 22:34 ` Inochi Amaoto
2025-04-13 22:34 ` [PATCH v2 04/10] dt-bindings: interrupt-controller: Add Sophgo SG2044 PLIC Inochi Amaoto
2025-04-13 22:34 ` Inochi Amaoto
2025-04-13 22:34 ` [PATCH v2 05/10] dt-bindings: reset: sophgo: Add SG2044 bindings Inochi Amaoto
2025-04-13 22:34 ` Inochi Amaoto
2025-04-30 0:50 ` Chen Wang
2025-04-30 0:50 ` Chen Wang
2025-05-05 13:29 ` Philipp Zabel
2025-05-05 13:29 ` Philipp Zabel
2025-04-13 22:35 ` [PATCH v2 06/10] dt-bindings: hwmon: Add Sophgo SG2044 external hardware monitor support Inochi Amaoto
2025-04-13 22:35 ` Inochi Amaoto
2025-04-30 0:54 ` Chen Wang
2025-04-30 0:54 ` Chen Wang
2025-04-30 3:57 ` Guenter Roeck
2025-04-30 3:57 ` Guenter Roeck
2025-04-13 22:35 ` [PATCH v2 07/10] dt-bindings: mmc: sdhci-of-dwcmhsc: Add Sophgo SG2044 support Inochi Amaoto
2025-04-13 22:35 ` Inochi Amaoto
2025-04-14 0:56 ` Chen Wang
2025-04-14 0:56 ` Chen Wang
2025-04-14 7:32 ` Krzysztof Kozlowski
2025-04-14 7:32 ` Krzysztof Kozlowski
2025-04-28 16:21 ` Ulf Hansson
2025-04-28 16:21 ` Ulf Hansson
2025-04-13 22:35 ` [PATCH v2 08/10] dt-bindings: i2c: dw: Add Sophgo SG2044 SoC I2C controller Inochi Amaoto
2025-04-13 22:35 ` Inochi Amaoto
2025-04-14 7:33 ` Krzysztof Kozlowski
2025-04-14 7:33 ` Krzysztof Kozlowski
2025-04-13 22:35 ` [PATCH v2 09/10] dt-bindings: riscv: sophgo: Add SG2044 compatible string Inochi Amaoto
2025-04-13 22:35 ` Inochi Amaoto
2025-04-13 22:35 ` [PATCH v2 10/10] riscv: dts: sophgo: Add initial device tree of Sophgo SRD3-10 Inochi Amaoto
2025-04-13 22:35 ` Inochi Amaoto
2025-04-26 7:36 ` [PATCH v2 00/10] riscv: sophgo: Introduce SG2044 SRD3-10 board support Chen Wang
2025-04-26 7:36 ` Chen Wang
2025-04-26 11:23 ` Inochi Amaoto
2025-04-26 11:23 ` Inochi Amaoto
2025-04-29 14:15 ` Andi Shyti
2025-04-29 14:15 ` Andi Shyti
2025-05-13 4:18 ` (subset) " Inochi Amaoto
2025-05-13 4:18 ` Inochi Amaoto
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=20250413223507.46480-2-inochiama@gmail.com \
--to=inochiama@gmail.com \
--cc=alex@ghiti.fr \
--cc=andi.shyti@kernel.org \
--cc=aou@eecs.berkeley.edu \
--cc=chao.wei@sophgo.com \
--cc=conor+dt@kernel.org \
--cc=daniel.lezcano@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=dlan@gentoo.org \
--cc=jarkko.nikula@linux.intel.com \
--cc=jdelvare@suse.com \
--cc=jszhang@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mmc@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=linux@roeck-us.net \
--cc=looong.bin@gmail.com \
--cc=p.zabel@pengutronix.de \
--cc=palmer@dabbelt.com \
--cc=paul.walmsley@sifive.com \
--cc=robh@kernel.org \
--cc=samuel.holland@sifive.com \
--cc=sophgo@lists.linux.dev \
--cc=tglx@linutronix.de \
--cc=thomas.bonnefille@bootlin.com \
--cc=ulf.hansson@linaro.org \
--cc=unicorn_wang@outlook.com \
/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: link
Be 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.