arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi:255.10-265.6: Warning (graph_child_address): /bus@f0000/i2c@20000000/tps6598x@3f/connector/ports: graph node has single child node 'port@0', #address-cells/#size-cells are not necessary

From: kernel test robot
Date: Fri Jun 07 2024 - 21:30:11 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: dc772f8237f9b0c9ea3f34d0dc4a57d1f6a5070d
commit: 2c213d19515caf880e6c8266fbeda4145894c10e arm64: dts: ti: k3-am625: Enable Type-C port for USB0
date: 12 months ago
compiler: aarch64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240608/202406080936.ImME0HYU-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202406080936.ImME0HYU-lkp@xxxxxxxxx/

dtcheck warnings: (new ones prefixed by >>)
>> arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi:255.10-265.6: Warning (graph_child_address): /bus@f0000/i2c@20000000/tps6598x@3f/connector/ports: graph node has single child node 'port@0', #address-cells/#size-cells are not necessary
>> arch/arm64/boot/dts/ti/k3-am62-main.dtsi:570.22-578.5: Warning (graph_child_address): /bus@f0000/dwc3-usb@f900000/usb@31000000: graph node has single child node 'port@0', #address-cells/#size-cells are not necessary
>> also defined at arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi:346.7-357.3

vim +255 arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi

238
239 &main_i2c0 {
240 status = "okay";
241 pinctrl-names = "default";
242 pinctrl-0 = <&main_i2c0_pins_default>;
243 clock-frequency = <400000>;
244
245 typec_pd0: tps6598x@3f {
246 compatible = "ti,tps6598x";
247 reg = <0x3f>;
248
249 connector {
250 compatible = "usb-c-connector";
251 label = "USB-C";
252 self-powered;
253 data-role = "dual";
254 power-role = "sink";
> 255 ports {
256 #address-cells = <1>;
257 #size-cells = <0>;
258
259 port@0 {
260 reg = <0>;
261 usb_con_hs: endpoint {
262 remote-endpoint = <&usb0_hs_ep>;
263 };
264 };
265 };
266 };
267 };
268 };
269
270 &main_i2c1 {
271 status = "okay";
272 pinctrl-names = "default";
273 pinctrl-0 = <&main_i2c1_pins_default>;
274 clock-frequency = <400000>;
275
276 tlv320aic3106: audio-codec@1b {
277 #sound-dai-cells = <0>;
278 compatible = "ti,tlv320aic3106";
279 reg = <0x1b>;
280 ai3x-micbias-vg = <1>; /* 2.0V */
281
282 /* Regulators */
283 AVDD-supply = <&vcc_3v3_sys>;
284 IOVDD-supply = <&vcc_3v3_sys>;
285 DRVDD-supply = <&vcc_3v3_sys>;
286 };
287 };
288
289 &sdhci0 {
290 status = "okay";
291 pinctrl-names = "default";
292 pinctrl-0 = <&main_mmc0_pins_default>;
293 ti,driver-strength-ohm = <50>;
294 disable-wp;
295 };
296
297 &sdhci1 {
298 /* SD/MMC */
299 status = "okay";
300 pinctrl-names = "default";
301 pinctrl-0 = <&main_mmc1_pins_default>;
302 ti,driver-strength-ohm = <50>;
303 disable-wp;
304 };
305
306 &cpsw3g {
307 pinctrl-names = "default";
308 pinctrl-0 = <&main_rgmii1_pins_default>;
309 };
310
311 &cpsw_port1 {
312 phy-mode = "rgmii-rxid";
313 phy-handle = <&cpsw3g_phy0>;
314 };
315
316 &cpsw3g_mdio {
317 status = "okay";
318 pinctrl-names = "default";
319 pinctrl-0 = <&main_mdio1_pins_default>;
320
321 cpsw3g_phy0: ethernet-phy@0 {
322 reg = <0>;
323 ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
324 ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
325 ti,min-output-impedance;
326 };
327 };
328
329 &mailbox0_cluster0 {
330 mbox_m4_0: mbox-m4-0 {
331 ti,mbox-rx = <0 0 0>;
332 ti,mbox-tx = <1 0 0>;
333 };
334 };
335
336 &usbss0 {
337 status = "okay";
338 ti,vbus-divider;
339 };
340
341 &usbss1 {
342 status = "okay";
343 ti,vbus-divider;
344 };
345
> 346 &usb0 {
347 #address-cells = <1>;
348 #size-cells = <0>;
349 usb-role-switch;
350
351 port@0 {
352 reg = <0>;
353 usb0_hs_ep: endpoint {
354 remote-endpoint = <&usb_con_hs>;
355 };
356 };
357 };
358

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki