Skip to contentSkip to conversation

drivers: dma: ti-edma3: Enable edma3-tpcc

RFC In review Adam Ford 2 participants 2 messages Jun 9, 2019 – Jul 31, 2019

Subsystems (4)
lore
Share & tools
lore

Adam Ford

author
#0 lore raw

RFC 1/1 drivers: dma: ti-edma3: Enable edma3-tpcc

Enable edma3-tpcc controllers for future use with some Davinci devices.

arch/arm/mach-davinci/cpu.c +9 -0
index f97ad3fc74..e26365cdb1 100644
@@ -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()
drivers/dma/ti-edma3.c +1 -0
index 7e11b13e45..4619eeae55 100644
@@ -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" },
 	{ }
 };
 
Signature · 1 line
2.17.1
#1 lore raw
Quoted 30 lines · Adam Ford

Enable edma3-tpcc controllers for future use with some Davinci devices.

arch/arm/mach-davinci/cpu.c +9 -0
index f97ad3fc74..e26365cdb1 100644
@@ -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()
drivers/dma/ti-edma3.c +0 -0
index 7e11b13e45..4619eeae55 100644

drivers/dma/ti-edma3.c static const struct dma_ops ti_edma3_ops = { · line 570

Quoted 6 lines
drivers/dma/ti-edma3.c +1 -0
@@ -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!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190731/b55f2e59/attachment.sig>