From patchwork Mon Jan 29 15:58:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philipp Rossak X-Patchwork-Id: 10189885 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 B7FA260375 for ; Mon, 29 Jan 2018 15:59:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B492D288A0 for ; Mon, 29 Jan 2018 15:59:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A8EEB288B5; Mon, 29 Jan 2018 15:59:14 +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 33520288A0 for ; Mon, 29 Jan 2018 15:59:13 +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=BTl/TDa1I0lX0fK4zmSivGERaYEd8hiVVCSbNgfHSNw=; b=u3v/djYus4n2LYVyCH0Wec1uAd VZ5yMd8EOHR0LR6PzJBNnZP4dXHEjAi5f7GWVT3A0SU7U8F6ttgZwG0PmmBIHznfF/m+mtyLoKMcO 74o9xXV25O5A4NMcCgHjwiJCocVd99DNsSBWgbyW4MhBtb0eC6/dIKCkTFBnftSBtnNVkjbQn730+ /XoD8X5SWZJDimKvmO/J9E3Fy/uaOdzSPPvNwOKV1GE1/U+k26iA8lwA5bELCww2tB6YJomMws3LB 0MiKwqdbPR/ocXKj+UoHKs2pDx8rsLaZAqjJd9wbX/5WFw58t0YqB+S2Heg+Wu0a2I3evq+B9ameu 9sxMigwQ==; 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 1egBpv-0005j3-QP; Mon, 29 Jan 2018 15:59:11 +0000 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1egBpD-0004yG-NJ for linux-arm-kernel@lists.infradead.org; Mon, 29 Jan 2018 15:58:29 +0000 Received: by mail-wm0-x242.google.com with SMTP id 143so15235812wma.5 for ; Mon, 29 Jan 2018 07:58:22 -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=hqoXRQnWfx73re/i+b789aI8iKyN4n/MYQVsH8ElATg=; b=DxHM0zQZX76fapNX58lN1/ZikMOrfiyNYivUeezJ2EUztl6b1+XYIOB4CpOV6sRjzk Lnk1FdXXQYcCDn1YuOG1A2kxNgYLU/H0vwaxxSeUfmz2BBPVxDzAkJrPD5g5F5w3KvJl 8LuUaaTdRRwBPwIUkLgH/z2U+56vzs6iETCsl1QUkw6Z5tEAYrHSDrl7cy7tDI6i+Gy+ +7CSc5p6+t9LPST+qVKKHO6bmKeF/v7sRvSK8GMLzpTvfzmfXv9se7Im4LF0B/wvMtD/ qNQ/g8KzY55YG3EO1sId+1KpT2ySAaGjhnqa6Boqta2SVRzZZKv+hkAADQOUbyIkBMfY En1Q== 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=hqoXRQnWfx73re/i+b789aI8iKyN4n/MYQVsH8ElATg=; b=CArmakBZa/qdnNP5w/s2AKtONtrFhS58nyrHOh8NTf4WWuKpQbLenBGhC6R+fkoHlb bk523AOr4k2mDuBSPWuJ7hFV9f94oDjJEHMCF5x2vwQRSL3pe8LTY70MLPDPrvj0ry11 DaHdzOiUjOXJJVuoFrqP6g3mJcljLy9S7x2x78O6ACQS43eDHorPISVVqCz4rzq2OCNi LQlcNW4y2hyuXR3x6wZUo8YF1rlgfDdFFLDbOzjuuaUZSrAyHFS4IQV9iVRvLadriYar Cvkw+9pxa9NU3C0TTiqm6epnWumrCT/Hc/OJFbdF6g/gxN+zHOkI/NFKFNsJMPl7jB7e 58AA== X-Gm-Message-State: AKwxytdLGtapvqElw9gm7xVff/WXJE92Id4PVc0j/of2sElNW9DxAAjR x6oBfyTShaMzevRUVoS7fm0= X-Google-Smtp-Source: AH8x224ry/sIyR817Tz+QLNHLlnPDLH4JP2kaOzZl8wM7hzFP8AWNty1lnVOEgIRdj7wasDxa3UmFw== X-Received: by 10.28.237.23 with SMTP id l23mr19204573wmh.113.1517241500871; Mon, 29 Jan 2018 07:58:20 -0800 (PST) Received: from debian-laptop.fritz.box (p578F04D2.dip0.t-ipconnect.de. [87.143.4.210]) by smtp.gmail.com with ESMTPSA id z22sm2465385wrc.3.2018.01.29.07.58.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Jan 2018 07:58:20 -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 v4 4/6] arm: dts: sun8i: a83t: Add support for the cir interface Date: Mon, 29 Jan 2018 16:58:08 +0100 Message-Id: <20180129155810.7867-5-embed3d@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180129155810.7867-1-embed3d@gmail.com> References: <20180129155810.7867-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 | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-a83t.dtsi b/arch/arm/boot/dts/sun8i-a83t.dtsi index 06e96db7c41a..ddc0d592107f 100644 --- a/arch/arm/boot/dts/sun8i-a83t.dtsi +++ b/arch/arm/boot/dts/sun8i-a83t.dtsi @@ -605,6 +605,16 @@ #reset-cells = <1>; }; + cir: cir@01f02000 { + compatible = "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>; + status = "disabled"; + }; + r_pio: pinctrl@1f02c00 { compatible = "allwinner,sun8i-a83t-r-pinctrl"; reg = <0x01f02c00 0x400>;