Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5528101ybi; Tue, 4 Jun 2019 08:01:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqztbT4HpwvKxfe6BKi++wNg+0enWP5er4u/zLLvEPFVVntVQhsS6EWIVIMa63h7nW0Cg1LR X-Received: by 2002:a65:5302:: with SMTP id m2mr35535377pgq.369.1559660488828; Tue, 04 Jun 2019 08:01:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559660488; cv=none; d=google.com; s=arc-20160816; b=YP8k/kVZPITLhc8hvWBWmKzKd2BgViVcH7N2X9N1sOBjp26Xk8RR84+eMbJCLHBFyE VUsynzcDAulTuB0YaZ0aXpdtM09IOeHa3uMiWCwIFwzwhogVv8jSngAKMtD+LZhb4ILl 94i9zXPgPMaaa1Dse/KwcJ1nG7kwKHOibDOXiSGwyDO3zpyyEB9WJaVnJ7od6uKKxQru dd1Qxzm7PyF5wjiZ7tNDcRK60vXcjFd8YBrtFIxpO3AURqLGTPnhhxltyt39KLVdpQMZ fK01PdEHtwPGVe1QK9QPgFopWYKJW/3jq20YjXekxtpjNuyjl2SMMmTrDdPJRgf1fL8Q K6vg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=IoGrS7qGq/onxusqTjGunHxRGAEX+8cZIC9Rr1Z5VQk=; b=CuiX0EusaAJvdbkQ04xMsKbS45FXJ2n2p2lpXYBeE/j9g10hzxzJkneRPDSq3epAGl K37XVfdz7nNtWt8jr3KaOiiGGphHBe3zIxZFt6KGPZmOIn1fIu/XStCRKyMJvKZvUFRf XtwiZOL6uaU6VYASg9BxjhDaCmEJ8LBb04m7vsN1s8LMb4bWEVGeOfYHRWfkU4ugT6Xz JgoFYPe9zQNoCcdWgiyHFeYWe9d10zQJsKsKYHmdlawHAh/bcW2vrXcogZIoAImX+kB7 Jz1bxWKT3VtHk2t76lmFaJe7HYZ9MjIS8bm4IAfK/Nq9ndisR2TffC4TONBGqZSr0q12 uQFw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e6si21185892pgb.41.2019.06.04.08.01.09; Tue, 04 Jun 2019 08:01:28 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727996AbfFDO7T (ORCPT + 99 others); Tue, 4 Jun 2019 10:59:19 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:43577 "EHLO relay3-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727921AbfFDO7Q (ORCPT ); Tue, 4 Jun 2019 10:59:16 -0400 X-Originating-IP: 90.88.144.139 Received: from localhost (aaubervilliers-681-1-24-139.w90-88.abo.wanadoo.fr [90.88.144.139]) (Authenticated sender: maxime.ripard@bootlin.com) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id E4BFE6000C; Tue, 4 Jun 2019 14:59:07 +0000 (UTC) Date: Tue, 4 Jun 2019 16:59:07 +0200 From: Maxime Ripard To: Luca Weiss Cc: Hans de Goede , Dmitry Torokhov , Rob Herring , Mark Rutland , Chen-Yu Tsai , "open list:SUN4I LOW RES ADC ATTACHED TABLET KEYS DRIVER" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "moderated list:ARM/Allwinner sunXi SoC support" , open list Subject: Re: [PATCH] arm64: dts: allwinner: a64: Add lradc node Message-ID: <20190604145907.j3fp52gxupd3bkih@flea> References: <20190604144252.26965-1-luca@z3ntu.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="zeywvuntmrvlmigf" Content-Disposition: inline In-Reply-To: <20190604144252.26965-1-luca@z3ntu.xyz> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --zeywvuntmrvlmigf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi Luca, On Tue, Jun 04, 2019 at 04:42:53PM +0200, Luca Weiss wrote: > Add a node describing the KEYADC on the A64. > > Signed-off-by: Luca Weiss You should have a changelog detailing which changes you made to your patch with the previous version, and why you made those changes (for example because we looked at the a83t datasheet and found the two controllers to be very similar). > --- > .../devicetree/bindings/input/sun4i-lradc-keys.txt | 1 + > arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 8 ++++++++ > 2 files changed, 9 insertions(+) > > diff --git a/Documentation/devicetree/bindings/input/sun4i-lradc-keys.txt b/Documentation/devicetree/bindings/input/sun4i-lradc-keys.txt > index 496125c6bfb7..507b737612ea 100644 > --- a/Documentation/devicetree/bindings/input/sun4i-lradc-keys.txt > +++ b/Documentation/devicetree/bindings/input/sun4i-lradc-keys.txt > @@ -5,6 +5,7 @@ Required properties: > - compatible: should be one of the following string: > "allwinner,sun4i-a10-lradc-keys" > "allwinner,sun8i-a83t-r-lradc" > + "allwinner,sun50i-a64-lradc", "allwinner,sun8i-a83t-r-lradc" > - reg: mmio address range of the chip > - interrupts: interrupt to which the chip is connected > - vref-supply: powersupply for the lradc reference voltage > diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi > index 7734f70e1057..3a42352b5c9f 100644 > --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi > +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi > @@ -704,6 +704,14 @@ > status = "disabled"; > }; > > + lradc: lradc@1c21800 { > + compatible = "allwinner,sun50i-a64-lradc", > + "allwinner,sun8i-a83t-r-lradc"; > + reg = <0x01c21800 0x400>; > + interrupts = ; > + status = "disabled"; > + }; > + The bindings and the dt changes should be two different patches as well. Thanks! Maxime -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --zeywvuntmrvlmigf Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXPaHOwAKCRDj7w1vZxhR xSCVAP9HifWQjLo0644GCGN5e5COuSQdxy0ZI0cNk9VMK0ez6wEAsx9jt6NTjM24 Trk40SgSkATAuyASrgr34Yguf/iQbQk= =yHyP -----END PGP SIGNATURE----- --zeywvuntmrvlmigf--