MIPS: ath79: make specifying the reference clock in DT optional
authorFelix Fietkau <nbd@nbd.name>
Fri, 11 Jan 2019 14:22:33 +0000 (15:22 +0100)
committerPaul Burton <paul.burton@mips.com>
Tue, 22 Jan 2019 19:17:21 +0000 (11:17 -0800)
commit8e641752824e24c0aaf163927548832a88e7d3db
treef54220c46abba791c8ed06729a50ff3268e8699c
parent9aca5cb5f0f025d7439a05ec50c25d058b04943a
MIPS: ath79: make specifying the reference clock in DT optional

It can be autodetected for many SoCs using the strapping options.
If the clock is specified in DT, the autodetected value is ignored

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: John Crispin <john@phrozen.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