lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202406121706.nEgDZGXa-lkp@intel.com>
Date: Wed, 12 Jun 2024 17:22:54 +0800
From: kernel test robot <lkp@...el.com>
To: Luca Weiss <luca@...tu.xyz>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
	Bjorn Andersson <andersson@...nel.org>,
	Konrad Dybcio <konrad.dybcio@...aro.org>
Subject: arch/arm64/boot/dts/qcom/pmi632.dtsi:155.19-163.5: Warning
 (avoid_unnecessary_addr_size): /soc@...pmi@...f000/pmic@...wm: unnecessary
 #address-cells/#size-cells without "ranges" or child "reg" property

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   2ef5971ff345d3c000873725db555085e0131961
commit: 0c4f10917d22e6f36080617bfe71de1ae854ee58 arm64: dts: qcom: sdm632-fairphone-fp3: Add notification LED
date:   1 year, 1 month ago
config: arm64-randconfig-r113-20240606 (https://download.01.org/0day-ci/archive/20240612/202406121706.nEgDZGXa-lkp@intel.com/config)
compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project d7d2d4f53fc79b4b58e8d8d08151b577c3699d4a)
reproduce: (https://download.01.org/0day-ci/archive/20240612/202406121706.nEgDZGXa-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202406121706.nEgDZGXa-lkp@intel.com/

dtcheck warnings: (new ones prefixed by >>)
   arch/arm64/boot/dts/qcom/msm8953.dtsi:175.9-179.4: Warning (unit_address_vs_reg): /memory: node has a reg or ranges property, but no unit name
   arch/arm64/boot/dts/qcom/msm8953.dtsi:865.22-915.6: Warning (avoid_unnecessary_addr_size): /soc@...isplay-subsystem@...0000/dsi@...4000: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
   arch/arm64/boot/dts/qcom/pmi632.dtsi:149.9-164.4: Warning (avoid_unnecessary_addr_size): /soc@...pmi@...f000/pmic@3: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
>> arch/arm64/boot/dts/qcom/pmi632.dtsi:155.19-163.5: Warning (avoid_unnecessary_addr_size): /soc@...pmi@...f000/pmic@...wm: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property

vim +155 arch/arm64/boot/dts/qcom/pmi632.dtsi

a1f0f2ebb044c7 Luca Weiss 2023-05-23   40  
a1f0f2ebb044c7 Luca Weiss 2023-05-23   41  &spmi_bus {
a1f0f2ebb044c7 Luca Weiss 2023-05-23   42  	pmic@2 {
a1f0f2ebb044c7 Luca Weiss 2023-05-23   43  		compatible = "qcom,pmi632", "qcom,spmi-pmic";
a1f0f2ebb044c7 Luca Weiss 2023-05-23   44  		reg = <0x2 SPMI_USID>;
a1f0f2ebb044c7 Luca Weiss 2023-05-23   45  		#address-cells = <1>;
a1f0f2ebb044c7 Luca Weiss 2023-05-23   46  		#size-cells = <0>;
a1f0f2ebb044c7 Luca Weiss 2023-05-23   47  
a1f0f2ebb044c7 Luca Weiss 2023-05-23   48  		pmi632_temp: temp-alarm@...0 {
a1f0f2ebb044c7 Luca Weiss 2023-05-23   49  			compatible = "qcom,spmi-temp-alarm";
a1f0f2ebb044c7 Luca Weiss 2023-05-23   50  			reg = <0x2400>;
a1f0f2ebb044c7 Luca Weiss 2023-05-23   51  			interrupts = <0x2 0x24 0x0 IRQ_TYPE_EDGE_BOTH>;
a1f0f2ebb044c7 Luca Weiss 2023-05-23   52  			#thermal-sensor-cells = <0>;
a1f0f2ebb044c7 Luca Weiss 2023-05-23   53  		};
a1f0f2ebb044c7 Luca Weiss 2023-05-23   54  
a1f0f2ebb044c7 Luca Weiss 2023-05-23   55  		pmi632_adc: adc@...0 {
a1f0f2ebb044c7 Luca Weiss 2023-05-23   56  			compatible = "qcom,spmi-adc5";
a1f0f2ebb044c7 Luca Weiss 2023-05-23   57  			reg = <0x3100>;
a1f0f2ebb044c7 Luca Weiss 2023-05-23   58  			#address-cells = <1>;
a1f0f2ebb044c7 Luca Weiss 2023-05-23   59  			#size-cells = <0>;
a1f0f2ebb044c7 Luca Weiss 2023-05-23   60  			#io-channel-cells = <1>;
a1f0f2ebb044c7 Luca Weiss 2023-05-23   61  			interrupts = <0x2 0x31 0x0 IRQ_TYPE_EDGE_RISING>;
a1f0f2ebb044c7 Luca Weiss 2023-05-23   62  
a1f0f2ebb044c7 Luca Weiss 2023-05-23   63  			channel@0 {
a1f0f2ebb044c7 Luca Weiss 2023-05-23   64  				reg = <ADC5_REF_GND>;
a1f0f2ebb044c7 Luca Weiss 2023-05-23   65  				qcom,pre-scaling = <1 1>;
a1f0f2ebb044c7 Luca Weiss 2023-05-23   66  				label = "ref_gnd";
a1f0f2ebb044c7 Luca Weiss 2023-05-23   67  			};
a1f0f2ebb044c7 Luca Weiss 2023-05-23   68  
a1f0f2ebb044c7 Luca Weiss 2023-05-23   69  			channel@1 {
a1f0f2ebb044c7 Luca Weiss 2023-05-23   70  				reg = <ADC5_1P25VREF>;
a1f0f2ebb044c7 Luca Weiss 2023-05-23   71  				qcom,pre-scaling = <1 1>;
a1f0f2ebb044c7 Luca Weiss 2023-05-23   72  				label = "vref_1p25";
a1f0f2ebb044c7 Luca Weiss 2023-05-23   73  			};
a1f0f2ebb044c7 Luca Weiss 2023-05-23   74  
a1f0f2ebb044c7 Luca Weiss 2023-05-23   75  			channel@6 {
a1f0f2ebb044c7 Luca Weiss 2023-05-23   76  				reg = <ADC5_DIE_TEMP>;
a1f0f2ebb044c7 Luca Weiss 2023-05-23   77  				qcom,pre-scaling = <1 1>;
a1f0f2ebb044c7 Luca Weiss 2023-05-23   78  				label = "die_temp";
a1f0f2ebb044c7 Luca Weiss 2023-05-23   79  			};
a1f0f2ebb044c7 Luca Weiss 2023-05-23   80  
a1f0f2ebb044c7 Luca Weiss 2023-05-23   81  			channel@7 {
a1f0f2ebb044c7 Luca Weiss 2023-05-23   82  				reg = <ADC5_USB_IN_I>;
a1f0f2ebb044c7 Luca Weiss 2023-05-23   83  				qcom,pre-scaling = <1 1>;
a1f0f2ebb044c7 Luca Weiss 2023-05-23   84  				label = "usb_in_i_uv";
a1f0f2ebb044c7 Luca Weiss 2023-05-23   85  			};
a1f0f2ebb044c7 Luca Weiss 2023-05-23   86  
a1f0f2ebb044c7 Luca Weiss 2023-05-23   87  			channel@8 {
a1f0f2ebb044c7 Luca Weiss 2023-05-23   88  				reg = <ADC5_USB_IN_V_16>;
a1f0f2ebb044c7 Luca Weiss 2023-05-23   89  				qcom,pre-scaling = <1 16>;
a1f0f2ebb044c7 Luca Weiss 2023-05-23   90  				label = "usb_in_v_div_16";
a1f0f2ebb044c7 Luca Weiss 2023-05-23   91  			};
a1f0f2ebb044c7 Luca Weiss 2023-05-23   92  
a1f0f2ebb044c7 Luca Weiss 2023-05-23   93  			channel@9 {
a1f0f2ebb044c7 Luca Weiss 2023-05-23   94  				reg = <ADC5_CHG_TEMP>;
a1f0f2ebb044c7 Luca Weiss 2023-05-23   95  				qcom,pre-scaling = <1 1>;
a1f0f2ebb044c7 Luca Weiss 2023-05-23   96  				label = "chg_temp";
a1f0f2ebb044c7 Luca Weiss 2023-05-23   97  			};
a1f0f2ebb044c7 Luca Weiss 2023-05-23   98  
a1f0f2ebb044c7 Luca Weiss 2023-05-23   99  			channel@4b {
a1f0f2ebb044c7 Luca Weiss 2023-05-23  100  				reg = <ADC5_BAT_ID_100K_PU>;
a1f0f2ebb044c7 Luca Weiss 2023-05-23  101  				qcom,hw-settle-time = <200>;
a1f0f2ebb044c7 Luca Weiss 2023-05-23  102  				qcom,pre-scaling = <1 1>;
a1f0f2ebb044c7 Luca Weiss 2023-05-23  103  				qcom,ratiometric;
a1f0f2ebb044c7 Luca Weiss 2023-05-23  104  				label = "bat_id";
a1f0f2ebb044c7 Luca Weiss 2023-05-23  105  			};
a1f0f2ebb044c7 Luca Weiss 2023-05-23  106  
a1f0f2ebb044c7 Luca Weiss 2023-05-23  107  			channel@83 {
a1f0f2ebb044c7 Luca Weiss 2023-05-23  108  				reg = <ADC5_VPH_PWR>;
a1f0f2ebb044c7 Luca Weiss 2023-05-23  109  				qcom,pre-scaling = <1 3>;
a1f0f2ebb044c7 Luca Weiss 2023-05-23  110  				label = "vph_pwr";
a1f0f2ebb044c7 Luca Weiss 2023-05-23  111  			};
a1f0f2ebb044c7 Luca Weiss 2023-05-23  112  
a1f0f2ebb044c7 Luca Weiss 2023-05-23  113  			channel@84 {
a1f0f2ebb044c7 Luca Weiss 2023-05-23  114  				reg = <ADC5_VBAT_SNS>;
a1f0f2ebb044c7 Luca Weiss 2023-05-23  115  				qcom,pre-scaling = <1 3>;
a1f0f2ebb044c7 Luca Weiss 2023-05-23  116  				label = "vbat_sns";
a1f0f2ebb044c7 Luca Weiss 2023-05-23  117  			};
a1f0f2ebb044c7 Luca Weiss 2023-05-23  118  		};
a1f0f2ebb044c7 Luca Weiss 2023-05-23  119  
a1f0f2ebb044c7 Luca Weiss 2023-05-23  120  		pmi632_adc_tm: adc-tm@...0 {
a1f0f2ebb044c7 Luca Weiss 2023-05-23  121  			compatible = "qcom,spmi-adc-tm5";
a1f0f2ebb044c7 Luca Weiss 2023-05-23  122  			reg = <0x3500>;
a1f0f2ebb044c7 Luca Weiss 2023-05-23  123  			interrupts = <0x2 0x35 0x0 IRQ_TYPE_EDGE_RISING>;
a1f0f2ebb044c7 Luca Weiss 2023-05-23  124  			#thermal-sensor-cells = <1>;
a1f0f2ebb044c7 Luca Weiss 2023-05-23  125  			#address-cells = <1>;
a1f0f2ebb044c7 Luca Weiss 2023-05-23  126  			#size-cells = <0>;
a1f0f2ebb044c7 Luca Weiss 2023-05-23  127  			status = "disabled";
a1f0f2ebb044c7 Luca Weiss 2023-05-23  128  		};
a1f0f2ebb044c7 Luca Weiss 2023-05-23  129  
a1f0f2ebb044c7 Luca Weiss 2023-05-23  130  		pmi632_sdam_7: nvram@...0 {
a1f0f2ebb044c7 Luca Weiss 2023-05-23  131  			compatible = "qcom,spmi-sdam";
a1f0f2ebb044c7 Luca Weiss 2023-05-23  132  			reg = <0xb600>;
a1f0f2ebb044c7 Luca Weiss 2023-05-23  133  			#address-cells = <1>;
a1f0f2ebb044c7 Luca Weiss 2023-05-23  134  			#size-cells = <1>;
a1f0f2ebb044c7 Luca Weiss 2023-05-23  135  			ranges = <0 0xb600 0x100>;
a1f0f2ebb044c7 Luca Weiss 2023-05-23  136  		};
a1f0f2ebb044c7 Luca Weiss 2023-05-23  137  
a1f0f2ebb044c7 Luca Weiss 2023-05-23  138  		pmi632_gpios: gpio@...0 {
a1f0f2ebb044c7 Luca Weiss 2023-05-23  139  			compatible = "qcom,pmi632-gpio", "qcom,spmi-gpio";
a1f0f2ebb044c7 Luca Weiss 2023-05-23  140  			reg = <0xc000>;
a1f0f2ebb044c7 Luca Weiss 2023-05-23  141  			gpio-controller;
a1f0f2ebb044c7 Luca Weiss 2023-05-23  142  			gpio-ranges = <&pmi632_gpios 0 0 8>;
a1f0f2ebb044c7 Luca Weiss 2023-05-23  143  			#gpio-cells = <2>;
a1f0f2ebb044c7 Luca Weiss 2023-05-23  144  			interrupt-controller;
a1f0f2ebb044c7 Luca Weiss 2023-05-23  145  			#interrupt-cells = <2>;
a1f0f2ebb044c7 Luca Weiss 2023-05-23  146  		};
a1f0f2ebb044c7 Luca Weiss 2023-05-23  147  	};
a1f0f2ebb044c7 Luca Weiss 2023-05-23  148  
a1f0f2ebb044c7 Luca Weiss 2023-05-23  149  	pmic@3 {
a1f0f2ebb044c7 Luca Weiss 2023-05-23  150  		compatible = "qcom,pmi632", "qcom,spmi-pmic";
a1f0f2ebb044c7 Luca Weiss 2023-05-23  151  		reg = <0x3 SPMI_USID>;
a1f0f2ebb044c7 Luca Weiss 2023-05-23  152  		#address-cells = <1>;
a1f0f2ebb044c7 Luca Weiss 2023-05-23  153  		#size-cells = <0>;
a1f0f2ebb044c7 Luca Weiss 2023-05-23  154  
a1f0f2ebb044c7 Luca Weiss 2023-05-23 @155  		pmi632_lpg: pwm {

:::::: The code at line 155 was first introduced by commit
:::::: a1f0f2ebb044c7248c3f30b98de0f151505bd4bd arm64: dts: qcom: Add PMI632 PMIC

:::::: TO: Luca Weiss <luca@...tu.xyz>
:::::: CC: Bjorn Andersson <andersson@...nel.org>

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