Re: [PATCH 3/3] arm64: dts: amlogic: a4: add pinctrl node

From: kernel test robot
Date: Tue Jun 11 2024 - 14:51:34 EST


Hi Xianwei,

kernel test robot noticed the following build warnings:

[auto build test WARNING on 87501b7ca0005c533d770d37e0047a60954d986a]

url: https://github.com/intel-lab-lkp/linux/commits/Xianwei-Zhao-via-B4-Relay/dt-bindings-pinctrl-Add-support-for-Amlogic-A4-SoCs/20240611-131412
base: 87501b7ca0005c533d770d37e0047a60954d986a
patch link: https://lore.kernel.org/r/20240611-a4_pinctrl-v1-3-dc487b1977b3%40amlogic.com
patch subject: [PATCH 3/3] arm64: dts: amlogic: a4: add pinctrl node
config: arm64-defconfig (https://download.01.org/0day-ci/archive/20240612/202406120256.PStYu9fX-lkp@xxxxxxxxx/config)
compiler: aarch64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240612/202406120256.PStYu9fX-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/202406120256.PStYu9fX-lkp@xxxxxxxxx/

dtcheck warnings: (new ones prefixed by >>)
>> arch/arm64/boot/dts/amlogic/amlogic-a4.dtsi:71.32-85.4: Warning (unit_address_vs_reg): /soc/bus@fe000000/pinctrl@4000: node has a unit name, but no reg or ranges property
>> arch/arm64/boot/dts/amlogic/amlogic-a4.dtsi:52.35-66.5: Warning (unit_address_vs_reg): /soc/pinctrl@fe08e700: node has a unit name, but no reg or ranges property
>> arch/arm64/boot/dts/amlogic/amlogic-a4.dtsi:71.32-85.4: Warning (simple_bus_reg): /soc/bus@fe000000/pinctrl@4000: missing or empty reg/ranges property
>> arch/arm64/boot/dts/amlogic/amlogic-a4.dtsi:52.35-66.5: Warning (simple_bus_reg): /soc/pinctrl@fe08e700: missing or empty reg/ranges property

vim +71 arch/arm64/boot/dts/amlogic/amlogic-a4.dtsi

> 52 aobus_pinctrl: pinctrl@fe08e700 {
53 compatible = "amlogic,a4-aobus-pinctrl";
54 #address-cells = <2>;
55 #size-cells = <2>;
56 ranges;
57
58 ao_gpio: bank@fe08e700 {
59 reg = <0x0 0xfe08e700 0x0 0x04>,
60 <0x0 0xfe08e704 0x0 0x60>;
61 reg-names = "mux", "gpio";
62 gpio-controller;
63 #gpio-cells = <2>;
64 gpio-ranges = <&aobus_pinctrl 0 0 8>;
65 };
66 };
67 };
68 };
69
70 &apb {
> 71 periphs_pinctrl: pinctrl@4000 {

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