MIPS: ath79: add helpers for setting clocks and expose the ref clock
authorFelix Fietkau <nbd@nbd.name>
Fri, 11 Jan 2019 14:22:30 +0000 (15:22 +0100)
committerPaul Burton <paul.burton@mips.com>
Tue, 22 Jan 2019 19:17:21 +0000 (11:17 -0800)
commit9b56e0d0cc6353865c5bbc41a18161215063fd33
tree2c350f5e28cb312a36655f08cd1b4bee257c5830
parent7b3415f581c70ef37b4a8a7e5be37bb117caa616
MIPS: ath79: add helpers for setting clocks and expose the ref clock

Preparation for transitioning the legacy clock setup code over
to OF.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: John Crispin <john@phrozen.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: James Hogan <jhogan@kernel.org>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Pengutronix Kernel Team <kernel@pengutronix.de>
Cc: linux-mips@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: devicetree@vger.kernel.org
arch/mips/ath79/clock.c
include/dt-bindings/clock/ath79-clk.h