ARM: davinci: da8xx: Add USB device names to clock lookup tables
authorDavid Lechner <david@lechnology.com>
Thu, 27 Oct 2016 00:18:16 +0000 (19:18 -0500)
committerSekhar Nori <nsekhar@ti.com>
Mon, 31 Oct 2016 11:55:03 +0000 (17:25 +0530)
This adds device names for the SoC USB devices to the clock lookup tables
in da830.c and da850.c.

Also add the USB device names to the da850_auxdata_lookup[] table.

Signed-off-by: David Lechner <david@lechnology.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/mach-davinci/da830.c
arch/arm/mach-davinci/da850.c
arch/arm/mach-davinci/da8xx-dt.c

index 426fd747735731b80e716c192988aeb3d5b7b955..41459bd91c855af408003bdfebf20b0e497debd3 100644 (file)
@@ -412,7 +412,7 @@ static struct clk_lookup da830_clks[] = {
        CLK("davinci-mcasp.0",  NULL,           &mcasp0_clk),
        CLK("davinci-mcasp.1",  NULL,           &mcasp1_clk),
        CLK("davinci-mcasp.2",  NULL,           &mcasp2_clk),
-       CLK(NULL,               "usb20",        &usb20_clk),
+       CLK("musb-da8xx",       "usb20",        &usb20_clk),
        CLK(NULL,               "aemif",        &aemif_clk),
        CLK(NULL,               "aintc",        &aintc_clk),
        CLK(NULL,               "secu_mgr",     &secu_mgr_clk),
@@ -420,7 +420,7 @@ static struct clk_lookup da830_clks[] = {
        CLK("davinci_mdio.0",   "fck",          &emac_clk),
        CLK(NULL,               "gpio",         &gpio_clk),
        CLK("i2c_davinci.2",    NULL,           &i2c1_clk),
-       CLK(NULL,               "usb11",        &usb11_clk),
+       CLK("ohci",             "usb11",        &usb11_clk),
        CLK(NULL,               "emif3",        &emif3_clk),
        CLK(NULL,               "arm",          &arm_clk),
        CLK(NULL,               "rmii",         &rmii_clk),
index ed3d0e9f72ac35bec2681ca2980075cb354b3f88..196e262b714745450dc335b4f274f3bd962887d3 100644 (file)
@@ -503,8 +503,8 @@ static struct clk_lookup da850_clks[] = {
        CLK("da830-mmc.1",      NULL,           &mmcsd1_clk),
        CLK("ti-aemif",         NULL,           &aemif_clk),
        CLK(NULL,               "aemif",        &aemif_clk),
-       CLK(NULL,               "usb11",        &usb11_clk),
-       CLK(NULL,               "usb20",        &usb20_clk),
+       CLK("ohci",             "usb11",        &usb11_clk),
+       CLK("musb-da8xx",       "usb20",        &usb20_clk),
        CLK("spi_davinci.0",    NULL,           &spi0_clk),
        CLK("spi_davinci.1",    NULL,           &spi1_clk),
        CLK("vpif",             NULL,           &vpif_clk),
index 697da3d86563d9383a2a76b2ccfce96c6e6fd023..0e45cbd57273a7a7a7ded4b384c80f12317a4eab 100644 (file)
@@ -39,6 +39,8 @@ static struct of_dev_auxdata da850_auxdata_lookup[] __initdata = {
        OF_DEV_AUXDATA("ti,da830-mcasp-audio", 0x01d00000, "davinci-mcasp.0", NULL),
        OF_DEV_AUXDATA("ti,da850-aemif", 0x68000000, "ti-aemif", NULL),
        OF_DEV_AUXDATA("ti,da850-tilcdc", 0x01e13000, "da8xx_lcdc.0", NULL),
+       OF_DEV_AUXDATA("ti,da830-ohci", 0x01e25000, "ohci", NULL),
+       OF_DEV_AUXDATA("ti,da830-musb", 0x01e00000, "musb-da8xx", NULL),
        {}
 };