diff mbox series

arm64: dts: lx2160a-cex7: add support for ltc3882 regulator

Message ID E1j7Hvq-0004Vn-5w@rmk-PC.armlinux.org.uk (mailing list archive)
State Mainlined
Commit 1f5b12d4a9229d4c1271652af1f4562a9ee1785c
Headers show
Series arm64: dts: lx2160a-cex7: add support for ltc3882 regulator | expand

Commit Message

Russell King (Oracle) Feb. 27, 2020, 12:06 p.m. UTC
Add support for the LTC3882 regulator so that the hardware monitoring
can be used with this device.  This regulator provides the 0.78V
supply for the LX2160A.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
---
 arch/arm64/boot/dts/freescale/fsl-lx2160a-cex7.dtsi | 11 +++++++++++
 1 file changed, 11 insertions(+)

Comments

Shawn Guo March 11, 2020, 7:43 a.m. UTC | #1
On Thu, Feb 27, 2020 at 12:06:22PM +0000, Russell King wrote:
> Add support for the LTC3882 regulator so that the hardware monitoring
> can be used with this device.  This regulator provides the 0.78V
> supply for the LX2160A.
> 
> Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>

Applied, thanks.
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a-cex7.dtsi b/arch/arm64/boot/dts/freescale/fsl-lx2160a-cex7.dtsi
index 071e21678f77..01c5420f334e 100644
--- a/arch/arm64/boot/dts/freescale/fsl-lx2160a-cex7.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-cex7.dtsi
@@ -73,6 +73,17 @@ 
 			};
 		};
 
+		i2c@2 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <2>;
+
+			regulator@5c {
+				compatible = "lltc,ltc3882";
+				reg = <0x5c>;
+			};
+		};
+
 		i2c@3 {
 			#address-cells = <1>;
 			#size-cells = <0>;