linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: maxime.ripard@free-electrons.com (Maxime Ripard)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 4/5] arm: dts: sun8i: a83t: Add support for the ir interface
Date: Mon, 18 Dec 2017 08:47:14 +0100	[thread overview]
Message-ID: <20171218074714.ei4cuvl3ydc72zev@flea.lan> (raw)
In-Reply-To: <20171217224547.21481-5-embed3d@gmail.com>

On Sun, Dec 17, 2017 at 11:45:46PM +0100, Philipp Rossak wrote:
> The ir interface is like on the H3 located at 0x01f02000 and is exactly
> the same. This patch adds support for the ir interface on the A83T.
> 
> Signed-off-by: Philipp Rossak <embed3d@gmail.com>
> ---
>  arch/arm/boot/dts/sun8i-a83t.dtsi | 10 ++++++++++
>  1 file changed, 10 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/sun8i-a83t.dtsi b/arch/arm/boot/dts/sun8i-a83t.dtsi
> index 954c2393325f..9e7ed3b9a6b8 100644
> --- a/arch/arm/boot/dts/sun8i-a83t.dtsi
> +++ b/arch/arm/boot/dts/sun8i-a83t.dtsi
> @@ -503,6 +503,16 @@
>  			#reset-cells = <1>;
>  		};
>  
> +		ir: ir at 01f02000 {
> +			compatible = "allwinner,sun5i-a13-ir";
> +			clocks = <&r_ccu CLK_APB0_IR>, <&r_ccu CLK_IR>;
> +			clock-names = "apb", "ir";
> +			resets = <&r_ccu RST_APB0_IR>;
> +			interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
> +			reg = <0x01f02000 0x40>;

The size should be the size of the whole memory block, not just the
registers you need.

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: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20171218/f0fc4225/attachment-0001.sig>

  reply	other threads:[~2017-12-18  7:47 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-17 22:45 [PATCH 0/5] arm: sunxi: IR support for A83T Philipp Rossak
2017-12-17 22:45 ` [PATCH 1/5] media: rc: update sunxi-ir driver to get base clock frequency from devicetree Philipp Rossak
2017-12-17 23:13   ` Sean Young
2017-12-18  2:44   ` Andi Shyti
2017-12-18 12:43     ` Philipp Rossak
2017-12-17 22:45 ` [PATCH 2/5] media: dt: bindings: Update binding documentation for sunxi IR controller Philipp Rossak
2017-12-18  7:46   ` Maxime Ripard
2017-12-17 22:45 ` [PATCH 3/5] arm: dts: sun8i: a83t: Add the ir pin for the A83T Philipp Rossak
2017-12-18  3:21   ` Chen-Yu Tsai
2017-12-17 22:45 ` [PATCH 4/5] arm: dts: sun8i: a83t: Add support for the ir interface Philipp Rossak
2017-12-18  7:47   ` Maxime Ripard [this message]
2017-12-17 22:45 ` [PATCH 5/5] arm: dts: sun8i: a83t: bananapi-m3: Enable IR controller Philipp Rossak
2017-12-18  3:30   ` Chen-Yu Tsai

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=20171218074714.ei4cuvl3ydc72zev@flea.lan \
    --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;
as well as URLs for NNTP newsgroup(s).