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: 10117997 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 24D3E603FA for ; Sun, 17 Dec 2017 22:47:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 17BC028C83 for ; Sun, 17 Dec 2017 22:47:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0B1EA291DA; Sun, 17 Dec 2017 22:47:41 +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=-4.2 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 7C8C028C83 for ; Sun, 17 Dec 2017 22:47:40 +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=4fhWSKEhgucOXn1zWV0CtcQnHRr601fP1+7hiY1y4s8=; b=YKTcFY7GaQVs5sCJhTZyrflVKK 6r8qxTg4iZMCkr3k0y5zOSi36y+3sDbNM1RFR2ER1zt8iH6ZZgwffkcjolufa++VxHv/D/1rfiY1V fu7JgcnUwek/DrOSbTgWAlAA1/IFvOZPguNy/VCPaL5MM7h8e6OjzRL6zvWDZ+edMxEtFe9mxoX/G dJHvckoX0sQzQJhI5B9gDTLHghGcv4fxnVLTIDH9hCDOVAYPNAAF0WjX3tVnQhFZPm+sENVKd+cDU Y6/haMJ99I7ETyY5YIOtzUmXInneDvtGTGhnknXa6OnfzR/lThGi6ki4qIfbMzQ7fo9AjCr6f7gQq b5aFf+EQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eQhid-0007eg-HX; Sun, 17 Dec 2017 22:47:39 +0000 Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eQhhL-0006S5-NM for linux-arm-kernel@lists.infradead.org; Sun, 17 Dec 2017 22:46:22 +0000 Received: by mail-wm0-x241.google.com with SMTP id b199so26203637wme.1 for ; Sun, 17 Dec 2017 14:45:59 -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=k6tcV5S2bYwTkwNYAS7CMKgKtbherl+8gF2JWEVR5cDYMup+zF6M0uPAPID8SSbgyi eYG5Rarrqit6Qm6SP1cPgW/KKhrI7OS9wPRFDQEU5R4j5EfJHEYip6RzfT4d9h5h1W7V BONBw05hIHDiGRHELJ8nbXig3PnZLa9rjFGYZC1xlTXw9pEVpjpW0B/dfLN5FAcY/gaz T9ZpiBrqXaB8xOq6/D4SfNX+xCnLysYwmNlEWWjU6bVTBFWBAQdAyJSdFNu1JcEuhqIQ 0601r8JN6xqiFYhlFQHbdyyGGOm5gXZWVRRx8/Kzh1crl0Aw2M8KXqkWSVIeFK6bAyI7 autA== X-Gm-Message-State: AKGB3mJZRrS5fs/SPAX654no3vrNO9C+5P+oSZWXv0E4tdOBV6XKCmbS hvTZFZeMgBiol69oFC+6FBI= 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171217_144620_323441_70F4E10A X-CRM114-Status: UNSURE ( 8.67 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-sunxi@googlegroups.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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";