From: Guillaume La Roque <glaroque@baylibre.com>
To: jic23@kernel.org, khilman@baylibre.com
Cc: linux-iio@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-amlogic@lists.infradead.org
Subject: [PATCH 2/3] arm64: dts: meson: g12a: add temperature sensor node
Date: Tue, 4 Jun 2019 16:47:13 +0200 [thread overview]
Message-ID: <20190604144714.2009-3-glaroque@baylibre.com> (raw)
In-Reply-To: <20190604144714.2009-1-glaroque@baylibre.com>
Add two temperature sensor
the first near CPU and GPU, second near DDR
Signed-off-by: Guillaume La Roque <glaroque@baylibre.com>
---
arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 22 +++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi
index 840dab606110..37f17087bdb1 100644
--- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi
@@ -1360,6 +1360,28 @@
};
};
+ cpu_temp: temperature-sensor@34800 {
+ compatible = "amlogic,meson-g12a-cpu-tsensor",
+ "amlogic,meson-g12a-tsensor";
+ reg = <0x0 0x34800 0x0 0x50>;
+ interrupts = <GIC_SPI 35 IRQ_TYPE_EDGE_RISING>;
+ clocks = <&clkc CLKID_TS>;
+ status = "okay";
+ #io-channel-cells = <1>;
+ amlogic,ao-secure = <&sec_AO>;
+ };
+
+ ddr_temp: temperature-sensor@34c00 {
+ compatible = "amlogic,meson-g12a-ddr-tsensor",
+ "amlogic,meson-g12a-tsensor";
+ reg = <0x0 0x34c00 0x0 0x50>;
+ interrupts = <GIC_SPI 36 IRQ_TYPE_EDGE_RISING>;
+ clocks = <&clkc CLKID_TS>;
+ status = "okay";
+ #io-channel-cells = <1>;
+ amlogic,ao-secure = <&sec_AO>;
+ };
+
usb2_phy0: phy@36000 {
compatible = "amlogic,g12a-usb2-phy";
reg = <0x0 0x36000 0x0 0x2000>;
--
2.17.1
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
WARNING: multiple messages have this Message-ID (diff)
From: Guillaume La Roque <glaroque@baylibre.com>
To: jic23@kernel.org, khilman@baylibre.com
Cc: linux-iio@vger.kernel.org, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: [PATCH 2/3] arm64: dts: meson: g12a: add temperature sensor node
Date: Tue, 4 Jun 2019 16:47:13 +0200 [thread overview]
Message-ID: <20190604144714.2009-3-glaroque@baylibre.com> (raw)
In-Reply-To: <20190604144714.2009-1-glaroque@baylibre.com>
Add two temperature sensor
the first near CPU and GPU, second near DDR
Signed-off-by: Guillaume La Roque <glaroque@baylibre.com>
---
arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 22 +++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi
index 840dab606110..37f17087bdb1 100644
--- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi
@@ -1360,6 +1360,28 @@
};
};
+ cpu_temp: temperature-sensor@34800 {
+ compatible = "amlogic,meson-g12a-cpu-tsensor",
+ "amlogic,meson-g12a-tsensor";
+ reg = <0x0 0x34800 0x0 0x50>;
+ interrupts = <GIC_SPI 35 IRQ_TYPE_EDGE_RISING>;
+ clocks = <&clkc CLKID_TS>;
+ status = "okay";
+ #io-channel-cells = <1>;
+ amlogic,ao-secure = <&sec_AO>;
+ };
+
+ ddr_temp: temperature-sensor@34c00 {
+ compatible = "amlogic,meson-g12a-ddr-tsensor",
+ "amlogic,meson-g12a-tsensor";
+ reg = <0x0 0x34c00 0x0 0x50>;
+ interrupts = <GIC_SPI 36 IRQ_TYPE_EDGE_RISING>;
+ clocks = <&clkc CLKID_TS>;
+ status = "okay";
+ #io-channel-cells = <1>;
+ amlogic,ao-secure = <&sec_AO>;
+ };
+
usb2_phy0: phy@36000 {
compatible = "amlogic,g12a-usb2-phy";
reg = <0x0 0x36000 0x0 0x2000>;
--
2.17.1
WARNING: multiple messages have this Message-ID (diff)
From: Guillaume La Roque <glaroque@baylibre.com>
To: jic23@kernel.org, khilman@baylibre.com
Cc: linux-iio@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-amlogic@lists.infradead.org
Subject: [PATCH 2/3] arm64: dts: meson: g12a: add temperature sensor node
Date: Tue, 4 Jun 2019 16:47:13 +0200 [thread overview]
Message-ID: <20190604144714.2009-3-glaroque@baylibre.com> (raw)
In-Reply-To: <20190604144714.2009-1-glaroque@baylibre.com>
Add two temperature sensor
the first near CPU and GPU, second near DDR
Signed-off-by: Guillaume La Roque <glaroque@baylibre.com>
---
arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 22 +++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi
index 840dab606110..37f17087bdb1 100644
--- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi
@@ -1360,6 +1360,28 @@
};
};
+ cpu_temp: temperature-sensor@34800 {
+ compatible = "amlogic,meson-g12a-cpu-tsensor",
+ "amlogic,meson-g12a-tsensor";
+ reg = <0x0 0x34800 0x0 0x50>;
+ interrupts = <GIC_SPI 35 IRQ_TYPE_EDGE_RISING>;
+ clocks = <&clkc CLKID_TS>;
+ status = "okay";
+ #io-channel-cells = <1>;
+ amlogic,ao-secure = <&sec_AO>;
+ };
+
+ ddr_temp: temperature-sensor@34c00 {
+ compatible = "amlogic,meson-g12a-ddr-tsensor",
+ "amlogic,meson-g12a-tsensor";
+ reg = <0x0 0x34c00 0x0 0x50>;
+ interrupts = <GIC_SPI 36 IRQ_TYPE_EDGE_RISING>;
+ clocks = <&clkc CLKID_TS>;
+ status = "okay";
+ #io-channel-cells = <1>;
+ amlogic,ao-secure = <&sec_AO>;
+ };
+
usb2_phy0: phy@36000 {
compatible = "amlogic,g12a-usb2-phy";
reg = <0x0 0x36000 0x0 0x2000>;
--
2.17.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2019-06-04 14:49 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-04 14:47 [PATCH 0/3] Add support of New Amlogic temperature sensor for G12A SoCs Guillaume La Roque
2019-06-04 14:47 ` Guillaume La Roque
2019-06-04 14:47 ` Guillaume La Roque
2019-06-04 14:47 ` [PATCH 1/3] Documentation: dt-bindings: add the Amlogic Meson Temperature Sensor Guillaume La Roque
2019-06-04 14:47 ` Guillaume La Roque
2019-06-04 14:47 ` Guillaume La Roque
2019-06-06 19:16 ` Martin Blumenstingl
2019-06-06 19:16 ` Martin Blumenstingl
2019-06-06 19:16 ` Martin Blumenstingl
2019-06-08 13:10 ` Jonathan Cameron
2019-06-08 13:10 ` Jonathan Cameron
2019-06-08 13:10 ` Jonathan Cameron
2019-06-11 11:01 ` Neil Armstrong
2019-06-11 11:01 ` Neil Armstrong
2019-06-11 11:01 ` Neil Armstrong
2019-06-11 17:57 ` Martin Blumenstingl
2019-06-11 17:57 ` Martin Blumenstingl
2019-06-11 17:57 ` Martin Blumenstingl
2019-06-08 13:08 ` Jonathan Cameron
2019-06-08 13:08 ` Jonathan Cameron
2019-06-08 13:08 ` Jonathan Cameron
2019-06-04 14:47 ` Guillaume La Roque [this message]
2019-06-04 14:47 ` [PATCH 2/3] arm64: dts: meson: g12a: add temperature sensor node Guillaume La Roque
2019-06-04 14:47 ` Guillaume La Roque
2019-06-04 14:47 ` [PATCH 3/3] iio: temperature: add a driver for the temperature sensor found in Amlogic Meson G12 SoCs Guillaume La Roque
2019-06-04 14:47 ` Guillaume La Roque
2019-06-04 14:47 ` Guillaume La Roque
2019-06-06 19:40 ` Martin Blumenstingl
2019-06-06 19:40 ` Martin Blumenstingl
2019-06-06 19:40 ` Martin Blumenstingl
2019-06-08 13:29 ` Jonathan Cameron
2019-06-08 13:29 ` Jonathan Cameron
2019-06-08 13:29 ` Jonathan Cameron
2019-06-08 13:29 ` Jonathan Cameron
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=20190604144714.2009-3-glaroque@baylibre.com \
--to=glaroque@baylibre.com \
--cc=devicetree@vger.kernel.org \
--cc=jic23@kernel.org \
--cc=khilman@baylibre.com \
--cc=linux-amlogic@lists.infradead.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/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
Be 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.