From patchwork Tue Feb 13 12:29:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philipp Rossak X-Patchwork-Id: 10216157 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 EB0EF60329 for ; Tue, 13 Feb 2018 12:32:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DCD4728726 for ; Tue, 13 Feb 2018 12:32:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D064428746; Tue, 13 Feb 2018 12:32: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=-1.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM 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 51C1D28726 for ; Tue, 13 Feb 2018 12:32:41 +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=7cTMNssiJY4mvh9TobN3x7l6Vt+J/lnEra16H9XwHM8=; b=lAoWQyc8OqSMRV99GhNsqce/3T Oe21CPguZxiZRFP2kdtnWKVAS+bqiVYplS6Rr+Nq6BMN4HHcJTJhAfOO2wGQbT60imtwuyFc4eSur yR8EKh/fqrjPbDPRuap5qjrR6YEQY77WGxayUpxwVBFCs3IuuGVJv3NeOPwZo2cR8gqH+Zg2DHgyx nvdi2Jarp4S0XvCKPY/vUfmEDT0rOFY781J5LivAorogXpaOHtdm23UBxY1uYx6osXiQl7LCtwAco piKI0V/AUFJeqPYqR9aA7u3Qx3ed4a7MmKpAgmVd632zCRIEb8tJbyHDxo7Eh0HjxvoBdOCA/mRfr h5AaRS2A==; 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 1elZlE-00064O-W3; Tue, 13 Feb 2018 12:32:36 +0000 Received: from mail-wr0-x241.google.com ([2a00:1450:400c:c0c::241]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1elZix-0002sJ-As for linux-arm-kernel@lists.infradead.org; Tue, 13 Feb 2018 12:30:26 +0000 Received: by mail-wr0-x241.google.com with SMTP id q11so6664240wre.8 for ; Tue, 13 Feb 2018 04:30:04 -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=TFVTUoG8I5VflJ/UdQVIlOQajpM/cUa0LaSvo2eFrcI=; b=EtQ1E3yIv23Nf/g74CfDAA+EmeIU9uwTW3imRX/15/Mmtez2eOuzZ6HpJoO+3rAql5 PohYwF8fnWoNAoXIxtagjmeekdbEnQ35dp7PwxEnQFam5vMTcCk1DXsvFe2ed41+GCOE djPNRAYlUW+AA3zK9qhEBNbUGx8er3AEuNmIrTSKN51lxnhpzQymy0gf59Avfe2Hmnb0 FsdN/ekfeEw/MVtywMLUh6bue8NQaBh5X+HTFCWiuBL/k36oQ2Gzj5NDObTtcXfreGs7 BTtWI8A43Ojd/0SjRqV4lVTjNnNm1YOFZu+ZjxmKTw9pIPJQfIITzTJGp+8AMW7RI4Wc HvUQ== 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=TFVTUoG8I5VflJ/UdQVIlOQajpM/cUa0LaSvo2eFrcI=; b=qUGJ3Xc0/oiLhsE3S2qridE0/uD8FW/YlHYE2aEfCK/sWQ/WxvE6V7OfZZQFCgOBeH xJEY/20GohxaOh3HYMYmtAUm2qRka1D8ts6Qiw1SI4lZl2ZZA9XewR6ZMzr047gsa6A9 LO/vglReMc6PfOvfT+ez3F7SMBuoH7U2rwoE901VhEJ6LfGRsVrrLvtDIVwUQoi/MY8s Qnaik189BDvHY4PnzApGknlkys5Djo2lodjeXD/Hp402fx6Horhp5msmrGqBxG+1J9cM /M38Uw1LgeA0kMDTUAx0g7eHuBF+3aSPIuW1/g44DnAHY3JOalQl4tHOdqW0gR6J5l8o u0EA== X-Gm-Message-State: APf1xPAqA+h3fOVcav6GYIDTX3tZ84TbnsTLjnK4T7whZgqBwwRXBSMC EIfppUjOQj+wg4CG3CJIdZhs8Q== X-Google-Smtp-Source: AH8x225q+zJt2ahcfnwfsaBqEUjqE540EhnsKgNZzUn8937NNJ8oTwTAiBgYIKKCcg+sPx8o2EDnEw== X-Received: by 10.223.148.162 with SMTP id 31mr1150513wrr.109.1518525003669; Tue, 13 Feb 2018 04:30:03 -0800 (PST) Received: from debian-laptop.fritz.box (p578F04D2.dip0.t-ipconnect.de. [87.143.4.210]) by smtp.gmail.com with ESMTPSA id l17sm6483422wrh.67.2018.02.13.04.30.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Feb 2018 04:30:03 -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: [RESEND PATCH v5 5/6] arm: dts: sun8i: a83t: bananapi-m3: Enable IR controller Date: Tue, 13 Feb 2018 13:29:51 +0100 Message-Id: <20180213122952.8420-6-embed3d@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180213122952.8420-1-embed3d@gmail.com> References: <20180213122952.8420-1-embed3d@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180213_043015_490614_87F471C6 X-CRM114-Status: UNSURE ( 9.05 ) 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 | 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 6550bf0e594b..26c015fd4f4d 100644 --- a/arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts +++ b/arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts @@ -145,6 +145,11 @@ status = "okay"; }; +&r_cir { + clock-frequency = <3000000>; + status = "okay"; +}; + &r_rsb { status = "okay";