From 997444e7abaf64b75dcdea34089a0a5a15b9cb15 Mon Sep 17 00:00:00 2001 From: Oleg Drokin Date: Sat, 4 Feb 2012 16:15:04 -0500 Subject: [PATCH] Changing HSUART2 CRCI defines brings UART to live on touchpad. Sneaky Palm with their sneaky undocumented ways... With this change TS is fully operational now. --- arch/arm/mach-msm/include/mach/dma.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/mach-msm/include/mach/dma.h b/arch/arm/mach-msm/include/mach/dma.h index 3cb79b78cbc..94bd6162cce 100644 --- a/arch/arm/mach-msm/include/mach/dma.h +++ b/arch/arm/mach-msm/include/mach/dma.h @@ -162,11 +162,23 @@ int msm_dmov_exec_cmd(unsigned id, unsigned int cmdptr); #define DMOV_HSUART1_RX_CHAN 23 #define DMOV_HSUART1_RX_CRCI 9 +#ifdef CONFIG_MACH_TENDERLOIN +/* This is some sneak Palm change to make uart2 to talk to gsbi10 */ +#define ADM3_0_B_GSBI10_OUT_CRCI 9 +#define ADM3_0_B_GSBI10_IN_CRCI 10 + +#define DMOV_HSUART2_TX_CHAN 8 +#define DMOV_HSUART2_TX_CRCI ((1 << 4) + ADM3_0_B_GSBI10_OUT_CRCI) + +#define DMOV_HSUART2_RX_CHAN 8 +#define DMOV_HSUART2_RX_CRCI ((1 << 4) + ADM3_0_B_GSBI10_IN_CRCI) +#else #define DMOV_HSUART2_TX_CHAN 8 #define DMOV_HSUART2_TX_CRCI 13 #define DMOV_HSUART2_RX_CHAN 8 #define DMOV_HSUART2_RX_CRCI 14 +#endif #elif defined(CONFIG_ARCH_MSM8960) #define DMOV_GP_CHAN 9