All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 02/03] pinctrl: sh-pfc: r8a7791: SD1_CLK fix
@ 2014-02-12  4:26 Magnus Damm
  2014-02-17 21:45 ` Laurent Pinchart
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Magnus Damm @ 2014-02-12  4:26 UTC (permalink / raw)
  To: linux-sh

From: Magnus Damm <damm@opensource.se>

Fix the SD1_CLK handling for r8a7791. Without this patch
it is impossible to request all pins needed for SDHI1 on
the Koelsch board.

Signed-off-by: Magnus Damm <damm@opensource.se>
---

 drivers/pinctrl/sh-pfc/pfc-r8a7791.c |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

--- 0001/drivers/pinctrl/sh-pfc/pfc-r8a7791.c
+++ work/drivers/pinctrl/sh-pfc/pfc-r8a7791.c	2014-02-10 16:17:41.000000000 +0900
@@ -89,7 +89,8 @@ enum {
 
 	/* GPSR6 */
 	FN_IP13_10, FN_IP13_11, FN_IP13_12, FN_IP13_13, FN_IP13_14,
-	FN_IP13_15, FN_IP13_18_16, FN_IP13_21_19, FN_IP13_22, FN_IP13_24_23,
+	FN_IP13_15, FN_IP13_18_16, FN_IP13_21_19,
+	FN_IP13_22, FN_IP13_24_23, FN_SD1_CLK,
 	FN_IP13_25, FN_IP13_26, FN_IP13_27, FN_IP13_30_28, FN_IP14_1_0,
 	FN_IP14_2, FN_IP14_3, FN_IP14_4, FN_IP14_5, FN_IP14_6, FN_IP14_7,
 	FN_IP14_10_8, FN_IP14_13_11, FN_IP14_16_14, FN_IP14_19_17,
@@ -788,6 +789,7 @@ static const u16 pinmux_data[] = {
 	PINMUX_DATA(USB1_PWEN_MARK, FN_USB1_PWEN),
 	PINMUX_DATA(USB1_OVC_MARK, FN_USB1_OVC),
 	PINMUX_DATA(DU0_DOTCLKIN_MARK, FN_DU0_DOTCLKIN),
+	PINMUX_DATA(SD1_CLK_MARK, FN_SD1_CLK),
 
 	/* IPSR0 */
 	PINMUX_IPSR_DATA(IP0_0, D0),
@@ -3825,7 +3827,7 @@ static const struct pinmux_cfg_reg pinmu
 		GP_6_11_FN, FN_IP13_25,
 		GP_6_10_FN, FN_IP13_24_23,
 		GP_6_9_FN, FN_IP13_22,
-		0, 0,
+		GP_6_8_FN, FN_SD1_CLK,
 		GP_6_7_FN, FN_IP13_21_19,
 		GP_6_6_FN, FN_IP13_18_16,
 		GP_6_5_FN, FN_IP13_15,

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 02/03] pinctrl: sh-pfc: r8a7791: SD1_CLK fix
  2014-02-12  4:26 [PATCH 02/03] pinctrl: sh-pfc: r8a7791: SD1_CLK fix Magnus Damm
@ 2014-02-17 21:45 ` Laurent Pinchart
  2014-02-24 14:48 ` Linus Walleij
  2014-02-26 10:14 ` Magnus Damm
  2 siblings, 0 replies; 4+ messages in thread
From: Laurent Pinchart @ 2014-02-17 21:45 UTC (permalink / raw)
  To: linux-sh

Hi Magnus,

