From mboxrd@z Thu Jan 1 00:00:00 1970 From: david@lechnology.com (David Lechner) Date: Mon, 25 Jun 2018 10:53:44 -0500 Subject: [PATCH 1/9] clk: davinci: psc-dm365: use two lookup entries for the aemif clock In-Reply-To: <20180625152920.11549-2-brgl@bgdev.pl> References: <20180625152920.11549-1-brgl@bgdev.pl> <20180625152920.11549-2-brgl@bgdev.pl> Message-ID: <241fed6e-b414-feac-8e6c-39713c5e665e@lechnology.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 06/25/2018 10:29 AM, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > We want to be able to get the clock both from the board file by its > con_id and from the aemif driver by dev_id. What about the other SoCs? Don't they need this change as well? > > Signed-off-by: Bartosz Golaszewski > --- > drivers/clk/davinci/psc-dm365.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/clk/davinci/psc-dm365.c b/drivers/clk/davinci/psc-dm365.c > index 8c73086cc676..c75424f4ea3b 100644 > --- a/drivers/clk/davinci/psc-dm365.c > +++ b/drivers/clk/davinci/psc-dm365.c > @@ -21,7 +21,8 @@ LPSC_CLKDEV1(mmcsd1_clkdev, NULL, "da830-mmc.1"); > LPSC_CLKDEV1(asp0_clkdev, NULL, "davinci-mcbsp"); > LPSC_CLKDEV1(usb_clkdev, "usb", NULL); > LPSC_CLKDEV1(spi2_clkdev, NULL, "spi_davinci.2"); > -LPSC_CLKDEV1(aemif_clkdev, "aemif", NULL); > +LPSC_CLKDEV2(aemif_clkdev, "aemif", NULL, > + NULL, "ti-aemif"); > LPSC_CLKDEV1(mmcsd0_clkdev, NULL, "da830-mmc.0"); > LPSC_CLKDEV1(i2c_clkdev, NULL, "i2c_davinci.1"); > LPSC_CLKDEV1(uart0_clkdev, NULL, "serial8250.0"); >