From patchwork Wed Aug 1 09:47:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philipp Rossak X-Patchwork-Id: 10551991 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 995C9139A for ; Wed, 1 Aug 2018 09:48:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 86FA62A967 for ; Wed, 1 Aug 2018 09:48:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7B23B2AA6C; Wed, 1 Aug 2018 09:48:22 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2F6582A967 for ; Wed, 1 Aug 2018 09:48:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389045AbeHALdB (ORCPT ); Wed, 1 Aug 2018 07:33:01 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:37744 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388953AbeHALdB (ORCPT ); Wed, 1 Aug 2018 07:33:01 -0400 Received: by mail-wm0-f68.google.com with SMTP id n11-v6so6294752wmc.2; Wed, 01 Aug 2018 02:48:05 -0700 (PDT) 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=Cq9NH+oVSC4BLzYdcoahdEruWQbnx28uoXRsQSzwgUo=; b=LApvsmded2eoFiLN+w/c/eTiFPV3sEHkA/CRstAWA2m25NMELBlQlDvbOvCJNDp9Ch 33siPQcsXD1UFXdAzGgSL4tU5kLfCrKEdYZBcrcY+dqbNyGqbDYRepTFs7jSqQDxguZ8 AD0gg8etKcuJoE/KC/OGmpMOzmrF1lzJAHWwxwn1CKTjK9jH8Dne5cFjwH4I2c/SFsnp 2SrkIi/UlsogGqhpF4hkT6gQUKODzsBpiCRAKs6H2b0vkwxuWA6pbsJ53EUOabDnlMol qNkhvs5KNBXFILCljNLR+iX3KR3Uz0gBBnsWn2r+8EymDaJOJkv7XxxOYQwPnqbEnlFV qXgw== 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=Cq9NH+oVSC4BLzYdcoahdEruWQbnx28uoXRsQSzwgUo=; b=Rogds/E4Q8DvqSKzfv1EH3BxbY7Ugq2emeuxCjJU1lhJ6K75h2ffQ//Sw+de7ksOd9 XnDloF3EmjLCFHVPA8+uIlSOxgEJP92QZ9ZWFenmzDGCoHGCsUNSzCUrZsW+x/0xr2rA 2hLWBt+SSQ1F/b7pyVEoms5+ixpVsczv/fHloZesNSJIBSXTtNsL337te5eE63bdJ4Qj OrU4KbLXTWNLJ2db0PAuWZNzHZODAR22oKGC84suUsgH1wiv2yy1jqWyZ1KDz9QP/ZhF Cf0woYHsjIut4nA43oMiiSfqXzoRcP2WFm+eiX5X4Ix0i04SNmF6ae9VO7UP2HLaSvX9 u7WQ== X-Gm-Message-State: AOUpUlH6IB7PGlINsyV85v+d5kqKKTPosClmo0lZaaMrAIeixAD5o8Z8 o40ercGmGu5dkU510DY7S1c= X-Google-Smtp-Source: AAOMgpdo2ESO22O+floht/gfkKouLdHVumDdFKQbYLTcmhHiS5x4+knxnIBjpL4CUSQBmCb84Nx7/Q== X-Received: by 2002:a1c:2d54:: with SMTP id t81-v6mr2390507wmt.31.1533116884828; Wed, 01 Aug 2018 02:48:04 -0700 (PDT) Received: from debian-hp.wlan.uni-ulm.de (eduroam170-020.wlan.uni-ulm.de. [134.60.170.20]) by smtp.gmail.com with ESMTPSA id r12-v6sm13580217wmh.0.2018.08.01.02.48.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 Aug 2018 02:48:04 -0700 (PDT) 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 Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com Subject: [PATCH v7 2/4] ARM: dts: sun8i: a83t: Add support for the cir interface Date: Wed, 1 Aug 2018 11:47:59 +0200 Message-Id: <20180801094801.26627-3-embed3d@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180801094801.26627-1-embed3d@gmail.com> References: <20180801094801.26627-1-embed3d@gmail.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.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 Acked-by: Maxime Ripard --- 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 afed6c0dea6f..798ab48c5479 100644 --- a/arch/arm/boot/dts/sun8i-a83t.dtsi +++ b/arch/arm/boot/dts/sun8i-a83t.dtsi @@ -992,6 +992,19 @@ reg = <0x1f01c00 0x400>; }; + 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>;