Message ID | 20240611-a4_pinctrl-v1-3-dc487b1977b3@amlogic.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Pinctrl: A4: Add pinctrl driver | expand |
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@intel.com/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@intel.com/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@intel.com> | Closes: https://lore.kernel.org/oe-kbuild-all/202406120256.PStYu9fX-lkp@intel.com/ 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 {
diff --git a/arch/arm64/boot/dts/amlogic/amlogic-a4.dtsi b/arch/arm64/boot/dts/amlogic/amlogic-a4.dtsi index de10e7aebf21..5d858bb93eb7 100644 --- a/arch/arm64/boot/dts/amlogic/amlogic-a4.dtsi +++ b/arch/arm64/boot/dts/amlogic/amlogic-a4.dtsi @@ -47,4 +47,40 @@ pwrc: power-controller { #power-domain-cells = <1>; }; }; + + soc { + aobus_pinctrl: pinctrl@fe08e700 { + compatible = "amlogic,a4-aobus-pinctrl"; + #address-cells = <2>; + #size-cells = <2>; + ranges; + + ao_gpio: bank@fe08e700 { + reg = <0x0 0xfe08e700 0x0 0x04>, + <0x0 0xfe08e704 0x0 0x60>; + reg-names = "mux", "gpio"; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&aobus_pinctrl 0 0 8>; + }; + }; + }; +}; + +&apb { + periphs_pinctrl: pinctrl@4000 { + compatible = "amlogic,a4-periphs-pinctrl"; + #address-cells = <2>; + #size-cells = <2>; + ranges; + + gpio: bank@4000 { + reg = <0x0 0x4000 0x0 0x0050>, + <0x0 0x40c0 0x0 0x0220>; + reg-names = "mux", "gpio"; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&periphs_pinctrl 0 0 73>; + }; + }; };