LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Alain Volmat <avolmat@me.com>
To: Patrice Chotard <patrice.chotard@foss.st.com>,
	Rob Herring <robh+dt@kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>,
	linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, avolmat@me.com
Subject: [PATCH v3 12/13] ARM: dts: sti: add the thermal sensor node within stih418
Date: Wed, 31 Mar 2021 22:42:27 +0200	[thread overview]
Message-ID: <20210331204228.26107-13-avolmat@me.com> (raw)
In-Reply-To: <20210331204228.26107-1-avolmat@me.com>

The STiH418 embedded the same sensor as the STiH410.
This commit adds the corresponding node, relying on the st_thermal
driver.

Signed-off-by: Alain Volmat <avolmat@me.com>
---
 arch/arm/boot/dts/stih418.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/boot/dts/stih418.dtsi b/arch/arm/boot/dts/stih418.dtsi
index 39a249983496..97eda4392fbe 100644
--- a/arch/arm/boot/dts/stih418.dtsi
+++ b/arch/arm/boot/dts/stih418.dtsi
@@ -108,5 +108,13 @@
 			assigned-clock-parents = <&clk_s_c0_pll1 0>;
 			assigned-clock-rates = <200000000>;
 		};
+
+		thermal@91a0000 {
+			compatible = "st,stih407-thermal";
+			reg = <0x91a0000 0x28>;
+			clock-names = "thermal";
+			clocks = <&clk_sysin>;
+			interrupts = <GIC_SPI 205 IRQ_TYPE_EDGE_RISING>;
+		};
 	};
 };
-- 
2.17.1


  parent reply	other threads:[~2021-03-31 20:44 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-31 20:42 [PATCH v3 00/13] Introduction of STiH418 based 4KOpen board Alain Volmat
2021-03-31 20:42 ` [PATCH v3 01/13] ARM: dts: sti: update flexgen compatible within stih418-clock Alain Volmat
2021-08-03 12:03   ` Patrice CHOTARD
2021-03-31 20:42 ` [PATCH v3 02/13] ARM: dts: sti: update flexgen compatible within stih407-clock Alain Volmat
2021-08-03 12:03   ` Patrice CHOTARD
2021-03-31 20:42 ` [PATCH v3 03/13] ARM: dts: sti: update flexgen compatible within stih410-clock Alain Volmat
2021-08-03 12:04   ` Patrice CHOTARD
2021-03-31 20:42 ` [PATCH v3 04/13] ARM: dts: sti: update clkgen-pll entries in stih407-clock Alain Volmat
2021-08-03 12:04   ` Patrice CHOTARD
2021-03-31 20:42 ` [PATCH v3 05/13] ARM: dts: sti: update clkgen-pll entries in stih410-clock Alain Volmat
2021-08-03 12:05   ` Patrice CHOTARD
2021-03-31 20:42 ` [PATCH v3 06/13] ARM: dts: sti: update clkgen-pll entries in stih418-clock Alain Volmat
2021-08-03 12:05   ` Patrice CHOTARD
2021-03-31 20:42 ` [PATCH v3 07/13] ARM: dts: sti: update clkgen-fsyn entries in stih407-clock Alain Volmat
2021-08-03 12:06   ` Patrice CHOTARD
2021-03-31 20:42 ` [PATCH v3 08/13] ARM: dts: sti: update clkgen-fsyn entries in stih410-clock Alain Volmat
2021-08-03 12:07   ` Patrice CHOTARD
2021-03-31 20:42 ` [PATCH v3 09/13] ARM: dts: sti: update clkgen-fsyn entries in stih418-clock Alain Volmat
2021-08-03 12:07   ` Patrice CHOTARD
2021-03-31 20:42 ` [PATCH v3 10/13] ARM: dts: sti: add the spinor controller node within stih407-family Alain Volmat
2021-08-03 12:08   ` Patrice CHOTARD
2021-03-31 20:42 ` [PATCH v3 11/13] ARM: dts: sti: disable rng11 on the stih418 platform Alain Volmat
2021-08-03 12:08   ` Patrice CHOTARD
2021-03-31 20:42 ` Alain Volmat [this message]
2021-08-03 12:08   ` [PATCH v3 12/13] ARM: dts: sti: add the thermal sensor node within stih418 Patrice CHOTARD
2021-03-31 20:42 ` [PATCH v3 13/13] ARM: dts: sti: Introduce 4KOpen (stih418-b2264) board Alain Volmat
2021-08-03 12:09   ` Patrice CHOTARD

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=20210331204228.26107-13-avolmat@me.com \
    --to=avolmat@me.com \
    --cc=arnd@arndb.de \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=patrice.chotard@foss.st.com \
    --cc=robh+dt@kernel.org \
    --subject='Re: [PATCH v3 12/13] ARM: dts: sti: add the thermal sensor node within stih418' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).