From: Lee Jones Date: Mon, 28 May 2012 08:59:26 +0000 (+0800) Subject: ARM: ux500: Add a ab8500-gpadc node to the db8500 Device Tree X-Git-Tag: Ubuntu-snapdragon-4.4.0-1050.54~14419^2~1^2~14 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=4eda912908935946ba64e71cb3f5909843a1a566;p=mirror_ubuntu-artful-kernel.git ARM: ux500: Add a ab8500-gpadc node to the db8500 Device Tree This patch provides support for the ab8500-gpadc driver. Acked-by: Linus Walleij Signed-off-by: Lee Jones --- diff --git a/arch/arm/boot/dts/db8500.dtsi b/arch/arm/boot/dts/db8500.dtsi index 4ad5160018cb..84032d17ea23 100644 --- a/arch/arm/boot/dts/db8500.dtsi +++ b/arch/arm/boot/dts/db8500.dtsi @@ -313,6 +313,14 @@ reg = <5>; /* mailbox 5 is i2c */ interrupts = <0 40 0x4>; + ab8500-gpadc { + compatible = "stericsson,ab8500-gpadc"; + interrupts = <0 32 0x4 + 0 39 0x4>; + interrupt-names = "HW_CONV_END", "SW_CONV_END"; + vddadc-supply = <&ab8500_ldo_tvout_reg>; + }; + ab8500-regulators { compatible = "stericsson,ab8500-regulator";