From: michael.kao <michael.kao@mediatek.com> To: Zhang Rui <rui.zhang@intel.com>, Eduardo Valentin <edubezval@gmail.com>, Daniel Lezcano <daniel.lezcano@linaro.org>, Rob Herring <robh+dt@kernel.org>, Mark Rutland <mark.rutland@arm.com>, Matthias Brugger <matthias.bgg@gmail.com>, hsinyi@chromium.org Cc: devicetree@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, "michael.kao" <michael.kao@mediatek.com>, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 3/8] arm64: dts: mt8183: Add #cooling-cells to CPU nodes Date: Fri, 10 May 2019 21:27:01 +0800 Message-ID: <1557494826-6044-4-git-send-email-michael.kao@mediatek.com> (raw) In-Reply-To: <1557494826-6044-1-git-send-email-michael.kao@mediatek.com> The #cooling-cells property needs to be specified to allow a CPU to be used as cooling device. Signed-off-by: Michael.Kao <michael.kao@mediatek.com> --- arch/arm64/boot/dts/mediatek/mt8183.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi b/arch/arm64/boot/dts/mediatek/mt8183.dtsi index 8f9fd9a..bf8b0a8 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8183.dtsi @@ -11,6 +11,8 @@ #include <dt-bindings/power/mt8183-power.h> #include <dt-bindings/reset-controller/mt8183-resets.h> #include "mt8183-pinfunc.h" +#include <dt-bindings/thermal/thermal.h> + / { compatible = "mediatek,mt8183"; interrupt-parent = <&sysirq>; @@ -59,6 +61,7 @@ reg = <0x000>; enable-method = "psci"; dynamic-power-coefficient = <84>; + #cooling-cells = <2>; }; cpu1: cpu@1 { @@ -67,6 +70,7 @@ reg = <0x001>; enable-method = "psci"; dynamic-power-coefficient = <84>; + #cooling-cells = <2>; }; cpu2: cpu@2 { @@ -75,6 +79,7 @@ reg = <0x002>; enable-method = "psci"; dynamic-power-coefficient = <84>; + #cooling-cells = <2>; }; cpu3: cpu@3 { @@ -83,6 +88,7 @@ reg = <0x003>; enable-method = "psci"; dynamic-power-coefficient = <84>; + #cooling-cells = <2>; }; cpu4: cpu@100 { @@ -91,6 +97,7 @@ reg = <0x100>; enable-method = "psci"; dynamic-power-coefficient = <211>; + #cooling-cells = <2>; }; cpu5: cpu@101 { @@ -99,6 +106,7 @@ reg = <0x101>; enable-method = "psci"; dynamic-power-coefficient = <211>; + #cooling-cells = <2>; }; cpu6: cpu@102 { @@ -107,6 +115,7 @@ reg = <0x102>; enable-method = "psci"; dynamic-power-coefficient = <211>; + #cooling-cells = <2>; }; cpu7: cpu@103 { @@ -115,6 +124,7 @@ reg = <0x103>; enable-method = "psci"; dynamic-power-coefficient = <211>; + #cooling-cells = <2>; }; }; -- 2.6.4
next prev parent reply index Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-05-10 13:26 [PATCH v2 0/8] Add Mediatek thermal dirver and dtsi michael.kao 2019-05-10 13:26 ` [PATCH v2 1/8] arm64: dts: mt8183: add thermal zone node michael.kao 2019-05-30 6:27 ` Hsin-Yi Wang 2019-05-30 16:08 ` Matthias Kaehlcke [not found] ` <1557494826-6044-1-git-send-email-michael.kao-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org> 2019-05-10 13:27 ` [PATCH v2 2/8] arm64: dts: mt8183: add/update dynamic power coefficients michael.kao 2019-05-10 13:27 ` [PATCH v2 4/8] arm64: dts: mt8183: Configure CPU cooling michael.kao 2019-05-10 13:27 ` [PATCH v2 5/8] arm64: dts: mt8183: Increase polling frequency for CPU thermal zone michael.kao 2019-05-10 13:27 ` [PATCH v2 6/8] thermal: mediatek: mt8183: fix bank number settings michael.kao 2019-05-10 13:27 ` [PATCH v2 8/8] thermal: mediatek: use spinlock to protect PTPCORESEL michael.kao 2019-05-10 13:27 ` michael.kao [this message] 2019-05-10 13:27 ` [PATCH v2 7/8] thermal: mediatek: add another get_temp ops for thermal sensors michael.kao 2019-09-09 11:13 ` Hsin-Yi Wang 2019-11-21 7:00 ` Hsin-Yi Wang 2019-12-06 9:35 ` Michael Kao 2019-12-05 16:38 ` [PATCH v2 0/8] Add Mediatek thermal dirver and dtsi Daniel Lezcano
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1557494826-6044-4-git-send-email-michael.kao@mediatek.com \ --to=michael.kao@mediatek.com \ --cc=daniel.lezcano@linaro.org \ --cc=devicetree@vger.kernel.org \ --cc=edubezval@gmail.com \ --cc=hsinyi@chromium.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-mediatek@lists.infradead.org \ --cc=linux-pm@vger.kernel.org \ --cc=mark.rutland@arm.com \ --cc=matthias.bgg@gmail.com \ --cc=robh+dt@kernel.org \ --cc=rui.zhang@intel.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
Linux-PM Archive on lore.kernel.org Archives are clonable: git clone --mirror https://lore.kernel.org/linux-pm/0 linux-pm/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 linux-pm linux-pm/ https://lore.kernel.org/linux-pm \ linux-pm@vger.kernel.org public-inbox-index linux-pm Example config snippet for mirrors Newsgroup available over NNTP: nntp://nntp.lore.kernel.org/org.kernel.vger.linux-pm AGPL code for this site: git clone https://public-inbox.org/public-inbox.git