ARM: davinci: da850: add con_id for the SATA clock
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Mon, 30 Jan 2017 10:02:02 +0000 (11:02 +0100)
committerSekhar Nori <nsekhar@ti.com>
Tue, 31 Jan 2017 15:18:23 +0000 (20:48 +0530)
The ahci-da850 SATA driver is now capable of retrieving clocks by
con_id. Add the connection id for the sysclk2-derived SATA clock.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/mach-davinci/da850.c

index 07d36fc..8ab3c09 100644 (file)
@@ -543,7 +543,7 @@ static struct clk_lookup da850_clks[] = {
        CLK("spi_davinci.0",    NULL,           &spi0_clk),
        CLK("spi_davinci.1",    NULL,           &spi1_clk),
        CLK("vpif",             NULL,           &vpif_clk),
-       CLK("ahci_da850",       NULL,           &sata_clk),
+       CLK("ahci_da850",       "fck",          &sata_clk),
        CLK("davinci-rproc.0",  NULL,           &dsp_clk),
        CLK(NULL,               NULL,           &ehrpwm_clk),
        CLK("ehrpwm.0",         "fck",          &ehrpwm0_clk),