From patchwork Tue Jan 30 17:46:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philipp Rossak X-Patchwork-Id: 10192129 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 1AD7060375 for ; Tue, 30 Jan 2018 17:48:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 09A0824B44 for ; Tue, 30 Jan 2018 17:48:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F269A24B5B; Tue, 30 Jan 2018 17:48:23 +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=-4.2 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 86A0A24B44 for ; Tue, 30 Jan 2018 17:48:23 +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=FoHtUSYJwDQgs4OCf4kKJxtdSItK3ZpN+q67osiRs0M=; b=Leeg8VdHT4n41PqteW+o8a21D0 zlZxGasGi7Oh97e1dICQRKRc3+KM5veR6feum2sa4cIczMQGDos96nd5tPoypB9pyReMkuvC5AQA8 KlRxy6+AEo3Iwv5zhcrexOzwLndgTQOjPzUDjQwyK5oKXdy0sBB1U4ojnSN5f3lIGZeTZqHeiX+iL q2E+L9RxmgIqZacV0cX7ECE9D3hYXonZNqWVA1rXG87FO/Oz/BauNjii1T6YWwsCSlOPFAqzRyNW9 WZ+m3JkzDVIVlUy4sPzBkOPtVvaCoYYtaVJKvOH1He9G0O+vhb4EuDv1l4H+15Dj7Hy9A59AT+bhG 3m3d25rg==; 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 1ega16-0007oJ-VV; Tue, 30 Jan 2018 17:48:20 +0000 Received: from mail-wr0-x242.google.com ([2a00:1450:400c:c0c::242]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1ega02-0006lG-1N for linux-arm-kernel@lists.infradead.org; Tue, 30 Jan 2018 17:47:16 +0000 Received: by mail-wr0-x242.google.com with SMTP id t94so586360wrc.5 for ; Tue, 30 Jan 2018 09:47:03 -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=A9gV6369MFL/8FnfE6/eiHlIhj76NOJdqqN4mWDhSY8=; b=iSCVChrsPMvrlklURYhEm1NvDPdlVIAATaxx88a7d1f2Jkih8VyMfyOSCmJyyULii6 Knt8eRi0wpY2jSmwkwa2lu8+xxkLYDx1L80rG+ZbSkAuTS0Ct++LIu3qKkrNz61H4YQt iXgZxw5XxsF0d7Ur4koGmW1AW2tgPxqHiWwXMagnPNAaWf8tg4Ydit+HzfKBALjUnGxP bEsepnlYyKrrnauEUinZeFWdXnUAzdr8yXZDTRgX1iws3TzUxkzIk2kOYB4b8winDHXA oPAP5OXu0Mo7cR3TwJKvFjXJ9w6CRBubb5+RjAmmpfw+rvCoJIIjHvIK5Im1HcWUuaUU 7YqQ== 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=A9gV6369MFL/8FnfE6/eiHlIhj76NOJdqqN4mWDhSY8=; b=nKDANHWAbXAsM4yaxwVMfdWbJFZyvpVQGmnTnUklolXTe1hqdvZBrKY8bPfAXUFWpa 3oPAhcN1LXxsnWbWdSTJd01jFatC8D6Jya3sMbbNwigaGxSFsmgBaxX2PQn4TUSdH5Nk 1JDxvLTLeqLtR2KKryq7NJhNFQzqzfUO96p/SXqDPoC+kGFSifvRalnqyuK759MFqIvr 2Tm8fDEw9vqaAjhOt0+0facp1D1UDpqpPcSWbPXKK8GScIvjOSM1aH92iqKMdJ0UeaXa 6xGQWTyXTpI6glwBoY75WPoCVxBm+8h/JcyWtbmOue0pIF34tbV7Mhfhl1eSpHRDZR+s 4ZtA== X-Gm-Message-State: AKwxytfdf0oAgnelvEdFrz47PEyF6H9zvMjrnyGJm/VAa/RLGm5jjJbv XPmF4cK1AcIYBgFBsBNfsSc= X-Google-Smtp-Source: AH8x2260AIpDx3md7d8S67D733Ggp7KYUaInAn/MowlV3Legct0q2vhK+5jSWly+HLNza1jV2thcmg== X-Received: by 10.223.158.5 with SMTP id u5mr24162696wre.197.1517334422243; Tue, 30 Jan 2018 09:47:02 -0800 (PST) Received: from debian-laptop.wlan.uni-ulm.de (eduroam164-089.wlan.uni-ulm.de. [134.60.164.89]) by smtp.gmail.com with ESMTPSA id p21sm9985653wmc.45.2018.01.30.09.47.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Jan 2018 09:47:01 -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: [PATCH v5 4/6] arm: dts: sun8i: a83t: Add support for the cir interface Date: Tue, 30 Jan 2018 18:46:54 +0100 Message-Id: <20180130174656.10657-5-embed3d@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180130174656.10657-1-embed3d@gmail.com> References: <20180130174656.10657-1-embed3d@gmail.com> 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 --- 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 f7f78a27e21d..1e04a5cfd32d 100644 --- a/arch/arm/boot/dts/sun8i-a83t.dtsi +++ b/arch/arm/boot/dts/sun8i-a83t.dtsi @@ -704,6 +704,19 @@ #reset-cells = <1>; }; + 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>;