From patchwork Tue Dec 19 08:07:45 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philipp Rossak X-Patchwork-Id: 10122617 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 73094603B5 for ; Tue, 19 Dec 2017 08:09:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 63EDB29035 for ; Tue, 19 Dec 2017 08:09:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 580EF29093; Tue, 19 Dec 2017 08:09:16 +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 E4C2829035 for ; Tue, 19 Dec 2017 08:09:15 +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=YDqAORZ8CQuc1b52V1Yi5bCVJ3 qPQGOnCQzwu8tamXQMMmvuJ3if12fVQbEG7Z3XgJMAdsZtkShW+u8RtVtDANE13ed9rB63pDlRdPk sgxCCZRGnrxuxTWavKDlvLmx020ztxzKydWKDcVf5qqluiv04pN0pQrbniI/xuFjVKKwpWXEMTNtf ryV4o9vyqXAyxHO2dPgk/hH022GnkFYAUoAUZgdg9pU/+5nCovBNUZGYcdFU1q/Whq8XhoM4I5bSI GNFQVJh/4ptyIVu1dZO40KyO3icTY4UKuHUVUagmTBCrA2qxrOVPyiNEP0pX3dn9CL6RN7vzofl76 Jq6iMA+w==; 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 1eRCxc-0000du-Gb; Tue, 19 Dec 2017 08:09:12 +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 1eRCwU-0008Nk-2t for linux-arm-kernel@lists.infradead.org; Tue, 19 Dec 2017 08:08:05 +0000 Received: by mail-wr0-x241.google.com with SMTP id f8so6948938wre.4 for ; Tue, 19 Dec 2017 00:07: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=hqoXRQnWfx73re/i+b789aI8iKyN4n/MYQVsH8ElATg=; b=Jjw51q/YW6X+PVyszs6tamZZemQ+PnZ9b3w8A/N6GmjLortoATpfR/tLe2ySWcLkEV SmLJQLM02/pC9Rz1Xekm4lFQdibNvUuFxSzYwlDmlPw9Qa+LnPwXCCtTYWcrU2WeubWE LeZNvRrNpdQHWH7Zs1KiQGYIMwiYI1v3WgVUxR2ro8uBEJc8NCU6mvIJvQvrp0L2bfCr WVkT2i+sl46HAky+Hc8fsuCixKbK4EAv2/AcfQSNQFcFkD/q5iyw6BcJBnd1t8Q9knXz Zv5g4iBh+IAae+kDXTfp4hTtuxr4biUU5Ic6BJN68dwba2Eyi6iVQo7ZbnUp8s3X5S+p beoA== 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=uenGln7hutDn3DtKF/Dhq4j6o6EjNFqfaL52klkHQWyRR9OGLVsFJLL6eSSs2uCWOS RUR73tPbY17YuynMdDLVSTZd5gmRPwPF8O+YYNoOqNO1JJAbTwaMLYpQVyhuu+m1Ugkm NPOhsdXsaZILmBszNpVJuLc+DjRq9IhHMFMH9B2swJ/jsWFmMBeZdJBIrQdD6BCzBZfO mB0T1kxHGn68pAsCvVk6chA/gbSPzfvspUmtQYFgyoqrdNZu8d0lCWvWNUw04s2fYlsz wY+OEzyDPFnwsl+dyb7iTP4ihgEFehf6BI9SeSQm1LUlxwQ0R2qznB3p6uNqb0QU29UW +3Dg== X-Gm-Message-State: AKGB3mI591rOZH+g9CFNBwutRVkd6+oSx4qp2EtnbpLgSxtFOZ9+USf6 DxaJIi6Tsy2NDJoa9Cz2zSo= X-Google-Smtp-Source: ACJfBosphNM4snqYCfBODTzvSboYpzmpn8sec5i2bttQOfuSbOxiCYGkH3qWRp3vizg+1Af3Vboh2Q== X-Received: by 10.223.151.205 with SMTP id t13mr2226461wrb.271.1513670875844; Tue, 19 Dec 2017 00:07: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 c34sm15820113wra.53.2017.12.19.00.07.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Dec 2017 00:07: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 v3 4/6] arm: dts: sun8i: a83t: Add support for the cir interface Date: Tue, 19 Dec 2017 09:07:45 +0100 Message-Id: <20171219080747.4507-5-embed3d@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171219080747.4507-1-embed3d@gmail.com> References: <20171219080747.4507-1-embed3d@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171219_000802_138611_A91BCB45 X-CRM114-Status: GOOD ( 11.05 ) 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>;