clk: ti: add API for creating aliases automatically for simple clock types
authorTero Kristo <t-kristo@ti.com>
Thu, 29 Sep 2016 09:05:00 +0000 (12:05 +0300)
committerTero Kristo <t-kristo@ti.com>
Wed, 8 Mar 2017 10:57:45 +0000 (12:57 +0200)
commitc17435c56bb1feb7365ebffcfbe98baae50a0fb4
tree9ab61d299724441120062382fd913afef0a68829
parent21f0bf2d3dcc7b18cebe2fa3da700e3263c3a3ce
clk: ti: add API for creating aliases automatically for simple clock types

This API generates clock aliases automatically for simple clock types
(fixed-clock, fixed-factor-clock), so that we don't need to add the data
for these statically into tables. Shall be called from the SoC specific
clock init.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
drivers/clk/ti/clk.c
drivers/clk/ti/clock.h