sh-pfc: r8a73a4: Remove SCIF function GPIOS
Subsystems (2)
PATCH 7/13 sh-pfc: r8a73a4: Remove SCIF function GPIOS
From: Magnus Damm <[email protected]>
The r8a73a4 board support will use the pinctrl API to control the SCIF pins, remove the corresponding unused function GPIOS.
Signed-off-by Magnus Damm <[email protected]>
---
drivers/pinctrl/sh-pfc/pfc-r8a73a4.c | 45 ---------------------------------- 1 file changed, 45 deletions(-)
drivers/pinctrl/sh-pfc/pfc-r8a73a4.c +0 -45
@@ -1822,55 +1822,45 @@ static const struct pinmux_func pinmux_f/* Port19 */ GPIO_FN (LCDD19 ), -GPIO_FN (SCIFB3_RTS_19 ),GPIO_FN (DU0_DB3 ),/* Port20 */ GPIO_FN (LCDD20 ), -GPIO_FN (SCIFB3_CTS_20 ),GPIO_FN (DU0_DB4 ),/* Port21 */ GPIO_FN (LCDD21 ), -GPIO_FN (SCIFB3_TXD_21 ),GPIO_FN (DU0_DB5 ),/* Port22 */ GPIO_FN (LCDD22 ), -GPIO_FN (SCIFB3_RXD_22 ),GPIO_FN (DU0_DB6 ),/* Port23 */ GPIO_FN (LCDD23 ), -GPIO_FN (SCIFB3_SCK_23 ),GPIO_FN (DU0_DB7 ),/* Port24 */ GPIO_FN (LCDHSYN ),GPIO_FN (LCDCS ), -GPIO_FN (SCIFB1_RTS_24 ),GPIO_FN (DU0_EXHSYNC_N_CSYNC_N_HSYNC_N ),/* Port25 */ GPIO_FN (LCDVSYN ), -GPIO_FN (SCIFB1_CTS_25 ),GPIO_FN (DU0_EXVSYNC_N_VSYNC_N_CSYNC_N ),/* Port26 */ GPIO_FN (LCDDCK ),GPIO_FN (LCDWR ), -GPIO_FN (SCIFB1_TXD_26 ),GPIO_FN (DU0_DOTCLKIN ),/* Port27 */ GPIO_FN (LCDDISP ),GPIO_FN (LCDRS ), -GPIO_FN (SCIFB1_RXD_27 ),GPIO_FN (DU0_DOTCLKOUT ),/* Port28 */ GPIO_FN (LCDRD_N ), -GPIO_FN (SCIFB1_SCK_28 ),GPIO_FN (DU0_DOTCLKOUTB ), /* Port29 */
@@ -1884,48 +1874,36 @@ static const struct pinmux_func pinmux_fGPIO_FN (DU0_ODDF_N_CLAMP ),/* Port32 */ -GPIO_FN (SCIFA0_RTS ),GPIO_FN (SIM0_DET ),GPIO_FN (CSCIF0_RTS ),/* Port33 */ -GPIO_FN (SCIFA0_CTS ),GPIO_FN (SIM1_DET ),GPIO_FN (CSCIF0_CTS ),/* Port34 */ -GPIO_FN (SCIFA0_SCK ),GPIO_FN (SIM0_PWRON ),GPIO_FN (CSCIF0_SCK ),/* Port35 */ -GPIO_FN (SCIFA1_RTS ),GPIO_FN (CSCIF1_RTS ),/* Port36 */ -GPIO_FN (SCIFA1_CTS ),GPIO_FN (CSCIF1_CTS ),/* Port37 */ -GPIO_FN (SCIFA1_SCK ),GPIO_FN (CSCIF1_SCK ),/* Port38 */ -GPIO_FN (SCIFB0_RTS ),GPIO_FN (TPU0TO1 ), -GPIO_FN (SCIFB3_RTS_38 ),GPIO_FN (CHSCIF0_HRTS ),/* Port39 */ -GPIO_FN (SCIFB0_CTS ),GPIO_FN (TPU0TO2 ), -GPIO_FN (SCIFB3_CTS_39 ),GPIO_FN (CHSCIF0_HCTS ),/* Port40 */ -GPIO_FN (SCIFB0_SCK ),GPIO_FN (TPU0TO3 ), -GPIO_FN (SCIFB3_SCK_40 ),GPIO_FN (CHSCIF0_HSCK ), /* Port64 */
@@ -1936,52 +1914,44 @@ static const struct pinmux_func pinmux_f/* Port66 */ GPIO_FN (HSI_RX_WAKE ), -GPIO_FN (SCIFB2_CTS_66 ),GPIO_FN (MSIOF3_SYNC ),GPIO_FN (GenIO4),GPIO_FN (IRQ40 ),/* Port67 */ GPIO_FN (HSI_RX_READY ), -GPIO_FN (SCIFB1_TXD_67 ),GPIO_FN (GIO_OUT3_67 ),GPIO_FN (CHSCIF1_HTX ),/* Port68 */ GPIO_FN (HSI_RX_FLAG ), -GPIO_FN (SCIFB2_TXD_68 ),GPIO_FN (MSIOF3_TXD ),GPIO_FN (GIO_OUT4_68 ),/* Port69 */ GPIO_FN (HSI_RX_DATA ), -GPIO_FN (SCIFB2_RXD_69 ),GPIO_FN (MSIOF3_RXD ),GPIO_FN (GIO_OUT5_69 ),/* Port70 */ GPIO_FN (HSI_TX_FLAG ), -GPIO_FN (SCIFB1_RTS_70 ),GPIO_FN (GIO_OUT1_70 ),GPIO_FN (HSIC_TSTCLK0 ),GPIO_FN (CHSCIF1_HRTS ),/* Port71 */ GPIO_FN (HSI_TX_DATA ), -GPIO_FN (SCIFB1_CTS_71 ),GPIO_FN (GIO_OUT2_71 ),GPIO_FN (HSIC_TSTCLK1 ),GPIO_FN (CHSCIF1_HCTS ),/* Port72 */ GPIO_FN (HSI_TX_WAKE ), -GPIO_FN (SCIFB1_RXD_72 ),GPIO_FN (GenIO8),GPIO_FN (CHSCIF1_HRX ),/* Port73 */ GPIO_FN (HSI_TX_READY ), -GPIO_FN (SCIFB2_RTS_73 ),GPIO_FN (MSIOF3_SCK ), GPIO_FN(GIO_OUT0_73),
@@ -2060,36 +2030,28 @@ static const struct pinmux_func pinmux_fGPIO_FN (IRQ49 ),/* Port116 */ -GPIO_FN (SCIFA0_TXD ),GPIO_FN (CSCIF0_TX ),/* Port117 */ -GPIO_FN (SCIFA0_RXD ),GPIO_FN (CSCIF0_RX ),/* Port118 */ -GPIO_FN (SCIFA1_TXD ),GPIO_FN (CSCIF1_TX ),/* Port119 */ -GPIO_FN (SCIFA1_RXD ),GPIO_FN (CSCIF1_RX ),/* Port120 */ GPIO_FN (SF_PORT_1_120 ), -GPIO_FN (SCIFB3_RXD_120 ),GPIO_FN (DU0_CDE ),/* Port121 */ GPIO_FN (SF_PORT_0_121 ), -GPIO_FN (SCIFB3_TXD_121 ),/* Port122 */ -GPIO_FN (SCIFB0_TXD ),GPIO_FN (CHSCIF0_HTX ),/* Port123 */ -GPIO_FN (SCIFB0_RXD ),GPIO_FN (CHSCIF0_HRX ), /* Port124 */
@@ -2383,11 +2345,9 @@ static const struct pinmux_func pinmux_fGPIO_FN (MSIOF0_TXD ),/* Port261 */ -GPIO_FN (SCIFB1_SCK_261 ),GPIO_FN (CHSCIF1_HSCK ),/* Port262 */ -GPIO_FN (SCIFB2_SCK_262 ),/* Port263 - Port266 FN1 */ GPIO_FN(MSIOF1_SS2),
@@ -2471,7 +2431,6 @@ static const struct pinmux_func pinmux_f/* Port295 */ GPIO_FN (SDHID2_0 ),GPIO_FN (MSIOF4_TXD ), -GPIO_FN (SCIFB2_TXD_295 ), GPIO_FN(MSIOF6_TXD),/* Port296 */
@@ -2492,10 +2451,6 @@ static const struct pinmux_func pinmux_fGPIO_FN (MSIOF4_SS1 ),/* Port297 - Port300 FN3 */ -GPIO_FN (SCIFB2_RXD_297 ), -GPIO_FN (SCIFB2_CTS_298 ), -GPIO_FN (SCIFB2_SCK_299 ), -GPIO_FN (SCIFB2_RTS_300 ),/* Port297 - Port300 FN4 */ GPIO_FN(MSIOF6_RXD),
Hi Magnus,
Thanks for the patch.
Quoted 6 lines · On Tuesday 26 March 2013 22:50:55 Magnus Damm wrote:
From: Magnus Damm <[email protected]>
The r8a73a4 board support will use the pinctrl API to control the SCIF pins, remove the corresponding unused function GPIOS.
Signed-off-by Magnus Damm <[email protected]>
Acked-by Laurent Pinchart <[email protected]>
Signature · 3 lines
Regards, Laurent Pinchart
Quoted 6 lines · Magnus Damm
From: Magnus Damm <[email protected]>
The r8a73a4 board support will use the pinctrl API to control the SCIF pins, remove the corresponding unused function GPIOS.
Signed-off-by Magnus Damm <[email protected]>
Acked-by Linus Walleij <[email protected]>
Yours,
Linus Walleij