From patchwork Wed Aug 1 09:48:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philipp Rossak X-Patchwork-Id: 10552003 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 D31D913BB for ; Wed, 1 Aug 2018 09:48:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C24382AAC5 for ; Wed, 1 Aug 2018 09:48:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B6AFF2AB10; Wed, 1 Aug 2018 09:48:59 +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 657EC2AB07 for ; Wed, 1 Aug 2018 09:48:59 +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=NCMJJS62N1qnDwpPZzW/eCcfWNzCti3WzbK/ow9vU2U=; b=A+C79XvcWYjbg5u2A8aO4Y+DYK gRdUxuUygDS2/GFTfeeQNnhjnJMHYn1XdUyXGm55CsNcKSPwxugwL/kGPwJyNsZnEsOveu3jcLtUV WqC6nSXT+KSvfnjrJjm0KlMZXcrdGEMAYFBwp+Syx5WJldPWAqM747rVSe3W2BXep9P5qVthjSHeE 65vcfB1OlpA/W1AnFyfxEaRk1itPTaRpdRQKRFREkmjxLkXrRW7hTk6g/6xp0c/xoT5cP+fJj8Yrz Eaj5MSd3JpLYakwR6BTmd7Pbx0HVvZBSfoHjudYaKoGqYcxjJBVvv9ESQf3nRgzwE/S53NrkzuZVt CT9Ly3fw==; 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 1fknkU-00012u-K1; Wed, 01 Aug 2018 09:48:54 +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 1fknjs-0000Dp-J3 for linux-arm-kernel@lists.infradead.org; Wed, 01 Aug 2018 09:48:18 +0000 Received: by mail-wm0-x244.google.com with SMTP id y2-v6so6251295wma.1 for ; Wed, 01 Aug 2018 02:48:06 -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=NcwAUVgFYFLdbSN6IWjkFLeSkrlUTnoto+Lmo4tqt7c=; b=KcpN7OVt0sEz4UzH5zKq7Q3AWeGHpv0fqh3DZ+2dgmAEb5Uh15HN+PGAWOAxjS1/Sm qGy/RzXKFGPMtGbD8CTx7LUWKIhv4Eb1DCNEdGCa8EDLwtqFkFgXJjM0fso0TET0jvB+ l89JcXgL15Qa/4CpSU4nKKHXx8932g5729Zf8+RK6M1rxPlktdSwXfFElWBlcEK2nqEk abDTncpASPlYrKe8KNmFUMQkTLSWDXLqkwCJSwXrR37eRNGFZ1O6/f7UgYwkdLlpyANp iP4vHvy1pi9mFj1gGkDTzo75RXjQmhq9sV+Fk3+91zRK3FAsxDtEoAYfcy7Ph0aX00MK Pzdg== 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=NcwAUVgFYFLdbSN6IWjkFLeSkrlUTnoto+Lmo4tqt7c=; b=RQG0m4GQdlVd9Aire3JPAegoW5m0Xa0erNJWyGNilh9UneIt78d/6LrsM3leLqeluX bGZ8TxF2M3CeX1mAhRrX+adTJnj2PnVcCQat/EzgC6LKYeEY6eegvkQCfAzAZHU+oC2o pTOb4YFHp4nCKLJkYXhfvXOmwGr1//Ldy5CjD7ffptr7SMteRq84NiHEjvlcgDiIzzDJ 9UQ72dz69TNkcv2FW6utEOX1weIY33tZq9EyiPfPg5ja/jPHcGAW/fUN4AKicVNIBTJy pRX678dehirbu74aNkJfqu/02V0PgeN9HvaqFxPQAeSJLL5pMKYg0/QhPph4Joui5u8n sNjg== X-Gm-Message-State: AOUpUlEUahXj8IycZmy7oyO/Tq1RKN747bf6ij4Tb+UTAR/cvcPGpB3v nOH440ohzCgsuQ/3vR5+Wis= X-Google-Smtp-Source: AAOMgpd5QcfruyPoMb/rKMc4KdmaDFTrgsdzIp1V4aaFj9u0AJgdUI5mWF47u58+xNzEzeqIj6EdYQ== X-Received: by 2002:a1c:b143:: with SMTP id a64-v6mr2394596wmf.114.1533116885578; Wed, 01 Aug 2018 02:48:05 -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 r12-v6sm13580217wmh.0.2018.08.01.02.48.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 Aug 2018 02:48:05 -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 Subject: [PATCH v7 3/4] ARM: dts: sun8i: a83t: bananapi-m3: Enable IR controller Date: Wed, 1 Aug 2018 11:48:00 +0200 Message-Id: <20180801094801.26627-4-embed3d@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180801094801.26627-1-embed3d@gmail.com> References: <20180801094801.26627-1-embed3d@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180801_024816_641320_2CE25081 X-CRM114-Status: GOOD ( 13.12 ) 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 Acked-by: Maxime Ripard --- 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";