From: maxime.ripard@free-electrons.com (Maxime Ripard)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/3] ARM: sun8i: v3s: add LRADC device node
Date: Wed, 22 Mar 2017 20:22:21 +0100 [thread overview]
Message-ID: <20170322192221.yhtk6qmzqka4vssd@lukather> (raw)
In-Reply-To: <20170317154343.39921-2-icenowy@aosc.xyz>
On Fri, Mar 17, 2017 at 11:43:41PM +0800, Icenowy Zheng wrote:
> Allwinner V3s features a LRADC like the ones in older SoCs.
>
> Add a device tree node for it.
>
> Signed-off-by: Icenowy Zheng <icenowy@aosc.xyz>
> ---
> arch/arm/boot/dts/sun8i-v3s.dtsi | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/arch/arm/boot/dts/sun8i-v3s.dtsi b/arch/arm/boot/dts/sun8i-v3s.dtsi
> index 71075969e5e6..77bbf5ff9548 100644
> --- a/arch/arm/boot/dts/sun8i-v3s.dtsi
> +++ b/arch/arm/boot/dts/sun8i-v3s.dtsi
> @@ -238,6 +238,13 @@
> interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
> };
>
> + lradc: lradc at 01c22800 {
The node name should reflect the class of the device, so something like adc at ..
> + compatible = "allwinner,sun4i-a10-lradc-keys";
Please put a SoC-specific compatible there.
Thanks!
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20170322/2be98fab/attachment-0001.sig>
next prev parent reply other threads:[~2017-03-22 19:22 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-17 15:43 [PATCH 0/3] Basical Lichee Pi Zero with Dock support Icenowy Zheng
2017-03-17 15:43 ` [PATCH 1/3] ARM: sun8i: v3s: add LRADC device node Icenowy Zheng
2017-03-22 19:22 ` Maxime Ripard [this message]
2017-03-17 15:43 ` [PATCH 2/3] ARM: dts: sun8i: add pinmux for V3s mmc1 Icenowy Zheng
2017-03-17 15:43 ` [PATCH 3/3] ARM: dts: sun8i: add device tree for Lichee Pi Zero with Dock Icenowy Zheng
2017-03-22 19:24 ` Maxime Ripard
2017-03-20 12:50 ` [PATCH 0/3] Basical Lichee Pi Zero with Dock support 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=20170322192221.yhtk6qmzqka4vssd@lukather \
--to=maxime.ripard@free-electrons.com \
--cc=linux-arm-kernel@lists.infradead.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