(CC'ing Linus Walleij)

Thank you for the patch.

On Wednesday 12 February 2014 13:26:10 Magnus Damm wrote:
> From: Magnus Damm <damm@opensource.se>
> 
> Fix the SD1_CLK handling for r8a7791. Without this patch
> it is impossible to request all pins needed for SDHI1 on
> the Koelsch board.
> 
> Signed-off-by: Magnus Damm <damm@opensource.se>

Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

> ---
> 
>  drivers/pinctrl/sh-pfc/pfc-r8a7791.c |    6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
> 
> --- 0001/drivers/pinctrl/sh-pfc/pfc-r8a7791.c
> +++ work/drivers/pinctrl/sh-pfc/pfc-r8a7791.c	2014-02-10 
16:17:41.000000000
> +0900 @@ -89,7 +89,8 @@ enum {
> 
>  	/* GPSR6 */
>  	FN_IP13_10, FN_IP13_11, FN_IP13_12, FN_IP13_13, FN_IP13_14,
> -	FN_IP13_15, FN_IP13_18_16, FN_IP13_21_19, FN_IP13_22, FN_IP13_24_23,
> +	FN_IP13_15, FN_IP13_18_16, FN_IP13_21_19,
> +	FN_IP13_22, FN_IP13_24_23, FN_SD1_CLK,
>  	FN_IP13_25, FN_IP13_26, FN_IP13_27, FN_IP13_30_28, FN_IP14_1_0,
>  	FN_IP14_2, FN_IP14_3, FN_IP14_4, FN_IP14_5, FN_IP14_6, FN_IP14_7,
>  	FN_IP14_10_8, FN_IP14_13_11, FN_IP14_16_14, FN_IP14_19_17,
> @@ -788,6 +789,7 @@ static const u16 pinmux_data[] = {
>  	PINMUX_DATA(USB1_PWEN_MARK, FN_USB1_PWEN),
>  	PINMUX_DATA(USB1_OVC_MARK, FN_USB1_OVC),
>  	PINMUX_DATA(DU0_DOTCLKIN_MARK, FN_DU0_DOTCLKIN),
> +	PINMUX_DATA(SD1_CLK_MARK, FN_SD1_CLK),
> 
>  	/* IPSR0 */
>  	PINMUX_IPSR_DATA(IP0_0, D0),
> @@ -3825,7 +3827,7 @@ static const struct pinmux_cfg_reg pinmu
>  		GP_6_11_FN, FN_IP13_25,
>  		GP_6_10_FN, FN_IP13_24_23,
>  		GP_6_9_FN, FN_IP13_22,
> -		0, 0,
> +		GP_6_8_FN, FN_SD1_CLK,
>  		GP_6_7_FN, FN_IP13_21_19,
>  		GP_6_6_FN, FN_IP13_18_16,
>  		GP_6_5_FN, FN_IP13_15,

-- 
Regards,

Laurent Pinchart


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 02/03] pinctrl: sh-pfc: r8a7791: SD1_CLK fix
  2014-02-12  4:26 [PATCH 02/03] pinctrl: sh-pfc: r8a7791: SD1_CLK fix Magnus Damm
  2014-02-17 21:45 ` Laurent Pinchart
@ 2014-02-24 14:48 ` Linus Walleij
  2014-02-26 10:14 ` Magnus Damm
  2 siblings, 0 replies; 4+ messages in thread
From: Linus Walleij @ 2014-02-24 14:48 UTC (permalink / raw)
  To: linux-sh

On Mon, Feb 17, 2014 at 10:45 PM, Laurent Pinchart
<laurent.pinchart@ideasonboard.com> wrote:

> Hi Magnus,
>
> (CC'ing Linus Walleij)
>
> Thank you for the patch.
>
> On Wednesday 12 February 2014 13:26:10 Magnus Damm wrote:
>> From: Magnus Damm <damm@opensource.se>
>>
>> Fix the SD1_CLK handling for r8a7791. Without this patch
>> it is impossible to request all pins needed for SDHI1 on
>> the Koelsch board.
>>
>> Signed-off-by: Magnus Damm <damm@opensource.se>
>
> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

Since it seems I don't have this patch, if it is a fix on the critical path
please send it to me so I can apply it for fixes.

(Or if non-critical, atleast let me apply it to devel...)

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 02/03] pinctrl: sh-pfc: r8a7791: SD1_CLK fix
  2014-02-12  4:26 [PATCH 02/03] pinctrl: sh-pfc: r8a7791: SD1_CLK fix Magnus Damm
  2014-02-17 21:45 ` Laurent Pinchart
  2014-02-24 14:48 ` Linus Walleij
@ 2014-02-26 10:14 ` Magnus Damm
  2 siblings, 0 replies; 4+ messages in thread
From: Magnus Damm @ 2014-02-26 10:14 UTC (permalink / raw)
  To: linux-sh

Hi Linus,

On Mon, Feb 24, 2014 at 11:48 PM, Linus Walleij
<linus.walleij@linaro.org> wrote:
> On Mon, Feb 17, 2014 at 10:45 PM, Laurent Pinchart
> <laurent.pinchart@ideasonboard.com> wrote:
>
>> Hi Magnus,
>>
>> (CC'ing Linus Walleij)
>>
>> Thank you for the patch.
>>
>> On Wednesday 12 February 2014 13:26:10 Magnus Damm wrote:
>>> From: Magnus Damm <damm@opensource.se>
>>>
>>> Fix the SD1_CLK handling for r8a7791. Without this patch
>>> it is impossible to request all pins needed for SDHI1 on
>>> the Koelsch board.
>>>
>>> Signed-off-by: Magnus Damm <damm@opensource.se>
>>
>> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
>
> Since it seems I don't have this patch, if it is a fix on the critical path
> please send it to me so I can apply it for fixes.
>
> (Or if non-critical, atleast let me apply it to devel...)

Thanks for the reminder! I don't consider this patch to be
particularly critical, but if you could include it in devel than that
would be greatly appreciated. I just resent the patch as "[PATCH]
pinctrl: sh-pfc: r8a7791: SD1_CLK fix" based on linux-next tag
next-20140225. This time I remembered to include you, sorry for last
time!

If you want me to rework the patch somehow to cope with all the recent
PFC changes then please let me know and I will step up.

Cheers,

/ magnus

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-02-26 10:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-12  4:26 [PATCH 02/03] pinctrl: sh-pfc: r8a7791: SD1_CLK fix Magnus Damm
2014-02-17 21:45 ` Laurent Pinchart
2014-02-24 14:48 ` Linus Walleij
2014-02-26 10:14 ` Magnus Damm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.