linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: hdegoede@redhat.com (Hans de Goede)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 9/9] ARM: dts: sun4i: Add ir node to various boards
Date: Mon, 30 Jun 2014 23:57:59 +0200	[thread overview]
Message-ID: <1404165479-23785-10-git-send-email-hdegoede@redhat.com> (raw)
In-Reply-To: <1404165479-23785-1-git-send-email-hdegoede@redhat.com>

Tested on a cubieboard and the mini-x.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 arch/arm/boot/dts/sun4i-a10-a1000.dts      |  6 ++++++
 arch/arm/boot/dts/sun4i-a10-cubieboard.dts |  6 ++++++
 arch/arm/boot/dts/sun4i-a10-hackberry.dts  |  6 ++++++
 arch/arm/boot/dts/sun4i-a10-mini-xplus.dts | 13 +++++++++++++
 4 files changed, 31 insertions(+)

diff --git a/arch/arm/boot/dts/sun4i-a10-a1000.dts b/arch/arm/boot/dts/sun4i-a10-a1000.dts
index 55d9510..9e99ade 100644
--- a/arch/arm/boot/dts/sun4i-a10-a1000.dts
+++ b/arch/arm/boot/dts/sun4i-a10-a1000.dts
@@ -88,6 +88,12 @@
 			};
 		};
 
+		ir0: ir at 01c21800 {
+			pinctrl-names = "default";
+			pinctrl-0 = <&ir0_pins_a>;
+			status = "okay";
+		};
+
 		uart0: serial at 01c28000 {
 			pinctrl-names = "default";
 			pinctrl-0 = <&uart0_pins_a>;
diff --git a/arch/arm/boot/dts/sun4i-a10-cubieboard.dts b/arch/arm/boot/dts/sun4i-a10-cubieboard.dts
index 539b693..3ce56bfb 100644
--- a/arch/arm/boot/dts/sun4i-a10-cubieboard.dts
+++ b/arch/arm/boot/dts/sun4i-a10-cubieboard.dts
@@ -80,6 +80,12 @@
 			};
 		};
 
+		ir0: ir at 01c21800 {
+			pinctrl-names = "default";
+			pinctrl-0 = <&ir0_pins_a>;
+			status = "okay";
+		};
+
 		uart0: serial at 01c28000 {
 			pinctrl-names = "default";
 			pinctrl-0 = <&uart0_pins_a>;
diff --git a/arch/arm/boot/dts/sun4i-a10-hackberry.dts b/arch/arm/boot/dts/sun4i-a10-hackberry.dts
index 21df4e3..891ea44 100644
--- a/arch/arm/boot/dts/sun4i-a10-hackberry.dts
+++ b/arch/arm/boot/dts/sun4i-a10-hackberry.dts
@@ -87,6 +87,12 @@
 			};
 		};
 
+		ir0: ir at 01c21800 {
+			pinctrl-names = "default";
+			pinctrl-0 = <&ir0_pins_a>;
+			status = "okay";
+		};
+
 		uart0: serial at 01c28000 {
 			pinctrl-names = "default";
 			pinctrl-0 = <&uart0_pins_a>;
diff --git a/arch/arm/boot/dts/sun4i-a10-mini-xplus.dts b/arch/arm/boot/dts/sun4i-a10-mini-xplus.dts
index 387770d..b9ecce6 100644
--- a/arch/arm/boot/dts/sun4i-a10-mini-xplus.dts
+++ b/arch/arm/boot/dts/sun4i-a10-mini-xplus.dts
@@ -52,6 +52,19 @@
 			status = "okay";
 		};
 
+		pinctrl at 01c20800 {
+			ir0_pins_a: ir0 at 0 {
+				/* The ir receiver is not always populated */
+				allwinner,pull = <1>;
+			};
+		};
+
+		ir0: ir at 01c21800 {
+			pinctrl-names = "default";
+			pinctrl-0 = <&ir0_pins_a>;
+			status = "okay";
+		};
+
 		uart0: serial at 01c28000 {
 			pinctrl-names = "default";
 			pinctrl-0 = <&uart0_pins_a>;
-- 
2.0.0

  parent reply	other threads:[~2014-06-30 21:57 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-30 21:57 [PATCH 0/9] ARM: dts: sunxi: Various sunxi dts patches Hans de Goede
2014-06-30 21:57 ` [PATCH 1/9] ARM: dts: sunxi: Add #interrupt-cells to pinctrl nodes Hans de Goede
2014-06-30 21:57 ` [PATCH 2/9] ARM: dts: sun4i: Add AXP209 support to various boards Hans de Goede
2014-06-30 21:57 ` [PATCH 3/9] ARM: dts: sun7i: " Hans de Goede
2014-06-30 21:57 ` [PATCH 4/9] ARM: dts: sun7i: Rename sun7i-a20-ir to sun4i-a10-ir Hans de Goede
2014-06-30 21:57 ` [PATCH 5/9] ARM: dts: sun7i: Add ir receiver support to a20-i12-tvbox Hans de Goede
2014-06-30 21:57 ` [PATCH 6/9] ARM: dts: sun7i: Add board support for LinkSprite pcDuino V3 Hans de Goede
2014-07-01  2:22   ` Chen-Yu Tsai
2014-07-01  7:12     ` Hans de Goede
2014-07-01  7:21       ` Chen-Yu Tsai
2014-07-01  7:30         ` Hans de Goede
2014-07-01  7:59           ` Maxime Ripard
2014-06-30 21:57 ` [PATCH 7/9] ARM: dts: sun7i: Add new ba10-tvbox board Hans de Goede
2014-07-01  2:16   ` Chen-Yu Tsai
2014-07-01  7:06     ` [linux-sunxi] " Hans de Goede
2014-07-01  8:01       ` Maxime Ripard
2014-06-30 21:57 ` [PATCH 8/9] ARM: dts: sun4i: Add ir controller nodes and pinmux Hans de Goede
2014-06-30 21:57 ` Hans de Goede [this message]
2014-07-01  8:06 ` [PATCH 0/9] ARM: dts: sunxi: Various sunxi dts patches Maxime Ripard
2014-07-01  8:58   ` Hans de Goede

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=1404165479-23785-10-git-send-email-hdegoede@redhat.com \
    --to=hdegoede@redhat.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).