ARM: mach-shmobile: sh73a0 PFC pull-up support for SDHI0+2
Magnus Damm
maintainerPATCH 1/1 ARM: mach-shmobile: sh73a0 PFC pull-up support for SDHI0+2
From: Magnus Damm <[email protected]>
Extend the existing sh73a0 PFC code with pull-ups for SDHI0 and SDHI2. Without this patch only SDHI1 has pull-up support on sh73a0. Needed by boards that make use of the internal pull-up resistor support built in the SoC.
Signed-off-by Magnus Damm <[email protected]>
---
arch/arm/mach-shmobile/include/mach/sh73a0.h | 13 ++++ arch/arm/mach-shmobile/pfc-sh73a0.c | 77 ++++++++++++++++++++------ 2 files changed, 75 insertions(+), 15 deletions(-)
arch/arm/mach-shmobile/include/mach/sh73a0.h +13 -0
@@ -451,11 +451,23 @@ enum {GPIO_FN_KEYIN5_PU ,GPIO_FN_KEYIN6_PU ,GPIO_FN_KEYIN7_PU , +GPIO_FN_SDHICD0_PU , +GPIO_FN_SDHID0_0_PU , +GPIO_FN_SDHID0_1_PU , +GPIO_FN_SDHID0_2_PU , +GPIO_FN_SDHID0_3_PU , +GPIO_FN_SDHICMD0_PU , +GPIO_FN_SDHIWP0_PU ,GPIO_FN_SDHID1_0_PU ,GPIO_FN_SDHID1_1_PU ,GPIO_FN_SDHID1_2_PU ,GPIO_FN_SDHID1_3_PU ,GPIO_FN_SDHICMD1_PU , +GPIO_FN_SDHID2_0_PU , +GPIO_FN_SDHID2_1_PU , +GPIO_FN_SDHID2_2_PU , +GPIO_FN_SDHID2_3_PU , +GPIO_FN_SDHICMD2_PU ,GPIO_FN_MMCCMD0_PU ,GPIO_FN_MMCCMD1_PU , GPIO_FN_FSIACK_PU,
@@ -463,6 +475,7 @@ enum {GPIO_FN_FSIAIBT_PU , GPIO_FN_FSIAISLD_PU, }; +/* DMA slave IDs */ enum { SHDMA_SLAVE_INVALID,
arch/arm/mach-shmobile/pfc-sh73a0.c +62 -15
121 lines not on this page · raw message