summaryrefslogtreecommitdiff
path: root/drivers/clk/davinci/psc-dm644x.c
AgeCommit message (Collapse)AuthorFilesLines
2018-07-06clk: davinci: psc-dm644x: use two lookup entries for the aemif clockBartosz Golaszewski1-1/+2
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. Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Reviewed-by: David Lechner <david@lechnology.com> Signed-off-by: David Lechner <david@lechnology.com>
2018-05-30clk: davinci: psc: allow for dev == NULLDavid Lechner1-1/+2
On some davinci SoCs, we need to register the PSC clocks during early boot because they are needed for clocksource/clockevent. These changes allow for dev == NULL because in this case, we won't have a platform device for the clocks. Signed-off-by: David Lechner <david@lechnology.com> Reviewed-by: Sekhar Nori <nsekhar@ti.com> Signed-off-by: Michael Turquette <mturquette@baylibre.com> Link: lkml.kernel.org/r/20180525181150.17873-9-david@lechnology.com
2018-03-20clk: davinci: Add platform information for TI DM644x PSCDavid Lechner1-0/+83
This adds platform-specific declarations for the PSC clocks on TI DM644x based systems. Signed-off-by: David Lechner <david@lechnology.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org>