ARM: davinci: da8xx-dt: Add OF_DEV_AUXDATA entry for DSP clock matching
authorSuman Anna <s-anna@ti.com>
Tue, 19 Sep 2017 00:28:33 +0000 (19:28 -0500)
committerSekhar Nori <nsekhar@ti.com>
Wed, 20 Sep 2017 09:27:56 +0000 (14:57 +0530)
Add the OF_DEV_AUXDATA entry needed to match the device-tree DSP node
to its non-device-tree clock, so that the da8xx-remoteproc driver can
properly enable the clocks. The device name has also been assigned
"davinci-rproc.0" to match the device id used in the da850_clks
clk_lookup array.

Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/mach-davinci/da8xx-dt.c

index 5699ce3..f06db67 100644 (file)
@@ -54,6 +54,7 @@ static struct of_dev_auxdata da850_auxdata_lookup[] __initdata = {
        OF_DEV_AUXDATA("ti,da830-usb-phy", 0x01c1417c, "da8xx-usb-phy", NULL),
        OF_DEV_AUXDATA("ti,da850-ahci", 0x01e18000, "ahci_da850", NULL),
        OF_DEV_AUXDATA("ti,da850-vpif", 0x01e17000, "vpif", NULL),
+       OF_DEV_AUXDATA("ti,da850-dsp", 0x11800000, "davinci-rproc.0", NULL),
        {}
 };