clk: gpio: Use DT way of specifying parents
authorStephen Boyd <sboyd@kernel.org>
Fri, 30 Aug 2019 15:09:12 +0000 (08:09 -0700)
committerStephen Boyd <sboyd@kernel.org>
Sun, 5 Jan 2020 21:34:36 +0000 (13:34 -0800)
commit9a9b5a4af066f1245d7848a5d5d5c8147c18aa28
tree2f20f33b264f436697e4978a484c50bf766b2e2c
parente42617b825f8073569da76dc4510bfa019b1c35a
clk: gpio: Use DT way of specifying parents

Nobody has used the gpio clk registration functions nor the gpio clk_ops
exposed by the basic gpio clk type. Let's remove all those APIs and move
the gpio clk support into the C file. Since nothing is using the
exported APIs, simplify the driver to be a platform driver that uses
clk_parent_data to pick 0th or 1st cell of the node's clocks property.

Cc: Simon Horman <horms@verge.net.au>
Cc: Magnus Damm <magnus.damm@gmail.com>
Cc: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Link: https://lkml.kernel.org/r/20190830150923.259497-2-sboyd@kernel.org
drivers/clk/clk-gpio.c
include/linux/clk-provider.h