Skip to content

Commit 5d1fcfc

Browse files
Andy GrossAnas Nashif
authored andcommitted
dts: i2c: Fix size and address cells
This patch fixes the size and address cells yaml generation. Due to the leading #, the yaml generation incorrectly parses the property name. Adding quotes around the property name fixes this. Signed-off-by: Andy Gross <[email protected]>
1 parent c1500fe commit 5d1fcfc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dts/common/yaml/i2c.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ description: >
77
This binding gives the base structures for all I2C devices
88
99
properties:
10-
- #address-cells:
10+
- "#address-cells":
1111
type: int
1212
category: required
1313
description: should be 1.
14-
- #size-cells:
14+
- "#size-cells":
1515
type: int
1616
category: required
1717
description: should be 0.

0 commit comments

Comments
 (0)