[U-Boot] [RFC] drivers: dma: ti-edma3: Enable edma3-tpcc
Tom Rini
trini at konsulko.com
Wed Jul 31 17:07:48 UTC 2019
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 at 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!
--
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>
More information about the U-Boot
mailing list