From patchwork Tue Jul 31 09:22:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philipp Rossak X-Patchwork-Id: 10550537 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id EEFC613BF for ; Tue, 31 Jul 2018 09:35:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E508028D8E for ; Tue, 31 Jul 2018 09:35:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D68682AA85; Tue, 31 Jul 2018 09:35:05 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 5A29F28D8E for ; Tue, 31 Jul 2018 09:35:05 +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=tMg6fZn4vv2KeXMRkGP9/ZwN7r9fxtr4mvrxXMTbKlw=; b=OKkrSBnxBeVi7C8SChEFZPyIKF pY0MJN9A7/Cjbq8YDlUDf9wSLGlW6sP/eyjUhKK7ue6Q6FdEIY+t6qF1h1NqyNH5b2je1i7m4WeYq iES633vleIYy1L2YZO/XLW+IhYG0Va/4+9AMN50JjwrXWVHBg6q9qLWpbCiaU7HHLD5IuzA3/QYC+ /Xh0iu/ZQBZE+6xWk0dvd2T+t+LQkoBhthBBwKFX6ZaT3NTwVPSXBkK3MQnYgAY09w43DzYpsWj4R L2dJEDJxgJuE5IS5mL9uORgEZ/rhApY5PypWJ9RCF+IPCMBNJ88f8fl8dCZASnFXCmNJN8SYwX4iW Zv5o0CKw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fkR3X-00020l-Oo; Tue, 31 Jul 2018 09:35:03 +0000 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fkQs7-0003Pf-Gk for linux-arm-kernel@lists.infradead.org; Tue, 31 Jul 2018 09:23:18 +0000 Received: by mail-wm0-x244.google.com with SMTP id n11-v6so2335081wmc.2 for ; Tue, 31 Jul 2018 02:23:04 -0700 (PDT) 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=FFYj5wJ3q2XBZytzOAcMDH0abbnx8Rd0P2eZ3zHd9dQ=; b=eJoi1vQkcQ6frxJl8nfUOiEXG5NQBRid6dmpZLdOohaAVHXmvONqX+pSpI9xKzqlFV o0BoPvONZ9QJK7JbvkIEbPjwpsEgOJxALEMcAxCyXXGIDiLe1XIV39WytTNADxt7cWkD SkhiIu+AYwABZrVU23dem4vzN77AqJ0zbhf28vj5O2DX4cpzQ4HfRxmSh4pfIRuqIKup JmeSn5Vm9jKJeuNcR5VpSUun2sUeV511GYKzbkndSPdBgSAK0q8E6XI0whg8rZX3Z5jK tVtgSqkX9fE32MR9g1gWa5Ho+UwhDwTCWxtoWAMY9JKu1ujWghz1+oumnFdyQnbe789O 1EGQ== 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=FFYj5wJ3q2XBZytzOAcMDH0abbnx8Rd0P2eZ3zHd9dQ=; b=sZ+GuES4LSqW37zYh7OVX2EfDP1z2RFcZg9LJqSvqupLLHAKgPfW+s3c2/cCpk10sw FXS/AN0Q1saCStsoSdpMdk5zsbei2Qh9f6eVoPB/oxzuTXSgditPqXiFrzMpCPGGPDIO o7E1y7FaxAq4+3KCnRtl+H5XG4plBUzOWwjIOsWRczb85he9SoYIx4cRco/O8i7Di/l+ xvA+efk0nEv8pk91wncEsG11Y4/4H8zKVsWclraNBJo7bWHtov7GZL3s2pk1XoBwY1Xh Wv1MWZ/pWF+/Mt5s0sqR2ZN1J2tp+BKbsvu0bTOPLh87rhXNoj5hAOr+qGi5yGC68mX+ AIqw== X-Gm-Message-State: AOUpUlHnGu6VM34lskwQyGQXd1FJ/0cYJ6hT+wXb7qDiDmOQE2fCrWt7 O5swYQz9nla1sedck9TA7gQ= X-Google-Smtp-Source: AAOMgpcdt4oVgjAP2SJJ5mnfA/6W4FcpK7KAcxeInUOOd2O4q7a+cCL3CP38tuoV4hHT743cUVmVCA== X-Received: by 2002:a1c:9f12:: with SMTP id i18-v6mr1768517wme.124.1533028982895; Tue, 31 Jul 2018 02:23:02 -0700 (PDT) Received: from debian-hp.wlan.uni-ulm.de (eduroam170-020.wlan.uni-ulm.de. [134.60.170.20]) by smtp.gmail.com with ESMTPSA id y191-v6sm1670873wmy.4.2018.07.31.02.23.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 31 Jul 2018 02:23:02 -0700 (PDT) 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 v6 3/4] ARM: dts: sun8i: a83t: bananapi-m3: Enable IR controller Date: Tue, 31 Jul 2018 11:22:57 +0200 Message-Id: <20180731092258.2279-4-embed3d@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180731092258.2279-1-embed3d@gmail.com> References: <20180731092258.2279-1-embed3d@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180731_022315_765885_F74A8DCF X-CRM114-Status: GOOD ( 12.46 ) 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 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts b/arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts index 3b579d7567c8..ea23ff821166 100644 --- a/arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts +++ b/arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts @@ -183,6 +183,11 @@ status = "okay"; }; +&r_cir { + clock-frequency = <3000000>; + status = "okay"; +}; + &r_rsb { status = "okay";