arm64: dts: lx2160a-cex7: add support for ltc3882 regulator
diff mbox series

Message ID E1j7Hvq-0004Vn-5w@rmk-PC.armlinux.org.uk
State New
Headers show
Series
  • arm64: dts: lx2160a-cex7: add support for ltc3882 regulator
Related show

Commit Message

Russell King 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.

Patch
diff mbox series

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>;