[PATCH 3/4] ARM: kirkwood: convert rtc-mv to fdt.
Michael Walle
michael at walle.cc
Sun Mar 4 09:59:23 EST 2012
Am Donnerstag 01 März 2012, 19:20:54 schrieb Jason Cooper:
> The comment at mach-kirkwood/common.c:469, says this device is in every
> kirkwood board. So, it is placed in kirkwood.dtsi.
>
> Signed-off-by: Jason Cooper <jason at lakedaemon.net>
> ---
> arch/arm/boot/dts/kirkwood.dtsi | 6 ++++++
> arch/arm/mach-kirkwood/board-dt.c | 1 -
> arch/arm/mach-kirkwood/common.c | 2 +-
> arch/arm/mach-kirkwood/common.h | 1 -
> drivers/rtc/rtc-mv.c | 19 +++++++++++++++++++
> 5 files changed, 26 insertions(+), 3 deletions(-)
>
> diff --git a/arch/arm/boot/dts/kirkwood.dtsi
> b/arch/arm/boot/dts/kirkwood.dtsi index 771c6bb..5fb185c 100644
> --- a/arch/arm/boot/dts/kirkwood.dtsi
> +++ b/arch/arm/boot/dts/kirkwood.dtsi
> @@ -2,5 +2,11 @@
>
> / {
> compatible = "marvell,kirkwood";
> +
> + rtc at f1010300 {
> + compatible = "marvell,rtc";
what about the names used here?
in my older patch series i flagged all converted devices with two
compatibility names. Eg:
{ .compatible = "marvell,orion5x-rtc", },
{ .compatible = "marvell,kirkwood-rtc", },
IMHO marvell,rtc is i little too general, i guess marvell won't have only one
rtc ;)
Other opinions?
--
Michael
More information about the linux-arm-kernel
mailing list