SCIF, I2C and FSI pinctrl functions for sh73a0
Subsystems (5)
cover SCIF, I2C and FSI pinctrl functions for sh73a0
Hi,
this series is a follow-up to "[PATCH 00/16] SCIF, I2C and FSI pinctrl functions for sh73a0" by Laurent Pinchart. I am primarily posting it for his review.
This series differs from the v1.1 series posted by me earlier today in that it depends on the following update to the kzm9g reference code.
* ARM: shmobile: parse DT and configure pinmux early on kzm9g-reference
This series differs from the (v1) series posted by Laurent in the following ways:
* Due to some slightly over-zelous git use on my part the series is actually based on a checkout of
git://linuxtv.org/pinchartl/fbdev.git pinmux-pfc-funcs
As such it includes several patches not included in the series posted in via eimal as the series "[PATCH 00/16] SCIF, I2C and FSI pinctrl functions for sh73a0". In particular it includes r8a7740 and r8a7779 patches.
* I have added the following two patches to update the KZM9G rerence code.
ARM: shmobile: kzm9g: reference: Register pinctrl mappings for I2C
ARM: shmobile: kzm9g: reference: Register pinctrl mappings for SCIF
This series is based on :
git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git topic/pinmux-pinctrl
Which is in turn based on the following branch which includes the kzm9g reference code.
git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git topic/pinmux-base
Laurent, if you want to change this series in any way just let me know. I can drop patches individually or drop the entire series and add a fresh one from you to the topic branch.
Git and diffstat information is provided below to aid review.
----------------------------------------------------------------
The following changes since commit 30a6b5dc7a4c701d46cbe5c8be4ef39cf4c2d42d:
ARM: shmobile: armadillo800eva: Register pinctrl mappings for LCDC0 (2013-02-13 12:08:12 +0900)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git
for you to fetch changes up to e92460f4d0ce471110d44a3dc053f0a4508f24dc:
ARM: shmobile: r8a7779: Remove DU function GPIOs (2013-02-13 12:16:13 +0900)
----------------------------------------------------------------
Laurent Pinchart (19):
ARM: shmobile: bonito: Register pinctrl mappings for LCDC0
ARM: shmobile: kota2: Register pinctrl mappings for SCIF
ARM: shmobile: kzm9g: Register pinctrl mappings for LCD
ARM: shmobile: kzm9g: Register pinctrl mappings for SCIF
ARM: shmobile: kzm9g: Register pinctrl mappings for I2C
ARM: shmobile: kzm9g: Register pinctrl mappings for FSI
sh-pfc: sh73a0: Remove LCD and LCD2 function GPIOS
sh-pfc: sh73a0: Remove SCIFA and SCIFB function GPIOS
sh-pfc: sh73a0: Remove I2C function GPIOS
sh-pfc: sh73a0: Remove FSI function GPIOS
sh-pfc: r8a7740: Remove LCD0 and LCD1 function GPIOS
sh-pfc: r8a7779: Remove DU1_DOTCLKOUT1 GPIO
ARM: shmobile: sh73a0: Remove LCDC and LCDC2 function GPIOs
ARM: shmobile: sh73a0: Remove SCIFA and SCIFB function GPIOs
ARM: shmobile: sh73a0: Remove I2C function GPIOs
ARM: shmobile: sh73a0: Remove FSI function GPIOs
ARM: shmobile: r8a7740: Remove LCD0 and LCD1 function GPIOs
ARM: shmobile: r8a7779: Remove DU1_DOTCLKOUT1 GPIO
ARM: shmobile: r8a7779: Remove DU function GPIOs
Simon Horman (2):
ARM: shmobile: kzm9g: reference: Register pinctrl mappings for I2C
ARM: shmobile: kzm9g: reference: Register pinctrl mappings for SCIF
arch/arm/mach-shmobile/board-bonito.c | 43 ++--- arch/arm/mach-shmobile/board-kota2.c | 42 +++-- arch/arm/mach-shmobile/board-kzm9g-reference.c | 21 ++- arch/arm/mach-shmobile/board-kzm9g.c | 68 +++---- arch/arm/mach-shmobile/include/mach/r8a7740.h | 39 ---- arch/arm/mach-shmobile/include/mach/r8a7779.h | 90 ++++----- arch/arm/mach-shmobile/include/mach/sh73a0.h | 237 ++++++++++-------------- drivers/pinctrl/sh-pfc/pfc-r8a7740.c | 37 ---- drivers/pinctrl/sh-pfc/pfc-r8a7779.c | 9 +- drivers/pinctrl/sh-pfc/pfc-sh73a0.c | 182 ------------------ 10 files changed, 216 insertions(+), 552 deletions(-)
PATCH 1/21 ARM: shmobile: bonito: Register pinctrl mappings for LCDC0
From: Laurent Pinchart <[email protected]>
Replace the GPIO-based LCDC0 pinmux configuration by pinctrl mappings.
--- arch/arm/mach-shmobile/board-bonito.c | 43 ++++++++++----------------------- 1 file changed, 13 insertions(+), 30 deletions(-)
arch/arm/mach-shmobile/board-bonito.c +13 -30
@@ -24,6 +24,7 @@#include <linux/init.h> #include <linux/interrupt.h> #include <linux/irq.h> +#include <linux/pinctrl/machine.h> #include <linux/platform_device.h> #include <linux/gpio.h> #include <linux/regulator/fixed.h>
@@ -288,6 +289,15 @@ static struct platform_device lcdc0_device = { }, }; +static const struct pinctrl_map lcdc0_pinctrl_map[] = { +PIN_MAP_MUX_GROUP_DEFAULT ("sh_mobile_lcdc_fb.0" ,"pfc-r8a7740" , +"lcd0_data24_1" ,"lcd0" ), +PIN_MAP_MUX_GROUP_DEFAULT ("sh_mobile_lcdc_fb.0" ,"pfc-r8a7740" , +"lcd0_lclk_1" ,"lcd0" ), +PIN_MAP_MUX_GROUP_DEFAULT ("sh_mobile_lcdc_fb.0" ,"pfc-r8a7740" , +"lcd0_sync" ,"lcd0" ), +}; +/* * SMSC 9221 */
@@ -430,36 +440,9 @@ static void __init bonito_init(void)*/ if (BIT_ON (bsw2,3 ) &&/* S38.1 = OFF */ BIT_ON (bsw2,2 )) {/* S38.2 = OFF */ -gpio_request (GPIO_FN_LCDC0_SELECT ,NULL ); -gpio_request (GPIO_FN_LCD0_D0 ,NULL ); -gpio_request (GPIO_FN_LCD0_D1 ,NULL ); -gpio_request (GPIO_FN_LCD0_D2 ,NULL ); -gpio_request (GPIO_FN_LCD0_D3 ,NULL ); -gpio_request (GPIO_FN_LCD0_D4 ,NULL ); -gpio_request (GPIO_FN_LCD0_D5 ,NULL ); -gpio_request (GPIO_FN_LCD0_D6 ,NULL ); -gpio_request (GPIO_FN_LCD0_D7 ,NULL ); -gpio_request (GPIO_FN_LCD0_D8 ,NULL ); -gpio_request (GPIO_FN_LCD0_D9 ,NULL ); -gpio_request (GPIO_FN_LCD0_D10 ,NULL ); -gpio_request (GPIO_FN_LCD0_D11 ,NULL ); -gpio_request (GPIO_FN_LCD0_D12 ,NULL ); -gpio_request (GPIO_FN_LCD0_D13 ,NULL ); -gpio_request (GPIO_FN_LCD0_D14 ,NULL ); -gpio_request (GPIO_FN_LCD0_D15 ,NULL ); -gpio_request (GPIO_FN_LCD0_D16 ,NULL ); -gpio_request (GPIO_FN_LCD0_D17 ,NULL ); -gpio_request (GPIO_FN_LCD0_D18_PORT163 ,NULL ); -gpio_request (GPIO_FN_LCD0_D19_PORT162 ,NULL ); -gpio_request (GPIO_FN_LCD0_D20_PORT161 ,NULL ); -gpio_request (GPIO_FN_LCD0_D21_PORT158 ,NULL ); -gpio_request (GPIO_FN_LCD0_D22_PORT160 ,NULL ); -gpio_request (GPIO_FN_LCD0_D23_PORT159 ,NULL ); -gpio_request (GPIO_FN_LCD0_DCK ,NULL ); -gpio_request (GPIO_FN_LCD0_VSYN ,NULL ); -gpio_request (GPIO_FN_LCD0_HSYN ,NULL ); -gpio_request (GPIO_FN_LCD0_DISP ,NULL ); -gpio_request (GPIO_FN_LCD0_LCLK_PORT165 ,NULL ); +pinctrl_register_mappings (lcdc0_pinctrl_map, +ARRAY_SIZE (lcdc0_pinctrl_map)); +gpio_request (GPIO_FN_LCDC0_SELECT ,NULL );gpio_request_one (GPIO_PORT61 ,GPIOF_OUT_INIT_HIGH ,NULL );/* LCDDON */
Signature · 1 line
1.7.10.4
PATCH 2/21 ARM: shmobile: kota2: Register pinctrl mappings for SCIF
In reply to Simon HormanFrom: Laurent Pinchart <[email protected]>
Replace the GPIO-based SCIF pinmux configuration by pinctrl mappings.
--- arch/arm/mach-shmobile/board-kota2.c | 42 +++++++++++++++++++--------------- 1 file changed, 23 insertions(+), 19 deletions(-)
arch/arm/mach-shmobile/board-kota2.c +23 -19
@@ -24,6 +24,7 @@#include <linux/init.h> #include <linux/interrupt.h> #include <linux/irq.h> +#include <linux/pinctrl/machine.h> #include <linux/platform_device.h> #include <linux/delay.h> #include <linux/io.h>
@@ -433,6 +434,26 @@ static struct platform_device *kota2_devices[] __initdata = { &sdhi1_device, }; +static const struct pinctrl_map kota2_pinctrl_map[] = { +/* SCIFA2 (UART2) */ +PIN_MAP_MUX_GROUP_DEFAULT ("sh-sci.2" ,"pfc-sh73a0" , +"scifa2_data_0" ,"scifa2" ), +PIN_MAP_MUX_GROUP_DEFAULT ("sh-sci.2" ,"pfc-sh73a0" , +"scifa2_ctrl_0" ,"scifa2" ), +/* SCIFA4 (UART1) */ +PIN_MAP_MUX_GROUP_DEFAULT ("sh-sci.4" ,"pfc-sh73a0" , +"scifa4_data" ,"scifa4" ), +PIN_MAP_MUX_GROUP_DEFAULT ("sh-sci.4" ,"pfc-sh73a0" , +"scifa4_ctrl" ,"scifa4" ), +/* SCIFB (BT) */ +PIN_MAP_MUX_GROUP_DEFAULT ("sh-sci.8" ,"pfc-sh73a0" , +"scifb_data_0" ,"scifb" ), +PIN_MAP_MUX_GROUP_DEFAULT ("sh-sci.8" ,"pfc-sh73a0" , +"scifb_clk_0" ,"scifb" ), +PIN_MAP_MUX_GROUP_DEFAULT ("sh-sci.8" ,"pfc-sh73a0" , +"scifb_ctrl_0" ,"scifb" ), +}; +static void __init kota2_init (void ) { regulator_register_always_on(0, "fixed-1.8V", fixed1v8_power_consumers,
@@ -441,20 +462,10 @@ static void __init kota2_init(void) ARRAY_SIZE(fixed3v3_power_consumers), 3300000);regulator_register_fixed (2 , dummy_supplies,ARRAY_SIZE (dummy_supplies)); +pinctrl_register_mappings (kota2_pinctrl_map, +ARRAY_SIZE (kota2_pinctrl_map));sh73a0_pinmux_init (); -/* SCIFA2 (UART2) */ -gpio_request (GPIO_FN_SCIFA2_TXD1 ,NULL ); -gpio_request (GPIO_FN_SCIFA2_RXD1 ,NULL ); -gpio_request (GPIO_FN_SCIFA2_RTS1_ ,NULL ); -gpio_request (GPIO_FN_SCIFA2_CTS1_ ,NULL ); - -/* SCIFA4 (UART1) */ -gpio_request (GPIO_FN_SCIFA4_TXD ,NULL ); -gpio_request (GPIO_FN_SCIFA4_RXD ,NULL ); -gpio_request (GPIO_FN_SCIFA4_RTS_ ,NULL ); -gpio_request (GPIO_FN_SCIFA4_CTS_ ,NULL ); -/* SMSC911X */ gpio_request (GPIO_FN_D0_NAF0 ,NULL );gpio_request (GPIO_FN_D1_NAF1 ,NULL );
@@ -518,13 +529,6 @@ static void __init kota2_init(void)gpio_request (GPIO_FN_SDHID0_1_PU ,NULL );gpio_request (GPIO_FN_SDHID0_0_PU ,NULL ); -/* SCIFB (BT) */ -gpio_request (GPIO_FN_PORT159_SCIFB_SCK ,NULL ); -gpio_request (GPIO_FN_PORT160_SCIFB_TXD ,NULL ); -gpio_request (GPIO_FN_PORT161_SCIFB_CTS_ ,NULL ); -gpio_request (GPIO_FN_PORT162_SCIFB_RXD ,NULL ); -gpio_request (GPIO_FN_PORT163_SCIFB_RTS_ ,NULL ); -/* SDHI1 (BCM4330) */ gpio_request (GPIO_FN_SDHICLK1 ,NULL );gpio_request (GPIO_FN_SDHICMD1_PU ,NULL );
Signature · 1 line
1.7.10.4
PATCH 3/21 ARM: shmobile: kzm9g: Register pinctrl mappings for LCD
In reply to Simon HormanFrom: Laurent Pinchart <[email protected]>
Replace the GPIO-based LCD pinmux configuration by pinctrl mappings.
--- arch/arm/mach-shmobile/board-kzm9g.c | 37 +++++++++------------------------- 1 file changed, 10 insertions(+), 27 deletions(-)
arch/arm/mach-shmobile/board-kzm9g.c +10 -27
@@ -30,6 +30,7 @@#include <linux/mmc/sh_mmcif.h> #include <linux/mmc/sh_mobile_sdhi.h> #include <linux/mfd/tmio.h> +#include <linux/pinctrl/machine.h> #include <linux/platform_device.h> #include <linux/regulator/fixed.h> #include <linux/regulator/machine.h>
@@ -599,6 +600,13 @@ static struct platform_device *kzm_devices[] __initdata = { &fsi_ak4648_device, }; +static const struct pinctrl_map kzm_pinctrl_map[] = { +PIN_MAP_MUX_GROUP_DEFAULT ("sh_mobile_lcdc_fb.0" ,"pfc-sh73a0" , +"lcd_data24" ,"lcd" ), +PIN_MAP_MUX_GROUP_DEFAULT ("sh_mobile_lcdc_fb.0" ,"pfc-sh73a0" , +"lcd_sync" ,"lcd" ), +}; +/* * FIXME *
@@ -660,6 +668,8 @@ static void __init kzm_init(void) ARRAY_SIZE(fixed2v8_power_consumers), 2800000);regulator_register_fixed (2 , dummy_supplies,ARRAY_SIZE (dummy_supplies)); +pinctrl_register_mappings (kzm_pinctrl_map,ARRAY_SIZE (kzm_pinctrl_map)); +sh73a0_pinmux_init ();/* enable SCIFA4 */
@@ -675,33 +685,6 @@ static void __init kzm_init(void)gpio_request_one (GPIO_PORT224 ,GPIOF_IN ,NULL );/* IRQ3 */ /* LCDC */ -gpio_request (GPIO_FN_LCDD23 ,NULL ); -gpio_request (GPIO_FN_LCDD22 ,NULL ); -gpio_request (GPIO_FN_LCDD21 ,NULL ); -gpio_request (GPIO_FN_LCDD20 ,NULL ); -gpio_request (GPIO_FN_LCDD19 ,NULL ); -gpio_request (GPIO_FN_LCDD18 ,NULL ); -gpio_request (GPIO_FN_LCDD17 ,NULL ); -gpio_request (GPIO_FN_LCDD16 ,NULL ); -gpio_request (GPIO_FN_LCDD15 ,NULL ); -gpio_request (GPIO_FN_LCDD14 ,NULL ); -gpio_request (GPIO_FN_LCDD13 ,NULL ); -gpio_request (GPIO_FN_LCDD12 ,NULL ); -gpio_request (GPIO_FN_LCDD11 ,NULL ); -gpio_request (GPIO_FN_LCDD10 ,NULL ); -gpio_request (GPIO_FN_LCDD9 ,NULL ); -gpio_request (GPIO_FN_LCDD8 ,NULL ); -gpio_request (GPIO_FN_LCDD7 ,NULL ); -gpio_request (GPIO_FN_LCDD6 ,NULL ); -gpio_request (GPIO_FN_LCDD5 ,NULL ); -gpio_request (GPIO_FN_LCDD4 ,NULL ); -gpio_request (GPIO_FN_LCDD3 ,NULL ); -gpio_request (GPIO_FN_LCDD2 ,NULL ); -gpio_request (GPIO_FN_LCDD1 ,NULL ); -gpio_request (GPIO_FN_LCDD0 ,NULL ); -gpio_request (GPIO_FN_LCDDISP ,NULL ); -gpio_request (GPIO_FN_LCDDCK ,NULL ); -gpio_request_one (GPIO_PORT222 ,GPIOF_OUT_INIT_HIGH ,NULL );/* LCDCDON */ gpio_request_one (GPIO_PORT226 ,GPIOF_OUT_INIT_HIGH ,NULL );/* SC */
Signature · 1 line
1.7.10.4
PATCH 4/21 ARM: shmobile: kzm9g: Register pinctrl mappings for SCIF
In reply to Simon HormanFrom: Laurent Pinchart <[email protected]>
Replace the GPIO-based SCIF pinmux configuration by pinctrl mappings.
--- arch/arm/mach-shmobile/board-kzm9g.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-)
arch/arm/mach-shmobile/board-kzm9g.c +4 -6
@@ -601,6 +601,10 @@ static struct platform_device *kzm_devices[] __initdata = { };static const struct pinctrl_map kzm_pinctrl_map[] = { +PIN_MAP_MUX_GROUP_DEFAULT ("sh-sci.4" ,"pfc-sh73a0" , +"scifa4_data" ,"scifa4" ), +PIN_MAP_MUX_GROUP_DEFAULT ("sh-sci.4" ,"pfc-sh73a0" , +"scifa4_ctrl" ,"scifa4" ),PIN_MAP_MUX_GROUP_DEFAULT ("sh_mobile_lcdc_fb.0" ,"pfc-sh73a0" ,"lcd_data24" ,"lcd" ), PIN_MAP_MUX_GROUP_DEFAULT("sh_mobile_lcdc_fb.0", "pfc-sh73a0",
@@ -672,12 +676,6 @@ static void __init kzm_init(void)sh73a0_pinmux_init (); -/* enable SCIFA4 */ -gpio_request (GPIO_FN_SCIFA4_TXD ,NULL ); -gpio_request (GPIO_FN_SCIFA4_RXD ,NULL ); -gpio_request (GPIO_FN_SCIFA4_RTS_ ,NULL ); -gpio_request (GPIO_FN_SCIFA4_CTS_ ,NULL ); -/* CS4 for SMSC/USB */ gpio_request (GPIO_FN_CS4_ ,NULL );/* CS4 */
Signature · 1 line
1.7.10.4
PATCH 5/21 ARM: shmobile: kzm9g: Register pinctrl mappings for I2C
In reply to Simon HormanFrom: Laurent Pinchart <[email protected]>
Replace the GPIO-based I2C pinmux configuration by pinctrl mappings.
--- arch/arm/mach-shmobile/board-kzm9g.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
arch/arm/mach-shmobile/board-kzm9g.c +2 -4
@@ -601,6 +601,8 @@ static struct platform_device *kzm_devices[] __initdata = { };static const struct pinctrl_map kzm_pinctrl_map[] = { +PIN_MAP_MUX_GROUP_DEFAULT ("i2c-sh_mobile.3" ,"pfc-sh73a0" , +"i2c3_1" ,"i2c3" ),PIN_MAP_MUX_GROUP_DEFAULT ("sh-sci.4" ,"pfc-sh73a0" ,"scifa4_data" ,"scifa4" ), PIN_MAP_MUX_GROUP_DEFAULT("sh-sci.4", "pfc-sh73a0",
@@ -722,10 +724,6 @@ static void __init kzm_init(void)gpio_request (GPIO_FN_SDHICLK2 ,NULL );gpio_request_one (GPIO_PORT14 ,GPIOF_OUT_INIT_HIGH ,NULL );/* power */ -/* I2C 3 */ -gpio_request (GPIO_FN_PORT27_I2C_SCL3 ,NULL ); -gpio_request (GPIO_FN_PORT28_I2C_SDA3 ,NULL ); -/* enable FSI2 port A (ak4648) */ gpio_request (GPIO_FN_FSIACK ,NULL );gpio_request (GPIO_FN_FSIAILR ,NULL );
Signature · 1 line
1.7.10.4
PATCH 6/21 ARM: shmobile: kzm9g: Register pinctrl mappings for FSI
In reply to Simon HormanFrom: Laurent Pinchart <[email protected]>
Replace the GPIO-based FSI pinmux configuration by pinctrl mappings.
--- arch/arm/mach-shmobile/board-kzm9g.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-)
arch/arm/mach-shmobile/board-kzm9g.c +8 -7
@@ -601,6 +601,14 @@ static struct platform_device *kzm_devices[] __initdata = { };static const struct pinctrl_map kzm_pinctrl_map[] = { +PIN_MAP_MUX_GROUP_DEFAULT ("sh_fsi2.0" ,"pfc-sh73a0" , +"fsia_mclk_in" ,"fsia" ), +PIN_MAP_MUX_GROUP_DEFAULT ("sh_fsi2.0" ,"pfc-sh73a0" , +"fsia_sclk_in" ,"fsia" ), +PIN_MAP_MUX_GROUP_DEFAULT ("sh_fsi2.0" ,"pfc-sh73a0" , +"fsia_data_in" ,"fsia" ), +PIN_MAP_MUX_GROUP_DEFAULT ("sh_fsi2.0" ,"pfc-sh73a0" , +"fsia_data_out" ,"fsia" ),PIN_MAP_MUX_GROUP_DEFAULT ("i2c-sh_mobile.3" ,"pfc-sh73a0" ,"i2c3_1" ,"i2c3" ), PIN_MAP_MUX_GROUP_DEFAULT("sh-sci.4", "pfc-sh73a0",
@@ -724,13 +732,6 @@ static void __init kzm_init(void)gpio_request (GPIO_FN_SDHICLK2 ,NULL );gpio_request_one (GPIO_PORT14 ,GPIOF_OUT_INIT_HIGH ,NULL );/* power */ -/* enable FSI2 port A (ak4648) */ -gpio_request (GPIO_FN_FSIACK ,NULL ); -gpio_request (GPIO_FN_FSIAILR ,NULL ); -gpio_request (GPIO_FN_FSIAIBT ,NULL ); -gpio_request (GPIO_FN_FSIAISLD ,NULL ); -gpio_request (GPIO_FN_FSIAOSLD ,NULL ); -/* enable USB */ gpio_request (GPIO_FN_VBUS_0 ,NULL );
Signature · 1 line
1.7.10.4
PATCH 7/21 ARM: shmobile: kzm9g: reference: Register pinctrl mappings for I2C
In reply to Simon HormanReplace the GPIO-based I2C pinmux configuration by pinctrl mappings.
This change is for the kzm9g reference DT implementation and is in keeping with a similar change for the default kzm9g implementation made by Laurent Pinchart.
---
v2
* Do not add call to sh73a0_pinmux_init()
This is done in "ARM: shmobile: parse DT and configure pinmux early on kzm9g-reference" which is now a dependency of this patch.
--- arch/arm/mach-shmobile/board-kzm9g-reference.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-)
arch/arm/mach-shmobile/board-kzm9g-reference.c +7 -4
@@ -26,15 +26,22 @@#include <linux/irq.h> #include <linux/input.h> #include <linux/of_platform.h> +#include <linux/pinctrl/machine.h> #include <mach/sh73a0.h> #include <mach/common.h> #include <asm/hardware/cache-l2x0.h> #include <asm/mach-types.h> #include <asm/mach/arch.h> +static const struct pinctrl_map kzm_pinctrl_map[] = { +PIN_MAP_MUX_GROUP_DEFAULT ("i2c-sh_mobile.3" ,"pfc-sh73a0" , +"i2c3_1" ,"i2c3" ), +}; +static void __init kzm_init (void ) {sh73a0_add_standard_devices_dt (); +pinctrl_register_mappings (kzm_pinctrl_map,ARRAY_SIZE (kzm_pinctrl_map));sh73a0_pinmux_init ();/* enable SCIFA4 */
@@ -55,10 +62,6 @@ static void __init kzm_init(void)gpio_request (GPIO_FN_MMCD0_6_PU ,NULL );gpio_request (GPIO_FN_MMCD0_7_PU ,NULL ); -/* I2C 3 */ -gpio_request (GPIO_FN_PORT27_I2C_SCL3 ,NULL ); -gpio_request (GPIO_FN_PORT28_I2C_SDA3 ,NULL ); -#ifdef CONFIG_CACHE_L2X0 /* Early BRESP enable, Shared attribute override enable, 64K*8way */ l2x0_init (IOMEM (0xf0100000 ),0x40460000 ,0x82000fff );
Signature · 1 line
1.7.10.4
PATCH 8/21 ARM: shmobile: kzm9g: reference: Register pinctrl mappings for SCIF
In reply to Simon HormanReplace the GPIO-based SCIF pinmux configuration by pinctrl mappings.
This change is for the kzm9g reference DT implementation and is in keeping with a similar change for the default kzm9g implementation made by Laurent Pinchart.
--- arch/arm/mach-shmobile/board-kzm9g-reference.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-)
arch/arm/mach-shmobile/board-kzm9g-reference.c +4 -6
@@ -36,6 +36,10 @@static const struct pinctrl_map kzm_pinctrl_map[] = {PIN_MAP_MUX_GROUP_DEFAULT ("i2c-sh_mobile.3" ,"pfc-sh73a0" ,"i2c3_1" ,"i2c3" ), +PIN_MAP_MUX_GROUP_DEFAULT ("sh-sci.4" ,"pfc-sh73a0" , +"scifa4_data" ,"scifa4" ), +PIN_MAP_MUX_GROUP_DEFAULT ("sh-sci.4" ,"pfc-sh73a0" , +"scifa4_ctrl" ,"scifa4" ), };static void __init kzm_init (void )
@@ -44,12 +48,6 @@ static void __init kzm_init(void)pinctrl_register_mappings (kzm_pinctrl_map,ARRAY_SIZE (kzm_pinctrl_map));sh73a0_pinmux_init (); -/* enable SCIFA4 */ -gpio_request (GPIO_FN_SCIFA4_TXD ,NULL ); -gpio_request (GPIO_FN_SCIFA4_RXD ,NULL ); -gpio_request (GPIO_FN_SCIFA4_RTS_ ,NULL ); -gpio_request (GPIO_FN_SCIFA4_CTS_ ,NULL ); -/* enable MMCIF */ gpio_request (GPIO_FN_MMCCLK0 ,NULL );gpio_request (GPIO_FN_MMCCMD0_PU ,NULL );
Signature · 1 line
1.7.10.4
PATCH 9/21 sh-pfc: sh73a0: Remove LCD and LCD2 function GPIOS
In reply to Simon HormanFrom: Laurent Pinchart <[email protected]>
All sh73a0 platforms now use the pinctrl API to control the LCD and LCD2 pins, the corresponding function GPIOS are unused. Remove them.
--- drivers/pinctrl/sh-pfc/pfc-sh73a0.c | 76 ----------------------------------- 1 file changed, 76 deletions(-)
drivers/pinctrl/sh-pfc/pfc-sh73a0.c +0 -76
@@ -2678,87 +2678,59 @@ static struct pinmux_func pinmux_func_gpios[] = {GPIO_FN (BBIF1_FLOW ),GPIO_FN (HSI_TX_FLAG ),GPIO_FN (VIO_VD ), \ -GPIO_FN (PORT128_LCD2VSYN ), \GPIO_FN (VIO2_VD ), \ -GPIO_FN (LCD2D0 ),GPIO_FN (VIO_HD ), \ -GPIO_FN (PORT129_LCD2HSYN ), \ -GPIO_FN (PORT129_LCD2CS_ ), \GPIO_FN (VIO2_HD ), \ -GPIO_FN (LCD2D1 ),GPIO_FN (VIO_D0 ), \GPIO_FN (PORT130_MSIOF2_RXD ), \ -GPIO_FN (LCD2D10 ),GPIO_FN (VIO_D1 ), \GPIO_FN (PORT131_KEYOUT6 ), \GPIO_FN (PORT131_MSIOF2_SS1 ), \GPIO_FN (PORT131_KEYOUT11 ), \ -GPIO_FN (LCD2D11 ),GPIO_FN (VIO_D2 ), \GPIO_FN (PORT132_KEYOUT7 ), \GPIO_FN (PORT132_MSIOF2_SS2 ), \GPIO_FN (PORT132_KEYOUT10 ), \ -GPIO_FN (LCD2D12 ),GPIO_FN (VIO_D3 ), \GPIO_FN (MSIOF2_TSYNC ), \ -GPIO_FN (LCD2D13 ),GPIO_FN (VIO_D4 ), \GPIO_FN (MSIOF2_TXD ), \ -GPIO_FN (LCD2D14 ),GPIO_FN (VIO_D5 ), \GPIO_FN (MSIOF2_TSCK ), \ -GPIO_FN (LCD2D15 ),GPIO_FN (VIO_D6 ), \GPIO_FN (PORT136_KEYOUT8 ), \ -GPIO_FN (LCD2D16 ),GPIO_FN (VIO_D7 ), \GPIO_FN (PORT137_KEYOUT9 ), \ -GPIO_FN (LCD2D17 ),GPIO_FN (VIO_D8 ), \GPIO_FN (PORT138_KEYOUT8 ), \GPIO_FN (VIO2_D0 ), \ -GPIO_FN (LCD2D6 ),GPIO_FN (VIO_D9 ), \GPIO_FN (PORT139_KEYOUT9 ), \GPIO_FN (VIO2_D1 ), \ -GPIO_FN (LCD2D7 ),GPIO_FN (VIO_D10 ), \GPIO_FN (TPU0TO2 ), \GPIO_FN (VIO2_D2 ), \ -GPIO_FN (LCD2D8 ),GPIO_FN (VIO_D11 ), \GPIO_FN (TPU0TO3 ), \GPIO_FN (VIO2_D3 ), \ -GPIO_FN (LCD2D9 ),GPIO_FN (VIO_D12 ), \GPIO_FN (PORT142_KEYOUT10 ), \GPIO_FN (VIO2_D4 ), \ -GPIO_FN (LCD2D2 ),GPIO_FN (VIO_D13 ), \GPIO_FN (PORT143_KEYOUT11 ), \GPIO_FN (PORT143_KEYOUT6 ), \GPIO_FN (VIO2_D5 ), \ -GPIO_FN (LCD2D3 ),GPIO_FN (VIO_D14 ), \GPIO_FN (PORT144_KEYOUT7 ), \GPIO_FN (VIO2_D6 ), \ -GPIO_FN (LCD2D4 ),GPIO_FN (VIO_D15 ), \GPIO_FN (TPU1TO3 ), \ -GPIO_FN (PORT145_LCD2DISP ), \ -GPIO_FN (PORT145_LCD2RS ), \GPIO_FN (VIO2_D7 ), \ -GPIO_FN (LCD2D5 ),GPIO_FN (VIO_CLK ), \ -GPIO_FN (LCD2DCK ), \ -GPIO_FN (PORT146_LCD2WR_ ), \GPIO_FN (VIO2_CLK ), \ -GPIO_FN (LCD2D18 ),GPIO_FN (VIO_FIELD ), \ -GPIO_FN (LCD2RD_ ), \GPIO_FN (VIO2_FIELD ), \ -GPIO_FN (LCD2D19 ),GPIO_FN (VIO_CKO ),GPIO_FN (A27 ), \ GPIO_FN(PORT149_RDWR), \
@@ -2795,107 +2767,63 @@ static struct pinmux_func pinmux_func_gpios[] = {GPIO_FN (PORT163_SCIFB_RTS_ ), \GPIO_FN (PORT163_SCIFA5_RTS_ ), \GPIO_FN (TPU3TO0 ), -GPIO_FN (LCDD0 ), -GPIO_FN (LCDD1 ), \GPIO_FN (PORT193_SCIFA5_CTS_ ), \GPIO_FN (BBIF2_TSYNC1 ), -GPIO_FN (LCDD2 ), \GPIO_FN (PORT194_SCIFA5_RTS_ ), \GPIO_FN (BBIF2_TSCK1 ), -GPIO_FN (LCDD3 ), \GPIO_FN (PORT195_SCIFA5_RXD ), \GPIO_FN (BBIF2_TXD1 ), -GPIO_FN (LCDD4 ), \GPIO_FN (PORT196_SCIFA5_TXD ), -GPIO_FN (LCDD5 ), \GPIO_FN (PORT197_SCIFA5_SCK ), \GPIO_FN (MFG2_OUT2 ), \GPIO_FN (TPU2TO1 ), -GPIO_FN (LCDD6 ), -GPIO_FN (LCDD7 ), \GPIO_FN (TPU4TO1 ), \GPIO_FN (MFG4_OUT2 ), -GPIO_FN (LCDD8 ), \GPIO_FN (D16 ), -GPIO_FN (LCDD9 ), \GPIO_FN (D17 ), -GPIO_FN (LCDD10 ), \GPIO_FN (D18 ), -GPIO_FN (LCDD11 ), \GPIO_FN (D19 ), -GPIO_FN (LCDD12 ), \GPIO_FN (D20 ), -GPIO_FN (LCDD13 ), \GPIO_FN (D21 ), -GPIO_FN (LCDD14 ), \GPIO_FN (D22 ), -GPIO_FN (LCDD15 ), \GPIO_FN (PORT207_MSIOF0L_SS1 ), \GPIO_FN (D23 ), -GPIO_FN (LCDD16 ), \GPIO_FN (PORT208_MSIOF0L_SS2 ), \GPIO_FN (D24 ), -GPIO_FN (LCDD17 ), \GPIO_FN (D25 ), -GPIO_FN (LCDD18 ), \GPIO_FN (DREQ2 ), \GPIO_FN (PORT210_MSIOF0L_SS1 ), \GPIO_FN (D26 ), -GPIO_FN (LCDD19 ), \GPIO_FN (PORT211_MSIOF0L_SS2 ), \GPIO_FN (D27 ), -GPIO_FN (LCDD20 ), \GPIO_FN (TS_SPSYNC1 ), \GPIO_FN (MSIOF0L_MCK0 ), \GPIO_FN (D28 ), -GPIO_FN (LCDD21 ), \GPIO_FN (TS_SDAT1 ), \GPIO_FN (MSIOF0L_MCK1 ), \GPIO_FN (D29 ), -GPIO_FN (LCDD22 ), \GPIO_FN (TS_SDEN1 ), \GPIO_FN (MSIOF0L_RSCK ), \GPIO_FN (D30 ), -GPIO_FN (LCDD23 ), \GPIO_FN (TS_SCK1 ), \GPIO_FN (MSIOF0L_RSYNC ), \GPIO_FN (D31 ), -GPIO_FN (LCDDCK ), \ -GPIO_FN (LCDWR_ ), -GPIO_FN (LCDRD_ ), \GPIO_FN (DACK2 ), \ -GPIO_FN (PORT217_LCD2RS ), \GPIO_FN (MSIOF0L_TSYNC ), \GPIO_FN (VIO2_FIELD3 ), \ -GPIO_FN (PORT217_LCD2DISP ), -GPIO_FN (LCDHSYN ), \ -GPIO_FN (LCDCS_ ), \ -GPIO_FN (LCDCS2_ ), \GPIO_FN (DACK3 ), \GPIO_FN (PORT218_VIO_CKOR ), -GPIO_FN (LCDDISP ), \ -GPIO_FN (LCDRS ), \ -GPIO_FN (PORT219_LCD2WR_ ), \GPIO_FN (DREQ3 ), \GPIO_FN (MSIOF0L_TSCK ), \GPIO_FN (VIO2_CLK3 ), \ -GPIO_FN (LCD2DCK_2 ), -GPIO_FN (LCDVSYN ), \ -GPIO_FN (LCDVSYN2 ), -GPIO_FN (LCDLCLK ), \GPIO_FN (DREQ1 ), \ -GPIO_FN (PORT221_LCD2CS_ ), \GPIO_FN (PWEN ), \GPIO_FN (MSIOF0L_RXD ), \GPIO_FN (VIO2_HD3 ), \ -GPIO_FN (PORT221_LCD2HSYN ), -GPIO_FN (LCDDON ), \ -GPIO_FN (LCDDON2 ), \GPIO_FN (DACK1 ), \GPIO_FN (OVCN ), \GPIO_FN (MSIOF0L_TXD ), \GPIO_FN (VIO2_VD3 ), \ -GPIO_FN (PORT222_LCD2VSYN ),GPIO_FN (SCIFA1_TXD ), \ GPIO_FN(OVCN2),
@@ -2918,21 +2846,17 @@ static struct pinmux_func pinmux_func_gpios[] = {GPIO_FN (MSIOF1_RSCK ), \GPIO_FN (SCIFA2_RTS2_ ), \GPIO_FN (VIO2_CLK2 ), \ -GPIO_FN (LCD2D20 ),GPIO_FN (MSIOF1_RSYNC ), \GPIO_FN (MFG1_IN2 ), \GPIO_FN (VIO2_VD2 ), \ -GPIO_FN (LCD2D21 ),GPIO_FN (MSIOF1_MCK0 ), \GPIO_FN (PORT236_I2C_SDA2 ),GPIO_FN (MSIOF1_MCK1 ), \GPIO_FN (PORT237_I2C_SCL2 ),GPIO_FN (MSIOF1_SS1 ), \GPIO_FN (VIO2_FIELD2 ), \ -GPIO_FN (LCD2D22 ),GPIO_FN (MSIOF1_SS2 ), \GPIO_FN (VIO2_HD2 ), \ -GPIO_FN (LCD2D23 ),GPIO_FN (SCIFA6_TXD ),GPIO_FN (PORT241_IRDA_OUT ), \ GPIO_FN(PORT241_IROUT), \
Signature · 1 line
1.7.10.4
PATCH 10/21 sh-pfc: sh73a0: Remove SCIFA and SCIFB function GPIOS
In reply to Simon HormanFrom: Laurent Pinchart <[email protected]>
All sh73a0 platforms now use the pinctrl API to control the SCIFA and SCIFB pins, the corresponding function GPIOS are unused. Remove them.
--- drivers/pinctrl/sh-pfc/pfc-sh73a0.c | 58 ----------------------------------- 1 file changed, 58 deletions(-)
drivers/pinctrl/sh-pfc/pfc-sh73a0.c +0 -58
@@ -2468,19 +2468,13 @@ static struct pinmux_func pinmux_func_gpios[] = {GPIO_FN (GPI5 ),GPIO_FN (GPI6 ),GPIO_FN (GPI7 ), -GPIO_FN (SCIFA7_RXD ), -GPIO_FN (SCIFA7_CTS_ ),GPIO_FN (GPO7 ), \GPIO_FN (MFG0_OUT2 ),GPIO_FN (GPO6 ), \GPIO_FN (MFG1_OUT2 ),GPIO_FN (GPO5 ), \ -GPIO_FN (SCIFA0_SCK ), \GPIO_FN (FSICOSLDT3 ), \GPIO_FN (PORT16_VIO_CKOR ), -GPIO_FN (SCIFA0_TXD ), -GPIO_FN (SCIFA7_TXD ), -GPIO_FN (SCIFA7_RTS_ ), \GPIO_FN (PORT19_VIO_CKO2 ),GPIO_FN (GPO0 ), GPIO_FN(GPO1),
@@ -2507,11 +2501,7 @@ static struct pinmux_func pinmux_func_gpios[] = {GPIO_FN (PORT30_VIO_CKOR ),GPIO_FN (SIM_D ), \GPIO_FN (PORT31_IROUT ), -GPIO_FN (SCIFA4_TXD ), -GPIO_FN (SCIFA4_RXD ), \GPIO_FN (XWUP ), -GPIO_FN (SCIFA4_RTS_ ), -GPIO_FN (SCIFA4_CTS_ ),GPIO_FN (FSIBOBT ), \GPIO_FN (FSIBIBT ), GPIO_FN(FSIBOLR), \
@@ -2520,10 +2510,7 @@ static struct pinmux_func pinmux_func_gpios[] = {GPIO_FN (FSIBISLD ),GPIO_FN (VACK ),GPIO_FN (XTAL1L ), -GPIO_FN (SCIFA0_RTS_ ), \GPIO_FN (FSICOSLDT2 ), -GPIO_FN (SCIFA0_RXD ), -GPIO_FN (SCIFA0_CTS_ ), \GPIO_FN (FSICOSLDT1 ),GPIO_FN (FSICOBT ), \ GPIO_FN(FSICIBT), \
@@ -2649,14 +2636,10 @@ static struct pinmux_func pinmux_func_gpios[] = {GPIO_FN (BBIF2_RXD ),GPIO_FN (BBIF2_SYNC ),GPIO_FN (BBIF2_SCK ), -GPIO_FN (SCIFA3_CTS_ ), \GPIO_FN (MFG3_IN2 ), -GPIO_FN (SCIFA3_RXD ), \GPIO_FN (MFG3_IN1 ),GPIO_FN (BBIF1_SS2 ), \ -GPIO_FN (SCIFA3_RTS_ ), \GPIO_FN (MFG3_OUT1 ), -GPIO_FN (SCIFA3_TXD ),GPIO_FN (HSI_RX_DATA ), \GPIO_FN (BBIF1_RXD ), GPIO_FN(HSI_TX_WAKE), \
@@ -2744,37 +2727,17 @@ static struct pinmux_func pinmux_func_gpios[] = {GPIO_FN (TPU1TO2 ), \GPIO_FN (TS_SDEN3 ), \GPIO_FN (PORT153_MSIOF2_SS1 ), -GPIO_FN (SCIFA2_TXD1 ), \GPIO_FN (MSIOF2_MCK0 ), -GPIO_FN (SCIFA2_RXD1 ), \GPIO_FN (MSIOF2_MCK1 ), -GPIO_FN (SCIFA2_RTS1_ ), \GPIO_FN (PORT156_MSIOF2_SS2 ), -GPIO_FN (SCIFA2_CTS1_ ), \GPIO_FN (PORT157_MSIOF2_RXD ),GPIO_FN (DINT_ ), \ -GPIO_FN (SCIFA2_SCK1 ), \GPIO_FN (TS_SCK3 ), -GPIO_FN (PORT159_SCIFB_SCK ), \ -GPIO_FN (PORT159_SCIFA5_SCK ), \GPIO_FN (NMI ), -GPIO_FN (PORT160_SCIFB_TXD ), \ -GPIO_FN (PORT160_SCIFA5_TXD ), -GPIO_FN (PORT161_SCIFB_CTS_ ), \ -GPIO_FN (PORT161_SCIFA5_CTS_ ), -GPIO_FN (PORT162_SCIFB_RXD ), \ -GPIO_FN (PORT162_SCIFA5_RXD ), -GPIO_FN (PORT163_SCIFB_RTS_ ), \ -GPIO_FN (PORT163_SCIFA5_RTS_ ), \GPIO_FN (TPU3TO0 ), -GPIO_FN (PORT193_SCIFA5_CTS_ ), \GPIO_FN (BBIF2_TSYNC1 ), -GPIO_FN (PORT194_SCIFA5_RTS_ ), \GPIO_FN (BBIF2_TSCK1 ), -GPIO_FN (PORT195_SCIFA5_RXD ), \GPIO_FN (BBIF2_TXD1 ), -GPIO_FN (PORT196_SCIFA5_TXD ), -GPIO_FN (PORT197_SCIFA5_SCK ), \GPIO_FN (MFG2_OUT2 ), \GPIO_FN (TPU2TO1 ), GPIO_FN(TPU4TO1), \
@@ -2825,26 +2788,16 @@ static struct pinmux_func pinmux_func_gpios[] = {GPIO_FN (MSIOF0L_TXD ), \GPIO_FN (VIO2_VD3 ), \ -GPIO_FN (SCIFA1_TXD ), \GPIO_FN (OVCN2 ),GPIO_FN (EXTLP ), \ -GPIO_FN (SCIFA1_SCK ), \GPIO_FN (PORT226_VIO_CKO2 ), -GPIO_FN (SCIFA1_RTS_ ), \GPIO_FN (IDIN ), -GPIO_FN (SCIFA1_RXD ), -GPIO_FN (SCIFA1_CTS_ ), \GPIO_FN (MFG1_IN1 ),GPIO_FN (MSIOF1_TXD ), \ -GPIO_FN (SCIFA2_TXD2 ),GPIO_FN (MSIOF1_TSYNC ), \ -GPIO_FN (SCIFA2_CTS2_ ),GPIO_FN (MSIOF1_TSCK ), \ -GPIO_FN (SCIFA2_SCK2 ),GPIO_FN (MSIOF1_RXD ), \ -GPIO_FN (SCIFA2_RXD2 ),GPIO_FN (MSIOF1_RSCK ), \ -GPIO_FN (SCIFA2_RTS2_ ), \GPIO_FN (VIO2_CLK2 ), \GPIO_FN (MSIOF1_RSYNC ), \ GPIO_FN(MFG1_IN2), \
@@ -2857,7 +2810,6 @@ static struct pinmux_func pinmux_func_gpios[] = {GPIO_FN (VIO2_FIELD2 ), \GPIO_FN (MSIOF1_SS2 ), \GPIO_FN (VIO2_HD2 ), \ -GPIO_FN (SCIFA6_TXD ),GPIO_FN (PORT241_IRDA_OUT ), \GPIO_FN (PORT241_IROUT ), \ GPIO_FN(MFG4_OUT1), \
@@ -2866,25 +2818,15 @@ static struct pinmux_func pinmux_func_gpios[] = {GPIO_FN (MFG4_IN2 ),GPIO_FN (PORT243_IRDA_FIRSEL ), \GPIO_FN (PORT243_VIO_CKO2 ), -GPIO_FN (PORT244_SCIFA5_CTS_ ), \GPIO_FN (MFG2_IN1 ), \ -GPIO_FN (PORT244_SCIFB_CTS_ ), \GPIO_FN (MSIOF2R_RXD ), -GPIO_FN (PORT245_SCIFA5_RTS_ ), \GPIO_FN (MFG2_IN2 ), \ -GPIO_FN (PORT245_SCIFB_RTS_ ), \GPIO_FN (MSIOF2R_TXD ), -GPIO_FN (PORT246_SCIFA5_RXD ), \GPIO_FN (MFG1_OUT1 ), \ -GPIO_FN (PORT246_SCIFB_RXD ), \GPIO_FN (TPU1TO0 ), -GPIO_FN (PORT247_SCIFA5_TXD ), \GPIO_FN (MFG3_OUT2 ), \ -GPIO_FN (PORT247_SCIFB_TXD ), \GPIO_FN (TPU3TO1 ), -GPIO_FN (PORT248_SCIFA5_SCK ), \GPIO_FN (MFG2_OUT1 ), \ -GPIO_FN (PORT248_SCIFB_SCK ), \GPIO_FN (TPU2TO0 ), \GPIO_FN (PORT248_I2C_SCL3 ), \ GPIO_FN(MSIOF2R_TSCK),
Signature · 1 line
1.7.10.4
PATCH 11/21 sh-pfc: sh73a0: Remove I2C function GPIOS
In reply to Simon HormanFrom: Laurent Pinchart <[email protected]>
All sh73a0 platforms now use the pinctrl API to control the I2C pins, the corresponding function GPIOS are unused. Remove them.
--- drivers/pinctrl/sh-pfc/pfc-sh73a0.c | 12 ------------ 1 file changed, 12 deletions(-)
drivers/pinctrl/sh-pfc/pfc-sh73a0.c +0 -12
@@ -2487,13 +2487,9 @@ static struct pinmux_func pinmux_func_gpios[] = {GPIO_FN (VINT ),GPIO_FN (TCKON ),GPIO_FN (XDVFS1 ), \ -GPIO_FN (PORT27_I2C_SCL2 ), \ -GPIO_FN (PORT27_I2C_SCL3 ), \GPIO_FN (MFG0_OUT1 ), \GPIO_FN (PORT27_IROUT ),GPIO_FN (XDVFS2 ), \ -GPIO_FN (PORT28_I2C_SDA2 ), \ -GPIO_FN (PORT28_I2C_SDA3 ), \GPIO_FN (PORT28_TPU1TO1 ),GPIO_FN (SIM_RST ), \ GPIO_FN(PORT29_TPU1TO1),
@@ -2650,12 +2646,8 @@ static struct pinmux_func pinmux_func_gpios[] = {GPIO_FN (BBIF1_TXD ),GPIO_FN (HSI_RX_READY ), \GPIO_FN (BBIF1_RSCK ), \ -GPIO_FN (PORT115_I2C_SCL2 ), \ -GPIO_FN (PORT115_I2C_SCL3 ),GPIO_FN (HSI_RX_WAKE ), \GPIO_FN (BBIF1_RSYNC ), \ -GPIO_FN (PORT116_I2C_SDA2 ), \ -GPIO_FN (PORT116_I2C_SDA3 ),GPIO_FN (HSI_RX_FLAG ), \GPIO_FN (BBIF1_SS1 ), \ GPIO_FN(BBIF1_FLOW),
@@ -2803,9 +2795,7 @@ static struct pinmux_func pinmux_func_gpios[] = {GPIO_FN (MFG1_IN2 ), \GPIO_FN (VIO2_VD2 ), \GPIO_FN (MSIOF1_MCK0 ), \ -GPIO_FN (PORT236_I2C_SDA2 ),GPIO_FN (MSIOF1_MCK1 ), \ -GPIO_FN (PORT237_I2C_SCL2 ),GPIO_FN (MSIOF1_SS1 ), \GPIO_FN (VIO2_FIELD2 ), \ GPIO_FN(MSIOF1_SS2), \
@@ -2828,11 +2818,9 @@ static struct pinmux_func pinmux_func_gpios[] = {GPIO_FN (TPU3TO1 ),GPIO_FN (MFG2_OUT1 ), \GPIO_FN (TPU2TO0 ), \ -GPIO_FN (PORT248_I2C_SCL3 ), \GPIO_FN (MSIOF2R_TSCK ),GPIO_FN (PORT249_IROUT ), \GPIO_FN (MFG4_IN1 ), \ -GPIO_FN (PORT249_I2C_SDA3 ), \GPIO_FN (MSIOF2R_TSYNC ),GPIO_FN (SDHICLK0 ), GPIO_FN(SDHICD0),
Signature · 1 line
1.7.10.4
PATCH 12/21 sh-pfc: sh73a0: Remove FSI function GPIOS
In reply to Simon HormanFrom: Laurent Pinchart <[email protected]>
All sh73a0 platforms now use the pinctrl API to control the FSI pins, the corresponding function GPIOS are unused. Remove them.
--- drivers/pinctrl/sh-pfc/pfc-sh73a0.c | 36 ----------------------------------- 1 file changed, 36 deletions(-)
drivers/pinctrl/sh-pfc/pfc-sh73a0.c +0 -36
@@ -2473,7 +2473,6 @@ static struct pinmux_func pinmux_func_gpios[] = {GPIO_FN (GPO6 ), \GPIO_FN (MFG1_OUT2 ),GPIO_FN (GPO5 ), \ -GPIO_FN (FSICOSLDT3 ), \GPIO_FN (PORT16_VIO_CKOR ),GPIO_FN (PORT19_VIO_CKO2 ), GPIO_FN(GPO0),
@@ -2498,55 +2497,20 @@ static struct pinmux_func pinmux_func_gpios[] = {GPIO_FN (SIM_D ), \GPIO_FN (PORT31_IROUT ),GPIO_FN (XWUP ), -GPIO_FN (FSIBOBT ), \ -GPIO_FN (FSIBIBT ), -GPIO_FN (FSIBOLR ), \ -GPIO_FN (FSIBILR ), -GPIO_FN (FSIBOSLD ), -GPIO_FN (FSIBISLD ),GPIO_FN (VACK ),GPIO_FN (XTAL1L ), -GPIO_FN (FSICOSLDT2 ), -GPIO_FN (FSICOSLDT1 ), -GPIO_FN (FSICOBT ), \ -GPIO_FN (FSICIBT ), \ -GPIO_FN (FSIDOBT ), \ -GPIO_FN (FSIDIBT ), -GPIO_FN (FSICOLR ), \ -GPIO_FN (FSICILR ), \ -GPIO_FN (FSIDOLR ), \ -GPIO_FN (FSIDILR ), -GPIO_FN (FSICOSLD ), \ -GPIO_FN (PORT47_FSICSPDIF ), -GPIO_FN (FSICISLD ), \ -GPIO_FN (FSIDISLD ), -GPIO_FN (FSIACK ), \GPIO_FN (PORT49_IRDA_OUT ), \GPIO_FN (PORT49_IROUT ), \ -GPIO_FN (FSIAOMC ), -GPIO_FN (FSIAOLR ), \GPIO_FN (BBIF2_TSYNC2 ), \GPIO_FN (TPU2TO2 ), \ -GPIO_FN (FSIAILR ), -GPIO_FN (FSIAOBT ), \GPIO_FN (BBIF2_TSCK2 ), \GPIO_FN (TPU2TO3 ), \ -GPIO_FN (FSIAIBT ), -GPIO_FN (FSIAOSLD ), \GPIO_FN (BBIF2_TXD2 ), -GPIO_FN (FSIASPDIF ), \GPIO_FN (PORT53_IRDA_IN ), \GPIO_FN (TPU3TO3 ), \ -GPIO_FN (FSIBSPDIF ), \ -GPIO_FN (PORT53_FSICSPDIF ), -GPIO_FN (FSIBCK ), \GPIO_FN (PORT54_IRDA_FIRSEL ), \GPIO_FN (TPU3TO2 ), \ -GPIO_FN (FSIBOMC ), \ -GPIO_FN (FSICCK ), \ -GPIO_FN (FSICOMC ), -GPIO_FN (FSIAISLD ), \GPIO_FN (TPU0TO0 ),GPIO_FN (A0 ), \ GPIO_FN(BS_),
Signature · 1 line
1.7.10.4
PATCH 13/21 sh-pfc: r8a7740: Remove LCD0 and LCD1 function GPIOS
In reply to Simon HormanFrom: Laurent Pinchart <[email protected]>
All r8a7740 platforms now use the pinctrl API to control the LCD0 and LCD1 pins, the corresponding function GPIOS are unused. Remove them.
--- drivers/pinctrl/sh-pfc/pfc-r8a7740.c | 37 ---------------------------------- 1 file changed, 37 deletions(-)
drivers/pinctrl/sh-pfc/pfc-r8a7740.c +0 -37
@@ -2064,43 +2064,6 @@ static struct pinmux_func pinmux_func_gpios[] = {GPIO_FN (SCIFB_RTS_PORT172 ),GPIO_FN (SCIFB_CTS_PORT173 ), -/* LCD0 */ -GPIO_FN (LCD0_D0 ),GPIO_FN (LCD0_D1 ),GPIO_FN (LCD0_D2 ), -GPIO_FN (LCD0_D3 ),GPIO_FN (LCD0_D4 ),GPIO_FN (LCD0_D5 ), -GPIO_FN (LCD0_D6 ),GPIO_FN (LCD0_D7 ),GPIO_FN (LCD0_D8 ), -GPIO_FN (LCD0_D9 ),GPIO_FN (LCD0_D10 ),GPIO_FN (LCD0_D11 ), -GPIO_FN (LCD0_D12 ),GPIO_FN (LCD0_D13 ),GPIO_FN (LCD0_D14 ), -GPIO_FN (LCD0_D15 ),GPIO_FN (LCD0_D16 ),GPIO_FN (LCD0_D17 ), -GPIO_FN (LCD0_DON ),GPIO_FN (LCD0_VCPWC ),GPIO_FN (LCD0_VEPWC ), -GPIO_FN (LCD0_DCK ),GPIO_FN (LCD0_VSYN ), -GPIO_FN (LCD0_HSYN ),GPIO_FN (LCD0_DISP ), -GPIO_FN (LCD0_WR ),GPIO_FN (LCD0_RD ), -GPIO_FN (LCD0_CS ),GPIO_FN (LCD0_RS ), - -GPIO_FN (LCD0_D18_PORT163 ),GPIO_FN (LCD0_D19_PORT162 ), -GPIO_FN (LCD0_D20_PORT161 ),GPIO_FN (LCD0_D21_PORT158 ), -GPIO_FN (LCD0_D22_PORT160 ),GPIO_FN (LCD0_D23_PORT159 ), -GPIO_FN (LCD0_LCLK_PORT165 ),/* MSEL5CR_6_1 */ - -GPIO_FN (LCD0_D18_PORT40 ),GPIO_FN (LCD0_D19_PORT4 ), -GPIO_FN (LCD0_D20_PORT3 ),GPIO_FN (LCD0_D21_PORT2 ), -GPIO_FN (LCD0_D22_PORT0 ),GPIO_FN (LCD0_D23_PORT1 ), -GPIO_FN (LCD0_LCLK_PORT102 ),/* MSEL5CR_6_0 */ - -/* LCD1 */ -GPIO_FN (LCD1_D0 ),GPIO_FN (LCD1_D1 ),GPIO_FN (LCD1_D2 ), -GPIO_FN (LCD1_D3 ),GPIO_FN (LCD1_D4 ),GPIO_FN (LCD1_D5 ), -GPIO_FN (LCD1_D6 ),GPIO_FN (LCD1_D7 ),GPIO_FN (LCD1_D8 ), -GPIO_FN (LCD1_D9 ),GPIO_FN (LCD1_D10 ),GPIO_FN (LCD1_D11 ), -GPIO_FN (LCD1_D12 ),GPIO_FN (LCD1_D13 ),GPIO_FN (LCD1_D14 ), -GPIO_FN (LCD1_D15 ),GPIO_FN (LCD1_D16 ),GPIO_FN (LCD1_D17 ), -GPIO_FN (LCD1_D18 ),GPIO_FN (LCD1_D19 ),GPIO_FN (LCD1_D20 ), -GPIO_FN (LCD1_D21 ),GPIO_FN (LCD1_D22 ),GPIO_FN (LCD1_D23 ), -GPIO_FN (LCD1_RS ),GPIO_FN (LCD1_RD ),GPIO_FN (LCD1_CS ), -GPIO_FN (LCD1_WR ),GPIO_FN (LCD1_DCK ),GPIO_FN (LCD1_DON ), -GPIO_FN (LCD1_VCPWC ),GPIO_FN (LCD1_LCLK ),GPIO_FN (LCD1_HSYN ), -GPIO_FN (LCD1_VSYN ),GPIO_FN (LCD1_VEPWC ),GPIO_FN (LCD1_DISP ), -/* RSPI */ GPIO_FN (RSPI_SSL0_A ),GPIO_FN (RSPI_SSL1_A ),GPIO_FN (RSPI_SSL2_A ), GPIO_FN(RSPI_SSL3_A), GPIO_FN(RSPI_CK_A), GPIO_FN(RSPI_MOSI_A),
Signature · 1 line
1.7.10.4
PATCH 14/21 sh-pfc: r8a7779: Remove DU1_DOTCLKOUT1 GPIO
In reply to Simon HormanFrom: Laurent Pinchart <[email protected]>
The function is not documented in the r8a7779 datasheet. Remove it.
--- drivers/pinctrl/sh-pfc/pfc-r8a7779.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-)
drivers/pinctrl/sh-pfc/pfc-r8a7779.c +4 -5
@@ -371,7 +371,7 @@ enum {FN_VI1_DATA6_VI1_B6 ,FN_SD2_CD ,FN_MT0_VCXO ,FN_SPA_TMS ,FN_HSPI_TX1_D ,FN_VI1_DATA7_VI1_B7 ,FN_SD2_WP ,FN_MT0_PWM ,FN_SPA_TDI ,FN_HSPI_RX1_D ,FN_VI1_G0 ,FN_VI3_DATA0 , -FN_DU1_DOTCLKOUT1 ,FN_TS_SCK1 ,FN_DREQ2_B ,FN_TX2 , +FN_TS_SCK1 ,FN_DREQ2_B ,FN_TX2 ,FN_SPA_TDO ,FN_HCTS0_B ,FN_VI1_G1 ,FN_VI3_DATA1 , FN_SSI_SCK1, FN_TS_SDEN1, FN_DACK2_B, FN_RX2, FN_HRTS0_B,
@@ -632,7 +632,7 @@ enum {HSPI_CS1_D_MARK ,ADICHS2_B_MARK ,VI1_DATA6_VI1_B6_MARK ,SD2_CD_MARK ,MT0_VCXO_MARK ,SPA_TMS_MARK ,HSPI_TX1_D_MARK ,VI1_DATA7_VI1_B7_MARK ,SD2_WP_MARK ,MT0_PWM_MARK ,SPA_TDI_MARK ,HSPI_RX1_D_MARK , -VI1_G0_MARK ,VI3_DATA0_MARK ,DU1_DOTCLKOUT1_MARK ,TS_SCK1_MARK , +VI1_G0_MARK ,VI3_DATA0_MARK ,TS_SCK1_MARK ,DREQ2_B_MARK ,TX2_MARK ,SPA_TDO_MARK ,HCTS0_B_MARK ,VI1_G1_MARK ,VI3_DATA1_MARK ,SSI_SCK1_MARK ,TS_SDEN1_MARK , DACK2_B_MARK, RX2_MARK, HRTS0_B_MARK,
@@ -1399,7 +1399,6 @@ static pinmux_enum_t pinmux_data[] = {PINMUX_IPSR_MODSEL_DATA (IP11_23_21 ,HSPI_RX1_D ,SEL_HSPI1_3 ),PINMUX_IPSR_DATA (IP11_26_24 ,VI1_G0 ),PINMUX_IPSR_DATA (IP11_26_24 ,VI3_DATA0 ), -PINMUX_IPSR_DATA (IP11_26_24 ,DU1_DOTCLKOUT1 ),PINMUX_IPSR_DATA (IP11_26_24 ,TS_SCK1 ),PINMUX_IPSR_MODSEL_DATA (IP11_26_24 ,DREQ2_B ,SEL_EXBUS2_1 ), PINMUX_IPSR_DATA(IP11_26_24, TX2),
@@ -1892,7 +1891,7 @@ static struct pinmux_func pinmux_func_gpios[] = {GPIO_FN (SD2_CD ),GPIO_FN (MT0_VCXO ),GPIO_FN (SPA_TMS ),GPIO_FN (HSPI_TX1_D ),GPIO_FN (VI1_DATA7_VI1_B7 ),GPIO_FN (SD2_WP ),GPIO_FN (MT0_PWM ),GPIO_FN (SPA_TDI ),GPIO_FN (HSPI_RX1_D ), -GPIO_FN (VI1_G0 ),GPIO_FN (VI3_DATA0 ),GPIO_FN (DU1_DOTCLKOUT1 ), +GPIO_FN (VI1_G0 ),GPIO_FN (VI3_DATA0 ),GPIO_FN (TS_SCK1 ),GPIO_FN (DREQ2_B ),GPIO_FN (TX2 ),GPIO_FN (SPA_TDO ),GPIO_FN (HCTS0_B ),GPIO_FN (VI1_G1 ),GPIO_FN (VI3_DATA1 ), GPIO_FN(SSI_SCK1), GPIO_FN(TS_SDEN1), GPIO_FN(DACK2_B), GPIO_FN(RX2),
@@ -2600,7 +2599,7 @@ static struct pinmux_cfg_reg pinmux_config_regs[] = {FN_VI1_G1 ,FN_VI3_DATA1 ,FN_SSI_SCK1 ,FN_TS_SDEN1 ,FN_DACK2_B ,FN_RX2 ,FN_HRTS0_B ,0 ,/* IP11_26_24 [3] */ -FN_VI1_G0 ,FN_VI3_DATA0 ,FN_DU1_DOTCLKOUT1 ,FN_TS_SCK1 , +FN_VI1_G0 ,FN_VI3_DATA0 ,0 ,FN_TS_SCK1 ,FN_DREQ2_B ,FN_TX2 ,FN_SPA_TDO ,FN_HCTS0_B ,/* IP11_23_21 [3] */ FN_VI1_DATA7_VI1_B7, FN_SD2_WP, FN_MT0_PWM, FN_SPA_TDI,
Signature · 1 line
1.7.10.4
PATCH 15/21 ARM: shmobile: sh73a0: Remove LCDC and LCDC2 function GPIOs
In reply to Simon HormanFrom: Laurent Pinchart <[email protected]>
Those GPIOs have been deprecated by the pinctrl API. They are unused and unneeded, remove them.
--- arch/arm/mach-shmobile/include/mach/sh73a0.h | 112 +++++++++++--------------- 1 file changed, 49 insertions(+), 63 deletions(-)
arch/arm/mach-shmobile/include/mach/sh73a0.h +49 -63
@@ -218,38 +218,33 @@ enum {GPIO_FN_PORT116_I2C_SDA3 ,GPIO_FN_HSI_RX_FLAG ,GPIO_FN_BBIF1_SS1 ,GPIO_FN_BBIF1_FLOW ,GPIO_FN_HSI_TX_FLAG , -GPIO_FN_VIO_VD ,GPIO_FN_PORT128_LCD2VSYN ,GPIO_FN_VIO2_VD , \ -GPIO_FN_LCD2D0 , +GPIO_FN_VIO_VD ,GPIO_FN_VIO2_VD , -GPIO_FN_VIO_HD ,GPIO_FN_PORT129_LCD2HSYN ,GPIO_FN_PORT129_LCD2CS_ , \ -GPIO_FN_VIO2_HD ,GPIO_FN_LCD2D1 , -GPIO_FN_VIO_D0 ,GPIO_FN_PORT130_MSIOF2_RXD ,GPIO_FN_LCD2D10 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CLK2 , \ -GPIO_FN_LCD2D20 ,GPIO_FN_MSIOF1_RSYNC ,GPIO_FN_MFG1_IN2 ,GPIO_FN_VIO2_VD2 , \ -GPIO_FN_LCD2D21 ,GPIO_FN_MSIOF1_MCK0 ,GPIO_FN_PORT236_I2C_SDA2 ,GPIO_FN_MSIOF1_MCK1 ,GPIO_FN_PORT237_I2C_SCL2 , -GPIO_FN_MSIOF1_SS1 ,GPIO_FN_VIO2_FIELD2 ,GPIO_FN_LCD2D22 , -GPIO_FN_MSIOF1_SS2 ,GPIO_FN_VIO2_HD2 ,GPIO_FN_LCD2D23 , +GPIO_FN_MSIOF1_SS1 ,GPIO_FN_VIO2_FIELD2 , +GPIO_FN_MSIOF1_SS2 ,GPIO_FN_VIO2_HD2 ,GPIO_FN_SCIFA6_TXD ,GPIO_FN_PORT241_IRDA_OUT ,GPIO_FN_PORT241_IROUT ,GPIO_FN_MFG4_OUT1 , \ GPIO_FN_TPU4TO0,
Signature · 1 line
1.7.10.4
PATCH 16/21 ARM: shmobile: sh73a0: Remove SCIFA and SCIFB function GPIOs
In reply to Simon HormanFrom: Laurent Pinchart <[email protected]>
Those GPIOs have been deprecated by the pinctrl API. They are unused and unneeded, remove them.
--- arch/arm/mach-shmobile/include/mach/sh73a0.h | 90 +++++++++++--------------- 1 file changed, 37 insertions(+), 53 deletions(-)
arch/arm/mach-shmobile/include/mach/sh73a0.h +37 -53
@@ -103,15 +103,11 @@ enum {GPIO_FN_GPI5 ,GPIO_FN_GPI6 ,GPIO_FN_GPI7 , -GPIO_FN_SCIFA7_RXD , -GPIO_FN_SCIFA7_CTS_ ,GPIO_FN_GPO7 ,GPIO_FN_MFG0_OUT2 ,GPIO_FN_GPO6 ,GPIO_FN_MFG1_OUT2 , -GPIO_FN_GPO5 ,GPIO_FN_SCIFA0_SCK ,GPIO_FN_FSICOSLDT3 , \ +GPIO_FN_GPO5 ,GPIO_FN_FSICOSLDT3 ,GPIO_FN_PORT16_VIO_CKOR , -GPIO_FN_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GPIO_FN_MFG2_IN1 , +GPIO_FN_MSIOF2R_RXD , +GPIO_FN_MFG2_IN2 , +GPIO_FN_MSIOF2R_TXD , +GPIO_FN_MFG1_OUT1 , +GPIO_FN_TPU1TO0 , +GPIO_FN_MFG3_OUT2 , +GPIO_FN_TPU3TO1 , +GPIO_FN_MFG2_OUT1 , +GPIO_FN_TPU2TO0 ,GPIO_FN_PORT248_I2C_SCL3 ,GPIO_FN_MSIOF2R_TSCK ,GPIO_FN_PORT249_IROUT ,GPIO_FN_MFG4_IN1 , \ GPIO_FN_PORT249_I2C_SDA3, GPIO_FN_MSIOF2R_TSYNC,
Signature · 1 line
1.7.10.4
PATCH 17/21 ARM: shmobile: sh73a0: Remove I2C function GPIOs
In reply to Simon HormanFrom: Laurent Pinchart <[email protected]>
Those GPIOs have been deprecated by the pinctrl API. They are unused and unneeded, remove them.
--- arch/arm/mach-shmobile/include/mach/sh73a0.h | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-)
arch/arm/mach-shmobile/include/mach/sh73a0.h +8 -10
@@ -115,9 +115,9 @@ enum {GPIO_FN_GPO4 ,GPIO_FN_STATUS2 ,GPIO_FN_VINT ,GPIO_FN_TCKON , -GPIO_FN_XDVFS1 ,GPIO_FN_PORT27_I2C_SCL2 ,GPIO_FN_PORT27_I2C_SCL3 , \ +GPIO_FN_XDVFS1 ,GPIO_FN_MFG0_OUT1 ,GPIO_FN_PORT27_IROUT , -GPIO_FN_XDVFS2 ,GPIO_FN_PORT28_I2C_SDA2 ,GPIO_FN_PORT28_I2C_SDA3 , \ +GPIO_FN_XDVFS2 ,GPIO_FN_PORT28_TPU1TO1 ,GPIO_FN_SIM_RST ,GPIO_FN_PORT29_TPU1TO1 , GPIO_FN_SIM_CLK, GPIO_FN_PORT30_VIO_CKOR,
@@ -203,10 +203,8 @@ enum {GPIO_FN_HSI_TX_WAKE ,GPIO_FN_BBIF1_TSCK ,GPIO_FN_HSI_TX_DATA ,GPIO_FN_BBIF1_TS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_FN_PORT249_I2C_SDA3 ,GPIO_FN_MSIOF2R_TSYNC , +GPIO_FN_MSIOF2R_TSYNC ,GPIO_FN_SDHICLK0 ,GPIO_FN_SDHICD0 , GPIO_FN_SDHID0_0,
Signature · 1 line
1.7.10.4
PATCH 18/21 ARM: shmobile: sh73a0: Remove FSI function GPIOs
In reply to Simon HormanFrom: Laurent Pinchart <[email protected]>
Those GPIOs have been deprecated by the pinctrl API. They are unused and unneeded, remove them.
--- arch/arm/mach-shmobile/include/mach/sh73a0.h | 31 ++++++++------------------ 1 file changed, 9 insertions(+), 22 deletions(-)
arch/arm/mach-shmobile/include/mach/sh73a0.h +9 -22
@@ -105,7 +105,7 @@ enum {GPIO_FN_GPI7 ,GPIO_FN_GPO7 ,GPIO_FN_MFG0_OUT2 ,GPIO_FN_GPO6 ,GPIO_FN_MFG1_OUT2 , -GPIO_FN_GPO5 ,GPIO_FN_FSICOSLDT3 , +GPIO_FN_GPO5 ,GPIO_FN_PORT16_VIO_CKOR ,GPIO_FN_PORT19_VIO_CKO2 , GPIO_FN_GPO0,
@@ -123,29 +123,16 @@ enum {GPIO_FN_SIM_CLK ,GPIO_FN_PORT30_VIO_CKOR ,GPIO_FN_SIM_D ,GPIO_FN_PORT31_IROUT ,GPIO_FN_XWUP , -GPIO_FN_FSIBOBT ,GPIO_FN_FSIBIBT , -GPIO_FN_FSIBOLR ,GPIO_FN_FSIBILR , -GPIO_FN_FSIBOSLD , -GPIO_FN_FSIBISLD ,GPIO_FN_VACK ,GPIO_FN_XTAL1L , -GPIO_FN_FSICOSLDT2 , -GPIO_FN_FSICOSLDT1 , -GPIO_FN_FSICOBT ,GPIO_FN_FSICIBT ,GPIO_FN_FSIDOBT ,GPIO_FN_FSIDIBT , -GPIO_FN_FSICOLR ,GPIO_FN_FSICILR ,GPIO_FN_FSIDOLR ,GPIO_FN_FSIDILR , -GPIO_FN_FSICOSLD ,GPIO_FN_PORT47_FSICSPDIF , -GPIO_FN_FSICISLD ,GPIO_FN_FSIDISLD , -GPIO_FN_FSIACK ,GPIO_FN_PORT49_IRDA_OUT ,GPIO_FN_PORT49_IROUT , \ -GPIO_FN_FSIAOMC , -GPIO_FN_FSIAOLR ,GPIO_FN_BBIF2_TSYNC2 ,GPIO_FN_TPU2TO2 ,GPIO_FN_FSIAILR , - -GPIO_FN_FSIAOBT ,GPIO_FN_BBIF2_TSCK2 ,GPIO_FN_TPU2TO3 ,GPIO_FN_FSIAIBT , -GPIO_FN_FSIAOSLD ,GPIO_FN_BBIF2_TXD2 , -GPIO_FN_FSIASPDIF ,GPIO_FN_PORT53_IRDA_IN ,GPIO_FN_TPU3TO3 , \ -GPIO_FN_FSIBSPDIF ,GPIO_FN_PORT53_FSICSPDIF , -GPIO_FN_FSIBCK ,GPIO_FN_PORT54_IRDA_FIRSEL ,GPIO_FN_TPU3TO2 , \ -GPIO_FN_FSIBOMC ,GPIO_FN_FSICCK ,GPIO_FN_FSICOMC , -GPIO_FN_FSIAISLD ,GPIO_FN_TPU0TO0 , +GPIO_FN_PORT49_IRDA_OUT ,GPIO_FN_PORT49_IROUT , +GPIO_FN_BBIF2_TSYNC2 ,GPIO_FN_TPU2TO2 , + +GPIO_FN_BBIF2_TSCK2 ,GPIO_FN_TPU2TO3 , +GPIO_FN_BBIF2_TXD2 , +GPIO_FN_PORT53_IRDA_IN ,GPIO_FN_TPU3TO3 , +GPIO_FN_PORT54_IRDA_FIRSEL ,GPIO_FN_TPU3TO2 , +GPIO_FN_TPU0TO0 ,GPIO_FN_A0 ,GPIO_FN_BS_ ,GPIO_FN_A12 ,GPIO_FN_PORT58_KEYOUT7 ,GPIO_FN_TPU4TO2 , GPIO_FN_A13, GPIO_FN_PORT59_KEYOUT6, GPIO_FN_TPU0TO1,
Signature · 1 line
1.7.10.4
PATCH 19/21 ARM: shmobile: r8a7740: Remove LCD0 and LCD1 function GPIOs
In reply to Simon HormanFrom: Laurent Pinchart <[email protected]>
Those GPIOs have been deprecated by the pinctrl API. They are unused and unneeded, remove them.
--- arch/arm/mach-shmobile/include/mach/r8a7740.h | 39 ------------------------- 1 file changed, 39 deletions(-)
arch/arm/mach-shmobile/include/mach/r8a7740.h +0 -39
@@ -241,48 +241,9 @@ enum {/* LCD0 */ GPIO_FN_LCDC0_SELECT , -GPIO_FN_LCD0_D0 ,GPIO_FN_LCD0_D1 ,GPIO_FN_LCD0_D2 , -GPIO_FN_LCD0_D3 ,GPIO_FN_LCD0_D4 ,GPIO_FN_LCD0_D5 , -GPIO_FN_LCD0_D6 ,GPIO_FN_LCD0_D7 ,GPIO_FN_LCD0_D8 , -GPIO_FN_LCD0_D9 ,GPIO_FN_LCD0_D10 ,GPIO_FN_LCD0_D11 , -GPIO_FN_LCD0_D12 ,GPIO_FN_LCD0_D13 ,GPIO_FN_LCD0_D14 , -GPIO_FN_LCD0_D15 ,GPIO_FN_LCD0_D16 ,GPIO_FN_LCD0_D17 , -GPIO_FN_LCD0_DON ,GPIO_FN_LCD0_VCPWC ,GPIO_FN_LCD0_VEPWC , - -GPIO_FN_LCD0_DCK ,GPIO_FN_LCD0_VSYN ,/* for RGB */ -GPIO_FN_LCD0_HSYN ,GPIO_FN_LCD0_DISP ,/* for RGB */ - -GPIO_FN_LCD0_WR ,GPIO_FN_LCD0_RD ,/* for SYS */ -GPIO_FN_LCD0_CS ,GPIO_FN_LCD0_RS ,/* for SYS */ - -GPIO_FN_LCD0_D18_PORT163 ,GPIO_FN_LCD0_D19_PORT162 , -GPIO_FN_LCD0_D20_PORT161 ,GPIO_FN_LCD0_D21_PORT158 , -GPIO_FN_LCD0_D22_PORT160 ,GPIO_FN_LCD0_D23_PORT159 , -GPIO_FN_LCD0_LCLK_PORT165 ,/* MSEL5CR_6_1 */ - -GPIO_FN_LCD0_D18_PORT40 ,GPIO_FN_LCD0_D19_PORT4 , -GPIO_FN_LCD0_D20_PORT3 ,GPIO_FN_LCD0_D21_PORT2 , -GPIO_FN_LCD0_D22_PORT0 ,GPIO_FN_LCD0_D23_PORT1 , -GPIO_FN_LCD0_LCLK_PORT102 ,/* MSEL5CR_6_0 */ /* LCD1 */ GPIO_FN_LCDC1_SELECT , -GPIO_FN_LCD1_D0 ,GPIO_FN_LCD1_D1 ,GPIO_FN_LCD1_D2 , -GPIO_FN_LCD1_D3 ,GPIO_FN_LCD1_D4 ,GPIO_FN_LCD1_D5 , -GPIO_FN_LCD1_D6 ,GPIO_FN_LCD1_D7 ,GPIO_FN_LCD1_D8 , -GPIO_FN_LCD1_D9 ,GPIO_FN_LCD1_D10 ,GPIO_FN_LCD1_D11 , -GPIO_FN_LCD1_D12 ,GPIO_FN_LCD1_D13 ,GPIO_FN_LCD1_D14 , -GPIO_FN_LCD1_D15 ,GPIO_FN_LCD1_D16 ,GPIO_FN_LCD1_D17 , -GPIO_FN_LCD1_D18 ,GPIO_FN_LCD1_D19 ,GPIO_FN_LCD1_D20 , -GPIO_FN_LCD1_D21 ,GPIO_FN_LCD1_D22 ,GPIO_FN_LCD1_D23 , -GPIO_FN_LCD1_DON ,GPIO_FN_LCD1_VCPWC , -GPIO_FN_LCD1_LCLK ,GPIO_FN_LCD1_VEPWC , - -GPIO_FN_LCD1_DCK ,GPIO_FN_LCD1_VSYN ,/* for RGB */ -GPIO_FN_LCD1_HSYN ,GPIO_FN_LCD1_DISP ,/* for RGB */ - -GPIO_FN_LCD1_WR ,GPIO_FN_LCD1_RD ,/* for SYS */ -GPIO_FN_LCD1_CS ,GPIO_FN_LCD1_RS ,/* for SYS */ /* RSPI */ GPIO_FN_RSPI_SSL0_A, GPIO_FN_RSPI_SSL1_A,
Signature · 1 line
1.7.10.4
PATCH 20/21 ARM: shmobile: r8a7779: Remove DU1_DOTCLKOUT1 GPIO
In reply to Simon HormanFrom: Laurent Pinchart <[email protected]>
The function is not documented in the r8a7779 datasheet. Remove it.
--- arch/arm/mach-shmobile/include/mach/r8a7779.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-shmobile/include/mach/r8a7779.h +1 -1
@@ -308,7 +308,7 @@ enum {GPIO_FN_SD2_CD ,GPIO_FN_MT0_VCXO ,GPIO_FN_SPA_TMS ,GPIO_FN_HSPI_TX1_D ,GPIO_FN_VI1_DATA7_VI1_B7 ,GPIO_FN_SD2_WP ,GPIO_FN_MT0_PWM ,GPIO_FN_SPA_TDI ,GPIO_FN_HSPI_RX1_D ,GPIO_FN_VI1_G0 ,GPIO_FN_VI3_DATA0 , -GPIO_FN_DU1_DOTCLKOUT1 ,GPIO_FN_TS_SCK1 ,GPIO_FN_DREQ2_B ,GPIO_FN_TX2 , +GPIO_FN_TS_SCK1 ,GPIO_FN_DREQ2_B ,GPIO_FN_TX2 ,GPIO_FN_SPA_TDO ,GPIO_FN_HCTS0_B ,GPIO_FN_VI1_G1 ,GPIO_FN_VI3_DATA1 ,GPIO_FN_SSI_SCK1 ,GPIO_FN_TS_SDEN1 ,GPIO_FN_DACK2_B ,GPIO_FN_RX2 , GPIO_FN_HRTS0_B,
Signature · 1 line
1.7.10.4
PATCH 21/21 ARM: shmobile: r8a7779: Remove DU function GPIOs
In reply to Simon HormanFrom: Laurent Pinchart <[email protected]>
Those GPIOs have been deprecated by the pinctrl API. They are unused and unneeded, remove them.
--- arch/arm/mach-shmobile/include/mach/r8a7779.h | 88 ++++++++++++------------- 1 file changed, 44 insertions(+), 44 deletions(-)
arch/arm/mach-shmobile/include/mach/r8a7779.h +44 -44
@@ -119,76 +119,76 @@ enum {GPIO_FN_SUB_TRST ,GPIO_FN_TCLK1_B ,GPIO_FN_CC5_OSCOUT ,GPIO_FN_HRTS0 ,GPIO_FN_RTS1_TANS ,GPIO_FN_MDATA ,GPIO_FN_TX0_C ,GPIO_FN_SUB_TMS ,GPIO_FN_CC5_STATE1 ,GPIO_FN_CC5_STATE9 ,GPIO_FN_CC5_STATE17 , -GPIO_FN_CC5_STATE25 ,GPIO_FN_CC5_STATE33 ,GPIO_FN_DU0_DR0 , +GPIO_FN_CC5_STATE25 ,GPIO_FN_CC5_STATE33 ,GPIO_FN_LCDO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N_TX3_B_IRDA_TX_B ,GPIO_FN_SD3_CD ,GPIO_FN_HSPI_TX1 ,GPIO_FN_VI1_CLKENB ,GPIO_FN_VI3_CLKENB ,GPIO_FN_AUDIO_CLKC ,GPIO_FN_TX2_D ,GPIO_FN_SPEEDIN , -GPIO_FN_GPS_SIGN_D ,GPIO_FN_DU1_DISP ,GPIO_FN_VI2_DATA6_VI2_B6 , +GPIO_FN_GPS_SIGN_D ,GPIO_FN_VI2_DATA6_VI2_B6 ,GPIO_FN_TCLK0 ,GPIO_FN_QSTVA_B_QVS_B ,GPIO_FN_HSPI_CLK1 ,GPIO_FN_SCK2_D ,GPIO_FN_AUDIO_CLKOUT_B ,GPIO_FN_GPS_MAG_D , -GPIO_FN_DU1_CDE ,GPIO_FN_VI2_DATA7_VI2_B7 ,GPIO_FN_RX3_B_IRDA_RX_B , +GPIO_FN_VI2_DATA7_VI2_B7 ,GPIO_FN_RX3_B_IRDA_RX_B ,GPIO_FN_SD3_WP ,GPIO_FN_HSPI_RX1 ,GPIO_FN_VI1_FIELD ,GPIO_FN_VI3_FIELD ,GPIO_FN_AUDIO_CLKOUT ,GPIO_FN_RX2_D ,GPIO_FN_GPS_CLK_C , GPIO_FN_GPS_CLK_D, GPIO_FN_AUDIO_CLKA, GPIO_FN_CAN_TXCLK,
Signature · 1 line
1.7.10.4
cover SCIF, I2C and FSI pinctrl functions for sh73a0
In reply to Simon HormanQuoted 44 lines · Simon Horman
Hi,
this series is a follow-up to "[PATCH 00/16] SCIF, I2C and FSI pinctrl functions for sh73a0" by Laurent Pinchart. I am primarily posting it for his review.
This series differs from the v1.1 series posted by me earlier today in that it depends on the following update to the kzm9g reference code.
* ARM: shmobile: parse DT and configure pinmux early on kzm9g-reference
This series differs from the (v1) series posted by Laurent in the following ways:
* Due to some slightly over-zelous git use on my part the series is actually based on a checkout of
git://linuxtv.org/pinchartl/fbdev.gitpinmux-pfc-funcsAs such it includes several patches not included in the series posted in via eimal as the series "[PATCH 00/16] SCIF, I2C and FSI pinctrl functions for sh73a0". In particular it includes r8a7740 and r8a7779 patches.
* I have added the following two patches to update the KZM9G rerence code.
ARM: shmobile: kzm9g: reference: Register pinctrl mappings for I2C
ARM: shmobile: kzm9g: reference: Register pinctrl mappings for SCIFThis series is based on :
git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.gittopic/pinmux-pinctrlWhich is in turn based on the following branch which includes the kzm9g reference code.
git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.gittopic/pinmux-baseLaurent, if you want to change this series in any way just let me know. I can drop patches individually or drop the entire series and add a fresh one from you to the topic branch.
Git and diffstat information is provided below to aid review.
Quoted 8 lines
----------------------------------------------------------------
The following changes since commit30a6b5dc7a4c701d46cbe5c8be4ef39cf4c2d42d:ARM: shmobile: armadillo800eva: Register pinctrl mappings for LCDC0 (2013-02-13 12:08:12 +0900)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git
git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git topic/pinmux-pfc-funcs
Quoted 47 lines
for you to fetch changes up to
e92460f4d0ce471110d44a3dc053f0a4508f24dc:ARM: shmobile: r8a7779: Remove DU function GPIOs (2013-02-13 12:16:13 +0900)
----------------------------------------------------------------
Laurent Pinchart (19):
ARM: shmobile: bonito: Register pinctrl mappings for LCDC0
ARM: shmobile: kota2: Register pinctrl mappings for SCIF
ARM: shmobile: kzm9g: Register pinctrl mappings for LCD
ARM: shmobile: kzm9g: Register pinctrl mappings for SCIF
ARM: shmobile: kzm9g: Register pinctrl mappings for I2C
ARM: shmobile: kzm9g: Register pinctrl mappings for FSI
sh-pfc: sh73a0: Remove LCD and LCD2 function GPIOS
sh-pfc: sh73a0: Remove SCIFA and SCIFB function GPIOS
sh-pfc: sh73a0: Remove I2C function GPIOS
sh-pfc: sh73a0: Remove FSI function GPIOS
sh-pfc: r8a7740: Remove LCD0 and LCD1 function GPIOS
sh-pfc: r8a7779: RemoveDU1_DOTCLKOUT1GPIO
ARM: shmobile: sh73a0: Remove LCDC and LCDC2 function GPIOs
ARM: shmobile: sh73a0: Remove SCIFA and SCIFB function GPIOs
ARM: shmobile: sh73a0: Remove I2C function GPIOs
ARM: shmobile: sh73a0: Remove FSI function GPIOs
ARM: shmobile: r8a7740: Remove LCD0 and LCD1 function GPIOs
ARM: shmobile: r8a7779: RemoveDU1_DOTCLKOUT1GPIO
ARM: shmobile: r8a7779: Remove DU function GPIOsSimon Horman (2):
ARM: shmobile: kzm9g: reference: Register pinctrl mappings for I2C
ARM: shmobile: kzm9g: reference: Register pinctrl mappings for SCIFarch/arm/mach-shmobile/board-bonito.c | 43 ++--- arch/arm/mach-shmobile/board-kota2.c | 42 +++-- arch/arm/mach-shmobile/board-kzm9g-reference.c | 21 ++- arch/arm/mach-shmobile/board-kzm9g.c | 68 +++---- arch/arm/mach-shmobile/include/mach/r8a7740.h | 39 ---- arch/arm/mach-shmobile/include/mach/r8a7779.h | 90 ++++----- arch/arm/mach-shmobile/include/mach/sh73a0.h | 237 ++++++++++-------------- drivers/pinctrl/sh-pfc/pfc-r8a7740.c | 37 ---- drivers/pinctrl/sh-pfc/pfc-r8a7779.c | 9 +- drivers/pinctrl/sh-pfc/pfc-sh73a0.c | 182 ------------------ 10 files changed, 216 insertions(+), 552 deletions(-)--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html