Skip to content

Commit b6c540d

Browse files
inochisaAndi Shyti
authored andcommitted
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 <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Andi Shyti <[email protected]>
1 parent a6e04f0 commit b6c540d

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

Documentation/devicetree/bindings/i2c/snps,designware-i2c.yaml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,12 @@ properties:
3232
- const: renesas,r9a06g032-i2c # RZ/N1D
3333
- const: renesas,rzn1-i2c # RZ/N1
3434
- const: snps,designware-i2c
35-
- description: Microsemi Ocelot SoCs I2C controller
36-
items:
37-
- const: mscc,ocelot-i2c
38-
- const: snps,designware-i2c
3935
- description: Baikal-T1 SoC System I2C controller
4036
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
4441
- const: snps,designware-i2c
4542

4643
reg:

0 commit comments

Comments
 (0)