summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-lpc32xx/clk.h
diff options
context:
space:
mode:
authorSylvain Lemieux <slemieux@tycoint.com>2015-08-10 08:16:31 -0400
committerTom Rini <trini@konsulko.com>2015-08-18 13:45:55 -0400
commit980db8ca43066dc094517df01fe560ccac87ecfb (patch)
treea213600492c3a924871932e97c945e1bc0f60c04 /arch/arm/include/asm/arch-lpc32xx/clk.h
parent952bd79b53f002740634977edfc0c4d744908032 (diff)
dma: lpc32xx: add DMA driver
Incorporate DMA driver from legacy LPCLinux NXP BSP. The files taken from the legacy patch are: - lpc32xx DMA driver - lpc3250 header file DMA registers definition. The legacy driver was updated and clean-up as part of the integration with the latest u-boot. Signed-off-by: Sylvain Lemieux <slemieux@tycoint.com> Acked-by: Marek Vasut <marex@denx.de> Tested-by: Vladimir Zapolskiy <vz@mleia.com>
Diffstat (limited to 'arch/arm/include/asm/arch-lpc32xx/clk.h')
-rw-r--r--arch/arm/include/asm/arch-lpc32xx/clk.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-lpc32xx/clk.h b/arch/arm/include/asm/arch-lpc32xx/clk.h
index 010211a7e1..663f6bc777 100644
--- a/arch/arm/include/asm/arch-lpc32xx/clk.h
+++ b/arch/arm/include/asm/arch-lpc32xx/clk.h
@@ -158,6 +158,9 @@ struct clk_pm_regs {
#define CLK_NAND_SLC_SELECT (1 << 2)
#define CLK_NAND_MLC_INT (1 << 5)
+/* DMA Clock Control Register bits */
+#define DMA_CLK_ENABLE (1 << 0)
+
/* SSP Clock Control Register bits */
#define CLK_SSP0_ENABLE_CLOCK (1 << 0)