ARM: shmobile: lager: map HSCIF0/1 to unused pins
PATCH v3 5/5 ARM: shmobile: lager: map HSCIF0/1 to unused pins
These pins are not actually connected on the board, but at least they don't conflict with anything else.
--- arch/arm/mach-shmobile/board-lager.c | 4 ++++ 1 file changed, 4 insertions(+)
arch/arm/mach-shmobile/board-lager.c +4 -0
@@ -77,6 +77,10 @@ static const struct pinctrl_map lager_pinctrl_map[] = {/* SCIF1 (CN20: DEBUG SERIAL1) */ PIN_MAP_MUX_GROUP_DEFAULT ("sh-sci.7" ,"pfc-r8a7790" ,"scif1_data" ,"scif1" ), +PIN_MAP_MUX_GROUP_DEFAULT ("sh-sci.8" ,"pfc-r8a7790" , +"hscif0_data" ,"hscif0" ), +PIN_MAP_MUX_GROUP_DEFAULT ("sh-sci.9" ,"pfc-r8a7790" , + "hscif1_data_b", "hscif1"), };static void __init lager_add_standard_devices (void )
Signature · 1 line
1.7.10.4
Quoted 2 lines · Ulrich Hecht
These pins are not actually connected on the board, but at least they don't conflict with anything else.
I am holding off on queueing-up this patch pending a review of [PATCH v3 3/5] sh-pfc: r8a7790: add HSCIF pin groups
Quoted 29 lines
Signed-off-by Ulrich Hecht <[email protected]>--- arch/arm/mach-shmobile/board-lager.c | 4 ++++ 1 file changed, 4 insertions(+)arch/arm/mach-shmobile/board-lager.c +4
-0@@ -77,6 +77,10 @@ static const struct pinctrl_map lager_pinctrl_map[] = {/* SCIF1 (CN20: DEBUG SERIAL1) */ PIN_MAP_MUX_GROUP_DEFAULT ("sh-sci.7" ,"pfc-r8a7790" ,"scif1_data" ,"scif1" ), +PIN_MAP_MUX_GROUP_DEFAULT ("sh-sci.8" ,"pfc-r8a7790" , +"hscif0_data" ,"hscif0" ), +PIN_MAP_MUX_GROUP_DEFAULT ("sh-sci.9" ,"pfc-r8a7790" , + "hscif1_data_b", "hscif1"), };static void __init lager_add_standard_devices (void )Signature · 6 lines
1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 4 lines · Ulrich Hecht
These pins are not actually connected on the board, but at least they don't conflict with anything else.
Signed-off-by Ulrich Hecht <[email protected]>
Thanks, I have queued this up in the pinmux branch.
Quoted 27 lines
--- arch/arm/mach-shmobile/board-lager.c | 4 ++++ 1 file changed, 4 insertions(+)arch/arm/mach-shmobile/board-lager.c +4
-0@@ -77,6 +77,10 @@ static const struct pinctrl_map lager_pinctrl_map[] = {/* SCIF1 (CN20: DEBUG SERIAL1) */ PIN_MAP_MUX_GROUP_DEFAULT ("sh-sci.7" ,"pfc-r8a7790" ,"scif1_data" ,"scif1" ), +PIN_MAP_MUX_GROUP_DEFAULT ("sh-sci.8" ,"pfc-r8a7790" , +"hscif0_data" ,"hscif0" ), +PIN_MAP_MUX_GROUP_DEFAULT ("sh-sci.9" ,"pfc-r8a7790" , + "hscif1_data_b", "hscif1"), };static void __init lager_add_standard_devices (void )Signature · 6 lines
1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Hi Ulrich ans Simon,
Quoted 3 lines · On Wednesday 12 June 2013 23:08:47 Simon Horman wrote:
Quoted 2 lines · Ulrich Hecht
These pins are not actually connected on the board, but at least they don't conflict with anything else.
That's actually not true, the hscif0_data pins are used by the DU RGB output.
If the HSCIF0 and HSCIF1 are not wired on the board I don't think they should be added to the pinctrl maps.
Simon, should we revert this patch now or later when I'll submit DU patches for Lager ?
Quoted 28 lines
Quoted 1 line
Signed-off-by Ulrich Hecht <[email protected]>Thanks, I have queued this up in the pinmux branch.
Quoted 24 lines
---
arch/arm/mach-shmobile/board-lager.c | 4 ++++ 1 file changed, 4 insertions(+)(quoted diff) +0
-0
b/arch/arm/mach-shmobile/board-lager.cindex 1e99b17..d8bd237 100644arch/arm/mach-shmobile/board-lager.c +4
-0@@ -77,6 +77,10 @@ static const struct pinctrl_map lager_pinctrl_map[] = {/* SCIF1 (CN20: DEBUG SERIAL1) */ PIN_MAP_MUX_GROUP_DEFAULT ("sh-sci.7" ,"pfc-r8a7790" ,"scif1_data" ,"scif1" ), +PIN_MAP_MUX_GROUP_DEFAULT ("sh-sci.8" ,"pfc-r8a7790" , +"hscif0_data" ,"hscif0" ), +PIN_MAP_MUX_GROUP_DEFAULT ("sh-sci.9" ,"pfc-r8a7790" , + "hscif1_data_b", "hscif1"),};
static void
__initlager_add_standard_devices(void)
Signature · 3 lines
Regards, Laurent Pinchart
Quoted 7 lines · Laurent Pinchart
Hi Ulrich ans Simon,
Quoted 3 lines · On Wednesday 12 June 2013 23:08:47 Simon Horman wrote:
Quoted 2 lines · Ulrich Hecht
These pins are not actually connected on the board, but at least they don't conflict with anything else.
Quoted 7 lines
That's actually not true, the
hscif0_datapins are used by the DU RGB output.If the HSCIF0 and HSCIF1 are not wired on the board I don't think they should be added to the pinctrl maps.
Simon, should we revert this patch now or later when I'll submit DU patches for Lager ?
I will simply drop this patch for now.
I can pick it up again if you and Ulrich decide that is the best course of action.
Quoted 39 lines
Quoted 28 lines
Quoted 1 line
Signed-off-by Ulrich Hecht <[email protected]>Thanks, I have queued this up in the pinmux branch.
Quoted 24 lines
---
arch/arm/mach-shmobile/board-lager.c | 4 ++++ 1 file changed, 4 insertions(+)(quoted diff) +0
-0
b/arch/arm/mach-shmobile/board-lager.cindex 1e99b17..d8bd237 100644arch/arm/mach-shmobile/board-lager.c +4
-0@@ -77,6 +77,10 @@ static const struct pinctrl_map lager_pinctrl_map[] = {/* SCIF1 (CN20: DEBUG SERIAL1) */ PIN_MAP_MUX_GROUP_DEFAULT ("sh-sci.7" ,"pfc-r8a7790" ,"scif1_data" ,"scif1" ), +PIN_MAP_MUX_GROUP_DEFAULT ("sh-sci.8" ,"pfc-r8a7790" , +"hscif0_data" ,"hscif0" ), +PIN_MAP_MUX_GROUP_DEFAULT ("sh-sci.9" ,"pfc-r8a7790" , + "hscif1_data_b", "hscif1"),};
static void
__initlager_add_standard_devices(void)Signature · 8 lines
Regards, Laurent Pinchart -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html