Message ID | 20220912091643.3537857-2-bhupesh.sharma@linaro.org (mailing list archive) |
---|---|
State | Handled Elsewhere, archived |
Headers | show |
Series | arm64: qcom: Introduce Qualcomm Cooling Driver suppport | expand |
Hi Bhupesh, Thank you for the patch! Yet something to improve: [auto build test ERROR on robh/for-next] [also build test ERROR on arm64/for-next/core clk/clk-next rockchip/for-next shawnguo/for-next soc/for-next xilinx-xlnx/master linus/master v6.0-rc5 next-20220913] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Bhupesh-Sharma/arm64-qcom-Introduce-Qualcomm-Cooling-Driver-suppport/20220912-171936 base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next config: arm64-allyesconfig (https://download.01.org/0day-ci/archive/20220914/202209140842.dk0QBtpI-lkp@intel.com/config) compiler: aarch64-linux-gcc (GCC) 12.1.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/34ee1e982e105446a5f8ec8d41381f38a9c8bf0b git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Bhupesh-Sharma/arm64-qcom-Introduce-Qualcomm-Cooling-Driver-suppport/20220912-171936 git checkout 34ee1e982e105446a5f8ec8d41381f38a9c8bf0b # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot <lkp@intel.com> All errors (new ones prefixed by >>): In file included from arch/arm64/boot/dts/qcom/sa8155p-adp.dts:10: >> arch/arm64/boot/dts/qcom/sm8150.dtsi:16:10: fatal error: dt-bindings/thermal/qcom,tmd.h: No such file or directory 16 | #include <dt-bindings/thermal/qcom,tmd.h> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. vim +16 arch/arm64/boot/dts/qcom/sm8150.dtsi > 16 #include <dt-bindings/thermal/qcom,tmd.h> 17 #include <dt-bindings/thermal/thermal.h> 18
diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi index cef8c4f4f0ff..6aa270ebbd3f 100644 --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi @@ -13,6 +13,7 @@ #include <dt-bindings/clock/qcom,gpucc-sm8150.h> #include <dt-bindings/interconnect/qcom,osm-l3.h> #include <dt-bindings/interconnect/qcom,sm8150.h> +#include <dt-bindings/thermal/qcom,tmd.h> #include <dt-bindings/thermal/thermal.h> / { @@ -3444,6 +3445,67 @@ compute-cb@8 { }; }; + qmi_tmd_devices: qmi-tmd-devices { + compatible = "qcom,qmi-tmd-devices"; + status = "disabled"; + + modem0 { + qcom,instance-id = <MODEM0_INSTANCE_ID>; + + modem0_pa: tmd-device0 { + label = "pa"; + #cooling-cells = <2>; + }; + + modem0_proc: tmd-device1 { + label = "modem"; + #cooling-cells = <2>; + }; + + modem0_current: tmd-device2 { + label = "modem_current"; + #cooling-cells = <2>; + }; + + modem0_skin: tmd-device3 { + label = "modem_skin"; + #cooling-cells = <2>; + }; + + modem0_vdd: tmd-device4 { + label = "cpuv_restriction_cold"; + #cooling-cells = <2>; + }; + }; + + adsp { + qcom,instance-id = <ADSP_INSTANCE_ID>; + + adsp_vdd: tmd-device0 { + label = "cpuv_restriction_cold"; + #cooling-cells = <2>; + }; + }; + + cdsp { + qcom,instance-id = <CDSP_INSTANCE_ID>; + + cdsp_vdd: tmd-device0 { + label = "cpuv_restriction_cold"; + #cooling-cells = <2>; + }; + }; + + slpi { + qcom,instance-id = <SLPI_INSTANCE_ID>; + + slpi_vdd: tmd-device0 { + label = "cpuv_restriction_cold"; + #cooling-cells = <2>; + }; + }; + }; + usb_1_hsphy: phy@88e2000 { compatible = "qcom,sm8150-usb-hs-phy", "qcom,usb-snps-hs-7nm-phy";
Add qmi cooling nodes to sm8150 dts file. This node describes the various qmi thermal mitigation devices (tmd) which are available on remote processor subsystems. Cc: Rob Herring <robh+dt@kernel.org> Cc: andersson@kernel.org Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org> --- arch/arm64/boot/dts/qcom/sm8150.dtsi | 62 ++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+)