From: Maxime Ripard <maxime.ripard@free-electrons.com> To: gregkh@linuxfoundation.org Cc: linux-iio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, thomas@free-electrons.com, patrice.vilchez@atmel.com, plagnioj@jcrosoft.com, jic23@kernel.org, nicolas.ferre@atmel.com Subject: [PATCH 8/9] ARM: AT91: Add ADC driver to the at91sam9x5 dtsi Date: Fri, 11 May 2012 15:35:39 +0200 [thread overview] Message-ID: <1336743340-4578-9-git-send-email-maxime.ripard@free-electrons.com> (raw) In-Reply-To: <1336743340-4578-1-git-send-email-maxime.ripard@free-electrons.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Acked-by: Arnd Bergmann <arnd@arndb.de> --- arch/arm/boot/dts/at91sam9x5.dtsi | 38 +++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi b/arch/arm/boot/dts/at91sam9x5.dtsi index dd4ed74..6b3ef43 100644 --- a/arch/arm/boot/dts/at91sam9x5.dtsi +++ b/arch/arm/boot/dts/at91sam9x5.dtsi @@ -190,6 +190,44 @@ interrupts = <27 4>; status = "disabled"; }; + + adc0: adc@f804c000 { + compatible = "atmel,at91sam9260-adc"; + reg = <0xf804c000 0x100>; + interrupts = <19 4>; + atmel,adc-use-external; + atmel,adc-channels-used = <0xffff>; + atmel,adc-vref = <3300>; + atmel,adc-num-channels = <12>; + atmel,adc-startup-time = <40>; + atmel,adc-channel-base = <0x50>; + atmel,adc-drdy-mask = <0x1000000>; + atmel,adc-status-register = <0x30>; + atmel,adc-trigger-register = <0xc0>; + + trigger@0 { + trigger-name = "external-rising"; + trigger-value = <0x1>; + trigger-external; + }; + + trigger@1 { + trigger-name = "external-falling"; + trigger-value = <0x2>; + trigger-external; + }; + + trigger@2 { + trigger-name = "external-any"; + trigger-value = <0x3>; + trigger-external; + }; + + trigger@3 { + trigger-name = "continuous"; + trigger-value = <0x6>; + }; + }; }; nand0: nand@40000000 { -- 1.7.9.5
WARNING: multiple messages have this Message-ID (diff)
From: maxime.ripard@free-electrons.com (Maxime Ripard) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 8/9] ARM: AT91: Add ADC driver to the at91sam9x5 dtsi Date: Fri, 11 May 2012 15:35:39 +0200 [thread overview] Message-ID: <1336743340-4578-9-git-send-email-maxime.ripard@free-electrons.com> (raw) In-Reply-To: <1336743340-4578-1-git-send-email-maxime.ripard@free-electrons.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Acked-by: Arnd Bergmann <arnd@arndb.de> --- arch/arm/boot/dts/at91sam9x5.dtsi | 38 +++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi b/arch/arm/boot/dts/at91sam9x5.dtsi index dd4ed74..6b3ef43 100644 --- a/arch/arm/boot/dts/at91sam9x5.dtsi +++ b/arch/arm/boot/dts/at91sam9x5.dtsi @@ -190,6 +190,44 @@ interrupts = <27 4>; status = "disabled"; }; + + adc0: adc at f804c000 { + compatible = "atmel,at91sam9260-adc"; + reg = <0xf804c000 0x100>; + interrupts = <19 4>; + atmel,adc-use-external; + atmel,adc-channels-used = <0xffff>; + atmel,adc-vref = <3300>; + atmel,adc-num-channels = <12>; + atmel,adc-startup-time = <40>; + atmel,adc-channel-base = <0x50>; + atmel,adc-drdy-mask = <0x1000000>; + atmel,adc-status-register = <0x30>; + atmel,adc-trigger-register = <0xc0>; + + trigger at 0 { + trigger-name = "external-rising"; + trigger-value = <0x1>; + trigger-external; + }; + + trigger at 1 { + trigger-name = "external-falling"; + trigger-value = <0x2>; + trigger-external; + }; + + trigger at 2 { + trigger-name = "external-any"; + trigger-value = <0x3>; + trigger-external; + }; + + trigger at 3 { + trigger-name = "continuous"; + trigger-value = <0x6>; + }; + }; }; nand0: nand at 40000000 { -- 1.7.9.5
next prev parent reply other threads:[~2012-05-11 13:36 UTC|newest] Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-05-11 13:35 [PATCHv5] Add ADC driver for Atmel G20, G45 and X5 boards Maxime Ripard 2012-05-11 13:35 ` Maxime Ripard 2012-05-11 13:35 ` [PATCH 1/9] ARM: AT91: Add platform data for the AT91 ADCs Maxime Ripard 2012-05-11 13:35 ` Maxime Ripard 2012-05-11 13:35 ` [PATCH 2/9] ARM: AT91: IIO: Add AT91 ADC driver Maxime Ripard 2012-05-11 13:35 ` Maxime Ripard 2012-05-11 13:35 ` [PATCH 3/9] ARM: AT91: Add the ADC to the sam9g20ek board Maxime Ripard 2012-05-11 13:35 ` Maxime Ripard 2012-05-11 13:35 ` [PATCH 4/9] AT91: ADC: Add support for the AT91SAM9M10G45-EK board Maxime Ripard 2012-05-11 13:35 ` Maxime Ripard 2012-05-11 13:35 ` [PATCH 5/9] ARM: AT91: Add the ADC clock to the sam9x5 SoC file Maxime Ripard 2012-05-11 13:35 ` Maxime Ripard 2012-05-11 13:35 ` [PATCH 6/9] IIO: AT91: Add DT support to at91_adc driver Maxime Ripard 2012-05-11 13:35 ` Maxime Ripard 2012-05-11 13:35 ` [PATCH 7/9] ARM: AT91: Add ADC driver to the at91sam9g45 dtsi Maxime Ripard 2012-05-11 13:35 ` Maxime Ripard 2012-05-11 13:35 ` Maxime Ripard [this message] 2012-05-11 13:35 ` [PATCH 8/9] ARM: AT91: Add ADC driver to the at91sam9x5 dtsi Maxime Ripard 2012-05-11 13:35 ` [PATCH 9/9] ARM: AT91: Add ADC driver to the at91sam9g20 dtsi Maxime Ripard 2012-05-11 13:35 ` Maxime Ripard 2012-05-14 20:26 ` [PATCHv5] Add ADC driver for Atmel G20, G45 and X5 boards Greg KH 2012-05-14 20:26 ` Greg KH -- strict thread matches above, loose matches on Subject: below -- 2012-05-09 13:01 [PATCHv4] " Maxime Ripard 2012-05-09 13:02 ` [PATCH 8/9] ARM: AT91: Add ADC driver to the at91sam9x5 dtsi Maxime Ripard 2012-05-09 13:02 ` Maxime Ripard
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1336743340-4578-9-git-send-email-maxime.ripard@free-electrons.com \ --to=maxime.ripard@free-electrons.com \ --cc=gregkh@linuxfoundation.org \ --cc=jic23@kernel.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-iio@vger.kernel.org \ --cc=nicolas.ferre@atmel.com \ --cc=patrice.vilchez@atmel.com \ --cc=plagnioj@jcrosoft.com \ --cc=thomas@free-electrons.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.