2013-10-22 12:56:24

by Sebastian Reichel

[permalink] [raw]
Subject: [PATCH 1/2] Documentation: DTS: bq27xxx are trivial i2c devices

Add all chips supported by the bq27xxx driver to the list
of trivial i2c devices.

Signed-off-by: Sebastian Reichel <[email protected]>
---
Documentation/devicetree/bindings/i2c/trivial-devices.txt | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/i2c/trivial-devices.txt b/Documentation/devicetree/bindings/i2c/trivial-devices.txt
index ad6a738..d3a29ce 100644
--- a/Documentation/devicetree/bindings/i2c/trivial-devices.txt
+++ b/Documentation/devicetree/bindings/i2c/trivial-devices.txt
@@ -58,6 +58,9 @@ stm,m41t00 Serial Access TIMEKEEPER
stm,m41t62 Serial real-time clock (RTC) with alarm
stm,m41t80 M41T80 - SERIAL ACCESS RTC WITH ALARMS
taos,tsl2550 Ambient Light Sensor with SMBUS/Two Wire Serial Interface
-ti,tsc2003 I2C Touch-Screen Controller
+ti,bq27200 Battery Monitor
+ti,bq27500 Battery Monitor
+ti,bq27425 Battery Monitor
ti,tmp102 Low Power Digital Temperature Sensor with SMBUS/Two Wire Serial Interface
ti,tmp275 Digital Temperature Sensor
+ti,tsc2003 I2C Touch-Screen Controller
--
1.8.4.rc3


2013-10-22 12:56:32

by Sebastian Reichel

[permalink] [raw]
Subject: [PATCH 2/2] DTS: ARM: OMAP3-N900: Add bq27200 battery monitor

Support the bq27200 battery monitor chip.

Signed-off-by: Sebastian Reichel <[email protected]>
---
arch/arm/boot/dts/omap3-n900.dts | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts
index 60cb33f..992338c 100644
--- a/arch/arm/boot/dts/omap3-n900.dts
+++ b/arch/arm/boot/dts/omap3-n900.dts
@@ -240,6 +240,11 @@
pinctrl-0 = <&i2c2_pins>;

clock-frequency = <100000>;
+
+ bq27200: bq27200@55 {
+ compatible = "ti,bq27200";
+ reg = <0x55>;
+ };
};

&i2c3 {
--
1.8.4.rc3