Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp865709ybi; Thu, 30 May 2019 07:57:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqzgB/jhv203IUrPvSteRy0J3VSK3rfbiaMipehTpaIV6H92XjyZpVO7B0ZEC3W/KW+z/AkX X-Received: by 2002:a17:90a:b116:: with SMTP id z22mr3729708pjq.69.1559228246778; Thu, 30 May 2019 07:57:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559228246; cv=none; d=google.com; s=arc-20160816; b=KqVoKF9L0UWIwTmsMN2d2Tu81GFwmWj0KhXtELlDaK5DEoln3I9z3k+jsDL+CjeJU1 oCZxUBPfa31lIB3Hl/cef9mH/Yq/VLPkSyUc6JyezxGh2o4PLmxWJxc7Cfhd1Lh6wjst au6N6lYPa057qh+GiWMQCnR8osXkVdZMpWKwwLWUcsy2ougHmTRDqlwrXUkLvpKT/w0i axgfetQNOatUEkM7hL6QUVRZmbHVEM7gp5udjFFInz40E8x31KCWruc+SD8oLuLDulf7 /8viFFTph1c7uiR82qNzaqIR7QQ2nmBTFdZJ32Erz9f14kxD1GyxWn1HNW2C9+hjpmt/ 4nDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature; bh=yUmbeg2LCXPtU6ea7zifPwQGvSY8dROJm6G4H+dtqgc=; b=wnIPsCwyTSaAFL3EwzTpbIeJxpTY7cfjVw69WLLqEbXJhKn3GdK0Tx0gOFOhjyjIPU 8oUMQm7CJdpM35Jxm4I1diyg05KWYXclcJ5omxNabBneqjhlGPFy9trguaByXhSqv7td ZbJLZygEW4/nXI7kEsYHBurdyQA7lMWgxiOazaV3keMGk27lH1ks+TWiPNwbHMbCPQN6 3XSXs0gOrVlflzDmwExnkOvABPQIOLBUGt8ci09gR/DbsWa6JE0TGV7EX1rUNmSZV4C9 NF8ejFLJMEf4SvHKcRVMomT3ufUQ5GiJ272P42T4RrRlRrU4QLYP8npl9fuGy8J0tVst XTwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@megous.com header.s=mail header.b=CHfsdM4u; 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=REJECT sp=REJECT dis=NONE) header.from=megous.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t5si3303171pgj.258.2019.05.30.07.57.06; Thu, 30 May 2019 07:57:26 -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=@megous.com header.s=mail header.b=CHfsdM4u; 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=REJECT sp=REJECT dis=NONE) header.from=megous.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727548AbfE3Ozx (ORCPT + 99 others); Thu, 30 May 2019 10:55:53 -0400 Received: from vps.xff.cz ([195.181.215.36]:33506 "EHLO vps.xff.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726512AbfE3Ozw (ORCPT ); Thu, 30 May 2019 10:55:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megous.com; s=mail; t=1559228150; bh=4poS9dzXjZyZHVsMTWE55BoeyiNgM40bOoxh48wj2rQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=CHfsdM4utd+EIvKv6wDe1J6SZi5pLvTw1w0fitol8/pxnTYF5o+BY8QJNpbVWCOpu fR2KJHmrElEorkXXaP+81G4vNKdJEt/LK3oBGT8SpVZbPIkes3vHjQNQDIoTseAMPZ 67EvfWmInFdCaae5mTrHdcWX2SEAykrQfn4kwLKs= Date: Thu, 30 May 2019 16:55:50 +0200 From: =?utf-8?Q?Ond=C5=99ej?= Jirman To: =?utf-8?B?Q2zDqW1lbnQgUMOpcm9u?= Cc: Mauro Carvalho Chehab , Rob Herring , Mark Rutland , Maxime Ripard , Chen-Yu Tsai , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org Subject: Re: [PATCH v3 10/12] arm64: dts: allwinner: h6: Add IR receiver node Message-ID: <20190530145550.amalnxmx7kpokykv@core.my.home> Mail-Followup-To: =?utf-8?B?Q2zDqW1lbnQgUMOpcm9u?= , Mauro Carvalho Chehab , Rob Herring , Mark Rutland , Maxime Ripard , Chen-Yu Tsai , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org References: <20190528161440.27172-1-peron.clem@gmail.com> <20190528161440.27172-11-peron.clem@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190528161440.27172-11-peron.clem@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Cl?ment, On Tue, May 28, 2019 at 06:14:38PM +0200, Cl?ment P?ron wrote: > 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"; > }; Please make a comment here, that this is known broken on some boards and may result IRQ flood if enabled. Otherwise noone will know. thanks, o. > r_i2c: i2c@7081400 { > -- > 2.20.1 > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel