2011-02-11 14:38:33

by Subhasish Ghosh

[permalink] [raw]
Subject: [PATCH v2 07/13] da850: pruss CAN platform specific changes for gpios.

This patch adds the GPIOs for the pruss CAN device.

Signed-off-by: Subhasish Ghosh <[email protected]>
---
arch/arm/mach-davinci/da850.c | 1 +
arch/arm/mach-davinci/include/mach/mux.h | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-davinci/da850.c b/arch/arm/mach-davinci/da850.c
index 4862c28..a15571d 100644
--- a/arch/arm/mach-davinci/da850.c
+++ b/arch/arm/mach-davinci/da850.c
@@ -570,6 +570,7 @@ static const struct mux_config da850_pins[] = {
MUX_CFG(DA850, PRUSS_PRU1_R30_15, 12, 0, 15, 4, false)
MUX_CFG(DA850, PRUSS_PRU1_R31_18, 11, 20, 15, 0, false)
/* GPIO function */
+ MUX_CFG(DA850, GPIO2_0, 6, 28, 15, 8, false)
MUX_CFG(DA850, GPIO2_4, 6, 12, 15, 8, false)
MUX_CFG(DA850, GPIO2_6, 6, 4, 15, 8, false)
MUX_CFG(DA850, GPIO2_8, 5, 28, 15, 8, false)
diff --git a/arch/arm/mach-davinci/include/mach/mux.h b/arch/arm/mach-davinci/include/mach/mux.h
index 10f49f2..85b3a0d 100644
--- a/arch/arm/mach-davinci/include/mach/mux.h
+++ b/arch/arm/mach-davinci/include/mach/mux.h
@@ -912,6 +912,7 @@ enum davinci_da850_index {
DA850_PRUSS_PRU1_R31_18,

/* GPIO function */
+ DA850_GPIO2_0,
DA850_GPIO2_4,
DA850_GPIO2_6,
DA850_GPIO2_8,
--
1.7.2.3


2011-02-11 18:49:20

by Sergei Shtylyov

[permalink] [raw]
Subject: Re: [PATCH v2 07/13] da850: pruss CAN platform specific changes for gpios.

Hello.

Subhasish Ghosh wrote:

> This patch adds the GPIOs for the pruss CAN device.

> Signed-off-by: Subhasish Ghosh <[email protected]>

I still think this patch should be merged with patch 5, and patch 8 with
patch 6...

WBR, Sergei

2011-02-18 07:20:05

by Subhasish Ghosh

[permalink] [raw]
Subject: Re: [PATCH v2 07/13] da850: pruss CAN platform specific changes for gpios.



--------------------------------------------------
From: "Sergei Shtylyov" <[email protected]>
Sent: Saturday, February 12, 2011 12:17 AM
To: "Subhasish Ghosh" <[email protected]>
Cc: <[email protected]>;
<[email protected]>; "Russell King" <[email protected]>;
"Kevin Hilman" <[email protected]>; "Thomas Koeller"
<[email protected]>; <[email protected]>; "open list"
<[email protected]>; "Victor Rodriguez" <[email protected]>;
"Cyril Chemparathy" <[email protected]>; <[email protected]>;
<[email protected]>
Subject: Re: [PATCH v2 07/13] da850: pruss CAN platform specific changes for
gpios.

> Hello.
>
> Subhasish Ghosh wrote:
>
>> This patch adds the GPIOs for the pruss CAN device.
>
>> Signed-off-by: Subhasish Ghosh <[email protected]>
>
> I still think this patch should be merged with patch 5, and patch 8
> with patch 6...
>
SG -- Ok, Will do.

> WBR, Sergei