Subject: [PATCH v3 07/11] arm/dts: twl4030: Add DTS file for twl4030 PM + Audio IC

From: [email-masked] (Rob Herring)
Date: Tue, 20 Dec 2011 10:47:16 -0600

On 12/20/2011 10:27 AM, Benoit Cousson wrote:
> Add a dedicated DTS file for the twl4030/5030 Power + Audio IC.
> This chip is a big SoC that will be reused in a lot of various
> OMAP3 boards.
> 
> Signed-off-by: Benoit Cousson <[email-masked]>
> Cc: Grant Likely <[email-masked]>
> Cc: Rob Herring <[email-masked]>
> ---
>  arch/arm/boot/dts/twl4030.dtsi |   21 +++++++++++++++++++++
>  1 files changed, 21 insertions(+), 0 deletions(-)
>  create mode 100644 arch/arm/boot/dts/twl4030.dtsi
> 
> diff --git a/arch/arm/boot/dts/twl4030.dtsi b/arch/arm/boot/dts/twl4030.dtsi
> new file mode 100644
> index 0000000..8be5223
> --- /dev/null
> +++ b/arch/arm/boot/dts/twl4030.dtsi
> @@ -0,0 +1,21 @@
> +/*
> + * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.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
> + * published by the Free Software Foundation.
> + */
> +
> +/*
> + * Integrated Power Management Chip
> + */
> +&twl {
> +	compatible = "ti,twl4030";
> +	interrupt-controller;
> +	#interrupt-cells = <1>;
> +
> +	rtc {
> +		compatible = "ti,twl4030-rtc";
> +		interrupts = <11>;

Can't this vary? Not only the irq#, but the parent controller's number
of cells can vary.

Rob