From: Caesar Wang <wxt@rock-chips.com> To: Heiko Stuebner <heiko@sntech.de>, Eduardo Valentin <edubezval@gmail.com> Cc: linux-rockchip@lists.infradead.org, Caesar Wang <wxt@rock-chips.com>, devicetree@vger.kernel.org, Kumar Gala <galak@codeaurora.org>, linux-kernel@vger.kernel.org, Ian Campbell <ijc+devicetree@hellion.org.uk>, Rob Herring <robh+dt@kernel.org>, linux-arm-kernel@lists.infradead.org, Pawel Moll <pawel.moll@arm.com>, Will Deacon <will.deacon@arm.com>, Mark Rutland <mark.rutland@arm.com>, Olof Johansson <olof@lixom.net>, Catalin Marinas <catalin.marinas@arm.com> Subject: [PATCH v3 10/10] arm64: dts: Enable the Thermal on R88 board Date: Sun, 8 Nov 2015 17:26:08 +0800 [thread overview] Message-ID: <1446974768-25795-11-git-send-email-wxt@rock-chips.com> (raw) In-Reply-To: <1446974768-25795-1-git-send-email-wxt@rock-chips.com> This patch enable the TS-ADC. When a thermal temperature is invoked use the CRU to reset the chip on R88 board. TSHUT is low active on this board. Signed-off-by: Caesar Wang <wxt@rock-chips.com> Acked-by: Eduardo Valentin <edubezval@gmail.com> --- Changes in v3: None Changes in v2: None Changes in v1: None arch/arm64/boot/dts/rockchip/rk3368-r88.dts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3368-r88.dts b/arch/arm64/boot/dts/rockchip/rk3368-r88.dts index 401a812..7684426a 100644 --- a/arch/arm64/boot/dts/rockchip/rk3368-r88.dts +++ b/arch/arm64/boot/dts/rockchip/rk3368-r88.dts @@ -336,6 +336,12 @@ status = "okay"; }; +&tsadc { + rockchip,hw-tshut-mode = <0>; /* tshut mode 0:CRU 1:GPIO */ + rockchip,hw-tshut-polarity = <0>; /* tshut polarity 0:LOW 1:HIGH */ + status = "okay"; +} + &uart2 { status = "okay"; }; -- 1.9.1
WARNING: multiple messages have this Message-ID (diff)
From: wxt@rock-chips.com (Caesar Wang) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v3 10/10] arm64: dts: Enable the Thermal on R88 board Date: Sun, 8 Nov 2015 17:26:08 +0800 [thread overview] Message-ID: <1446974768-25795-11-git-send-email-wxt@rock-chips.com> (raw) In-Reply-To: <1446974768-25795-1-git-send-email-wxt@rock-chips.com> This patch enable the TS-ADC. When a thermal temperature is invoked use the CRU to reset the chip on R88 board. TSHUT is low active on this board. Signed-off-by: Caesar Wang <wxt@rock-chips.com> Acked-by: Eduardo Valentin <edubezval@gmail.com> --- Changes in v3: None Changes in v2: None Changes in v1: None arch/arm64/boot/dts/rockchip/rk3368-r88.dts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3368-r88.dts b/arch/arm64/boot/dts/rockchip/rk3368-r88.dts index 401a812..7684426a 100644 --- a/arch/arm64/boot/dts/rockchip/rk3368-r88.dts +++ b/arch/arm64/boot/dts/rockchip/rk3368-r88.dts @@ -336,6 +336,12 @@ status = "okay"; }; +&tsadc { + rockchip,hw-tshut-mode = <0>; /* tshut mode 0:CRU 1:GPIO */ + rockchip,hw-tshut-polarity = <0>; /* tshut polarity 0:LOW 1:HIGH */ + status = "okay"; +} + &uart2 { status = "okay"; }; -- 1.9.1
next prev parent reply other threads:[~2015-11-08 9:28 UTC|newest] Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-11-08 9:25 [PATCH v3 00/10] Better compatible for the rockchip thermal and support RK3368 SoCs Caesar Wang 2015-11-08 9:25 ` Caesar Wang 2015-11-08 9:25 ` Caesar Wang 2015-11-08 9:25 ` [PATCH v3 01/10] dt-bindings: rockchip-thermal: Support the RK3368 SoCs compatible Caesar Wang 2015-11-08 9:25 ` Caesar Wang 2015-11-08 9:25 ` Caesar Wang 2015-11-08 9:26 ` [PATCH v3 02/10] thermal: rockchip: better to compatible the driver for different SoCs Caesar Wang 2015-11-08 9:26 ` Caesar Wang 2015-11-08 9:26 ` Caesar Wang 2015-11-08 9:26 ` [PATCH v3 03/10] thermal: rockchip: trivial: fix typo in commit Caesar Wang 2015-11-08 9:26 ` Caesar Wang 2015-11-08 9:26 ` Caesar Wang 2015-11-08 9:26 ` [PATCH v3 04/10] thermal: rockchip: improve the conversion function Caesar Wang 2015-11-08 9:26 ` Caesar Wang 2015-11-08 9:26 ` Caesar Wang 2015-11-08 9:26 ` [PATCH v3 05/10] thermal: rockchip: Add the sort flag for adc value increment or decrement Caesar Wang 2015-11-08 9:26 ` Caesar Wang 2015-11-08 9:26 ` Caesar Wang 2015-11-08 9:42 ` kbuild test robot 2015-11-08 9:42 ` kbuild test robot 2015-11-08 9:42 ` kbuild test robot 2015-11-08 9:26 ` [PATCH v3 06/10] thermal: rockchip: consistently use int for temperatures Caesar Wang 2015-11-08 9:26 ` Caesar Wang 2015-11-08 9:26 ` [PATCH v3 07/10] thermal: rockchip: Support the RK3368 SoCs in thermal drivers Caesar Wang 2015-11-08 9:26 ` Caesar Wang 2015-11-08 9:26 ` [PATCH v3 08/10] arm64: dts: Add the thermal data found on RK3368 Caesar Wang 2015-11-08 9:26 ` Caesar Wang 2015-11-08 9:26 ` Caesar Wang 2015-11-08 9:26 ` [PATCH v3 09/10] arm64: dts: Add main Thermal info to rk3368.dtsi Caesar Wang 2015-11-08 9:26 ` Caesar Wang 2015-11-08 9:26 ` Caesar Wang 2015-11-08 9:26 ` Caesar Wang [this message] 2015-11-08 9:26 ` [PATCH v3 10/10] arm64: dts: Enable the Thermal on R88 board Caesar Wang 2015-11-08 13:42 ` kbuild test robot 2015-11-08 13:42 ` kbuild test robot 2015-11-08 13:42 ` kbuild test robot 2015-11-08 14:14 ` Caesar Wang
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=1446974768-25795-11-git-send-email-wxt@rock-chips.com \ --to=wxt@rock-chips.com \ --cc=catalin.marinas@arm.com \ --cc=devicetree@vger.kernel.org \ --cc=edubezval@gmail.com \ --cc=galak@codeaurora.org \ --cc=heiko@sntech.de \ --cc=ijc+devicetree@hellion.org.uk \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-rockchip@lists.infradead.org \ --cc=mark.rutland@arm.com \ --cc=olof@lixom.net \ --cc=pawel.moll@arm.com \ --cc=robh+dt@kernel.org \ --cc=will.deacon@arm.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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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.