From patchwork Sun Dec 17 22:45:46 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philipp Rossak X-Patchwork-Id: 10118005 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 C1E2D60392 for ; Sun, 17 Dec 2017 23:01:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A936A28B58 for ; Sun, 17 Dec 2017 23:01:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9C0AC28E88; Sun, 17 Dec 2017 23:01:10 +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 9774A28B58 for ; Sun, 17 Dec 2017 23:01:09 +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=b2AGXqj4QdtaGno8g9OS4dgAgq+os5PLXQw/4ASVXEY=; b=jRmwpksgWY4e0aeRvpbpHypJgO HglQMzd5AT8RJ5zuNItvq/KuTjWtHhjrtMZJ5yP4LG+xJ7EvBZ3XUMv1CW985hf2s5V3qNrVCAmyf H6HhmwwrVjIN9vNJ3O4FZws0m9eWabwsi7vkZxFQA/dVjSDJsLepHiSESWS9XSxJkHoY8uTfXb6Mf Iquf3VJKhEiZ+vPqmfE4sx/5VGRGL5KP4TQDXICYssa88yyhHaN3arXnClzIbYKyQOgbwlmSsdLLF ofGPxnqXXviVhGvjVnI+GyGBMgDMqKqJF1F6bIjGekUdahBG5AmO7sk5L9k+0RqqF5X32giaRx015 07WS36TA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eQhvg-0005Lc-E5; Sun, 17 Dec 2017 23:01:08 +0000 Received: from mail-wr0-x241.google.com ([2a00:1450:400c:c0c::241]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eQhhI-0006S3-St for linux-arm-kernel@lists.infradead.org; Sun, 17 Dec 2017 22:46:22 +0000 Received: by mail-wr0-x241.google.com with SMTP id y21so12504733wrc.1 for ; Sun, 17 Dec 2017 14:45: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=Ohb3VqQVNu+yqH4wfPnzW1i7TLx+MIuv1KSatzc2w/M=; b=HH3DVs5WqKQZok+7N5kBL4mNnksszlB3nv/24o2WgNl7TgGbdRGY7On+xveYnakm/7 gjzr7zgZiyiewF9YncY9jRZEtRZi6gU068CXTNysrlLoSGHrb6cfDdEeQQSxWu7tEdbt eCoeieemR9YA8enAda+alyl5F1toKpA7KaZCHC52rcO76fmRpidpDGeH85Lhwsat6SpE ZkWhoP2nSXcmI/nTkupDpbpMISsrY4aAs5fICk9SA/cV1LRUNg5QURFXguYi2aSm3vJx WrIYXOM3KhDryuZjnUgzHNxK7xcp+2oztyla1TbA33vNWpmdiPPIn5miNUK6VmUqcBwm DK4w== 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=Ohb3VqQVNu+yqH4wfPnzW1i7TLx+MIuv1KSatzc2w/M=; b=J/7vn23zBWDjW0X67/r9NPU2DvIezFRRAy5xwQizMcpM5KRkip81Ab666omhPNiw0W /E51y7Lhoz8ghsOWYrw0/H5vd0LYqLDWhavaTgYGigYd2vcp+0llJ4HH1jJSLfxW6oet 4FFb0LKyRIxm2mhgIiKgmHHINRhoQeFXo+jtLjPWWbbb+yFTarQJvSTXf3UcODRrWtOk 2Q7lkTjQ3X9GLshxFQx296uIGmnp3SecTYgVaOPIFBqFJn4kdBtYpYAkjS/uvHoIF7bk s3H1jt6JAoqN/oD8p9FBL28EIxqD64Vktcq/DMr5iJ4NEcivB3n1E8k39mLwJveAqaqU t4Pw== X-Gm-Message-State: AKGB3mI/0kswvJgD+5rpf3vSi8LVly5QG9ASx2wCAnsgixpR9VX6q3f2 9tPwrjSEEjSj+z/A6TnIvlY= X-Google-Smtp-Source: ACJfBouiYSTDy1dbOqWY/YWBYJM3M74xCQx/BNN8sT93veO54nDcUpqbSIxeZe5jPRL/7qH1sWXyHQ== X-Received: by 10.223.182.152 with SMTP id j24mr6828542wre.242.1513550756351; Sun, 17 Dec 2017 14:45:56 -0800 (PST) Received: from debian-laptop.fritz.box (p5B3DDB65.dip0.t-ipconnect.de. [91.61.219.101]) by smtp.gmail.com with ESMTPSA id 52sm30890673wrv.8.2017.12.17.14.45.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 17 Dec 2017 14:45: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 4/5] arm: dts: sun8i: a83t: Add support for the ir interface Date: Sun, 17 Dec 2017 23:45:46 +0100 Message-Id: <20171217224547.21481-5-embed3d@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171217224547.21481-1-embed3d@gmail.com> References: <20171217224547.21481-1-embed3d@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171217_144617_189934_9DD31D93 X-CRM114-Status: GOOD ( 10.20 ) 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 ir 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 954c2393325f..9e7ed3b9a6b8 100644 --- a/arch/arm/boot/dts/sun8i-a83t.dtsi +++ b/arch/arm/boot/dts/sun8i-a83t.dtsi @@ -503,6 +503,16 @@ #reset-cells = <1>; }; + ir: ir@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 0x40>; + status = "disabled"; + }; + r_pio: pinctrl@1f02c00 { compatible = "allwinner,sun8i-a83t-r-pinctrl"; reg = <0x01f02c00 0x400>;