Thread (65 messages) 65 messages, 12 authors, 2011-03-22

[PATCH v2 06/13] da850: pruss CAN board specific additions.

From: Subhasish Ghosh <hidden>
Date: 2011-02-18 07:20:43
Also in: lkml


--------------------------------------------------
From: "Sergei Shtylyov" <redacted>
Sent: Saturday, February 12, 2011 12:15 AM
To: "Subhasish Ghosh" <redacted>
Cc: <redacted>; 
[off-list ref]; "Russell King" [off-list ref]; 
"Kevin Hilman" [off-list ref]; [off-list ref]; "open list" 
[off-list ref]; [off-list ref]; 
[off-list ref]
Subject: Re: [PATCH v2 06/13] da850: pruss CAN board specific additions.
Subhasish Ghosh wrote:
quoted
This patch adds the pruss CAN pin mux and registers the device
with the pruss mfd driver.
quoted
Signed-off-by: Subhasish Ghosh <redacted>
[...]
quoted
diff --git a/arch/arm/mach-davinci/board-da850-evm.c 
b/arch/arm/mach-davinci/board-da850-evm.c
index 242d1ed..2ce5536 100644
--- a/arch/arm/mach-davinci/board-da850-evm.c
+++ b/arch/arm/mach-davinci/board-da850-evm.c
@@ -1053,8 +1053,43 @@ static __init int da850_evm_init_cpufreq(void)
[...]
quoted
 static struct da8xx_pruss_devices pruss_devices[] = {
- {.dev_name = NULL,},
+ {
+ .dev_name = "da8xx_pruss_can",
+ .pdata = &can_data,
+ .pdata_size = sizeof(can_data),
+ .setup = da850_evm_setup_pruss_can,
+ },
+ {
+ .dev_name = NULL,
+ },
   No need to explicitly initialize to NULL.
SG -- ok, Will remove
WBR, Sergei 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help