clk: support pinmux configuration in clock provider nodes
Some device trees use pinctrl-* settings inside device tree nodes for
clock providers.

Barebox does not threat clock providers (such as fixed-clock or
gpio-gate-clock) as conventional devices, thus setting default
pinctrl configuration in driver binding code does not happen for
clock providers.

This patch adds setting default pinctrl configuration to of_clk_init(),
just before calling clock provider's probe routine.

Signed-off-by: Nikita Yushchenko <nikita.yoush@cogentembedded.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent ee919be commit 96aff45747a1cec76ff26778e94884ae2ce572b9
@Nikita Yushchenko Nikita Yushchenko authored on 10 May 2018
Sascha Hauer committed on 14 May 2018
Showing 1 changed file
View
drivers/clk/clk.c