aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2016-05-09 10:38:04 -0400
committerArnd Bergmann <arnd@arndb.de>2016-05-09 10:38:04 -0400
commitea46a1f8d328331db949586145644c17a4f975d4 (patch)
treec17a17ad9db11e38eacf237c0671c8d795aafebf
parentbf16200689118d19de1b8d2a3c314fc21f5dc7bb (diff)
parent330d12764e15f6e3e94ff34cda29db96d2589c24 (diff)
Merge tag 'samsung-fixes-non-critical-4.7' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux into next/fixes-non-critical
Merge "Samsung DTS non-critical fixes for v4.7": 1. Fix s5p-mfc driver probe on Exynos542x Peach boards (need to provide MFC memory banks). On these boards this was broken for long time but apparently no one enabled this driver till now. 2. Fix creation of debugfs entries for one regulator on Exynos4210 Trats board. 3. Fix probing of max8997 MFD driver (and its children) because of missing interrupt. Actually the current version of the driver probes (just without interrupts) but after switching to regmap and regmap-irq, the interrupt will be mandatory. * tag 'samsung-fixes-non-critical-4.7' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux: ARM: dts: exynos: Add interrupt line to MAX8997 PMIC on exynos4210-trats ARM: dts: exynos: Fix regulator name to avoid forbidden character on exynos4210-trats ARM: dts: exynos: Add MFC memory banks for Peach boards ARM: EXYNOS: Properly skip unitialized parent clock in power domain on
-rw-r--r--arch/arm/boot/dts/exynos4210-trats.dts4
-rw-r--r--arch/arm/boot/dts/exynos5420-peach-pit.dts5
-rw-r--r--arch/arm/boot/dts/exynos5800-peach-pi.dts5
-rw-r--r--arch/arm/mach-exynos/pm_domains.c2
4 files changed, 14 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/exynos4210-trats.dts b/arch/arm/boot/dts/exynos4210-trats.dts
index 1df2f0bc1d76..79d983036560 100644
--- a/arch/arm/boot/dts/exynos4210-trats.dts
+++ b/arch/arm/boot/dts/exynos4210-trats.dts
@@ -298,6 +298,8 @@
298 compatible = "maxim,max8997-pmic"; 298 compatible = "maxim,max8997-pmic";
299 299
300 reg = <0x66>; 300 reg = <0x66>;
301 interrupt-parent = <&gpx0>;
302 interrupts = <7 0>;
301 303
302 max8997,pmic-buck1-uses-gpio-dvs; 304 max8997,pmic-buck1-uses-gpio-dvs;
303 max8997,pmic-buck2-uses-gpio-dvs; 305 max8997,pmic-buck2-uses-gpio-dvs;
@@ -359,7 +361,7 @@
359 }; 361 };
360 362
361 vusbdac_reg: LDO8 { 363 vusbdac_reg: LDO8 {
362 regulator-name = "VUSB/VDAC_3.3V_C210"; 364 regulator-name = "VUSB+VDAC_3.3V_C210";
363 regulator-min-microvolt = <3300000>; 365 regulator-min-microvolt = <3300000>;
364 regulator-max-microvolt = <3300000>; 366 regulator-max-microvolt = <3300000>;
365 }; 367 };
diff --git a/arch/arm/boot/dts/exynos5420-peach-pit.dts b/arch/arm/boot/dts/exynos5420-peach-pit.dts
index 3981ddb25036..e036e6467a7b 100644
--- a/arch/arm/boot/dts/exynos5420-peach-pit.dts
+++ b/arch/arm/boot/dts/exynos5420-peach-pit.dts
@@ -696,6 +696,11 @@
696 status = "okay"; 696 status = "okay";
697}; 697};
698 698
699&mfc {
700 samsung,mfc-r = <0x43000000 0x800000>;
701 samsung,mfc-l = <0x51000000 0x800000>;
702};
703
699&mmc_0 { 704&mmc_0 {
700 status = "okay"; 705 status = "okay";
701 num-slots = <1>; 706 num-slots = <1>;
diff --git a/arch/arm/boot/dts/exynos5800-peach-pi.dts b/arch/arm/boot/dts/exynos5800-peach-pi.dts
index 6e9edc1610c4..f95992520a77 100644
--- a/arch/arm/boot/dts/exynos5800-peach-pi.dts
+++ b/arch/arm/boot/dts/exynos5800-peach-pi.dts
@@ -671,6 +671,11 @@
671 status = "okay"; 671 status = "okay";
672}; 672};
673 673
674&mfc {
675 samsung,mfc-r = <0x43000000 0x800000>;
676 samsung,mfc-l = <0x51000000 0x800000>;
677};
678
674&mmc_0 { 679&mmc_0 {
675 status = "okay"; 680 status = "okay";
676 num-slots = <1>; 681 num-slots = <1>;
diff --git a/arch/arm/mach-exynos/pm_domains.c b/arch/arm/mach-exynos/pm_domains.c
index 7c21760f590f..875a2bab64f6 100644
--- a/arch/arm/mach-exynos/pm_domains.c
+++ b/arch/arm/mach-exynos/pm_domains.c
@@ -92,7 +92,7 @@ static int exynos_pd_power(struct generic_pm_domain *domain, bool power_on)
92 if (IS_ERR(pd->clk[i])) 92 if (IS_ERR(pd->clk[i]))
93 break; 93 break;
94 94
95 if (IS_ERR(pd->clk[i])) 95 if (IS_ERR(pd->pclk[i]))
96 continue; /* Skip on first power up */ 96 continue; /* Skip on first power up */
97 if (clk_set_parent(pd->clk[i], pd->pclk[i])) 97 if (clk_set_parent(pd->clk[i], pd->pclk[i]))
98 pr_err("%s: error setting parent to clock%d\n", 98 pr_err("%s: error setting parent to clock%d\n",