[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190301171051.6964-1-jagan@amarulasolutions.com>
Date: Fri, 1 Mar 2019 22:40:51 +0530
From: Jagan Teki <jagan@...rulasolutions.com>
To: Maxime Ripard <maxime.ripard@...tlin.com>,
Chen-Yu Tsai <wens@...e.org>, Rob Herring <robh+dt@...nel.org>,
Mark Rutland <mark.rutland@....com>
Cc: Michael Trimarchi <michael@...rulasolutions.com>,
linux-amarula@...rulasolutions.com, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
Jagan Teki <jagan@...rulasolutions.com>
Subject: [PATCH v2] arm64: dts: allwinner: a64-amarula-relic: Add STLM75 sensor
Amarula A64 Relic has STLM75 sensor for digital temperature
and thermal watchdog.
Add support for it.
Signed-off-by: Jagan Teki <jagan@...rulasolutions.com>
---
Changes for v2:
- change node name from temp to sensor
- compatible patches applied in linux-next,
fyi:
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=985e225142cf0cb826401f5448763f13ee712b3a
.../dts/allwinner/sun50i-a64-amarula-relic.dts | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-amarula-relic.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-amarula-relic.dts
index 6cb2b7f0c817..3575db216016 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-amarula-relic.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-amarula-relic.dts
@@ -34,6 +34,21 @@
status = "okay";
};
+&i2c0 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&i2c0_pins>;
+ status = "okay";
+
+ sensor@48 {
+ compatible = "st,stlm75";
+ reg = <0x48>;
+ };
+};
+
+&i2c0_pins {
+ bias-pull-up;
+};
+
&mmc1 {
pinctrl-names = "default";
pinctrl-0 = <&mmc1_pins>;
--
2.18.0.321.gffc6fa0e3
Powered by blists - more mailing lists