From: Greg Kroah-Hartman Date: Mon, 11 Mar 2019 22:18:46 +0000 (-0700) Subject: 4.14-stable patches X-Git-Tag: v5.0.2~33 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ad17befbaf08cc81dc4b17fdb84cbda907781520;p=thirdparty%2Fkernel%2Fstable-queue.git 4.14-stable patches 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 arm64-dts-hikey-give-wifi-some-time-after-power-on.patch --- diff --git a/queue-4.14/arm-dts-exynos-add-minimal-clkout-parameters-to-exynos3250-pmu.patch b/queue-4.14/arm-dts-exynos-add-minimal-clkout-parameters-to-exynos3250-pmu.patch new file mode 100644 index 00000000000..09938fd145c --- /dev/null +++ b/queue-4.14/arm-dts-exynos-add-minimal-clkout-parameters-to-exynos3250-pmu.patch @@ -0,0 +1,36 @@ +From a66352e005488ecb4b534ba1af58a9f671eba9b8 Mon Sep 17 00:00:00 2001 +From: Marek Szyprowski +Date: Fri, 15 Feb 2019 11:36:50 +0100 +Subject: ARM: dts: exynos: Add minimal clkout parameters to Exynos3250 PMU + +From: Marek Szyprowski + +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: +Signed-off-by: Marek Szyprowski +Signed-off-by: Krzysztof Kozlowski +Signed-off-by: Greg Kroah-Hartman + +--- + 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 +@@ -172,6 +172,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.14/arm-dts-exynos-fix-pinctrl-definition-for-emmc-rtsn-line-on-odroid-x2-u3.patch b/queue-4.14/arm-dts-exynos-fix-pinctrl-definition-for-emmc-rtsn-line-on-odroid-x2-u3.patch new file mode 100644 index 00000000000..f33853da531 --- /dev/null +++ b/queue-4.14/arm-dts-exynos-fix-pinctrl-definition-for-emmc-rtsn-line-on-odroid-x2-u3.patch @@ -0,0 +1,72 @@ +From ec33745bccc8f336957c751f4153421cc9ef5a54 Mon Sep 17 00:00:00 2001 +From: Marek Szyprowski +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 + +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: +Reported-by: Markus Reichl +Suggested-by: Ulf Hansson +Fixes: 225da7e65a03 ("ARM: dts: add eMMC reset line for exynos4412-odroid-common") +Signed-off-by: Marek Szyprowski +Signed-off-by: Krzysztof Kozlowski +Signed-off-by: Greg Kroah-Hartman + +--- + 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 +@@ -60,7 +60,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 = ; +- samsung,pin-drv = ; +-}; +- + &pinctrl_1 { + gpio_power_key: power_key { + samsung,pins = "gpx1-3"; +@@ -184,6 +178,11 @@ + samsung,pins = "gpx3-7"; + samsung,pin-pud = ; + }; ++ ++ emmc_rstn: emmc-rstn { ++ samsung,pins = "gpk1-2"; ++ samsung,pin-pud = ; ++ }; + }; + + &ehci { diff --git a/queue-4.14/arm64-dts-hikey-give-wifi-some-time-after-power-on.patch b/queue-4.14/arm64-dts-hikey-give-wifi-some-time-after-power-on.patch new file mode 100644 index 00000000000..995d007f8dd --- /dev/null +++ b/queue-4.14/arm64-dts-hikey-give-wifi-some-time-after-power-on.patch @@ -0,0 +1,42 @@ +From 83b944174ad79825ae84a47af1a0354485b24602 Mon Sep 17 00:00:00 2001 +From: Jan Kiszka +Date: Thu, 24 Jan 2019 08:52:33 +0100 +Subject: arm64: dts: hikey: Give wifi some time after power-on + +From: Jan Kiszka + +commit 83b944174ad79825ae84a47af1a0354485b24602 upstream. + +Somewhere along recent changes to power control of the wl1835, power-on +became very unreliable on the hikey, failing like this: + +wl1271_sdio: probe of mmc2:0001:1 failed with error -16 +wl1271_sdio: probe of mmc2:0001:2 failed with error -16 + +After playing with some dt parameters and comparing to other users of +this chip, it turned out we need some power-on delay to make things +stable again. In contrast to those other users which define 200 ms, the +hikey would already be happy with 1 ms. Still, we use the safer 10 ms, +like on the Ultra96. + +Fixes: ea452678734e ("arm64: dts: hikey: Fix WiFi support") +Cc: #4.12+ +Signed-off-by: Jan Kiszka +Acked-by: Ulf Hansson +Signed-off-by: Wei Xu +Signed-off-by: Greg Kroah-Hartman + +--- + arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 1 + + 1 file changed, 1 insertion(+) + +--- a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts ++++ b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts +@@ -118,6 +118,7 @@ + reset-gpios = <&gpio0 5 GPIO_ACTIVE_LOW>; + clocks = <&pmic>; + clock-names = "ext_clock"; ++ post-power-on-delay-ms = <10>; + power-off-delay-us = <10>; + }; + diff --git a/queue-4.14/series b/queue-4.14/series index c18fbdf01b5..4a57a5e7877 100644 --- a/queue-4.14/series +++ b/queue-4.14/series @@ -121,3 +121,6 @@ input-wacom_serial4-add-support-for-wacom-artpad-ii-tablet.patch 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 +arm64-dts-hikey-give-wifi-some-time-after-power-on.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