From patchwork Mon Dec 18 14:11:45 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philipp Rossak X-Patchwork-Id: 10119613 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 DA38360327 for ; Mon, 18 Dec 2017 14:13:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CD238289E2 for ; Mon, 18 Dec 2017 14:13:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C1ED728C9B; Mon, 18 Dec 2017 14:13:35 +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=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7B988289E2 for ; Mon, 18 Dec 2017 14:13:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758657AbdLRONV (ORCPT ); Mon, 18 Dec 2017 09:13:21 -0500 Received: from mail-wr0-f194.google.com ([209.85.128.194]:40029 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758401AbdLROL6 (ORCPT ); Mon, 18 Dec 2017 09:11:58 -0500 Received: by mail-wr0-f194.google.com with SMTP id q9so14177973wre.7; Mon, 18 Dec 2017 06:11:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=2kJUJ+AgXPWJAhD0MFio07ZnC2n24kg+82B0okKI17M=; b=VdFz1pMExqsBNslX6k3NiphavdFfTZwWwKRsIz0tRiARKyVdVtXj5r5bGGXuJNzdy5 nHXHlboIMrE+jgW9dTnpMev61H+r8b0zAfXPBdS2syY2BTNMg1N+Hhf7UoQpVyDO77Tx vUf8vsdY98vNKyITMJx+CHx1q8n4PuukVA6H39e22P66SCw7wgQP1T9g1nTFRkTYaESw MD3PhnhT3XQ/cRPfCmUA+Ja2cTfrOaFoWppWqDOsMKSVYIpiwCd6Gl5bBx2HJB8IhokJ au2FDZ8RyjZSrNKY1rMnhdzZWTbAYyniTN2HMvg3RNrc4Rp0utzmyjSn5tytR1Pvhpia BtTQ== 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=2kJUJ+AgXPWJAhD0MFio07ZnC2n24kg+82B0okKI17M=; b=cpWGMQctlV26RUkKtc8xYahrO8KAUQGVbCmCc4ZvsD+HVk1zQR1CkxPtixItyuqEbz ZF/R5sPvAErQAFyD9GpIg9arOUSiJf3j8e9MzkwRSnDIX9E7/ZAFCHQSutaw+L6z0HPY pw/VyJpvX6hG5x56uPjRMvUe8bPxbATicRGUYffEinp/1OivYdSWaAFkkKMOtubQgORr kr68WB1CIXbTvWuasOvbsQVaTGftfID5tKjiniajdcVgRoE8HHschf+OjGEhKJVr8g74 QpBpXFWzmuXBT5khHI1hp3dpyONwIf7ycqYDFMjMeLWRwFOH5PSZu8K1b+bOOe1Uj04J btHA== X-Gm-Message-State: AKGB3mKEjCDG3EWe1wH+DNoAJqmHLtCJBE69FmPyryKIYeHd3/kUAm4V 4wBoro6d906LVT8HSauGrw8= X-Google-Smtp-Source: ACJfBosBTiK7uzyo5ueJjztg9uzJg9fYOPI7JBrSrC6c4M4c0QdvMj9g3zmSw9HhEFi3VwRDlroiIQ== X-Received: by 10.223.195.136 with SMTP id p8mr19406923wrf.4.1513606317045; Mon, 18 Dec 2017 06:11:57 -0800 (PST) Received: from debian-laptop.fritz.box (p5B3DDB65.dip0.t-ipconnect.de. [91.61.219.101]) by smtp.gmail.com with ESMTPSA id x127sm5790384wmb.10.2017.12.18.06.11.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 Dec 2017 06:11:56 -0800 (PST) From: Philipp Rossak To: mchehab@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, maxime.ripard@free-electrons.com, wens@csie.org, linux@armlinux.org.uk, sean@mess.org, p.zabel@pengutronix.de, andi.shyti@samsung.com Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com Subject: [PATCH v2 5/6] arm: dts: sun8i: a83t: bananapi-m3: Enable IR controller Date: Mon, 18 Dec 2017 15:11:45 +0100 Message-Id: <20171218141146.23746-6-embed3d@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171218141146.23746-1-embed3d@gmail.com> References: <20171218141146.23746-1-embed3d@gmail.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The Bananapi M3 has an onboard IR receiver. This enables the onboard IR receiver subnode. Unlike the other IR receivers this one needs a base clock frequency of 3000000 Hz (3 MHz), to be able to work. Signed-off-by: Philipp Rossak Acked-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts b/arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts index 6550bf0e594b..ffc6445fd281 100644 --- a/arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts +++ b/arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts @@ -82,6 +82,13 @@ }; }; +&cir { + pinctrl-names = "default"; + pinctrl-0 = <&cir_pins>; + clock-frequency = <3000000>; + status = "okay"; +}; + &ehci0 { /* Terminus Tech FE 1.1s 4-port USB 2.0 hub here */ status = "okay";