Re: [PATCH 2/3] ARM: dts: AM33XX: Add GPMC node

From: Peter Korsgaard
Date: Mon Jan 21 2013 - 16:01:48 EST


>>>>> "Philip" == Philip Avinash <avinashphilip@xxxxxx> writes:

Philip> From: "Philip, Avinash" <avinashphilip@xxxxxx>
Philip> Add GPMC data node to AM33XX device tree file.

Philip> Signed-off-by: Philip Avinash <avinashphilip@xxxxxx>
Philip> ---
Philip> arch/arm/boot/dts/am33xx.dtsi | 12 ++++++++++++
Philip> 1 file changed, 12 insertions(+)

Philip> diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
Philip> index eaef5e7..f4209d8 100644
Philip> --- a/arch/arm/boot/dts/am33xx.dtsi
Philip> +++ b/arch/arm/boot/dts/am33xx.dtsi
Philip> @@ -393,5 +393,17 @@
Philip> ti,hwmods = "elm";
Philip> status = "disabled";
Philip> };
Philip> +
Philip> + gpmc: gpmc@50000000 {
Philip> + compatible = "ti,am3352-gpmc";
Philip> + ti,hwmods = "gpmc";
Philip> + reg = <0x50000000 0x2000>;
Philip> + interrupts = <100>;
Philip> + num-cs = <8>;

Next to Jan's comment about am335x having 7 cs signals, I just realized
the difference in compatible string between the gpmc and elm. The gpmc
refers to a real device (which is afaik how it should be done), but the
elm compatible is simply ti,am33xx-elm.

Presumably it should have been ti,am3352-elm in the binding instead?

Other than that it looks fine.

Acked-by: Peter Korsgaard <jacmet@xxxxxxxxxx>

--
Bye, Peter Korsgaard
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/