From patchwork Wed Aug 1 09:47:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philipp Rossak X-Patchwork-Id: 10551999 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 633DC13BB for ; Wed, 1 Aug 2018 09:48:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5286F2AA2D for ; Wed, 1 Aug 2018 09:48:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 465B42AAB9; Wed, 1 Aug 2018 09:48:32 +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 050F22AA2D for ; Wed, 1 Aug 2018 09:48:31 +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=+TTY+s2521uNDovvhOflt2vHXxFzfJh1chMjbtc4BlY=; b=Ptv8Dl21O+B2aP1W2ehODALYNX tbrV3eIMf+L/320DfA3cTPmL/GyDbwrxhTv6ug6zqTFAv54p8lXYr1HbLpFcSJF16ESjVy3VimxiG G9eG7TZFYHT8OCTVOU0P+bw4Kq1NsHQeDsjUr0UE6rODLKcJf5+3TnJy+4M95YI9RM/8WPRR68+kf /I94oPeptFMKdq8XA/E1RKqCkMvvNmd30waF10MsELNaxONxLw97a4DDQpBKXcAWTibrH4EKx7O1s 7ZNemsn7+c1yBvssnH7uoZ1IGndZXJjI1CQ9j5dP29yP5lq7xALp+3CSgJWbz8sbD2FEV1ab0r/HA n6K8MX1Q==; 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 1fknk3-0000Qs-Hr; Wed, 01 Aug 2018 09:48:27 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fknjr-0000Dm-Pf for linux-arm-kernel@lists.infradead.org; Wed, 01 Aug 2018 09:48:17 +0000 Received: by mail-wr1-x443.google.com with SMTP id u12-v6so1124790wrr.4 for ; Wed, 01 Aug 2018 02:48:05 -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=mwDJ6+OsJiYOZTKOFhDaYtsRx47tV8oqoIlTAjeZSac=; b=YvkCE0l9h3o/4M6CfavOtbQn8fiCNprGLvCkAtnEwro2galhDIIeXfV0EHjTX3D0Gn aRNKEo1pqDeCVvtaYM7CDB0jJSFQgrwxDPfNlGofeRQLkIK6Mp30FxI9srGH4VfB7Yzi tnfu0K4GgOGIqPGBK1s4jlUuW73mtMR1kUXxTAauSxlmYuBRVpqIvS7WrPWERSPu8cYO xDhpZmxw1Bibjb43x5nsrycCSP5AYTCSK5i9/4DXbGH0oPy9oojdJpAjLY8lNmJh3bCx 0Y4eoW7I6wB87XOfF3LmXTNCcNZWC80FT08n7GQS7gg1vIXzlOZ6ub4DjfJh0qazK8Si 6T8A== 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=mwDJ6+OsJiYOZTKOFhDaYtsRx47tV8oqoIlTAjeZSac=; b=r6Ia39XkyGu+7IrD14BGJIsGqZn0yTRmncIEHYtMJScZImKMPMbv+pMVs8Lk8Cfyvk CoxKKJpASwIA4dSG6FTOwvlL0DlfGoHhomfAhjaI7P+i7tDEIlncRKZjRuDzZyxGiuzt gg7xBD93Om7S4eio9oKaRiKM3WIQo539KZqtv9CNabT4l5hdp0dUtJAKzwtoJkVzUN7U toWgdfneP/m6LtJJ4BOgM/PQoyravZ6rsh8mq1zuf3H4YwhF0jFwBliFgU3bvbf12k/w pLrOP0FDMUTKZwbKsGr5sKMvg16G8vEnLhZzYtvCBm77D7doxxTmTqp+YzfKEc/MqJLf AxEA== X-Gm-Message-State: AOUpUlG6zrziaXDS0TtV7VQDvWsf9x/kAJJfpZA7ZQyqwWoIAmrmcQNH fjVRdMPKMVDzV7zAHo1Beow= X-Google-Smtp-Source: AAOMgpeOEkgCEDmqTbVGUPXv4yWpOuAQq+TT9Ck9KNnlsZtHvinjojHag7eENh4ox2p5W/zRXmNkbg== X-Received: by 2002:adf:b243:: with SMTP id y3-v6mr24574857wra.90.1533116884095; Wed, 01 Aug 2018 02:48:04 -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.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 Aug 2018 02:48:03 -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 1/4] ARM: dts: sun8i: a83t: Add the cir pin for the A83T Date: Wed, 1 Aug 2018 11:47:58 +0200 Message-Id: <20180801094801.26627-2-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_024815_830300_DC7B5112 X-CRM114-Status: GOOD ( 12.86 ) 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 CIR Pin of the A83T is located at PL12. Signed-off-by: Philipp Rossak Acked-by: Maxime Ripard --- arch/arm/boot/dts/sun8i-a83t.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-a83t.dtsi b/arch/arm/boot/dts/sun8i-a83t.dtsi index 2be23d600957..afed6c0dea6f 100644 --- a/arch/arm/boot/dts/sun8i-a83t.dtsi +++ b/arch/arm/boot/dts/sun8i-a83t.dtsi @@ -1004,6 +1004,11 @@ interrupt-controller; #interrupt-cells = <3>; + r_cir_pin: r-cir-pin { + pins = "PL12"; + function = "s_cir_rx"; + }; + r_rsb_pins: r-rsb-pins { pins = "PL0", "PL1"; function = "s_rsb"; From patchwork Wed Aug 1 09:47:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philipp Rossak X-Patchwork-Id: 10552033 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 D6D97174A for ; Wed, 1 Aug 2018 10:05:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C491B2A895 for ; Wed, 1 Aug 2018 10:05:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B8A7E2AA5F; Wed, 1 Aug 2018 10:05:19 +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 658122A895 for ; Wed, 1 Aug 2018 10:05:19 +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=M/Mn5ctxa5ZfG+emeXrH65uCumULdh8pwrO0MSnF8N0=; b=R78s4LHcvUPY48sPTObHcHbMTe exDLW0qJhN1JX+jY0/knHbfBUPXElBaI8fNiZeKiscwhYm5apBO0crbplM58O2JUBU0DHUKhuwahS dyMN3069tIBHjm3uxHwxCMRhvOT5qXYHBbKWmyLfEjAucZ8cDZsRKME707SYVbtx4uq4MYvplZgs4 YmOdo0VMHmqlFsBsS24xkUT0wC8g8t2/EYSfin/0OGQWTqX8cn57lPzLgqrNftMnPxjjCbr0oixUo sDKppj7cf+3l7QuSCa1lpSfCUj7KxBxYMTZ7tDV/i1TrOFsDW0gwa1tpcqDRBT3ky5fDuQ5SNr3OG PHeXUrog==; 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 1fko0J-0003IJ-PV; Wed, 01 Aug 2018 10:05:15 +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-0000Do-J7 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 q8-v6so1238984wmq.4 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=Cq9NH+oVSC4BLzYdcoahdEruWQbnx28uoXRsQSzwgUo=; b=LApvsmded2eoFiLN+w/c/eTiFPV3sEHkA/CRstAWA2m25NMELBlQlDvbOvCJNDp9Ch 33siPQcsXD1UFXdAzGgSL4tU5kLfCrKEdYZBcrcY+dqbNyGqbDYRepTFs7jSqQDxguZ8 AD0gg8etKcuJoE/KC/OGmpMOzmrF1lzJAHWwxwn1CKTjK9jH8Dne5cFjwH4I2c/SFsnp 2SrkIi/UlsogGqhpF4hkT6gQUKODzsBpiCRAKs6H2b0vkwxuWA6pbsJ53EUOabDnlMol qNkhvs5KNBXFILCljNLR+iX3KR3Uz0gBBnsWn2r+8EymDaJOJkv7XxxOYQwPnqbEnlFV qXgw== 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=Cq9NH+oVSC4BLzYdcoahdEruWQbnx28uoXRsQSzwgUo=; b=aCR+TT0j96+C1kWpaKGwJV7qIj+HEWRy2zMfFz1V+0eiwM2BYX+yh+MnP1+BgN4b2l LG7anoo0wg3Mt1B1Kzl+T+LwUnAXTdXGP/2n2bbxE9cd/KuiD8ED85z1Ed4g2bmbAnb6 rytbzWzGFUoXNUcySRe8l1guGljHroz3m6MFv0aVM62CMRtimzQrhs4KDOMBsZaoDd48 7MCFScQlKSIXUWHioME2zcYTE3Vg4Sg1+4LGizBR0MGhLsh49nn49Sq4kZhQ1RBj0WBq nAQ2WQxW8G8+BaKbNcXemNX+ab9Tz68/7o5rq4QEKy2eR9tZ9Fx9+jiNtfgy49tWXJmT uVIg== X-Gm-Message-State: AOUpUlHC7ncHXuiqKfE9RoP/BhhBTDq+zoFfhaiWqdG70CteWQremfQN jYgxdCB0U3zCCO5gMp0xSEI= X-Google-Smtp-Source: AAOMgpdo2ESO22O+floht/gfkKouLdHVumDdFKQbYLTcmhHiS5x4+knxnIBjpL4CUSQBmCb84Nx7/Q== X-Received: by 2002:a1c:2d54:: with SMTP id t81-v6mr2390507wmt.31.1533116884828; Wed, 01 Aug 2018 02:48:04 -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:04 -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 2/4] ARM: dts: sun8i: a83t: Add support for the cir interface Date: Wed, 1 Aug 2018 11:47:59 +0200 Message-Id: <20180801094801.26627-3-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_648982_986DFD35 X-CRM114-Status: GOOD ( 14.41 ) 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 cir interface is like on the H3 located at 0x01f02000 and is exactly the same. This patch adds support for the ir interface on the A83T. Signed-off-by: Philipp Rossak Acked-by: Maxime Ripard --- arch/arm/boot/dts/sun8i-a83t.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-a83t.dtsi b/arch/arm/boot/dts/sun8i-a83t.dtsi index afed6c0dea6f..798ab48c5479 100644 --- a/arch/arm/boot/dts/sun8i-a83t.dtsi +++ b/arch/arm/boot/dts/sun8i-a83t.dtsi @@ -992,6 +992,19 @@ reg = <0x1f01c00 0x400>; }; + r_cir: ir@1f02000 { + compatible = "allwinner,sun8i-a83t-ir", + "allwinner,sun5i-a13-ir"; + clocks = <&r_ccu CLK_APB0_IR>, <&r_ccu CLK_IR>; + clock-names = "apb", "ir"; + resets = <&r_ccu RST_APB0_IR>; + interrupts = ; + reg = <0x01f02000 0x400>; + pinctrl-names = "default"; + pinctrl-0 = <&r_cir_pin>; + status = "disabled"; + }; + r_pio: pinctrl@1f02c00 { compatible = "allwinner,sun8i-a83t-r-pinctrl"; reg = <0x01f02c00 0x400>; 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"; From patchwork Wed Aug 1 09:48:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philipp Rossak X-Patchwork-Id: 10552001 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 C9C2015E9 for ; Wed, 1 Aug 2018 09:48:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B9D632AAB9 for ; Wed, 1 Aug 2018 09:48:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ADB8C2AAC5; Wed, 1 Aug 2018 09:48:43 +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 66B012AA2D for ; Wed, 1 Aug 2018 09:48:43 +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=/T+ICtbbPTDLL4h50r+vzDAq8gizNOc/SMd4WaUw1YI=; b=r9uPsAR7ImfafCKywolPdecxS2 NsuYJKMVIrtkERXF21P1osVEh3p5xJa7Kaa7+XUc7Gj4O8faNSrevEk6Y4bgAIFoSw8DnwlaO81I7 0uxxdtTCFxSY295f1swTtwUKWDEIc8+MiQCAO9AwgflzQU4Q+NyfYlJ0QtHTSjL2XOia0Oltjs0hO 5sry4Mnc4vxLnaB4AJr8MttCf5pkKNQxoAOxgwcqePVjHcId+W3j6fSgzSVjdecYDREXHA4mMmc3V C5yXucPaQiZsKB2Kpetd8VuK1O3rz0rYen/6xXO+7MgQHWWDxwmyETYgVLVooLmhXeFCd1eDDbVaK bOQnrC1w==; 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 1fknkF-0000i8-Ht; Wed, 01 Aug 2018 09:48:39 +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-0000Dv-J4 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 o11-v6so6199922wmh.2 for ; Wed, 01 Aug 2018 02:48:07 -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=GUllKO7wb5633n+/K3RfTcqZ//tFOo/xk+5N63G4iMw=; b=kMwKxkUK2yM3Qc1StxW+P76dBgn+gg0BhXT2znbLqF1PuJYMPhtgm6nc4lzh84bHtI SJwsUakU83sePe+fmc4nd9FrEBgyQ+TYRx6lXwr7VSDHDjfl6w9NAtmT6Y/cQJrq8H8c DUjQ2JVdg/Kaz2WFbL+QuwNQuHY25AL0r1D85bKm+pdFN3ZVULIY5TDuCbtNecFnN8HS Ps0sVOnnoj8BchSfGtVpjYU0Z/ADXYtYjfKfdesPRTNyU2vldhj9ihXEBvgG1+acGzZQ dq5AhzhqfpBNLtRhiAVGpYF6I4T4cY+rnrmPoEEBjsjDzciGMOvl4UhTDnAczVFNFvTQ 2Fdg== 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=GUllKO7wb5633n+/K3RfTcqZ//tFOo/xk+5N63G4iMw=; b=tDsvRkayOd/vbIlsh6UNXmRw/aJm3nddGUyTeUeLcRMIpfz9XNdvnVuVOY8rt/527k 4Gzm56bmOsliF/ENapwiAbJTfmnELvy//WIu3JqHgFTs7PgfeQz13bfLe+fAaU84cJi4 XOD6FGpavmX5Em78jHAu5Kt+NauwWVQNIV4j9MOW67HWXQRdorwkfq6VNErwUUkmsacW MP4/AvifQ6zqhVW1pTM/7JAb9C+5YC9H7EOWhk6bS34XfLa3EBpymUjbDTxEysH3Ob/M nABGPlapO/CWcxCR7DXNmtAoHsZHHEYjIznKFVGadkb057vR3VjEg6bAckKuAd0Mo3Ua hcFA== X-Gm-Message-State: AOUpUlGtBtg9XOJySmlYlO/6gJLD7XdAPgyCpJE7JXg+swAbZPKFwP91 z8YNoj8EbqbX+J8E0VRZdAM= X-Google-Smtp-Source: AAOMgpdN2+MKp/iWPb4pmIFJNyuTwOjViFXMH22z5z2THC18OpFbCGplI+gU35xoVOM5s3LbdCMpTw== X-Received: by 2002:a1c:3605:: with SMTP id d5-v6mr2360299wma.95.1533116886364; Wed, 01 Aug 2018 02:48:06 -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.05 (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 4/4] ARM: dts: sun8i: h3-h5: ir register size should be the whole memory block Date: Wed, 1 Aug 2018 11:48:01 +0200 Message-Id: <20180801094801.26627-5-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_629198_B52B70A2 X-CRM114-Status: GOOD ( 14.16 ) 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 size of the register should be the size of the whole memory block, not just the registers, that are needed. Signed-off-by: Philipp Rossak Acked-by: Maxime Ripard --- arch/arm/boot/dts/sunxi-h3-h5.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sunxi-h3-h5.dtsi b/arch/arm/boot/dts/sunxi-h3-h5.dtsi index c3bff1105e5d..2f4d93de836e 100644 --- a/arch/arm/boot/dts/sunxi-h3-h5.dtsi +++ b/arch/arm/boot/dts/sunxi-h3-h5.dtsi @@ -818,7 +818,7 @@ clock-names = "apb", "ir"; resets = <&r_ccu RST_APB0_IR>; interrupts = ; - reg = <0x01f02000 0x40>; + reg = <0x01f02000 0x400>; status = "disabled"; };