From: Nicolas Ferre <nicolas.ferre@microchip.com>
To: Eugen Hristev <eugen.hristev@microchip.com>, <robh+dt@kernel.org>
Cc: <alexandre.belloni@bootlin.com>, <devicetree@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
<linux-kernel@vger.kernel.org>, <ludovic.desroches@microchip.com>
Subject: Re: [PATCH] ARM: dts: at91: sama5d27_som1_ek: enable ADC node
Date: Tue, 27 Jul 2021 10:48:52 +0200 [thread overview]
Message-ID: <85a473cb-e688-f457-1320-390619f07033@microchip.com> (raw)
In-Reply-To: <20210622101742.14535-1-eugen.hristev@microchip.com>
On 22/06/2021 at 12:17, Eugen Hristev wrote:
> Enable the ADC for AN pins on Mikrobus1 and Mikrobus2 on the board.
> These correspond to channels AD6 and AD7 in the controller.
>
> # cat /sys/bus/iio/devices/iio\:device0/in_voltage6_raw
> 240
> # cat /sys/bus/iio/devices/iio\:device0/in_voltage7_raw
> 16380
>
> Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Queued on at91-dt for 5.15. Best regards,
Nicolas
> ---
> arch/arm/boot/dts/at91-sama5d27_som1_ek.dts | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts b/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts
> index a9e6fee55a2a..261a7dbcfdee 100644
> --- a/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts
> +++ b/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts
> @@ -224,8 +224,10 @@ i2c1: i2c@fc028000 {
> adc: adc@fc030000 {
> vddana-supply = <&vddana>;
> vref-supply = <&advref>;
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_mikrobus1_an &pinctrl_mikrobus2_an>;
>
> - status = "disabled";
> + status = "okay";
> };
>
> pinctrl@fc038000 {
>
--
Nicolas Ferre
prev parent reply other threads:[~2021-07-27 8:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-22 10:17 Eugen Hristev
2021-07-27 8:48 ` Nicolas Ferre [this message]
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=85a473cb-e688-f457-1320-390619f07033@microchip.com \
--to=nicolas.ferre@microchip.com \
--cc=alexandre.belloni@bootlin.com \
--cc=devicetree@vger.kernel.org \
--cc=eugen.hristev@microchip.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=ludovic.desroches@microchip.com \
--cc=robh+dt@kernel.org \
/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: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®