]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blob - releases/4.17.2/arm64-defconfig-enable-config_pinctrl_mt7622-by-default.patch
4.9-stable patches
[thirdparty/kernel/stable-queue.git] / releases / 4.17.2 / arm64-defconfig-enable-config_pinctrl_mt7622-by-default.patch
1 From 1e31927aa64545ee97a2a41db9984c9931afc50a Mon Sep 17 00:00:00 2001
2 From: Sean Wang <sean.wang@mediatek.com>
3 Date: Fri, 20 Apr 2018 16:58:05 +0800
4 Subject: arm64: defconfig: Enable CONFIG_PINCTRL_MT7622 by default
5
6 From: Sean Wang <sean.wang@mediatek.com>
7
8 commit 1e31927aa64545ee97a2a41db9984c9931afc50a upstream.
9
10 Recently kernelCI reported the board mt7622-rfb1 has a fail test with
11 kernel: ERROR: did not start booting whose details could be seen at [1].
12
13 The cause is that UART0 can't output anything when it's missing a proper
14 pin setup with current DTS, so the essential driver is always getting
15 enabled to fix up the issue.
16
17 [1] https://kernelci.org/boot/id/5ad7d62759b51461bfb1f829/
18
19 Cc: Kevin Hilman <khilman@baylibre.com>
20 Cc: stable@vger.kernel.org
21 Fixes: ae457b7679c4 ("arm64: dts: mt7622: add SoC and peripheral related device nodes")
22 Signed-off-by: Sean Wang <sean.wang@mediatek.com>
23 Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
24 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
25
26 ---
27 arch/arm64/configs/defconfig | 1 +
28 1 file changed, 1 insertion(+)
29
30 --- a/arch/arm64/configs/defconfig
31 +++ b/arch/arm64/configs/defconfig
32 @@ -320,6 +320,7 @@ CONFIG_PINCTRL_MAX77620=y
33 CONFIG_PINCTRL_MSM8916=y
34 CONFIG_PINCTRL_MSM8994=y
35 CONFIG_PINCTRL_MSM8996=y
36 +CONFIG_PINCTRL_MT7622=y
37 CONFIG_PINCTRL_QDF2XXX=y
38 CONFIG_PINCTRL_QCOM_SPMI_PMIC=y
39 CONFIG_GPIO_DWAPB=y