Subhasish Ghosh wrote:
This patch adds the pruss SUART pin mux and registers the device with the pruss mfd driver.
Signed-off-by: Subhasish Ghosh <[email protected]> --- arch/arm/mach-davinci/board-da850-evm.c | 36 +++++++++++++++++++++++++++++++ 1 files changed, 36 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-davinci/board-da850-evm.c b/arch/arm/mach-davinci/board-da850-evm.c index f9c38f8..3858516 100644 --- a/arch/arm/mach-davinci/board-da850-evm.c +++ b/arch/arm/mach-davinci/board-da850-evm.c
[...]
@@ -1085,6 +1104,17 @@ static int __init da850_evm_setup_pruss_can(void) return ret; }+static struct da850_evm_pruss_suart_data suart_data = {+ .version = 1, + .resource = { + .name = "da8xx_mcasp0_iomem", + .start = DAVINCI_DA8XX_MCASP0_REG_BASE, + .end = DAVINCI_DA8XX_MCASP0_REG_BASE + + (SZ_1K * 12) - 1, + .flags = IORESOURCE_MEM, + }, +}; +
I don't think passing a resource thru platform data is good idea... Resources should be bound to the platform device.
WBR, Sergei _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
