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: 10119625 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 252D660327 for ; Mon, 18 Dec 2017 14:15:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 15FFE223B2 for ; Mon, 18 Dec 2017 14:15:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 08B6928794; Mon, 18 Dec 2017 14:15: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=-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 A64EE223B2 for ; Mon, 18 Dec 2017 14:15:34 +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=drm16ZFQ6Vi6Zg3CYykHDQzbBALTdXxEMO9Tpl9frPE=; b=R3SWuAAUro7FgM5MiCGedizNks ytSZG3qEKN73P9MjHvkS82XCxM4e76p6inGpFmJJC7cc51DoeW0jcQo4QPGsMNejHWh0tbKXcjxaB EEqu4V4SyR+nsALNs4FioZdqXAzoWAjvqdzncEg0Imx2z8ReRkfP4b9qqngH7uTpABwij2r0VDaSJ I+kShAQsHRQCYS9KxzngtudKe7XGXfddqg4rTQ02X/bUQZqEQh81a2Cc4jx4/e2eJmZVLNpVGAyFH Cvu9ug5dMGg0F7Fmulwq9xhjE8xzNs82z/waslha2nzrMHI0lrDXsOe+SvjWthFFPBesYvLpQ1mru A7VIUPgQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eQwCV-000794-LD; Mon, 18 Dec 2017 14:15:27 +0000 Received: from mail-wr0-x242.google.com ([2a00:1450:400c:c0c::242]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eQw9J-0005EN-3R for linux-arm-kernel@lists.infradead.org; Mon, 18 Dec 2017 14:12:14 +0000 Received: by mail-wr0-x242.google.com with SMTP id s66so14163864wrc.9 for ; Mon, 18 Dec 2017 06:11: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=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=SrpN82f6DpTRQeNkhMnmD5ia8dBS0y2peGowj6X+j5mvoSEUtU7en2c7ixP9XVPtHg EHLN13rj6wi4+w8Q7BI3dobwkhFbb7qGrL9naNEm9lI6P5/kaS1Yg/+J6JOHzMwOPq6D YLkJ2BHVZbr0ixayuTwBtEnQEP+S4OKs5ZLoF7AEPG5cso0Syc+qimWuW8X2vfPoJbk6 m0nqnFzlSLY42SiHKQIxqeavGP0wnQVjf73EXzR/z3zbtsouo+R88hq8vdyORDfUU8U8 nMnkBdm/PZitGmQT9zmxcLpfk8wiuGOV8xdO3SOYVPsQSo5wtCxogx8BJNocFiukBjah vhmQ== X-Gm-Message-State: AKGB3mI/7ku+Q7KcVtaZIeH5VPEz/Fw8p+AX03cHF+iVB8LwcY8jFct8 lMpbRdyswFkcffZ6a6AlKOo= 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171218_061209_497489_75B7474A X-CRM114-Status: UNSURE ( 8.81 ) 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. 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";