From patchwork Sun Oct 12 20:01:55 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Beniamino Galvani X-Patchwork-Id: 5071561 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 5E3CCC11AC for ; Sun, 12 Oct 2014 20:07:23 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 86644201FE for ; Sun, 12 Oct 2014 20:07:22 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A60E82012D for ; Sun, 12 Oct 2014 20:07:21 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XdPOK-0006Qq-Va; Sun, 12 Oct 2014 20:05:20 +0000 Received: from mail-wi0-x233.google.com ([2a00:1450:400c:c05::233]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XdPNi-0004th-A3 for linux-arm-kernel@lists.infradead.org; Sun, 12 Oct 2014 20:04:43 +0000 Received: by mail-wi0-f179.google.com with SMTP id d1so5898003wiv.6 for ; Sun, 12 Oct 2014 13:04:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=cYPIIwq9k3x91lCqU0xpYS0WuyXrUC9ZiP4tP6a50/w=; b=n68GN1NGUOfMIojr4oZ+triQM+jFpoDHz9Rr7GwQV/xxoH1SDWSX5vfeFGY0Uaf0bz dpXnvxMYsk/TxUuVeqZ6mVUUu0esb+rIawPE/rdDxMxYiuASycGmFV+VE4q0i3yeE+el +UVDdY8f3FgdyfVEzIZVdjXRDlr7071906Z7y/yh8SGumQ285mq8lThSlytPDw5LUjLs +faBJ0m6cxKMcVpNrUWE9ve5ePuKEDCmp2zLcJH+6yNx+RwM+idfd/VnmcxnCQ5oJVE8 +7bL3itkBs7XGdEx1eZezNt9eGDDJy4+H4OQUGtABi2W2d/v0916IWBlGoqofMRu8ojn jJuA== X-Received: by 10.180.221.9 with SMTP id qa9mr16068970wic.20.1413144257454; Sun, 12 Oct 2014 13:04:17 -0700 (PDT) Received: from sark.local (host133-41-dynamic.116-80-r.retail.telecomitalia.it. [80.116.41.133]) by mx.google.com with ESMTPSA id t9sm14297374wjf.41.2014.10.12.13.04.15 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 12 Oct 2014 13:04:16 -0700 (PDT) From: Beniamino Galvani To: Mauro Carvalho Chehab Subject: [PATCH 3/3] ARM: dts: meson: add dts nodes for IR receiver Date: Sun, 12 Oct 2014 22:01:55 +0200 Message-Id: <1413144115-23188-4-git-send-email-b.galvani@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1413144115-23188-1-git-send-email-b.galvani@gmail.com> References: <1413144115-23188-1-git-send-email-b.galvani@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141012_130442_558989_8A8E85B6 X-CRM114-Status: GOOD ( 10.01 ) X-Spam-Score: -0.8 (/) Cc: Mark Rutland , devicetree@vger.kernel.org, Victor Wan , Pawel Moll , Ian Campbell , linux-kernel@vger.kernel.org, Beniamino Galvani , Rob Herring , Kumar Gala , Carlo Caione , Jerry Cao , linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Beniamino Galvani --- arch/arm/boot/dts/meson.dtsi | 7 +++++++ arch/arm/boot/dts/meson8-vega-s89e.dts | 6 ++++++ arch/arm/boot/dts/meson8.dtsi | 7 +++++++ 3 files changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/meson.dtsi b/arch/arm/boot/dts/meson.dtsi index 7d27f12..a14461c 100644 --- a/arch/arm/boot/dts/meson.dtsi +++ b/arch/arm/boot/dts/meson.dtsi @@ -108,5 +108,12 @@ clocks = <&clk81>; status = "disabled"; }; + + ir_receiver: ir-receiver@c8100480 { + compatible= "amlogic,meson6-ir"; + reg = <0xc8100480 0x20>; + interrupts = <0 15 1>; + status = "disabled"; + }; }; }; /* end of / */ diff --git a/arch/arm/boot/dts/meson8-vega-s89e.dts b/arch/arm/boot/dts/meson8-vega-s89e.dts index 70a05c1..5ea54c8 100644 --- a/arch/arm/boot/dts/meson8-vega-s89e.dts +++ b/arch/arm/boot/dts/meson8-vega-s89e.dts @@ -77,3 +77,9 @@ pinctrl-names = "default"; pinctrl-0 = <&uart_ao_a>; }; + +&ir_receiver { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&ir_pins>; +}; diff --git a/arch/arm/boot/dts/meson8.dtsi b/arch/arm/boot/dts/meson8.dtsi index 59c3af0..ea98ed3 100644 --- a/arch/arm/boot/dts/meson8.dtsi +++ b/arch/arm/boot/dts/meson8.dtsi @@ -122,6 +122,13 @@ function = "uart_ao"; }; }; + + ir_pins: ir_pins { + ir_pins { + pins = "remote_input"; + function = "remote"; + }; + }; }; }; /* end of / */