arch/arm64/boot/dts/ti/k3-am62p5-sk.dts:367.10-376.6: Warning (graph_child_address): /bus@f0000/i2c@20000000/usb-power-controller@3f/connector/ports: graph node has single child node 'port@0', #address-cells/#size-cells are not necessary

From: kernel test robot
Date: Sat Jun 08 2024 - 09:40:53 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: dc772f8237f9b0c9ea3f34d0dc4a57d1f6a5070d
commit: c1453d3c3e9baf538b5f978c9e7cc24e47cc877e arm64: dts: ti: k3-am62p: add the USB sub-system
date: 6 weeks ago
compiler: aarch64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240608/202406082152.SN1xuMYL-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/202406082152.SN1xuMYL-lkp@xxxxxxxxx/

dtcheck warnings: (new ones prefixed by >>)
>> arch/arm64/boot/dts/ti/k3-am62p5-sk.dts:367.10-376.6: Warning (graph_child_address): /bus@f0000/i2c@20000000/usb-power-controller@3f/connector/ports: graph node has single child node 'port@0', #address-cells/#size-cells are not necessary
>> arch/arm64/boot/dts/ti/k3-am62p-main.dtsi:651.22-661.5: Warning (graph_child_address): /bus@f0000/usb@f900000/usb@31000000: graph node has single child node 'port@0', #address-cells/#size-cells are not necessary

vim +367 arch/arm64/boot/dts/ti/k3-am62p5-sk.dts

350
351 &main_i2c0 {
352 status = "okay";
353 pinctrl-names = "default";
354 pinctrl-0 = <&main_i2c0_pins_default>;
355 clock-frequency = <400000>;
356
357 typec_pd0: usb-power-controller@3f {
358 compatible = "ti,tps6598x";
359 reg = <0x3f>;
360
361 connector {
362 compatible = "usb-c-connector";
363 label = "USB-C";
364 self-powered;
365 data-role = "dual";
366 power-role = "sink";
> 367 ports {
368 #address-cells = <1>;
369 #size-cells = <0>;
370 port@0 {
371 reg = <0>;
372 usb_con_hs: endpoint {
373 remote-endpoint = <&usb0_hs_ep>;
374 };
375 };
376 };
377 };
378 };
379 };
380

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