]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
4.9-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 11 Mar 2019 22:18:40 +0000 (15:18 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 11 Mar 2019 22:18:40 +0000 (15:18 -0700)
added patches:
arm-dts-exynos-add-minimal-clkout-parameters-to-exynos3250-pmu.patch
arm-dts-exynos-fix-pinctrl-definition-for-emmc-rtsn-line-on-odroid-x2-u3.patch

queue-4.9/arm-dts-exynos-add-minimal-clkout-parameters-to-exynos3250-pmu.patch [new file with mode: 0644]
queue-4.9/arm-dts-exynos-fix-pinctrl-definition-for-emmc-rtsn-line-on-odroid-x2-u3.patch [new file with mode: 0644]
queue-4.9/series

diff --git a/queue-4.9/arm-dts-exynos-add-minimal-clkout-parameters-to-exynos3250-pmu.patch b/queue-4.9/arm-dts-exynos-add-minimal-clkout-parameters-to-exynos3250-pmu.patch
new file mode 100644 (file)
index 0000000..ce2ce12
--- /dev/null
@@ -0,0 +1,36 @@
+From a66352e005488ecb4b534ba1af58a9f671eba9b8 Mon Sep 17 00:00:00 2001
+From: Marek Szyprowski <m.szyprowski@samsung.com>
+Date: Fri, 15 Feb 2019 11:36:50 +0100
+Subject: ARM: dts: exynos: Add minimal clkout parameters to Exynos3250 PMU
+
+From: Marek Szyprowski <m.szyprowski@samsung.com>
+
+commit a66352e005488ecb4b534ba1af58a9f671eba9b8 upstream.
+
+Add minimal parameters needed by the Exynos CLKOUT driver to Exynos3250
+PMU node. This fixes the following warning on boot:
+
+exynos_clkout_init: failed to register clkout clock
+
+Fixes: d19bb397e19e ("ARM: dts: exynos: Update PMU node with CLKOUT related data")
+Cc: <stable@vger.kernel.org>
+Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
+Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ arch/arm/boot/dts/exynos3250.dtsi |    3 +++
+ 1 file changed, 3 insertions(+)
+
+--- a/arch/arm/boot/dts/exynos3250.dtsi
++++ b/arch/arm/boot/dts/exynos3250.dtsi
+@@ -170,6 +170,9 @@
+                       interrupt-controller;
+                       #interrupt-cells = <3>;
+                       interrupt-parent = <&gic>;
++                      clock-names = "clkout8";
++                      clocks = <&cmu CLK_FIN_PLL>;
++                      #clock-cells = <1>;
+               };
+               mipi_phy: video-phy {
diff --git a/queue-4.9/arm-dts-exynos-fix-pinctrl-definition-for-emmc-rtsn-line-on-odroid-x2-u3.patch b/queue-4.9/arm-dts-exynos-fix-pinctrl-definition-for-emmc-rtsn-line-on-odroid-x2-u3.patch
new file mode 100644 (file)
index 0000000..691bf77
--- /dev/null
@@ -0,0 +1,72 @@
+From ec33745bccc8f336957c751f4153421cc9ef5a54 Mon Sep 17 00:00:00 2001
+From: Marek Szyprowski <m.szyprowski@samsung.com>
+Date: Thu, 24 Jan 2019 13:22:57 +0100
+Subject: ARM: dts: exynos: Fix pinctrl definition for eMMC RTSN line on Odroid X2/U3
+
+From: Marek Szyprowski <m.szyprowski@samsung.com>
+
+commit ec33745bccc8f336957c751f4153421cc9ef5a54 upstream.
+
+Commit 225da7e65a03 ("ARM: dts: add eMMC reset line for
+exynos4412-odroid-common") added MMC power sequence for eMMC card of
+Odroid X2/U3. It reused generic sd1_cd pin control configuration node
+and only disabled pull-up. However that time the pinctrl configuration
+was not applied during MMC power sequence driver initialization. This
+has been changed later by commit d97a1e5d7cd2 ("mmc: pwrseq: convert to
+proper platform device").
+
+It turned out then, that the provided pinctrl configuration is not
+correct, because the eMMC_RTSN line is being re-configured as 'special
+function/card detect function for mmc1 controller' not the simple
+'output', thus the power sequence driver doesn't really set the pin
+value. This in effect broke the reboot of Odroid X2/U3 boards. Fix this
+by providing separate node with eMMC_RTSN pin configuration.
+
+Cc: <stable@vger.kernel.org>
+Reported-by: Markus Reichl <m.reichl@fivetechno.de>
+Suggested-by: Ulf Hansson <ulf.hansson@linaro.org>
+Fixes: 225da7e65a03 ("ARM: dts: add eMMC reset line for exynos4412-odroid-common")
+Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
+Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ arch/arm/boot/dts/exynos4412-odroid-common.dtsi |   13 ++++++-------
+ 1 file changed, 6 insertions(+), 7 deletions(-)
+
+--- a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi
++++ b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi
+@@ -70,7 +70,7 @@
+       };
+       emmc_pwrseq: pwrseq {
+-              pinctrl-0 = <&sd1_cd>;
++              pinctrl-0 = <&emmc_rstn>;
+               pinctrl-names = "default";
+               compatible = "mmc-pwrseq-emmc";
+               reset-gpios = <&gpk1 2 GPIO_ACTIVE_LOW>;
+@@ -161,12 +161,6 @@
+       cpu0-supply = <&buck2_reg>;
+ };
+-/* RSTN signal for eMMC */
+-&sd1_cd {
+-      samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
+-      samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
+-};
+-
+ &pinctrl_1 {
+       gpio_power_key: power_key {
+               samsung,pins = "gpx1-3";
+@@ -184,6 +178,11 @@
+               samsung,pins = "gpx3-7";
+               samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
+       };
++
++      emmc_rstn: emmc-rstn {
++              samsung,pins = "gpk1-2";
++              samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
++      };
+ };
+ &ehci {
index a3d826edc57012e481ca9b3c7dcb3e720b849a80..bcedc357ce4cf8c4e406719b2c764920d129d428 100644 (file)
@@ -86,3 +86,5 @@ input-elan_i2c-add-id-for-touchpad-found-in-lenovo-s21e-20.patch
 iscsi_ibft-fix-missing-break-in-switch-statement.patch
 scsi-aacraid-fix-missing-break-in-switch-statement.patch
 futex-rt_mutex-restructure-rt_mutex_finish_proxy_lock.patch
+arm-dts-exynos-fix-pinctrl-definition-for-emmc-rtsn-line-on-odroid-x2-u3.patch
+arm-dts-exynos-add-minimal-clkout-parameters-to-exynos3250-pmu.patch