[U-Boot] [RFC] drivers: dma: ti-edma3: Enable edma3-tpcc

Enable edma3-tpcc controllers for future use with some Davinci devices.
Signed-off-by: Adam Ford aford173@gmail.com
diff --git a/arch/arm/mach-davinci/cpu.c b/arch/arm/mach-davinci/cpu.c index f97ad3fc74..e26365cdb1 100644 --- a/arch/arm/mach-davinci/cpu.c +++ b/arch/arm/mach-davinci/cpu.c @@ -91,6 +91,15 @@ int set_cpu_clk_info(void) return 0; }
+void enable_edma3_clocks(void) +{ + +} + +void disable_edma3_clocks(void) +{ + +} /* * Initializes on-chip ethernet controllers. * to override, implement board_eth_init() diff --git a/drivers/dma/ti-edma3.c b/drivers/dma/ti-edma3.c index 7e11b13e45..4619eeae55 100644 --- a/drivers/dma/ti-edma3.c +++ b/drivers/dma/ti-edma3.c @@ -565,6 +565,7 @@ static const struct dma_ops ti_edma3_ops = {
static const struct udevice_id ti_edma3_ids[] = { { .compatible = "ti,edma3" }, + { .compatible = "ti,edma3-tpcc" }, { } };

On Sun, Jun 09, 2019 at 08:34:46AM -0500, Adam Ford wrote:
Enable edma3-tpcc controllers for future use with some Davinci devices.
Signed-off-by: Adam Ford aford173@gmail.com
diff --git a/arch/arm/mach-davinci/cpu.c b/arch/arm/mach-davinci/cpu.c index f97ad3fc74..e26365cdb1 100644 --- a/arch/arm/mach-davinci/cpu.c +++ b/arch/arm/mach-davinci/cpu.c @@ -91,6 +91,15 @@ int set_cpu_clk_info(void) return 0; }
+void enable_edma3_clocks(void) +{
+}
+void disable_edma3_clocks(void) +{
+} /*
- Initializes on-chip ethernet controllers.
- to override, implement board_eth_init()
diff --git a/drivers/dma/ti-edma3.c b/drivers/dma/ti-edma3.c index 7e11b13e45..4619eeae55 100644 --- a/drivers/dma/ti-edma3.c +++ b/drivers/dma/ti-edma3.c @@ -565,6 +565,7 @@ static const struct dma_ops ti_edma3_ops = {
static const struct udevice_id ti_edma3_ids[] = { { .compatible = "ti,edma3" },
- { .compatible = "ti,edma3-tpcc" }, { }
};
I know this is RFC, so my comment is I want to wait until there's actual code before we do anything more here, thanks!
participants (2)
-
Adam Ford
-
Tom Rini