diff options
author | Axel Haslam <ahaslam@baylibre.com> | 2016-11-03 12:03:06 -0400 |
---|---|---|
committer | Sekhar Nori <nsekhar@ti.com> | 2016-11-23 07:04:06 -0500 |
commit | 8439a1d77d07514fadc616a2691b5d130ce0b678 (patch) | |
tree | f74a69d5139e8587a18aabb784c65c506be5ddb6 | |
parent | 7e431af8fa0b9ed9d74378c99514856211cb9db8 (diff) |
ARM: davinci: da8xx: Fix ohci device name
While the clk lookup table is making reference to "ohci"
other subsystems (such as phy) are trying to match "ohci.0"
Since there is a single ohci instance, instead of changing
the clk name, change the dev id to -1, and add the "-da8xx"
postfix to match the driver name that will also be changed
in a subsequent patch.
Signed-off-by: Axel Haslam <ahaslam@baylibre.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
-rw-r--r-- | arch/arm/mach-davinci/da830.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-davinci/da850.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-davinci/da8xx-dt.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-davinci/usb-da8xx.c | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/mach-davinci/da830.c b/arch/arm/mach-davinci/da830.c index 41459bd91c85..073c458d0c67 100644 --- a/arch/arm/mach-davinci/da830.c +++ b/arch/arm/mach-davinci/da830.c | |||
@@ -420,7 +420,7 @@ static struct clk_lookup da830_clks[] = { | |||
420 | CLK("davinci_mdio.0", "fck", &emac_clk), | 420 | CLK("davinci_mdio.0", "fck", &emac_clk), |
421 | CLK(NULL, "gpio", &gpio_clk), | 421 | CLK(NULL, "gpio", &gpio_clk), |
422 | CLK("i2c_davinci.2", NULL, &i2c1_clk), | 422 | CLK("i2c_davinci.2", NULL, &i2c1_clk), |
423 | CLK("ohci", "usb11", &usb11_clk), | 423 | CLK("ohci-da8xx", "usb11", &usb11_clk), |
424 | CLK(NULL, "emif3", &emif3_clk), | 424 | CLK(NULL, "emif3", &emif3_clk), |
425 | CLK(NULL, "arm", &arm_clk), | 425 | CLK(NULL, "arm", &arm_clk), |
426 | CLK(NULL, "rmii", &rmii_clk), | 426 | CLK(NULL, "rmii", &rmii_clk), |
diff --git a/arch/arm/mach-davinci/da850.c b/arch/arm/mach-davinci/da850.c index 196e262b7147..396155604e80 100644 --- a/arch/arm/mach-davinci/da850.c +++ b/arch/arm/mach-davinci/da850.c | |||
@@ -503,7 +503,7 @@ static struct clk_lookup da850_clks[] = { | |||
503 | CLK("da830-mmc.1", NULL, &mmcsd1_clk), | 503 | CLK("da830-mmc.1", NULL, &mmcsd1_clk), |
504 | CLK("ti-aemif", NULL, &aemif_clk), | 504 | CLK("ti-aemif", NULL, &aemif_clk), |
505 | CLK(NULL, "aemif", &aemif_clk), | 505 | CLK(NULL, "aemif", &aemif_clk), |
506 | CLK("ohci", "usb11", &usb11_clk), | 506 | CLK("ohci-da8xx", "usb11", &usb11_clk), |
507 | CLK("musb-da8xx", "usb20", &usb20_clk), | 507 | CLK("musb-da8xx", "usb20", &usb20_clk), |
508 | CLK("spi_davinci.0", NULL, &spi0_clk), | 508 | CLK("spi_davinci.0", NULL, &spi0_clk), |
509 | CLK("spi_davinci.1", NULL, &spi1_clk), | 509 | CLK("spi_davinci.1", NULL, &spi1_clk), |
diff --git a/arch/arm/mach-davinci/da8xx-dt.c b/arch/arm/mach-davinci/da8xx-dt.c index e87ff2b66f12..3b169e4e6e2e 100644 --- a/arch/arm/mach-davinci/da8xx-dt.c +++ b/arch/arm/mach-davinci/da8xx-dt.c | |||
@@ -39,7 +39,7 @@ static struct of_dev_auxdata da850_auxdata_lookup[] __initdata = { | |||
39 | OF_DEV_AUXDATA("ti,da830-mcasp-audio", 0x01d00000, "davinci-mcasp.0", NULL), | 39 | OF_DEV_AUXDATA("ti,da830-mcasp-audio", 0x01d00000, "davinci-mcasp.0", NULL), |
40 | OF_DEV_AUXDATA("ti,da850-aemif", 0x68000000, "ti-aemif", NULL), | 40 | OF_DEV_AUXDATA("ti,da850-aemif", 0x68000000, "ti-aemif", NULL), |
41 | OF_DEV_AUXDATA("ti,da850-tilcdc", 0x01e13000, "da8xx_lcdc.0", NULL), | 41 | OF_DEV_AUXDATA("ti,da850-tilcdc", 0x01e13000, "da8xx_lcdc.0", NULL), |
42 | OF_DEV_AUXDATA("ti,da830-ohci", 0x01e25000, "ohci", NULL), | 42 | OF_DEV_AUXDATA("ti,da830-ohci", 0x01e25000, "ohci-da8xx", NULL), |
43 | OF_DEV_AUXDATA("ti,da830-musb", 0x01e00000, "musb-da8xx", NULL), | 43 | OF_DEV_AUXDATA("ti,da830-musb", 0x01e00000, "musb-da8xx", NULL), |
44 | OF_DEV_AUXDATA("ti,da830-usb-phy", 0x01c1417c, "da8xx-usb-phy", NULL), | 44 | OF_DEV_AUXDATA("ti,da830-usb-phy", 0x01c1417c, "da8xx-usb-phy", NULL), |
45 | {} | 45 | {} |
diff --git a/arch/arm/mach-davinci/usb-da8xx.c b/arch/arm/mach-davinci/usb-da8xx.c index b010e5f80c5f..c6feecf7ae24 100644 --- a/arch/arm/mach-davinci/usb-da8xx.c +++ b/arch/arm/mach-davinci/usb-da8xx.c | |||
@@ -109,8 +109,8 @@ static struct resource da8xx_usb11_resources[] = { | |||
109 | static u64 da8xx_usb11_dma_mask = DMA_BIT_MASK(32); | 109 | static u64 da8xx_usb11_dma_mask = DMA_BIT_MASK(32); |
110 | 110 | ||
111 | static struct platform_device da8xx_usb11_device = { | 111 | static struct platform_device da8xx_usb11_device = { |
112 | .name = "ohci", | 112 | .name = "ohci-da8xx", |
113 | .id = 0, | 113 | .id = -1, |
114 | .dev = { | 114 | .dev = { |
115 | .dma_mask = &da8xx_usb11_dma_mask, | 115 | .dma_mask = &da8xx_usb11_dma_mask, |
116 | .coherent_dma_mask = DMA_BIT_MASK(32), | 116 | .coherent_dma_mask = DMA_BIT_MASK(32), |