* [PATCH v2 2/2] arm64: dts: mt8173: Update thermal node
2023-06-01 13:44 [PATCH v2 1/2] dt-bindings: thermal: mediatek: Move auxdac binding to yaml matthias.bgg
@ 2023-06-01 13:44 ` matthias.bgg
0 siblings, 0 replies; 5+ messages in thread
From: matthias.bgg @ 2023-06-01 13:44 UTC (permalink / raw)
To: rafael, Daniel Lezcano, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, AngeloGioacchino Del Regno
Cc: devicetree, Amit Kucheria, linux-pm, linux-kernel, linux-mediatek,
Zhang Rui, linux-arm-kernel, Matthias Brugger
From: Matthias Brugger <matthias.bgg@gmail.com>
Following the binding description, update to use
thermal-sensor-cells = 1
While at it also fix the node name of the CPU critical trip point.
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
---
Changes in v2:
- fix node name of CPU critical trip point
arch/arm64/boot/dts/mediatek/mt8173.dtsi | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
index c47d7d900f28..d760776e3daf 100644
--- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
@@ -270,7 +270,7 @@ cpu_thermal: cpu-thermal {
polling-delay-passive = <1000>; /* milliseconds */
polling-delay = <1000>; /* milliseconds */
- thermal-sensors = <&thermal>;
+ thermal-sensors = <&thermal 0>;
sustainable-power = <1500>; /* milliwatts */
trips {
@@ -286,7 +286,7 @@ target: trip-point1 {
type = "passive";
};
- cpu_crit: cpu_crit0 {
+ cpu_crit: cpu-crit0 {
temperature = <115000>;
hysteresis = <2000>;
type = "critical";
@@ -766,7 +766,7 @@ spi: spi@1100a000 {
};
thermal: thermal@1100b000 {
- #thermal-sensor-cells = <0>;
+ #thermal-sensor-cells = <1>;
compatible = "mediatek,mt8173-thermal";
reg = <0 0x1100b000 0 0x1000>;
interrupts = <0 70 IRQ_TYPE_LEVEL_LOW>;
--
2.40.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH v2 2/2] arm64: dts: mt8173: Update thermal node
@ 2023-06-01 13:44 ` matthias.bgg
0 siblings, 0 replies; 5+ messages in thread
From: matthias.bgg @ 2023-06-01 13:44 UTC (permalink / raw)
To: rafael, Daniel Lezcano, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, AngeloGioacchino Del Regno
Cc: devicetree, Amit Kucheria, linux-pm, linux-kernel, linux-mediatek,
Zhang Rui, linux-arm-kernel, Matthias Brugger
From: Matthias Brugger <matthias.bgg@gmail.com>
Following the binding description, update to use
thermal-sensor-cells = 1
While at it also fix the node name of the CPU critical trip point.
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
---
Changes in v2:
- fix node name of CPU critical trip point
arch/arm64/boot/dts/mediatek/mt8173.dtsi | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
index c47d7d900f28..d760776e3daf 100644
--- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
@@ -270,7 +270,7 @@ cpu_thermal: cpu-thermal {
polling-delay-passive = <1000>; /* milliseconds */
polling-delay = <1000>; /* milliseconds */
- thermal-sensors = <&thermal>;
+ thermal-sensors = <&thermal 0>;
sustainable-power = <1500>; /* milliwatts */
trips {
@@ -286,7 +286,7 @@ target: trip-point1 {
type = "passive";
};
- cpu_crit: cpu_crit0 {
+ cpu_crit: cpu-crit0 {
temperature = <115000>;
hysteresis = <2000>;
type = "critical";
@@ -766,7 +766,7 @@ spi: spi@1100a000 {
};
thermal: thermal@1100b000 {
- #thermal-sensor-cells = <0>;
+ #thermal-sensor-cells = <1>;
compatible = "mediatek,mt8173-thermal";
reg = <0 0x1100b000 0 0x1000>;
interrupts = <0 70 IRQ_TYPE_LEVEL_LOW>;
--
2.40.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH v2 2/2] arm64: dts: mt8173: Update thermal node
2023-06-01 13:44 ` matthias.bgg
@ 2023-06-05 7:36 ` AngeloGioacchino Del Regno
-1 siblings, 0 replies; 5+ messages in thread
From: AngeloGioacchino Del Regno @ 2023-06-05 7:36 UTC (permalink / raw)
To: matthias.bgg, rafael, Daniel Lezcano, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: devicetree, Amit Kucheria, linux-pm, linux-kernel, linux-mediatek,
Zhang Rui, linux-arm-kernel, Matthias Brugger
Il 01/06/23 15:44, matthias.bgg@kernel.org ha scritto:
> From: Matthias Brugger <matthias.bgg@gmail.com>
>
> Following the binding description, update to use
> thermal-sensor-cells = 1
> While at it also fix the node name of the CPU critical trip point.
>
> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v2 2/2] arm64: dts: mt8173: Update thermal node
@ 2023-06-05 7:36 ` AngeloGioacchino Del Regno
0 siblings, 0 replies; 5+ messages in thread
From: AngeloGioacchino Del Regno @ 2023-06-05 7:36 UTC (permalink / raw)
To: matthias.bgg, rafael, Daniel Lezcano, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: devicetree, Amit Kucheria, linux-pm, linux-kernel, linux-mediatek,
Zhang Rui, linux-arm-kernel, Matthias Brugger
Il 01/06/23 15:44, matthias.bgg@kernel.org ha scritto:
> From: Matthias Brugger <matthias.bgg@gmail.com>
>
> Following the binding description, update to use
> thermal-sensor-cells = 1
> While at it also fix the node name of the CPU critical trip point.
>
> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v2 2/2] arm64: dts: mt8173: Update thermal node
@ 2023-06-11 11:58 kernel test robot
0 siblings, 0 replies; 5+ messages in thread
From: kernel test robot @ 2023-06-11 11:58 UTC (permalink / raw)
To: oe-kbuild; +Cc: lkp
::::::
:::::: Manual check reason: "low confidence static check first_new_problem: ERROR: Input tree has errors, aborting (use -f to force output)"
::::::
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
In-Reply-To: <20230601134425.29499-2-matthias.bgg@kernel.org>
References: <20230601134425.29499-2-matthias.bgg@kernel.org>
TO: matthias.bgg@kernel.org
TO: rafael@kernel.org
TO: Daniel Lezcano <daniel.lezcano@linaro.org>
TO: Rob Herring <robh+dt@kernel.org>
TO: Krzysztof Kozlowski <krzk@kernel.org>
TO: Conor Dooley <conor+dt@kernel.org>
TO: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
CC: devicetree@vger.kernel.org
CC: Amit Kucheria <amitk@kernel.org>
CC: linux-pm@vger.kernel.org
CC: linux-kernel@vger.kernel.org
CC: linux-mediatek@lists.infradead.org
CC: Zhang Rui <rui.zhang@intel.com>
CC: linux-arm-kernel@lists.infradead.org
CC: Matthias Brugger <matthias.bgg@gmail.com>
Hi,
kernel test robot noticed the following build errors:
[auto build test ERROR on rafael-pm/thermal]
[also build test ERROR on linus/master v6.4-rc5 next-20230609]
[cannot apply to robh/for-next]
[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/matthias-bgg-kernel-org/arm64-dts-mt8173-Update-thermal-node/20230601-231929
base: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git thermal
patch link: https://lore.kernel.org/r/20230601134425.29499-2-matthias.bgg%40kernel.org
patch subject: [PATCH v2 2/2] arm64: dts: mt8173: Update thermal node
:::::: branch date: 10 days ago
:::::: commit date: 10 days ago
config: arm64-randconfig-s041-20230611 (https://download.01.org/0day-ci/archive/20230611/202306111920.gdavUDLR-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 12.3.0
reproduce:
mkdir -p ~/bin
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.4-39-gce1a6720-dirty
# https://github.com/intel-lab-lkp/linux/commit/f17f62894904140a985c1b7a0bd0e6c2a9652342
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review matthias-bgg-kernel-org/arm64-dts-mt8173-Update-thermal-node/20230601-231929
git checkout f17f62894904140a985c1b7a0bd0e6c2a9652342
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.3.0 ~/bin/make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=arm64 olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.3.0 ~/bin/make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=arm64 SHELL=/bin/bash
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/r/202306111920.gdavUDLR-lkp@intel.com/
All errors (new ones prefixed by >>):
arch/arm64/boot/dts/mediatek/mt8173-elm-hana-rev7.dts:16.23-19.5: ERROR (duplicate_label): /thermal-zones/cpu-thermal/trips/cpu_crit0: Duplicate label 'cpu_crit' on /thermal-zones/cpu-thermal/trips/cpu_crit0 and /thermal-zones/cpu-thermal/trips/cpu-crit0
>> ERROR: Input tree has errors, aborting (use -f to force output)
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-06-11 11:59 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-11 11:58 [PATCH v2 2/2] arm64: dts: mt8173: Update thermal node kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2023-06-01 13:44 [PATCH v2 1/2] dt-bindings: thermal: mediatek: Move auxdac binding to yaml matthias.bgg
2023-06-01 13:44 ` [PATCH v2 2/2] arm64: dts: mt8173: Update thermal node matthias.bgg
2023-06-01 13:44 ` matthias.bgg
2023-06-05 7:36 ` AngeloGioacchino Del Regno
2023-06-05 7:36 ` AngeloGioacchino Del Regno
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.