From patchwork Tue Dec 19 08:07:46 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philipp Rossak X-Patchwork-Id: 10122611 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 C0908603B5 for ; Tue, 19 Dec 2017 08:08:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B110929035 for ; Tue, 19 Dec 2017 08:08:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A5F3E2908B; Tue, 19 Dec 2017 08:08:50 +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 4BDD529035 for ; Tue, 19 Dec 2017 08:08:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760130AbdLSIIF (ORCPT ); Tue, 19 Dec 2017 03:08:05 -0500 Received: from mail-wr0-f195.google.com ([209.85.128.195]:44409 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760060AbdLSIH7 (ORCPT ); Tue, 19 Dec 2017 03:07:59 -0500 Received: by mail-wr0-f195.google.com with SMTP id l41so5516848wre.11; Tue, 19 Dec 2017 00:07:58 -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=a7/G3AprrmIFCOidVtI+8uqtnKJENCQx9PGdpkZQhleQp4PH+xrjFNBa7f5Z0Dnsbj LI8vhxfMoKvPvIY63CX80V9EeXYiEOLhJvMXo5pqlFHmaj6nP9BflZCVSc9zj0XwqRis DqPbiWtiirLT7aREW8mmtAybK732fJerLEbcyQ5UuYrtGlZx95jDaRu+dSISxWikFNkE 9unMvxIxkigrvPrkAOPzqDANq08NIwdqJYVQqLviCN8MG5OGCmb00NXvBAB2LlJXKTxf JMGhr060hVMCEOc1xbr8B939N+SqL/TtV8x+ONctrtSig01WRRgOUJcV4cC2w+z1m1kC bYSw== 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=Ie05DvPBFyysv8/NpX/RtpmJeTw5h76n0VEQ4sWdkNC2Sby7WqO389r9lzXeVLCzXe JTgXcvZTz4Z9uCeyNYltt4S2El92lgRNFTE5vB9ptn4SfO8uSw+Z1iNRq3ouUkyVP5a/ jmnMbG5NAcyA/DIJKKq8djuSIXVb/Xfu2Q+cXFTAXjKwzNWJewgmXtqdeJsqw8ouKvaG eLznW4YxL0R1nA9ObtgyS3fu+IK5dU4+HAMQ0F6ghe9fRoLaF9dgwacfEFvp+IE9R+i+ dX9lplmqi9/CRE6jFCVAhyFez15Kno1Ya+qqsAEQWmhgonKRkM2GTb1mAq71xRJShorB 6d5Q== X-Gm-Message-State: AKGB3mKFui0CrY7G/SA8/71AWs/74vFib9mJkSIz7dGTpe6oB00nFeCT Jj3c028YkrIOKvIbGHrE+no= X-Google-Smtp-Source: ACJfBotR075wj8hAIhVrAiZ7bg5s/9Jm3ULFJWmY+eiu66C3M61YlWiSgsqHRrgPs80+6jZmabG/ZQ== X-Received: by 10.223.184.68 with SMTP id u4mr3611003wrf.62.1513670877352; Tue, 19 Dec 2017 00:07: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 c34sm15820113wra.53.2017.12.19.00.07.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Dec 2017 00:07: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 v3 5/6] arm: dts: sun8i: a83t: bananapi-m3: Enable IR controller Date: Tue, 19 Dec 2017 09:07:46 +0100 Message-Id: <20171219080747.4507-6-embed3d@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171219080747.4507-1-embed3d@gmail.com> References: <20171219080747.4507-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";