Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3131042ybi; Sun, 26 May 2019 15:27:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqy4UKsS0F1jZAmxLdUo2fK444uerWaqe+z65TQ6FcwjV9PyMeGvOyFFdI9cYYbJcq9lEb4r X-Received: by 2002:a63:d00d:: with SMTP id z13mr25909434pgf.368.1558909649415; Sun, 26 May 2019 15:27:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558909649; cv=none; d=google.com; s=arc-20160816; b=WN2ghiueIggQzDKo9DHgP2uJcZnwb8MtCYxHAdQMY5eTjuBJPdFEdeBUGUr8NONTMJ UobAFQoldKgSx/y+dvtPDiOAZKMeTcoMV9biVGTBHJ5Ic9oqP9WuMIntKCClDL+5KEZ2 QpNSo07EHEtjSflyQYDkopL9b8xdR3w95pOnoF+dR3OcCc81fy+LBrUmAcwXDbO8gG5w e0/nIrEM2Jy2awlwdQgpeMlTSbCOJQ8iaOCjrNesNL/uvpZpMYR5ImTCx+dhYs0Blk36 rmj2UN6ERaoNO9GyEUNmFoImXk3dGjbRZLVuco96Jeq+mq94sdP8dRa+ZY5PJ0SzLeQh Gsig== 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=LbOR917xbFB9wmlgy13IdjO8ix9/ct5hgtBErWAC3oEJGJ6LewN14zdTi5TEmkRn1L TdnWRHKi4K38Vp3sqVkVqozFSVrqbrvxMbfGgec8cYlU0mjI4240gSA2xzP7chVNt3EQ g8vYEG4AfZcIHil7wzpcuvYkvFMweC+JGeNDehCFMIRtQjhyJ3VWgI5gSmD7Lm0AbAqL eLgc96IaHdmhn2RirjJawfwD8mqIq/np0r/dCvTOAEWtopMIA/vuUro3KtGsa+0zJMYf wYr/NomHJHbZrk0dhWF/pDglODtAhDSfkGRCZ4U5upqvlYrpUP/yLiBEX+JP0IooLBY0 1Mqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ixgQJky1; 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 g70si14919543pgc.588.2019.05.26.15.27.14; Sun, 26 May 2019 15:27:29 -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=ixgQJky1; 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 S1726333AbfEZWZ5 (ORCPT + 99 others); Sun, 26 May 2019 18:25:57 -0400 Received: from mail-wm1-f66.google.com ([209.85.128.66]:39068 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726245AbfEZWZz (ORCPT ); Sun, 26 May 2019 18:25:55 -0400 Received: by mail-wm1-f66.google.com with SMTP id z23so9891123wma.4; Sun, 26 May 2019 15:25:53 -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=ixgQJky1wVVtXXRKn3zr7saZgE0rP9pmcvwINRRzOo4E+4yOBlqJp6zBzQcTxeQxvd oLoeCKu2uMQBjgggE97DtGKGjWrO65/MEGPh47rscGdM1xqxkksgLkxo7Z/U0g6nDjue Rlono7E6sbZPeJcpU/fE+rm69q09z4XJRCCDSIcRjbymMEY/ITp79RXGhsLlBrFnKRrc HScM3R8OvipPRfq/knihNMJxa+4FAP740gDYm+xAf/jnnpdpL4a89frAoGULifp/juvV p4Wsq1PIe4uO80qdaewWnRzlQxMgaXe0tmgTBXaiATFozPohVQPODnSS733FOcYgzr03 o4Wg== 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=Fopo2jWw/pf+gc+SUEL6RR9fSLhpr04OcZkVD6xvbP4qwQn4qTyoWsRs/JKio4k8ze VzYdwHiLN3XeIGwTC0O6aU12FqcLVwBivKe/qVpQ07XuvUun19LcSXKytblZPNoMp+R7 pK5y2ixkEaoVhJXdTEQlle3cV+Klu8JUDqLbqNHE6SXLO1Z1/fMnVE3wViQFHyp6gCsI /P1SbgYHH7l+GxwjK7rWuOxOwQaQwaJs2siz0r71G4q8fGWQlJmU5SpcMkqo/WSZnhOx /lca4OzYZK8BmPQNyiQnQObdymhM1hwtMtIpYPmG8QDFuNWF/HNlYpQDlyed0UFzFGkY IiAw== X-Gm-Message-State: APjAAAXu5/Yc2Z1ZIocEr8Umo2RMAC5o2KqcwTCxS1E2cs9X/8u+lkBg lsv/oJunIkh6SJq//UxOuZc= X-Received: by 2002:a05:600c:228b:: with SMTP id 11mr108670wmf.26.1558909552439; Sun, 26 May 2019 15:25:52 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:1f1:d0f0::4e2b:d7ca]) by smtp.gmail.com with ESMTPSA id o20sm10368398wro.2.2019.05.26.15.25.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 26 May 2019 15:25:51 -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 v2 08/10] arm64: dts: allwinner: h6: Add IR receiver node Date: Mon, 27 May 2019 00:25:34 +0200 Message-Id: <20190526222536.10917-9-peron.clem@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190526222536.10917-1-peron.clem@gmail.com> References: <20190526222536.10917-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