Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5215758ybi; Tue, 28 May 2019 09:17:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqwtqT/KHDiNnORMhPXMjG8upb+jj0G6qyJUSjjh043PWxZCvqcwM050bDZADMJg4D6RRNZ3 X-Received: by 2002:a63:1642:: with SMTP id 2mr17219471pgw.230.1559060242740; Tue, 28 May 2019 09:17:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559060242; cv=none; d=google.com; s=arc-20160816; b=m6lKAJ/8PF+Yurzfjx4c/wJ+n0h8Q8KGk0fiahFeBBinqHKm7wkPa8THsXErpIoBTj VMr48REunDn763tnhp5gRJK6P0I/XFbeo6b9eu7G42CU/ONsVmHnTXVfttkLHQ9H9LR+ 4TXUfhLoMQg0Px/G6Fn5qLftUPEE9tPVspGsFJuQfbVzk5QXYWahRnFMHYfZVrOMaK0A 6uw2EOtvpSZ2ERE6MfeGpT+b4jQvcyoBY5C9VnjzOPLxOHVbalnT24HI9uOLjxe5u8g5 Q2bF2xldi4UwiKDYnGOWLylDamYlzcKcpTJqb9MMZ78YnQV7KoaHNdLwKavU2y971a7b IThA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=f1zmDm9n7G9V5x4Qey/KRvnzXY0A1V0uEl3s5XqqEzY=; b=00YnO999xc44o9XaYM0Xq2aBgXhP/DbhY4W6K5D1d1Zp1iyYiO3ltADlt7B34YpEHg ssCLUcrz1dNElPaqa1Al+N11Jv2BRoORU+ridsAkhmwYRezVsgSXrBuGvLTlDBFx1J4C qvI8yFFSr7OjlpZUYxJLkfP7NMAjuik4Z2Vqc2Kov+ORqux+V1vqRSCSCFSIyq9JQcOa WYtXN+hn0dbBFrjXW8uh8XQBwfR5ouSHLa84eKhKmp+XhY1eKlRucrqlMBFOe1dJvKWk bZFY7s4K4cz1IJqRdi+mk9OZmFSwPvicTl6c3v0XqFob2025Hf1LBf2PnFl4LHjiak9q fCPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=J9kR0LTo; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c83si24793904pfc.246.2019.05.28.09.16.57; Tue, 28 May 2019 09:17:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=J9kR0LTo; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727505AbfE1QP2 (ORCPT + 99 others); Tue, 28 May 2019 12:15:28 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:39927 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727367AbfE1QPI (ORCPT ); Tue, 28 May 2019 12:15:08 -0400 Received: by mail-wr1-f67.google.com with SMTP id x4so1784751wrt.6; Tue, 28 May 2019 09:15:07 -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 :mime-version:content-transfer-encoding; bh=f1zmDm9n7G9V5x4Qey/KRvnzXY0A1V0uEl3s5XqqEzY=; b=J9kR0LToqcgOqHPK2G2vT86fGv23P9fL28b8i/ZLI+U2hm88ebN5E2QEc/Mc1Te2Mf x+9gmUy0MajiKLaI3f9kGwfYNYFBXsN34WLns8T6+o/iNEQyheVTvsjdwFqmaJUwBYtG O4yt/bc9WUwsE3EFHIGNPHU2e1F/F8nqu54Oi59jIQJ5PJDXd0154AyX6j/+iktHTTDF v8bX4oXtjO9dYCAH17hTXJGHQv4hyIBnN563Fo7mZA6QBHnOE1ZBZ4uc01pjREi/OcVW L4UQvPaTT/0OIa4ThFB1+9oUDqN6v0NBrZKGFceAPXglUh7dH2YoI6jV+pAYlHwPBsBO EvhA== 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:mime-version:content-transfer-encoding; bh=f1zmDm9n7G9V5x4Qey/KRvnzXY0A1V0uEl3s5XqqEzY=; b=WEmyPkP064bWy9k/o+MeWYPoSWwCfel6JhWak0xwzn5zsaCIDrVgtI5+ud6xuKmpzK d8ZwCOHZo3tO/+2KogfHcdYLPyATmONbzyqgWkQbrCTusydgiFoCUHefgY+QmmEYnPB1 UFqju64ePcIfXVjlMbNpGC8o0W29yajh11L0u3JppGkIaUTrlZtwUAiZnS3rE6CPHp2K nYjqPfHMcIFDjxdTP3Vr8zVBstIAW90iB38OrLs+2u7VIfJYCc9TldPDtTKPjvkOIg+s nzOO6E2tz0ytp80VUcicqkBcMYcB+zGlkqX7I7cVY3Let4h+qbZqhIAcfT8NVJ9cAbzz SsoQ== X-Gm-Message-State: APjAAAXEihlOmYX4o/NgXklyQOUDnZ45PBc+iXaVk5J5CIB4M71S0AYp oKjCxAvb1CT2p1K9bEScbAOGSM0Q2dqPLA== X-Received: by 2002:adf:ed41:: with SMTP id u1mr2256706wro.162.1559060106290; Tue, 28 May 2019 09:15:06 -0700 (PDT) Received: from localhost.localdomain (18.189-60-37.rdns.acropolistelecom.net. [37.60.189.18]) by smtp.gmail.com with ESMTPSA id l14sm13678787wrt.57.2019.05.28.09.15.05 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 28 May 2019 09:15:05 -0700 (PDT) From: =?UTF-8?q?Cl=C3=A9ment=20P=C3=A9ron?= To: Mauro Carvalho Chehab , Rob Herring , Mark Rutland , Maxime Ripard , Chen-Yu Tsai 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, =?UTF-8?q?Cl=C3=A9ment=20P=C3=A9ron?= Subject: [PATCH v3 10/12] arm64: dts: allwinner: h6: Add IR receiver node Date: Tue, 28 May 2019 18:14:38 +0200 Message-Id: <20190528161440.27172-11-peron.clem@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190528161440.27172-1-peron.clem@gmail.com> References: <20190528161440.27172-1-peron.clem@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Allwinner H6 IR is similar to A31 and can use same driver. Add support for it. Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi index 16c5c3d0fd81..649cbdfe452e 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi @@ -647,6 +647,25 @@ pins = "PL0", "PL1"; function = "s_i2c"; }; + + r_ir_rx_pin: r-ir-rx-pin { + pins = "PL9"; + function = "s_cir_rx"; + }; + }; + + r_ir: ir@7040000 { + compatible = "allwinner,sun50i-h6-ir", + "allwinner,sun6i-a31-ir"; + reg = <0x07040000 0x400>; + interrupts = ; + clocks = <&r_ccu CLK_R_APB1_IR>, + <&r_ccu CLK_IR>; + clock-names = "apb", "ir"; + resets = <&r_ccu RST_R_APB1_IR>; + pinctrl-names = "default"; + pinctrl-0 = <&r_ir_rx_pin>; + status = "disabled"; }; r_i2c: i2c@7081400 { -- 2.20.1