Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: i2c: dw: merge duplicate compatible entry.

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>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20250413223507.46480-2-inochiama@gmail.com
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>

authored by

Inochi Amaoto and committed by
Andi Shyti
b6c540d7 a6e04f05

+4 -7
+4 -7
Documentation/devicetree/bindings/i2c/snps,designware-i2c.yaml
··· 32 32 - const: renesas,r9a06g032-i2c # RZ/N1D 33 33 - const: renesas,rzn1-i2c # RZ/N1 34 34 - const: snps,designware-i2c 35 - - description: Microsemi Ocelot SoCs I2C controller 36 - items: 37 - - const: mscc,ocelot-i2c 38 - - const: snps,designware-i2c 39 35 - description: Baikal-T1 SoC System I2C controller 40 36 const: baikal,bt1-sys-i2c 41 - - description: T-HEAD TH1520 SoCs I2C controller 42 - items: 43 - - const: thead,th1520-i2c 37 + - items: 38 + - enum: 39 + - mscc,ocelot-i2c 40 + - thead,th1520-i2c 44 41 - const: snps,designware-i2c 45 42 46 43 reg: