Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1668588 > unrolled thread
| Started by | Ziping Chen <techping.chan@gmail.com> |
|---|---|
| First post | 2017-06-18 15:10 +0200 |
| Last post | 2017-06-20 11:10 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH 1/3] ARM: dts: sunxi: add R_LRADC support for A83T Ziping Chen <techping.chan@gmail.com> - 2017-06-18 15:10 +0200
Re: [PATCH 1/3] ARM: dts: sunxi: add R_LRADC support for A83T Maxime Ripard <maxime.ripard@free-electrons.com> - 2017-06-20 11:10 +0200
| From | Ziping Chen <techping.chan@gmail.com> |
|---|---|
| Date | 2017-06-18 15:10 +0200 |
| Subject | [PATCH 1/3] ARM: dts: sunxi: add R_LRADC support for A83T |
| Message-ID | <tTI7L-5tI-5@gated-at.bofh.it> |
From: Ziping Chen <techping.chan@gmail.com>
The Allwinner A83T's R_LRADC is similiar with the
Allwinner A10's LRADC, they can use the same driver.
Add support for it.
Signed-off-by: Ziping Chen <techping.chan@gmail.com>
---
arch/arm/boot/dts/sun8i-a83t.dtsi | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/sun8i-a83t.dtsi b/arch/arm/boot/dts/sun8i-a83t.dtsi
index 8923ba625b76..ecc75bf6780e 100644
--- a/arch/arm/boot/dts/sun8i-a83t.dtsi
+++ b/arch/arm/boot/dts/sun8i-a83t.dtsi
@@ -301,5 +301,12 @@
interrupt-controller;
#interrupt-cells = <3>;
};
+
+ r_lradc: lradc@01f03c00 {
+ compatible = "allwinner,sun4i-a10-lradc-keys";
+ reg = <0x01f03c00 0x100>;
+ interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
+ status = "disabled";
+ };
};
};
--
2.11.0
[toc] | [next] | [standalone]
| From | Maxime Ripard <maxime.ripard@free-electrons.com> |
|---|---|
| Date | 2017-06-20 11:10 +0200 |
| Message-ID | <tUnkB-6DB-1@gated-at.bofh.it> |
| In reply to | #1668588 |
[Multipart message — attachments visible in raw view] — view raw
On Sun, Jun 18, 2017 at 09:00:16PM +0800, Ziping Chen wrote:
> From: Ziping Chen <techping.chan@gmail.com>
>
> The Allwinner A83T's R_LRADC is similiar with the
> Allwinner A10's LRADC, they can use the same driver.
There's a typo in similar above.
> Add support for it.
>
> Signed-off-by: Ziping Chen <techping.chan@gmail.com>
> ---
> arch/arm/boot/dts/sun8i-a83t.dtsi | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/arch/arm/boot/dts/sun8i-a83t.dtsi b/arch/arm/boot/dts/sun8i-a83t.dtsi
> index 8923ba625b76..ecc75bf6780e 100644
> --- a/arch/arm/boot/dts/sun8i-a83t.dtsi
> +++ b/arch/arm/boot/dts/sun8i-a83t.dtsi
> @@ -301,5 +301,12 @@
> interrupt-controller;
> #interrupt-cells = <3>;
> };
> +
> + r_lradc: lradc@01f03c00 {
> + compatible = "allwinner,sun4i-a10-lradc-keys";
Could you add an A83T specific compatible here?
Thanks,
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web