From patchwork Mon Dec 18 14:11:44 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philipp Rossak X-Patchwork-Id: 10119621 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 BADCC60327 for ; Mon, 18 Dec 2017 14:14:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AC2E1289E7 for ; Mon, 18 Dec 2017 14:14:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9F3B928C9B; Mon, 18 Dec 2017 14:14: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=-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 175FA289E7 for ; Mon, 18 Dec 2017 14:14: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=pdHswx22+s4Vtwyj2BswJ1xSDcmkKnaezYuJZqr0lcg=; b=mGMEqOhfhxoT8IFkAB8grElqya 9hmCo3n7yj2XK3G859ZHYH+LApYLWFQYTwzXLXlI2tE+imoP0Ukhqp0m0bmNh0b4xDgQiVU8n43eJ B9abPRimzZh7xMv94mkFkZmD5y9XhklVlp1hzj2jdIXgVUrffwebSeP9pauf+f1s8KdvTt3A+8EWa P7rpGRbAwf9OUrjtvU7l9pFaJx0PGQHYaIR0PpWcqU9tL++GI8Cn7WcLUsrGYhj7C75ngVJ1jutM/ 1WcLVyfsnae5+6OdoE5gBb1j3qGhHEGd+hiGTe118Le0+3fLxS0KbV8pV/G2sFI+cwMuOgRdCNUms 2181EsJg==; 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 1eQwBh-0006US-4g; Mon, 18 Dec 2017 14:14:37 +0000 Received: from mail-wr0-x241.google.com ([2a00:1450:400c:c0c::241]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eQw9H-0005E8-S7 for linux-arm-kernel@lists.infradead.org; Mon, 18 Dec 2017 14:12:12 +0000 Received: by mail-wr0-x241.google.com with SMTP id q9so14177891wre.7 for ; Mon, 18 Dec 2017 06:11:57 -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=gAWqU8P+GOc+fMNR0btA9KpqK+nx35JlaClTEEngWmc=; b=a8hxUAkQIKfRbEddREyaUnzxCLOqVUl7vxpDeu7sV+0xeVDzNZUhgYEU7drrOfNEzz XWLAPho4OjUu1EvQjkFP94ishGZ+lTzaNp3Yop0wop93PXehmSkTSGrCOtLL1j98mJKu LZ5t42jnHMRrlliKEwJEhWUIHBKUKt9qkJACgledol4Wo1stwYYCgLnuAbcdV3iNflE8 SFxDZlxxFkmpcWe0CFk+S5c+GwIZcLEcAQd7MCIy4khzbk2hsI+yCv86JHswK9ALWWOY aNo1ZvWbIJDnUBM1JUUs5XC6AAZr4JJDYZfYgOQCWkp3YREwfSoxXp18HkjORdhhLfzv Mbhg== 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=gAWqU8P+GOc+fMNR0btA9KpqK+nx35JlaClTEEngWmc=; b=WEsCBHhbhWVzat1aFyzemzmng+7ekjTjFzePoORx9FePhKC73lWUcQKDj474XMiI3N q1mnXnu3ynL/ZVh2px/oUKnq3gFWiSW/VPqVwjpm7C06q1nvV1zhGM1t42icrtBvTfaK ngl6WFE+CgxamAXRNl24+ABkGrv81J3UEgf8tvdFXjXC1bYkco8PuL2iaqfUiX2ICPhc QKpjbSkOu4FwkDL6IwDNRqElwUH/7HEvlFTxHf4p7o8X5udpcJkIlp6M2w2ZqWdmQ7yB SVOGdokgEjYrtd6gx/rdq/QjXKeDYwa++sxR5WJ1bdTjdqQ7sixPP6Buz782/rOO/ylq 89Cw== X-Gm-Message-State: AKGB3mJquL9wDcTFv3YLrvYlA69QEO+D8USC82jLPN21kvtpMmZ9U1I+ 9UrrjdluSJx3485TZGefk+M= X-Google-Smtp-Source: ACJfBotT6Gz6R1QMnLYhDDocJhTbwpGUPgL2dJogD3OdebYUk1gQnmXFOT6+G0DdTl2T6X6307PCXQ== X-Received: by 10.223.175.50 with SMTP id z47mr4220323wrc.12.1513606315561; Mon, 18 Dec 2017 06:11:55 -0800 (PST) Received: from debian-laptop.fritz.box (p5B3DDB65.dip0.t-ipconnect.de. [91.61.219.101]) by smtp.gmail.com with ESMTPSA id x127sm5790384wmb.10.2017.12.18.06.11.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 Dec 2017 06:11:55 -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 v2 4/6] arm: dts: sun8i: a83t: Add support for the cir interface Date: Mon, 18 Dec 2017 15:11:44 +0100 Message-Id: <20171218141146.23746-5-embed3d@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171218141146.23746-1-embed3d@gmail.com> References: <20171218141146.23746-1-embed3d@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171218_061208_145656_6F4B0335 X-CRM114-Status: GOOD ( 10.53 ) 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 feffca8a9a24..089c270a7f3c 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>;