Skip to content

Commit ebba066

Browse files
jilaypandyakartben
authored andcommitted
dts: bindings: i2c: replace underscore with hyphen
As per device tree specification, use hyphen in device tree properties Signed-off-by: Jilay Pandya <[email protected]>
1 parent f9d69fc commit ebba066

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
lines changed

boards/microchip/mec1501modular_assy6885/mec1501modular_assy6885.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252

5353
&i2c_smb_0 {
5454
status = "okay";
55-
port_sel = <0>;
55+
port-sel = <0>;
5656
sda-gpios = <MCHP_GPIO_DECODE_003 0>;
5757
scl-gpios = <MCHP_GPIO_DECODE_004 0>;
5858
pinctrl-0 = < &i2c00_scl_gpio004 &i2c00_sda_gpio003 >;
@@ -61,7 +61,7 @@
6161

6262
&i2c_smb_1 {
6363
status = "okay";
64-
port_sel = <1>;
64+
port-sel = <1>;
6565
sda-gpios = <MCHP_GPIO_DECODE_130 0>;
6666
scl-gpios = <MCHP_GPIO_DECODE_131 0>;
6767
pinctrl-0 = < &i2c01_scl_gpio131 &i2c01_sda_gpio130 >;

boards/microchip/mec15xxevb_assy6853/mec15xxevb_assy6853.dts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080

8181
&i2c_smb_0 {
8282
status = "okay";
83-
port_sel = <0>;
83+
port-sel = <0>;
8484
sda-gpios = <MCHP_GPIO_DECODE_003 0>;
8585
scl-gpios = <MCHP_GPIO_DECODE_004 0>;
8686
pinctrl-0 = < &i2c00_scl_gpio004 &i2c00_sda_gpio003 >;
@@ -89,7 +89,7 @@
8989

9090
&i2c_smb_1 {
9191
status = "okay";
92-
port_sel = <1>;
92+
port-sel = <1>;
9393
sda-gpios = <MCHP_GPIO_DECODE_130 0>;
9494
scl-gpios = <MCHP_GPIO_DECODE_131 0>;
9595
pinctrl-0 = < &i2c01_scl_gpio131 &i2c01_sda_gpio130 >;
@@ -114,7 +114,7 @@
114114

115115
&i2c_smb_2 {
116116
status = "okay";
117-
port_sel = <7>;
117+
port-sel = <7>;
118118
sda-gpios = <MCHP_GPIO_DECODE_012 0>;
119119
scl-gpios = <MCHP_GPIO_DECODE_013 0>;
120120
pinctrl-0 = < &i2c07_scl_gpio013 &i2c07_sda_gpio012 >;

boards/microchip/mec172xevb_assy6906/mec172xevb_assy6906.dts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@
125125
/* I2C */
126126
&i2c_smb_0 {
127127
status = "okay";
128-
port_sel = <0>;
128+
port-sel = <0>;
129129

130130
pinctrl-0 = < &i2c00_scl_gpio004 &i2c00_sda_gpio003 >;
131131
pinctrl-names = "default";
@@ -145,7 +145,7 @@
145145

146146
&i2c_smb_1 {
147147
status = "okay";
148-
port_sel = <1>;
148+
port-sel = <1>;
149149
pinctrl-0 = <&i2c01_scl_gpio131 &i2c01_sda_gpio130>;
150150
pinctrl-names = "default";
151151

@@ -180,7 +180,7 @@
180180

181181
&i2c_smb_2 {
182182
status = "okay";
183-
port_sel = <7>;
183+
port-sel = <7>;
184184
pinctrl-0 = <&i2c07_scl_gpio013 &i2c07_sda_gpio012>;
185185
pinctrl-names = "default";
186186
};

boards/microchip/mec172xmodular_assy6930/mec172xmodular_assy6930.dts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@
119119
/* I2C */
120120
&i2c_smb_0 {
121121
status = "okay";
122-
port_sel = <0>;
122+
port-sel = <0>;
123123

124124
pinctrl-0 = < &i2c00_scl_gpio004 &i2c00_sda_gpio003 >;
125125
pinctrl-names = "default";
@@ -139,7 +139,7 @@
139139

140140
&i2c_smb_1 {
141141
status = "okay";
142-
port_sel = <1>;
142+
port-sel = <1>;
143143
pinctrl-0 = <&i2c01_scl_gpio131 &i2c01_sda_gpio130>;
144144
pinctrl-names = "default";
145145
};
@@ -158,7 +158,7 @@
158158

159159
&i2c_smb_2 {
160160
status = "okay";
161-
port_sel = <7>;
161+
port-sel = <7>;
162162
pinctrl-0 = <&i2c07_scl_gpio013 &i2c07_sda_gpio012>;
163163
pinctrl-names = "default";
164164
};

dts/bindings/i2c/microchip,xec-i2c-v2.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ properties:
1111
reg:
1212
required: true
1313

14-
port_sel:
14+
port-sel:
1515
type: int
1616
description: soc block mapping to pin
1717
required: true

dts/bindings/i2c/microchip,xec-i2c.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ properties:
1111
reg:
1212
required: true
1313

14-
port_sel:
14+
port-sel:
1515
type: int
1616
description: soc block mapping to pin
1717
required: true

0 commit comments

Comments
 (0)