From patchwork Sun May 6 20:57:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 10383035 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id DB78060236 for ; Sun, 6 May 2018 22:10:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C245C2881B for ; Sun, 6 May 2018 22:10:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B5FF228ABB; Sun, 6 May 2018 22:10:13 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5B13F2881B for ; Sun, 6 May 2018 22:10:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=j01Ofqm7zQcGjDK8d/PxdPR7qVR5BRDzTNXAn4BhPwE=; b=sgLaaDk/pbOF371qEeUiyJ9DJ/ i1/LmsJGKIw4VfliZjf1cz+F7ELd1qcixEL5W2aLy+dC1jBu2W+dUgtGKO7KFO/7gRQfKsD0s5FpU 7iwuUh4xCbFFo3zyg7dwlW95T9pz4ySFXc27VFmY2/QjfgGXOFbpPH8SP0daZWBJpcjnr20qXAXvS AXIqiVlU161mPbskpKcoIxcKlWUZx+HPjA9r3rGI0v73HWxpCE5bhKV+4eYGUwZ/THMaOAWoci1nI FSrcFOs/fQql1kBkYXGnmiSWtyCs4YsCXEsN8QdZcTCqO5Uwc1pgnPokbtAEE0szjEYltTMrplIfm fqXubtVw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fFRr9-0003M3-65; Sun, 06 May 2018 22:10:11 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fFRr7-0002ai-2x for linux-amlogic@bombadil.infradead.org; Sun, 06 May 2018 22:10:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=lYhOchZv3wPxcLChcv39+uBLJr0HeAsgWBCMKRff5DA=; b=T/AbwGROIpsX0GG2PpT+SWuSB 8SSt+ATGU5KU1BcryJGJbd4b9S0fN2Wa/wHWhZB5al7UCcBXm57E2kud5rEocKmPasrNxoOo4XnTn Eel7rygkmhTsxeKDo+nhuMC5XGXPn4F9FUxr4/jIuvbyp6GswJSzTnZ9EeGvYjyKnCBPMI4u7HFvP PUR5AWHbU9U4+uwiIz7F2lsga8/Em2omZ6b9RV/f8E0FD/8kExAM4iUaIPBKoUvLdNoixFNSD5fVz QXJ0xFEOesTWDHO5a6k1HPppCp3BEvHH4d/dI8uORRGg2zkSeMw8azwsrQTArSns/AIMCOM6/cQJd OWAG68Rxg==; Received: from mail-wr0-x242.google.com ([2a00:1450:400c:c0c::242]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fFQja-00070b-4r for linux-amlogic@lists.infradead.org; Sun, 06 May 2018 20:58:21 +0000 Received: by mail-wr0-x242.google.com with SMTP id y15-v6so14340471wrg.11 for ; Sun, 06 May 2018 13:58:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=lYhOchZv3wPxcLChcv39+uBLJr0HeAsgWBCMKRff5DA=; b=m81B5XV1V4Zhp5RuxmTVJ6ehf5kHRWpB/4cX7I1ar9AnBVxCHTl35qP4RRsZo75bLO dWMo3QeWoLTPfjuTWI7QpRZKJQQRnZusf+4gW4tvv7QhGi4Q6IJRT0SNoziBAjwzb6qy CNuU3G2fhyNkw7QvfDW/eIwo+Q3v1ExmTO/0cLn7g+EZF2c/xFthMVX829l3WFSuEfPN bBs0jZwLZ9jRT6jdWnHoLiG5og8Tds6RORJcfiZDRNwzDI20jLqGTDgEp5BS2AnEG1Jo bNCqOhIqsdgKAt3tHyCeRrKCL+AIBbpINXaIV44m25WjSJ1Mmb27DFrRIac2wui4PDaE f8ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=lYhOchZv3wPxcLChcv39+uBLJr0HeAsgWBCMKRff5DA=; b=p3Mcgos00S/t+e2D63m8fQ/w4bqXDMLiiszk1yg5Wf1Z1HNdSvAxTTQpDRjj78gPUk OnugLnLAya9Fh8RYrpqLam2sS9cTzwJ4lZ+Jd1vMdQase+O5JAiSbRNMSHk8eAQc4M1Y aX00c474TSWdvyTUMJbDO7kZchYa+7n6VBIfhmG/ijhKMxlAxB/fZMtjGrfAtylvT9iM dZMLuDafthsNe4Dm7wN1IJSLbf4RJF/Rrjw9+4Vypj7j34NG0ivhsHTSXkzMmCzYMp5O qqDP3vne1FV2ehq8xZz069Js07Sfw6zQP1knRz33ONBqIO7eedmHSeLuMc0sriwnHsss ZRww== X-Gm-Message-State: ALQs6tCQ8pnC7oTRnjPFpkjQYcRU3i8A78Q3lbRNzAdQ19Vz/RwR5Y7G Fij7kYQxS8oYU8wUbg1pr3G0ZFLJ X-Google-Smtp-Source: AB8JxZqflMty14xs873SSc4vvZoDVjmrq4NyYkfGLRfBEJWKf/DavfEogLvJdQBtMcZJeOjE58cVzA== X-Received: by 10.28.95.130 with SMTP id t124mr21522806wmb.124.1525640283086; Sun, 06 May 2018 13:58:03 -0700 (PDT) Received: from blackbox.darklights.net (p200300DCD74EDB0418FC93402D8C81AC.dip0.t-ipconnect.de. [2003:dc:d74e:db04:18fc:9340:2d8c:81ac]) by smtp.googlemail.com with ESMTPSA id p10-v6sm21908802wre.77.2018.05.06.13.58.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 06 May 2018 13:58:02 -0700 (PDT) From: Martin Blumenstingl To: linux-amlogic@lists.infradead.org, khilman@baylibre.com, carlo@caione.org Subject: [PATCH 2/2] ARM: dts: meson8b: odroid-c1: enable the IR receiver Date: Sun, 6 May 2018 22:57:49 +0200 Message-Id: <20180506205749.18719-3-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180506205749.18719-1-martin.blumenstingl@googlemail.com> References: <20180506205749.18719-1-martin.blumenstingl@googlemail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180506_165818_239371_CF6BC838 X-CRM114-Status: GOOD ( 10.20 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Martin Blumenstingl MIME-Version: 1.0 Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The Odroid-C1 comes with an IR receiver. It is connected to the GPIOAO_7 pin and thus using the SoC's internal IR decoder. Signed-off-by: Martin Blumenstingl --- arch/arm/boot/dts/meson8b-odroidc1.dts | 6 ++++++ arch/arm/boot/dts/meson8b.dtsi | 7 +++++++ 2 files changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/meson8b-odroidc1.dts b/arch/arm/boot/dts/meson8b-odroidc1.dts index 7d8ad468a25b..ef3177d3da3d 100644 --- a/arch/arm/boot/dts/meson8b-odroidc1.dts +++ b/arch/arm/boot/dts/meson8b-odroidc1.dts @@ -148,6 +148,12 @@ }; }; +&ir_receiver { + status = "okay"; + pinctrl-0 = <&ir_recv_pins>; + pinctrl-names = "default"; +}; + &sdio { status = "okay"; diff --git a/arch/arm/boot/dts/meson8b.dtsi b/arch/arm/boot/dts/meson8b.dtsi index 5deff6819f7d..91fc8d784803 100644 --- a/arch/arm/boot/dts/meson8b.dtsi +++ b/arch/arm/boot/dts/meson8b.dtsi @@ -148,6 +148,13 @@ function = "uart_ao"; }; }; + + ir_recv_pins: remote { + mux { + groups = "remote_input"; + function = "remote"; + }; + }; }; };