aboutsummaryrefslogtreecommitdiffstats
path: root/patches/0209-pinctrl-sh-pfc-r8a7745-Implement-voltage-switching-f.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/0209-pinctrl-sh-pfc-r8a7745-Implement-voltage-switching-f.patch')
-rw-r--r--patches/0209-pinctrl-sh-pfc-r8a7745-Implement-voltage-switching-f.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/patches/0209-pinctrl-sh-pfc-r8a7745-Implement-voltage-switching-f.patch b/patches/0209-pinctrl-sh-pfc-r8a7745-Implement-voltage-switching-f.patch
new file mode 100644
index 00000000000000..9f9f9bf4f914c2
--- /dev/null
+++ b/patches/0209-pinctrl-sh-pfc-r8a7745-Implement-voltage-switching-f.patch
@@ -0,0 +1,32 @@
+From c4b5499846f7d31bcf1c8397112de811b4de5563 Mon Sep 17 00:00:00 2001
+From: Biju Das <biju.das@bp.renesas.com>
+Date: Fri, 13 Oct 2017 15:49:15 +0100
+Subject: [PATCH 0209/1795] pinctrl: sh-pfc: r8a7745: Implement voltage
+ switching for SDHI
+
+Voltage switching is the same as on the r8a7794.
+
+Signed-off-by: Biju Das <biju.das@bp.renesas.com>
+Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
+(cherry picked from commit df73da6317322e731edc53a95f28af7aab7bee00)
+Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
+Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
+---
+ drivers/pinctrl/sh-pfc/pfc-r8a7794.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/drivers/pinctrl/sh-pfc/pfc-r8a7794.c b/drivers/pinctrl/sh-pfc/pfc-r8a7794.c
+index a0ed220071f5..333a3470e842 100644
+--- a/drivers/pinctrl/sh-pfc/pfc-r8a7794.c
++++ b/drivers/pinctrl/sh-pfc/pfc-r8a7794.c
+@@ -5097,6 +5097,7 @@ static const struct sh_pfc_soc_operations r8a7794_pinmux_ops = {
+ #ifdef CONFIG_PINCTRL_PFC_R8A7745
+ const struct sh_pfc_soc_info r8a7745_pinmux_info = {
+ .name = "r8a77450_pfc",
++ .ops = &r8a7794_pinmux_ops,
+ .unlock_reg = 0xe6060000, /* PMMR */
+
+ .function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END },
+--
+2.19.0
+