summaryrefslogtreecommitdiff
path: root/patches.tizen/0233-ARM-dts-Support-device-tree-of-fuel-gauge-max77693-i.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches.tizen/0233-ARM-dts-Support-device-tree-of-fuel-gauge-max77693-i.patch')
-rw-r--r--patches.tizen/0233-ARM-dts-Support-device-tree-of-fuel-gauge-max77693-i.patch42
1 files changed, 42 insertions, 0 deletions
diff --git a/patches.tizen/0233-ARM-dts-Support-device-tree-of-fuel-gauge-max77693-i.patch b/patches.tizen/0233-ARM-dts-Support-device-tree-of-fuel-gauge-max77693-i.patch
new file mode 100644
index 00000000000..2d0331ce259
--- /dev/null
+++ b/patches.tizen/0233-ARM-dts-Support-device-tree-of-fuel-gauge-max77693-i.patch
@@ -0,0 +1,42 @@
+From 5c8941a2c5f95aad9838f2ba83f67183ee59aa8d Mon Sep 17 00:00:00 2001
+From: Jonghwa Lee <jonghwa3.lee@samsung.com>
+Date: Thu, 9 May 2013 20:26:09 +0900
+Subject: [PATCH 0233/1302] ARM: dts: Support device tree of fuel
+ gauge(max77693) in PQ/M0
+
+Signed-off-by: Jonghwa Lee <jonghwa3.lee@samsung.com>
+Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
+---
+ arch/arm/boot/dts/exynos4412-slp_pq.dts | 16 ++++++++++++++++
+ 1 file changed, 16 insertions(+)
+
+diff --git a/arch/arm/boot/dts/exynos4412-slp_pq.dts b/arch/arm/boot/dts/exynos4412-slp_pq.dts
+index 062b204..672d720 100644
+--- a/arch/arm/boot/dts/exynos4412-slp_pq.dts
++++ b/arch/arm/boot/dts/exynos4412-slp_pq.dts
+@@ -588,6 +588,22 @@
+ };
+ };
+
++ i2c_fuel: i2c@1 {
++ compatible = "i2c-gpio";
++ gpios = <&gpf1 5 0
++ &gpf1 4 0
++ >;
++ #address-cells = <1>;
++ #size-cells = <0>;
++
++ max17047@36 {
++ compatible = "maxim,max17047";
++ interrupt-parent = <&gpx2>;
++ interrupts = <3 2>;
++ reg = <0x36>;
++ };
++ };
++
+ lcd_vdd3_reg: voltage-regulator@1 {
+ compatible = "regulator-fixed";
+ regulator-name = "LCD_VDD_2.2V";
+--
+1.8.3.2
+