From patchwork Sun Dec 17 22:45:47 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philipp Rossak X-Patchwork-Id: 10117969 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 2838C603FA for ; Sun, 17 Dec 2017 22:46:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1C96E28C83 for ; Sun, 17 Dec 2017 22:46:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 117ED291DA; Sun, 17 Dec 2017 22:46:25 +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 7664528C83 for ; Sun, 17 Dec 2017 22:46:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932126AbdLQWqD (ORCPT ); Sun, 17 Dec 2017 17:46:03 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:41943 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757729AbdLQWp7 (ORCPT ); Sun, 17 Dec 2017 17:45:59 -0500 Received: by mail-wm0-f65.google.com with SMTP id g75so26189612wme.0; Sun, 17 Dec 2017 14:45: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=N+7/LbgZ1RycOqHBIz8AikIqxOpqoi4H2tgu2+GfX4Q=; b=ElW/Zo/zPb4oO6q+8RKADsfwe/yMXYT/LPspOmveVxv6HZGTWSDKv1GplH1yDg2AVW D0hPhULsw0n1J9aodsCv9bVnygWT5ZcN9hYhNMSsvZ3uPQGQ2wYoChen3Ah8AKdHRD82 TMdSrcRLHn87u2MJyJ1P8cMH9Rs0pu98klC9ctJ1Ajc41BJfkQJufuJOXjEZtQ84Kugy QXevkJbpYoCXyNfbfPL+cVmqZM0uZlKbg5sgrHus7jV0N2CtQ5JgbvYjQlH060nl9BrO aY3kkxByt1fz/BmIBRjnmEfWRYKQJi58BAmgqz+9Th84qTQAcpM25i5xIpdwFGjKr7lu sS+g== 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=N+7/LbgZ1RycOqHBIz8AikIqxOpqoi4H2tgu2+GfX4Q=; b=Q3HF6atV5XPUsXV7gIPIpDu1md57iDhI1DBYb6xFjBas36aM0SU/1Q66hj3KUNua1g ST0+RRnPOSg3P9SmfLKfi0AZfTB4GRF3u7z0e8hNYcOJ7Lp2DR7uCSn+h0w2GGJ2IU1+ TzPDeDBvzy5baVRo/PKFD87N67NZ/BXASIp+LnD92gKG7dGaGsigAv+8qugA9QBH4jfV Y1sCy/tSAHCMfYkoH2HYWgzJwuT2920V9H7DEvkvieGcso3E1tf/ExvtXAD9W/azSyZB PQYhFiHzeRA2KrYJ8FHqBBqNgddbQMGECc+30j062sC/WDtmG9+G6v0A7taUU0hXut3M bRZA== X-Gm-Message-State: AKGB3mIalwkcmgDTUXtp/8CaQMHT3ElWFWdZasE2+AM9FkW3tXBKHh2D ce7P9eXWdcMM6R70peLVQLI= X-Google-Smtp-Source: ACJfBotiVVNwWT/lJIl7+1gvmGrxlFNYCv6xY1KZWumPEp6HvdMeBRPZhDpYH/qQTqQwj2z8Z3E/Eg== X-Received: by 10.28.120.2 with SMTP id t2mr9638684wmc.5.1513550757836; Sun, 17 Dec 2017 14:45: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 52sm30890673wrv.8.2017.12.17.14.45.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 17 Dec 2017 14:45:57 -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 5/5] arm: dts: sun8i: a83t: bananapi-m3: Enable IR controller Date: Sun, 17 Dec 2017 23:45:47 +0100 Message-Id: <20171217224547.21481-6-embed3d@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171217224547.21481-1-embed3d@gmail.com> References: <20171217224547.21481-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. Other than 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..2bf25ca64133 100644 --- a/arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts +++ b/arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts @@ -100,6 +100,13 @@ status = "okay"; }; +&ir { + pinctrl-names = "default"; + pinctrl-0 = <&ir_pins_a>; + clock-frequency = <3000000>; + status = "okay"; +}; + &mdio { rgmii_phy: ethernet-phy@1 { compatible = "ethernet-phy-ieee802.3-c22";