Skip to content

Commit 846348a

Browse files
author
AngeloGioacchino Del Regno
committed
arm64: dts: mediatek: mt8183-evb: Fix dtbs_check warnings
Change the Murata NCM03WF104 node name from "thermal-sensor" to "thermistor" (as that's what it is, after all), and change all of the pinmux main nodes to have a "-pins" suffix to satisfy devicetree bindings checks. Reviewed-by: Chen-Yu Tsai <wenst@chromium.org> Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
1 parent c68a509 commit 846348a

1 file changed

Lines changed: 18 additions & 18 deletions

File tree

arch/arm64/boot/dts/mediatek/mt8183-evb.dts

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
};
3939
};
4040

41-
thermal-sensor {
41+
thermistor {
4242
compatible = "murata,ncp03wf104";
4343
pullup-uv = <1800000>;
4444
pullup-ohm = <390000>;
@@ -155,55 +155,55 @@
155155
};
156156

157157
&pio {
158-
i2c_pins_0: i2c0 {
158+
i2c_pins_0: i2c0-pins {
159159
pins_i2c {
160160
pinmux = <PINMUX_GPIO82__FUNC_SDA0>,
161161
<PINMUX_GPIO83__FUNC_SCL0>;
162162
mediatek,pull-up-adv = <3>;
163163
};
164164
};
165165

166-
i2c_pins_1: i2c1 {
166+
i2c_pins_1: i2c1-pins {
167167
pins_i2c {
168168
pinmux = <PINMUX_GPIO81__FUNC_SDA1>,
169169
<PINMUX_GPIO84__FUNC_SCL1>;
170170
mediatek,pull-up-adv = <3>;
171171
};
172172
};
173173

174-
i2c_pins_2: i2c2 {
174+
i2c_pins_2: i2c2-pins {
175175
pins_i2c {
176176
pinmux = <PINMUX_GPIO103__FUNC_SCL2>,
177177
<PINMUX_GPIO104__FUNC_SDA2>;
178178
mediatek,pull-up-adv = <3>;
179179
};
180180
};
181181

182-
i2c_pins_3: i2c3 {
182+
i2c_pins_3: i2c3-pins {
183183
pins_i2c {
184184
pinmux = <PINMUX_GPIO50__FUNC_SCL3>,
185185
<PINMUX_GPIO51__FUNC_SDA3>;
186186
mediatek,pull-up-adv = <3>;
187187
};
188188
};
189189

190-
i2c_pins_4: i2c4 {
190+
i2c_pins_4: i2c4-pins {
191191
pins_i2c {
192192
pinmux = <PINMUX_GPIO105__FUNC_SCL4>,
193193
<PINMUX_GPIO106__FUNC_SDA4>;
194194
mediatek,pull-up-adv = <3>;
195195
};
196196
};
197197

198-
i2c_pins_5: i2c5 {
198+
i2c_pins_5: i2c5-pins {
199199
pins_i2c {
200200
pinmux = <PINMUX_GPIO48__FUNC_SCL5>,
201201
<PINMUX_GPIO49__FUNC_SDA5>;
202202
mediatek,pull-up-adv = <3>;
203203
};
204204
};
205205

206-
spi_pins_0: spi0 {
206+
spi_pins_0: spi0-pins {
207207
pins_spi {
208208
pinmux = <PINMUX_GPIO85__FUNC_SPI0_MI>,
209209
<PINMUX_GPIO86__FUNC_SPI0_CSB>,
@@ -213,7 +213,7 @@
213213
};
214214
};
215215

216-
mmc0_pins_default: mmc0default {
216+
mmc0_pins_default: mmc0-default-pins {
217217
pins_cmd_dat {
218218
pinmux = <PINMUX_GPIO123__FUNC_MSDC0_DAT0>,
219219
<PINMUX_GPIO128__FUNC_MSDC0_DAT1>,
@@ -239,7 +239,7 @@
239239
};
240240
};
241241

242-
mmc0_pins_uhs: mmc0 {
242+
mmc0_pins_uhs: mmc0-uhs-pins {
243243
pins_cmd_dat {
244244
pinmux = <PINMUX_GPIO123__FUNC_MSDC0_DAT0>,
245245
<PINMUX_GPIO128__FUNC_MSDC0_DAT1>,
@@ -274,7 +274,7 @@
274274
};
275275
};
276276

277-
mmc1_pins_default: mmc1default {
277+
mmc1_pins_default: mmc1-default-pins {
278278
pins_cmd_dat {
279279
pinmux = <PINMUX_GPIO31__FUNC_MSDC1_CMD>,
280280
<PINMUX_GPIO32__FUNC_MSDC1_DAT0>,
@@ -298,7 +298,7 @@
298298
};
299299
};
300300

301-
mmc1_pins_uhs: mmc1 {
301+
mmc1_pins_uhs: mmc1-pins {
302302
pins_cmd_dat {
303303
pinmux = <PINMUX_GPIO31__FUNC_MSDC1_CMD>,
304304
<PINMUX_GPIO32__FUNC_MSDC1_DAT0>,
@@ -318,7 +318,7 @@
318318
};
319319
};
320320

321-
spi_pins_1: spi1 {
321+
spi_pins_1: spi1-pins {
322322
pins_spi {
323323
pinmux = <PINMUX_GPIO161__FUNC_SPI1_A_MI>,
324324
<PINMUX_GPIO162__FUNC_SPI1_A_CSB>,
@@ -328,7 +328,7 @@
328328
};
329329
};
330330

331-
spi_pins_2: spi2 {
331+
spi_pins_2: spi2-pins {
332332
pins_spi {
333333
pinmux = <PINMUX_GPIO0__FUNC_SPI2_CSB>,
334334
<PINMUX_GPIO1__FUNC_SPI2_MO>,
@@ -338,7 +338,7 @@
338338
};
339339
};
340340

341-
spi_pins_3: spi3 {
341+
spi_pins_3: spi3-pins {
342342
pins_spi {
343343
pinmux = <PINMUX_GPIO21__FUNC_SPI3_MI>,
344344
<PINMUX_GPIO22__FUNC_SPI3_CSB>,
@@ -348,7 +348,7 @@
348348
};
349349
};
350350

351-
spi_pins_4: spi4 {
351+
spi_pins_4: spi4-pins {
352352
pins_spi {
353353
pinmux = <PINMUX_GPIO17__FUNC_SPI4_MI>,
354354
<PINMUX_GPIO18__FUNC_SPI4_CSB>,
@@ -358,7 +358,7 @@
358358
};
359359
};
360360

361-
spi_pins_5: spi5 {
361+
spi_pins_5: spi5-pins {
362362
pins_spi {
363363
pinmux = <PINMUX_GPIO13__FUNC_SPI5_MI>,
364364
<PINMUX_GPIO14__FUNC_SPI5_CSB>,
@@ -368,7 +368,7 @@
368368
};
369369
};
370370

371-
pwm_pins_1: pwm1 {
371+
pwm_pins_1: pwm1-pins {
372372
pins_pwm {
373373
pinmux = <PINMUX_GPIO90__FUNC_PWM_A>;
374374
};

0 commit comments

Comments
 (0)