From: Jernej Skrabec <jernej.skrabec@siol.net>
To: maxime.ripard@bootlin.com, wens@csie.org
Cc: robh+dt@kernel.org, mark.rutland@arm.com, mchehab@kernel.org,
linux-media@vger.kernel.org, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com,
Igors Makejevs <git_bb@bwzone.com>
Subject: [PATCH 2/3] arm64: dts: allwinner: a64: Add IR node
Date: Fri, 11 Jan 2019 18:30:14 +0100 [thread overview]
Message-ID: <20190111173015.12119-3-jernej.skrabec@siol.net> (raw)
In-Reply-To: <20190111173015.12119-1-jernej.skrabec@siol.net>
From: Igors Makejevs <git_bb@bwzone.com>
IR is similar to that in A13 and can use same driver.
Signed-off-by: Igors Makejevs <git_bb@bwzone.com>
Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
---
arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
index 839b2ae88583..00827072376a 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
@@ -1004,6 +1004,19 @@
status = "disabled";
};
+ r_ir: ir@1f02000 {
+ compatible = "allwinner,sun50i-a64-ir",
+ "allwinner,sun5i-a13-ir";
+ reg = <0x01f02000 0x400>;
+ 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>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&r_ir_pin>;
+ status = "disabled";
+ };
+
r_i2c: i2c@1f02400 {
compatible = "allwinner,sun50i-a64-i2c",
"allwinner,sun6i-a31-i2c";
@@ -1043,6 +1056,11 @@
function = "s_i2c";
};
+ r_ir_pin: ir {
+ pins = "PL11";
+ function = "s_cir_rx";
+ };
+
r_pwm_pin: pwm {
pins = "PL10";
function = "s_pwm";
--
2.20.1
next prev parent reply other threads:[~2019-01-11 17:30 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-11 17:30 [PATCH 0/3] Add support for IR on Allwinner A64 Jernej Skrabec
2019-01-11 17:30 ` [PATCH 1/3] media: dt: bindings: sunxi-ir: Add A64 compatible Jernej Skrabec
2019-01-12 1:56 ` Chen-Yu Tsai
2019-01-12 8:08 ` Jernej Škrabec
2019-01-21 9:50 ` Maxime Ripard
2019-01-21 9:57 ` Chen-Yu Tsai
2019-01-21 17:33 ` Jernej Škrabec
2019-01-21 17:39 ` Chen-Yu Tsai
2019-01-21 17:59 ` Jernej Škrabec
2019-01-22 0:19 ` Rob Herring
2019-01-22 2:16 ` Chen-Yu Tsai
2019-01-22 13:37 ` Rob Herring
2019-01-25 2:29 ` Chen-Yu Tsai
2019-01-24 18:56 ` Jernej Škrabec
2019-01-25 2:49 ` Chen-Yu Tsai
2019-01-25 15:51 ` Maxime Ripard
2019-01-11 17:30 ` Jernej Skrabec [this message]
2019-01-11 17:30 ` [PATCH 3/3] arm64: dts: allwinner: a64: Orange Pi Win: Enable IR Jernej Skrabec
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=20190111173015.12119-3-jernej.skrabec@siol.net \
--to=jernej.skrabec@siol.net \
--cc=devicetree@vger.kernel.org \
--cc=git_bb@bwzone.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-sunxi@googlegroups.com \
--cc=mark.rutland@arm.com \
--cc=maxime.ripard@bootlin.com \
--cc=mchehab@kernel.org \
--cc=robh+dt@kernel.org \
--cc=wens@csie.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).