File tree Expand file tree Collapse file tree 3 files changed +14
-14
lines changed
Documentation/devicetree/bindings/pinctrl Expand file tree Collapse file tree 3 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -70,11 +70,11 @@ allOf:
70
70
- $ref : " pinctrl.yaml#"
71
71
72
72
patternProperties :
73
- ' -[0-9]+ $' :
73
+ ' pins $' :
74
74
type : object
75
75
additionalProperties : false
76
76
patternProperties :
77
- ' pins ' :
77
+ ' (^ pins|pins?$) ' :
78
78
type : object
79
79
additionalProperties : false
80
80
description : |
@@ -158,23 +158,23 @@ examples:
158
158
<GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
159
159
<GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
160
160
161
- i2c0_pins_a: i2c0-0 {
161
+ i2c0_pins_a: i2c0-pins {
162
162
pins1 {
163
163
pinmux = <MT8135_PIN_100_SDA0__FUNC_SDA0>,
164
164
<MT8135_PIN_101_SCL0__FUNC_SCL0>;
165
165
bias-disable;
166
166
};
167
167
};
168
168
169
- i2c1_pins_a: i2c1-0 {
169
+ i2c1_pins_a: i2c1-pins {
170
170
pins {
171
171
pinmux = <MT8135_PIN_195_SDA1__FUNC_SDA1>,
172
172
<MT8135_PIN_196_SCL1__FUNC_SCL1>;
173
173
bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
174
174
};
175
175
};
176
176
177
- i2c2_pins_a: i2c2-0 {
177
+ i2c2_pins_a: i2c2-pins {
178
178
pins1 {
179
179
pinmux = <MT8135_PIN_193_SDA2__FUNC_SDA2>;
180
180
bias-pull-down;
@@ -186,7 +186,7 @@ examples:
186
186
};
187
187
};
188
188
189
- i2c3_pins_a: i2c3-0 {
189
+ i2c3_pins_a: i2c3-pins {
190
190
pins1 {
191
191
pinmux = <MT8135_PIN_40_DAC_CLK__FUNC_GPIO40>,
192
192
<MT8135_PIN_41_DAC_WS__FUNC_GPIO41>;
Original file line number Diff line number Diff line change @@ -61,11 +61,11 @@ then:
61
61
- " #interrupt-cells"
62
62
63
63
patternProperties :
64
- ' -[0-9]+ $ ' :
64
+ ' -pins(-[a-z]+)? $ ' :
65
65
type : object
66
66
additionalProperties : false
67
67
patternProperties :
68
- ' mux ' :
68
+ ' ^ mux(-|$) ' :
69
69
type : object
70
70
additionalProperties : false
71
71
description : |
@@ -244,7 +244,7 @@ patternProperties:
244
244
groups :
245
245
enum : [wf0_2g, wf0_5g]
246
246
247
- ' conf ' :
247
+ ' ^ conf(-|$) ' :
248
248
type : object
249
249
additionalProperties : false
250
250
description : |
@@ -348,7 +348,7 @@ examples:
348
348
gpio-controller;
349
349
#gpio-cells = <2>;
350
350
351
- pinctrl_eth_default: eth-0 {
351
+ pinctrl_eth_default: eth-pins {
352
352
mux-mdio {
353
353
groups = "mdc_mdio";
354
354
function = "eth";
Original file line number Diff line number Diff line change @@ -67,11 +67,11 @@ required:
67
67
- gpio-ranges
68
68
69
69
patternProperties :
70
- ' -[0-9]+ $ ' :
70
+ ' -pins(-[a-z]+)? $ ' :
71
71
type : object
72
72
additionalProperties : false
73
73
patternProperties :
74
- ' pins ' :
74
+ ' ^ pins' :
75
75
type : object
76
76
additionalProperties : false
77
77
description : |
@@ -210,7 +210,7 @@ examples:
210
210
interrupts = <GIC_SPI 177 IRQ_TYPE_LEVEL_HIGH>;
211
211
#interrupt-cells = <2>;
212
212
213
- i2c0_pins_a: i2c-0 {
213
+ i2c0_pins_a: i2c0-pins {
214
214
pins1 {
215
215
pinmux = <PINMUX_GPIO48__FUNC_SCL5>,
216
216
<PINMUX_GPIO49__FUNC_SDA5>;
@@ -219,7 +219,7 @@ examples:
219
219
};
220
220
};
221
221
222
- i2c1_pins_a: i2c-1 {
222
+ i2c1_pins_a: i2c1-pins {
223
223
pins {
224
224
pinmux = <PINMUX_GPIO50__FUNC_SCL3>,
225
225
<PINMUX_GPIO51__FUNC_SDA3>;
You can’t perform that action at this time.
0 commit comments