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: 10122623 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 F2FF6603B5 for ; Tue, 19 Dec 2017 08:09:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E227229042 for ; Tue, 19 Dec 2017 08:09:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D537129094; Tue, 19 Dec 2017 08:09:45 +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 76CD929042 for ; Tue, 19 Dec 2017 08:09:45 +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=f93hS+ndJ5M6gOadUM7mqF1anp QlkUUl7t2ypIDLX8BQVkpt05F2acKFbVSIT1syfuBlV1QWv+F2YClwCcEJvpQL6grWfGBxqJu66wT 2+y+hKaRMwilOx85W8yRzSZXIxcudwmGTXpkQ95xUxqCYc9p0ZZURwn9yEK/O8BPo1kHZI9yRWPOV dGGMfmVwoK0mCTs1OwqsvzANjP9mo77Hvk7ykj71+E4dEzmHvlNebJl4AL6L+ao4uRpfBOJzGyYwz lgzkf0H+EUyFm0+yNP5Z+7FoolkPBBEp7i1AbQ+gu4fOEadDE9V8IsQwwAJ20LcKLiG9LoUNwS4sV 3bEfGc3A==; 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 1eRCy5-0000vl-2h; Tue, 19 Dec 2017 08:09:41 +0000 Received: from mail-wr0-x243.google.com ([2a00:1450:400c:c0c::243]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eRCwU-0008Nw-UO for linux-arm-kernel@lists.infradead.org; Tue, 19 Dec 2017 08:08:06 +0000 Received: by mail-wr0-x243.google.com with SMTP id q9so17709344wre.7 for ; 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=Ted2EpivBSEDOxafsmjP5nl0rWTNEJRMI/GP9BksZ5N33zlal9A2Kd8dRk9WklVtds N19TFlBB4cz2Plv18TKyWgAy32KobiBUqyX7bzgQw217PnoO02JF2kB/1ide4L0Rgzis 0LbUM+vlYp/nzZfCW5Cz9VKQ3myt3te94t2Wv36+3+Dd5Uu3N/5vF0b0fMKs1Dyagl4F l/Jpd2xkLzoZdYZQJi2CQJTJogDDaZkzDEL+nvk8MNSpkFo1PRkP2pLoXG5TYcXO2EYH M5lPZoX44l6wykzfXpL7DjPFTBo1i+1O9ROQhHbdqz+gthORnG0IzGCh/CtkoWEDQeit NROw== X-Gm-Message-State: AKGB3mK/jpvg8HylyXzc5J2aTZBztb15wLEDLXxPRkd45ErboCRGK7VX QLOR9ILMkq5N/UAkTsFrTJxCJQ== 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171219_000803_120720_5524C98D X-CRM114-Status: UNSURE ( 9.41 ) 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";