summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/exynos5250-smdk5250.dts
diff options
context:
space:
mode:
authorPadmavathi Venna <padma.v@samsung.com>2013-06-18 06:38:13 +0900
committerKukjin Kim <kgene.kim@samsung.com>2013-06-18 06:38:13 +0900
commit40cb43bd1991a0bb3d967cdd368683d5ba1247e0 (patch)
treeac0f25cac65a26151b12ca12e3b7ba81936d1f33 /arch/arm/boot/dts/exynos5250-smdk5250.dts
parentdabd3f9d0033e1d4dd3674f5942523d5b254fa28 (diff)
downloadblackbird-obmc-linux-40cb43bd1991a0bb3d967cdd368683d5ba1247e0.tar.gz
blackbird-obmc-linux-40cb43bd1991a0bb3d967cdd368683d5ba1247e0.zip
ARM: dts: Add wm8994 regulator support on smdk5250
This patch adds the required regulator supplies and properties for wm8994 codec on smdk5250 board. Signed-off-by: Padmavathi Venna <padma.v@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/boot/dts/exynos5250-smdk5250.dts')
-rw-r--r--arch/arm/boot/dts/exynos5250-smdk5250.dts37
1 files changed, 35 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/exynos5250-smdk5250.dts b/arch/arm/boot/dts/exynos5250-smdk5250.dts
index d53ea34c4fa1..1e21200b6d85 100644
--- a/arch/arm/boot/dts/exynos5250-smdk5250.dts
+++ b/arch/arm/boot/dts/exynos5250-smdk5250.dts
@@ -37,6 +37,30 @@
};
};
+ vdd:fixed-regulator@0 {
+ compatible = "regulator-fixed";
+ regulator-name = "vdd-supply";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ regulator-always-on;
+ };
+
+ dbvdd:fixed-regulator@1 {
+ compatible = "regulator-fixed";
+ regulator-name = "dbvdd-supply";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-always-on;
+ };
+
+ spkvdd:fixed-regulator@2 {
+ compatible = "regulator-fixed";
+ regulator-name = "spkvdd-supply";
+ regulator-min-microvolt = <5000000>;
+ regulator-max-microvolt = <5000000>;
+ regulator-always-on;
+ };
+
i2c@12C70000 {
samsung,i2c-sda-delay = <100>;
samsung,i2c-max-bus-freq = <20000>;
@@ -47,8 +71,17 @@
};
wm8994: wm8994@1a {
- compatible = "wlf,wm8994";
- reg = <0x1a>;
+ compatible = "wlf,wm8994";
+ reg = <0x1a>;
+
+ gpio-controller;
+ #gpio-cells = <2>;
+
+ AVDD2-supply = <&vdd>;
+ CPVDD-supply = <&vdd>;
+ DBVDD-supply = <&dbvdd>;
+ SPKVDD1-supply = <&spkvdd>;
+ SPKVDD2-supply = <&spkvdd>;
};
};
OpenPOWER on IntegriCloud