* [PATCH 2/3-V1] AM35xx: Add AM35xx intr_clr & sw_rst cntrl reg bit defination
@ 2010-01-11 6:06 hvaibhav
2010-02-05 1:03 ` [APPLIED] [PATCH 2/3-V1] AM35xx: Add AM35xx intr_clr & sw_rst cntrl reg bit Tony Lindgren
0 siblings, 1 reply; 2+ messages in thread
From: hvaibhav @ 2010-01-11 6:06 UTC (permalink / raw)
To: linux-omap; +Cc: tony, khilman, Vaibhav Hiremath
From: Vaibhav Hiremath <hvaibhav@ti.com>
AM3517/05 has few additional control module registers to control
the new IP's, like VPFE, USBOTG, CPGMAC.
This patch adds the bit defination for INTR_CLR and SW_RST control
register.
Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
---
arch/arm/plat-omap/include/plat/control.h | 17 +++++++++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/arch/arm/plat-omap/include/plat/control.h b/arch/arm/plat-omap/include/plat/control.h
index 61e7b8a..efdf9e6 100644
--- a/arch/arm/plat-omap/include/plat/control.h
+++ b/arch/arm/plat-omap/include/plat/control.h
@@ -274,6 +274,23 @@
#define AM35XX_CPGMAC_FCLK_SHIFT 9
#define AM35XX_VPFE_FCLK_SHIFT 10
+/*AM35XX CONTROL_LVL_INTR_CLEAR bits*/
+#define AM35XX_CPGMAC_C0_MISC_PULSE_CLR BIT(0)
+#define AM35XX_CPGMAC_C0_RX_PULSE_CLR BIT(1)
+#define AM35XX_CPGMAC_C0_RX_THRESH_CLR BIT(2)
+#define AM35XX_CPGMAC_C0_TX_PULSE_CLR BIT(3)
+#define AM35XX_USBOTGSS_INT_CLR BIT(4)
+#define AM35XX_VPFE_CCDC_VD0_INT_CLR BIT(5)
+#define AM35XX_VPFE_CCDC_VD1_INT_CLR BIT(6)
+#define AM35XX_VPFE_CCDC_VD2_INT_CLR BIT(7)
+
+/*AM35XX CONTROL_IP_SW_RESET bits*/
+#define AM35XX_USBOTGSS_SW_RST BIT(0)
+#define AM35XX_CPGMACSS_SW_RST BIT(1)
+#define AM35XX_VPFE_VBUSP_SW_RST BIT(2)
+#define AM35XX_HECC_SW_RST BIT(3)
+#define AM35XX_VPFE_PCLK_SW_RST BIT(4)
+
/*
* CONTROL OMAP STATUS register to identify OMAP3 features
*/
--
1.6.2.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [APPLIED] [PATCH 2/3-V1] AM35xx: Add AM35xx intr_clr & sw_rst cntrl reg bit
2010-01-11 6:06 [PATCH 2/3-V1] AM35xx: Add AM35xx intr_clr & sw_rst cntrl reg bit defination hvaibhav
@ 2010-02-05 1:03 ` Tony Lindgren
0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2010-02-05 1:03 UTC (permalink / raw)
To: linux-omap
This patch has been applied to the linux-omap
by youw fwiendly patch wobot.
Branch in linux-omap: for-next
Initial commit ID (Likely to change): 6e11d063ed02906e9e92f87f2bfb70b0a10886c5
PatchWorks
http://patchwork.kernel.org/patch/72098/
Git (Likely to change, and takes a while to get mirrored)
http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a=commit;h=6e11d063ed02906e9e92f87f2bfb70b0a10886c5
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-02-05 1:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-11 6:06 [PATCH 2/3-V1] AM35xx: Add AM35xx intr_clr & sw_rst cntrl reg bit defination hvaibhav
2010-02-05 1:03 ` [APPLIED] [PATCH 2/3-V1] AM35xx: Add AM35xx intr_clr & sw_rst cntrl reg bit Tony Lindgren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox