From patchwork Mon Jan 29 15:58:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philipp Rossak X-Patchwork-Id: 10189883 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 9C6FF60375 for ; Mon, 29 Jan 2018 15:59:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9BE55288A0 for ; Mon, 29 Jan 2018 15:59:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9099D288B5; Mon, 29 Jan 2018 15:59:11 +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 960F9288A0 for ; Mon, 29 Jan 2018 15:59:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751741AbeA2P64 (ORCPT ); Mon, 29 Jan 2018 10:58:56 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:35937 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751577AbeA2P6X (ORCPT ); Mon, 29 Jan 2018 10:58:23 -0500 Received: by mail-wm0-f65.google.com with SMTP id f3so34692095wmc.1; Mon, 29 Jan 2018 07:58:23 -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=F07nWfxglirh1JvVeZ3ishT2i7k5ENm5KS54Rd1iHM/QpoDgfas6T5vYBwUmodU0tH fL+7M1B0qRYjRC+CqmMDhqZd9IQYBWzhKteJmSccqlgqw98slXlqOt3cZ/BE3dkvv1z7 jTYFaMtWAbembL5XHyh/Y3YE9/s4nPIwm6IUNG6/l/lIHCHzpZzzBXMY2iTXzDkgWSNt ohGsLWPqLF/c6vMP4IXpXw68ZJeuNUAxTP3CAeT+y9MmYTNBe6QDGwyiDdogIw1JtknH 7M6kranep7x1Sym1ulVAHWx++dFtJkY0FFSf630APG0mNvcvE00yIhJUl6vCqsBnnx46 Iwrg== 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=jimPSwCa7HGg2ICtPGaEKJiaWVeyJrABP9PZI1N0WAAhVVNp9HemKQSkVTQJ8/TuuP vjVy66eSLlaA7refwG87yAg1Ce/qNotU9YpbHM+HiNXoUxXFc2gDvY0S1+BgMM9jp2zz uiRcnlML/oUkHWSzhnxEHdC81MbmCz83GtwrYNQjjrB3AoWi6b9t1ZWkpFFGNwFjD35s CWAZkl6gISu6NoFbXq/NYK5gGzdnuP4qHgueadsWe77M6Q7HMQxbhZgi5gHqH/TyWhPR zTEve/MMj2A40btG2K4ToYok8Vvpvvy4rj5yjdTVyFt5adbvRue+eWuygPDhGzq9aVeh nAzg== X-Gm-Message-State: AKwxytdNved064EZY1dTeAe3TWmfAPx7ern/3ydiAIfmGiV9RumWgTcI eRX5TlrvCWDnLP1pNHaeC4Q= X-Google-Smtp-Source: AH8x226LmnVcvxm7SCBrx1ui1Xdu4mmxsYws/EYYHyRYIKqBVHeUt+lzxzOLUs3cvx6RvuNcd0gzzg== X-Received: by 10.28.29.130 with SMTP id d124mr16383969wmd.139.1517241502336; Mon, 29 Jan 2018 07:58:22 -0800 (PST) Received: from debian-laptop.fritz.box (p578F04D2.dip0.t-ipconnect.de. [87.143.4.210]) by smtp.gmail.com with ESMTPSA id z22sm2465385wrc.3.2018.01.29.07.58.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Jan 2018 07:58:21 -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 v5 5/6] arm: dts: sun8i: a83t: bananapi-m3: Enable IR controller Date: Mon, 29 Jan 2018 16:58:09 +0100 Message-Id: <20180129155810.7867-6-embed3d@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180129155810.7867-1-embed3d@gmail.com> References: <20180129155810.7867-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";