Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1897823ybi; Sat, 25 May 2019 11:11:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqwk8W4IA/pTfd0mBEgQGtqIKhlzYk9nCm6S3lwX6mXIJ+cBz9iugF2uE6CefxFXW3dYwEpj X-Received: by 2002:a17:902:8f98:: with SMTP id z24mr39453216plo.101.1558807907226; Sat, 25 May 2019 11:11:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558807907; cv=none; d=google.com; s=arc-20160816; b=N9pcOmx16LRGOhM+5jhmrK5Q09gLqS8UWwSDM8/PtkcYrugpOIrGp/KdSeXHks3Y2N 4Jt2QrqLXU4pjO57c7FBBeP4A5x/MG0vawRaZ8tiomnBiJRFtg1gL2t+6v4t3ZifPWDP OCclIC2KEw1HpWRlkosnStm3G98wtMn4yXykkKQ6PviiR17lO+j1ozt0XMS6NlcPnBy3 avImlqCeSFsZPnmUdA9oWYBPZw5edmMZfXo56mcVFCrxKArYPWoMIAxAQq1W5jA4oKZu bXCkmT/Hyd3vOZD8Qze/+U+yp2evYGoHansSfI6AVdWlhNZwlbXBUUKG/egnMdbrz6CF WPMQ== 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=q27XYokGtE0PF+e6Jf1zBq2DoW5PvxIGPkQQOfCJr1E=; b=wdoWT5peh0FK1Wm6XapMraLtPUYMM5KcsmGNl1RkeiQ0OITItNTNL5Pou5zFucXDwW V4MrtDouEvmo5tSG49V+KHJ99SEcZRfiMeLTR24cV0BMGIlDGFpjjQssk/JciS05x0QI evXSHtC3rTOicmrLJd+VqxgI3s1CgqNNorVLtJszt9EBlK+rmhvJAuYDgiBhiXmnT5Fy jdub4TsuqEQzQJ7BBtefJHmC4ivlhqoI0A72ZLyTqM7rZGq2KC5Ld2x5IkMcBqE2MY8p yuq35HM3OsoP7QvYUWBbCUNEtxQy2WV+ZqP3e02STq7oZF9kzLvn9PZoxZtvZxf6g4JO KJ3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=SrSzMQys; 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 204si8799998pgc.141.2019.05.25.11.11.32; Sat, 25 May 2019 11:11:47 -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=SrSzMQys; 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 S1727427AbfEYSJk (ORCPT + 99 others); Sat, 25 May 2019 14:09:40 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:54604 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727349AbfEYSJh (ORCPT ); Sat, 25 May 2019 14:09:37 -0400 Received: by mail-wm1-f68.google.com with SMTP id i3so12322249wml.4; Sat, 25 May 2019 11:09:35 -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=q27XYokGtE0PF+e6Jf1zBq2DoW5PvxIGPkQQOfCJr1E=; b=SrSzMQys9MTC/2xLSRKZBSUjXhljuG/ZGp8eH19L2BUG75+6aDX+JSSuAbTCmf0C3w BrGW0GK9fZMBt4MOJ/CVIR8MCrhKiAVr9Ota136OQS0Fccwft3AzQU4w7kw/cpex7/iK u3BmO1g+8jLwdJx1dsLsRzEB+Dm7mxYa7lp4fSP+Wm4BXQH10rX/SNyo1PKsnL3OJHy3 bvZ28EVxIi/Eb73rbLObriud5TlmsZa23Onbw91uh/xtF67EkgmfmVFfgDhesBjzQQxX 9SpVdVaFJM1sgSZyiSxrPYuMJZdChQbdVU84hLfa3x8mPqNJVL6hDal6z2fdN4lt9+hT 6CoA== 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=q27XYokGtE0PF+e6Jf1zBq2DoW5PvxIGPkQQOfCJr1E=; b=moFinvXruv5Mlj1XIeWyhWqmd8lJ022fWUow6X4j/PkwLbgcf07aRaQMUNKd319KHO O2fcHihnJfsJjDq4yZhHHxnkxlhtZXgKlOB8DRjpZhDR+bG2ofjTRT/TySeLt1XqeesK Ie/4vyO12Q+q0OluKUIRX+3oOt6fdAjzDIcSVq5Cdl0SVgM6pLx18LTpi8goWVbNpdr4 xN+FzP4LA8q3/INlrZxUX791dmMSRCmfuRO++Hye+EOBVxYoAbsTn9wTdGsXyYEggfEd BRBpv83hiWJS9MD0e9CbsXQWGXBauO5B8Qn76LgqL1bF8uTyk4J3QlXWLheWsEf2vB8A 6Naw== X-Gm-Message-State: APjAAAXeakeVFaxL2ZpqhUAGJL1LvTgjXcqqxnOTZUxSSeKWu0h4kKC9 WHWdIziA0kZbk+Ek0VcqNy0= X-Received: by 2002:a1c:f20c:: with SMTP id s12mr10674822wmc.151.1558807774794; Sat, 25 May 2019 11:09:34 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:1f1:d0f0::4e2b:d7ca]) by smtp.gmail.com with ESMTPSA id s127sm5656914wmf.48.2019.05.25.11.09.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 25 May 2019 11:09:34 -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, Igors Makejevs , Jernej Skrabec , =?UTF-8?q?Cl=C3=A9ment=20P=C3=A9ron?= Subject: [PATCH 05/10] arm64: dts: allwinner: a64: Add IR node Date: Sat, 25 May 2019 20:09:18 +0200 Message-Id: <20190525180923.6105-6-peron.clem@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190525180923.6105-1-peron.clem@gmail.com> References: <20190525180923.6105-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 From: Igors Makejevs IR peripheral is completely compatible with A31 one. Signed-off-by: Igors Makejevs Signed-off-by: Jernej Skrabec Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi index 8c5b521e6389..b22b0aa89515 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi @@ -1072,6 +1072,19 @@ #size-cells = <0>; }; + r_ir: ir@1f02000 { + compatible = "allwinner,sun50i-a64-ir", + "allwinner,sun6i-a31-ir"; + reg = <0x01f02000 0x400>; + clocks = <&r_ccu CLK_APB0_IR>, <&r_ccu CLK_IR>; + clock-names = "apb", "ir"; + resets = <&r_ccu RST_APB0_IR>; + interrupts = ; + pinctrl-names = "default"; + pinctrl-0 = <&r_ir_rx_pin>; + status = "disabled"; + }; + r_pwm: pwm@1f03800 { compatible = "allwinner,sun50i-a64-pwm", "allwinner,sun5i-a13-pwm"; @@ -1099,6 +1112,11 @@ function = "s_i2c"; }; + r_ir_rx_pin: r-ir-rx-pin { + pins = "PL11"; + function = "s_cir_rx"; + }; + r_pwm_pin: r-pwm-pin { pins = "PL10"; function = "s_pwm"; -- 2.20.1