[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1303474109-6212-11-git-send-email-subhasish@mistralsolutions.com>
Date: Fri, 22 Apr 2011 17:38:28 +0530
From: Subhasish Ghosh <subhasish@...tralsolutions.com>
To: davinci-linux-open-source@...ux.davincidsp.com
Cc: linux-arm-kernel@...ts.infradead.org, m-watkins@...com,
nsekhar@...com, sachi@...tralsolutions.com,
Subhasish Ghosh <subhasish@...tralsolutions.com>,
Kevin Hilman <khilman@...com> (supporter:TI DAVINCI MACHIN...
,commit_signer:8/9=89%),
Russell King <linux@....linux.org.uk> (maintainer:ARM PORT),
Thomas Koeller <thomas.koeller@...lerweb.com> (commit_signer:4/9=44%),
Cyril Chemparathy <cyril@...com> (commit_signer:3/9=33%),
Victor Rodriguez <vm.rod25@...il.com> (commit_signer:1/9=11%),
linux-kernel@...r.kernel.org (open list)
Subject: [PATCH v4 10/11] da850: pruss CAN platform specific additions.
This patch adds the necessary pins for the pruss CAN.
Signed-off-by: Subhasish Ghosh <subhasish@...tralsolutions.com>
---
arch/arm/mach-davinci/da850.c | 5 +++++
arch/arm/mach-davinci/include/mach/mux.h | 5 +++++
2 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-davinci/da850.c b/arch/arm/mach-davinci/da850.c
index a7cf2d0..84a5e64 100644
--- a/arch/arm/mach-davinci/da850.c
+++ b/arch/arm/mach-davinci/da850.c
@@ -581,7 +581,12 @@ static const struct mux_config da850_pins[] = {
MUX_CFG(DA850, EMA_CLK, 6, 0, 15, 1, false)
MUX_CFG(DA850, EMA_WAIT_1, 6, 24, 15, 1, false)
MUX_CFG(DA850, NEMA_CS_2, 7, 0, 15, 1, false)
+ /* PRU functions for soft CAN */
+ MUX_CFG(DA850, PRUSS_PRU0_R31_0, 7, 28, 15, 0, false)
+ 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 5d4e0fe..85b3a0d 100644
--- a/arch/arm/mach-davinci/include/mach/mux.h
+++ b/arch/arm/mach-davinci/include/mach/mux.h
@@ -906,8 +906,13 @@ enum davinci_da850_index {
DA850_EMA_CLK,
DA850_EMA_WAIT_1,
DA850_NEMA_CS_2,
+ /* PRU I/O */
+ DA850_PRUSS_PRU0_R31_0,
+ DA850_PRUSS_PRU1_R30_15,
+ DA850_PRUSS_PRU1_R31_18,
/* GPIO function */
+ DA850_GPIO2_0,
DA850_GPIO2_4,
DA850_GPIO2_6,
DA850_GPIO2_8,
--
1.7.2.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists