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>;