diff mbox

DTS: ARM: TWL4030: Add madc

Message ID 1395184426-316-2-git-send-email-sre@debian.org (mailing list archive)
State New, archived
Headers show

Commit Message

Sebastian Reichel March 18, 2014, 11:13 p.m. UTC
Add madc node to twl4030, so that board DTS
files can simply reference the A/D converter.

Signed-off-by: Sebastian Reichel <sre@debian.org>
---
 arch/arm/boot/dts/twl4030.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Tony Lindgren May 5, 2014, 7:26 p.m. UTC | #1
* Sebastian Reichel <sre@debian.org> [140318 16:17]:
> Add madc node to twl4030, so that board DTS
> files can simply reference the A/D converter.
> 
> Signed-off-by: Sebastian Reichel <sre@debian.org>

Applying into omap-for-v3.16/dt thanks.

Tony

> ---
>  arch/arm/boot/dts/twl4030.dtsi | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/twl4030.dtsi b/arch/arm/boot/dts/twl4030.dtsi
> index 86cfc7d..36ae916 100644
> --- a/arch/arm/boot/dts/twl4030.dtsi
> +++ b/arch/arm/boot/dts/twl4030.dtsi
> @@ -152,4 +152,10 @@
>  		keypad,num-rows = <8>;
>  		keypad,num-columns = <8>;
>  	};
> +
> +	twl_madc: madc {
> +		compatible = "ti,twl4030-madc";
> +		interrupts = <3>;
> +		#io-channel-cells = <1>;
> +	};
>  };
> -- 
> 1.9.0
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/arm/boot/dts/twl4030.dtsi b/arch/arm/boot/dts/twl4030.dtsi
index 86cfc7d..36ae916 100644
--- a/arch/arm/boot/dts/twl4030.dtsi
+++ b/arch/arm/boot/dts/twl4030.dtsi
@@ -152,4 +152,10 @@ 
 		keypad,num-rows = <8>;
 		keypad,num-columns = <8>;
 	};
+
+	twl_madc: madc {
+		compatible = "ti,twl4030-madc";
+		interrupts = <3>;
+		#io-channel-cells = <1>;
+	};
 };