clk: at91: add new DT lookup function
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 16 Oct 2018 14:21:47 +0000 (16:21 +0200)
committerStephen Boyd <sboyd@kernel.org>
Wed, 17 Oct 2018 17:44:33 +0000 (10:44 -0700)
commitd387ff5427be6b93e11986c6ab6d7a8e6031e976
treed50a8f3a189a1c88824b853dac032682c43a7646
parentd425ad81eacda2df98f063c4ca93b0f5a4690206
clk: at91: add new DT lookup function

Add a new DT lookup function to lookup for PMC clocks.

Note that the #ifndef AT91_PMC_MOSCS section will be removed once all the
platforms are converted.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/at91/pmc.c
include/dt-bindings/clock/at91.h