[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAN1soZxhXW=pNGihz6g4arK0zWi7_rzXQyJfuuat0d+Yw+P0Gg@mail.gmail.com>
Date: Sat, 13 Apr 2013 21:04:18 +0800
From: Haojian Zhuang <haojian.zhuang@...il.com>
To: Neil Zhang <zhangwm@...vell.com>
Cc: Grant Likely <grant.likely@...retlab.ca>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Chao Xie <chao.xie@...vell.com>
Subject: Re: [PATCH 3/4] ARM: mmp: bring up pxa988 with device tree support
On Thu, Apr 11, 2013 at 11:38 AM, Neil Zhang <zhangwm@...vell.com> wrote:
> bring up pxa988 with device tree support.
>
> Signed-off-by: Neil Zhang <zhangwm@...vell.com>
> Signed-off-by: Chao Xie <chao.xie@...vell.com>
> ---
> arch/arm/boot/dts/pxa988-dkb.dts | 36 ++++++
> arch/arm/boot/dts/pxa988.dtsi | 196 +++++++++++++++++++++++++++++
> arch/arm/mach-mmp/Kconfig | 25 ++++
> arch/arm/mach-mmp/Makefile | 1 +
> arch/arm/mach-mmp/common.c | 11 ++-
> arch/arm/mach-mmp/include/mach/addr-map.h | 6 +
> arch/arm/mach-mmp/mmpx-dt.c | 79 ++++++++++++
> drivers/clk/mmp/Makefile | 1 +
> 8 files changed, 354 insertions(+), 1 deletions(-)
> create mode 100644 arch/arm/boot/dts/pxa988-dkb.dts
> create mode 100644 arch/arm/boot/dts/pxa988.dtsi
> create mode 100644 arch/arm/mach-mmp/mmpx-dt.c
>
> diff --git a/arch/arm/boot/dts/pxa988-dkb.dts b/arch/arm/boot/dts/pxa988-dkb.dts
> new file mode 100644
> index 0000000..2cee3ed
> --- /dev/null
> +++ b/arch/arm/boot/dts/pxa988-dkb.dts
> @@ -0,0 +1,36 @@
> +/*
> + * Copyright (C) 2012 Marvell Technology Group Ltd.
> + * Author: Haojian Zhuang <haojian.zhuang@...vell.com>
> + *
> + * This program is free software; you can redistribute it and/or modify
> + * it under the terms of the GNU General Public License version 2 as
> + * publishhed by the Free Software Foundation.
> + */
> +
> +/dts-v1/;
> +/include/ "pxa988.dtsi"
> +
> +
> + gpio@...19000 {
> + compatible = "mrvl,mmp-gpio";
Since gpio-pxa driver is updated & merged just now, you need
to update this as "marvell,mmp-gpio".
> +
> +/* PXA988 */
> +static const struct of_dev_auxdata pxa988_auxdata_lookup[] __initconst = {
> + OF_DEV_AUXDATA("mrvl,mmp-uart", 0xd4017000, "pxa2xx-uart.0", NULL),
> + OF_DEV_AUXDATA("mrvl,mmp-uart", 0xd4018000, "pxa2xx-uart.1", NULL),
> + OF_DEV_AUXDATA("mrvl,mmp-uart", 0xd4036000, "pxa2xx-uart.2", NULL),
> + OF_DEV_AUXDATA("mrvl,mmp-twsi", 0xd4011000, "pxa2xx-i2c.0", NULL),
> + OF_DEV_AUXDATA("mrvl,mmp-twsi", 0xd4037000, "pxa2xx-i2c.1", NULL),
> + OF_DEV_AUXDATA("mrvl,mmp-gpio", 0xd4019000, "pxa-gpio", NULL),
"marvell,mmp-gpio"
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists