Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3131214ybi; Sun, 26 May 2019 15:27:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqzgNIQSf5qJ7+Ah6Q6T59Z3P/1gLxDfyBKwQjpK3tC63zgN2g6HIyNKSrZrDAUonHvwlkSI X-Received: by 2002:a17:902:683:: with SMTP id 3mr78265963plh.209.1558909668267; Sun, 26 May 2019 15:27:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558909668; cv=none; d=google.com; s=arc-20160816; b=SDDtp8rl9YcAZ9H0DBqrvNqr8kIf/6ZB10k+wUrXUqgV0KekkPwMLAReAwX5cI5y68 AyrF4ufBlCK7WNWieIWingLEc7apizSXvSI1XicPxKTnqwnqiRZIn3a/Qpc+QjZ9Y5ji 0fe5Z36JVpUDvt4To3QzIWIdHRBw3ma3dNEU6L7cFUVP6y1yQmAUzVtv/U6hv16/gyAA iCyixoW0RVyPITxOb9mHQeTl1LiNtKwpatsckqV1fVmOAAy4ZG2tsgknkwFLRjpuHjJb M5gwTbudIJ6QTqfXrLFCw7tvSoJzBJZ4o0iAkx6GwUWLywh0++QXLL+cpk08GU+I346H XvUQ== 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=MZSLYHG9vG+cvtboCD1BGBA7PjXeR8spjTXx2erSVOBGrCuzPxG1y/XaNbPbPT8eSi 8Kf+a0nKGaDmJ+CJBGjdmth57RgDq2Tjw+AnXTG9FM/2XzAgGMGvtD1WEDjiFLWX2d77 DPBt0y7JlXhKPWZJgBXiJAodTOeI6D03xiCexcl+yZ0xHOvmD8xiNxOPMDqJ+CmXpIcm 2GtQC0JoWR0SJbzfA6ujiJVgC6eYBZ+2VuK724NpGgT2S0UbTPjvlE2FAPLvFBrof5bI EER3tsw6zv6dbVo1BXuUbeFjeF6l6CuiLh3SJPKYvR+DoPp6sbyZchbewZIYUJ6AbOL5 kGzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=RRVbu4sW; 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 r8si7981902pga.576.2019.05.26.15.27.32; Sun, 26 May 2019 15:27:48 -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=RRVbu4sW; 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 S1726243AbfEZWZx (ORCPT + 99 others); Sun, 26 May 2019 18:25:53 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:35664 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726034AbfEZWZu (ORCPT ); Sun, 26 May 2019 18:25:50 -0400 Received: by mail-wr1-f65.google.com with SMTP id m3so14994337wrv.2; Sun, 26 May 2019 15:25:50 -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=RRVbu4sWt4ZxcFOTHYisTJtdivqZZowGwZPI/XaQ7zxtSBnu+8QMqs1QnGKrRM6E3O oJ9jcOLXnxxQbh71CsgMwIGsxntR/R+BBLtRa9dCzu+uEbg6KBVS2zQreHSzNvV4laIM u7dG8Lv9ZarOC733yOpZjdBIOnf8m6VhZdwIsyZyTlBzJHX9sE9l9KL8I5rZdusKY67S k0aEyUSKAGlVZkJcZ2NyTJMB8d9syVbtxnissO2DY3nSHDPsSuH1rjk0v41cJM56CZg8 OnHr20kuTuk2TUkrYnE0FSkzeauTZXLd2F7pdj6ZcJCB1tx6kYmWdOE0qf8YLDiLKDQb PmtQ== 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=QmFEGYbpvXJ2fFEYm/dIQxF/BsBbC4l3lYV6jrjXz24LA3nWv9iDjys2RjGUrE4wL3 fnwsfsnaWHFgfBaD3k2fpRXmdI0KMH9stIhjohcWS/4OzcOInMZO568X2appZvLkEFC/ S/5NSP7/vL8OnmM0LXNSBaXt71gtjK2JO5JUtJeVtkttCfArHlV7xw1281gqjT+TdSe9 aUe7uWasENS4U6FyqGt34NR1FWhie/upBqdkKviIHXToFT2lc9KE4agQpteUUVHJHnPS h7czKe+xzv9/na/h47HozRxyYquCk6KAeqwu+uooYYKi8kBa4o+qD6tiA5YLBw+pq7Lv qdSg== X-Gm-Message-State: APjAAAX4vEdcJ6xsbGRLBjlQGFVyvUsEl1JvbikCMPKARDfZLsQR8Qn7 02YvzrIk8QAwvYrCJBBa4Hg= X-Received: by 2002:adf:a4d8:: with SMTP id h24mr15570038wrb.171.1558909549290; Sun, 26 May 2019 15:25:49 -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.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 26 May 2019 15:25:48 -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, Igors Makejevs , Jernej Skrabec , =?UTF-8?q?Cl=C3=A9ment=20P=C3=A9ron?= Subject: [PATCH v2 05/10] arm64: dts: allwinner: a64: Add IR node Date: Mon, 27 May 2019 00:25:31 +0200 Message-Id: <20190526222536.10917-6-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 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