Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5539864ybi; Tue, 4 Jun 2019 08:10:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqygdw0WjIWLbCMGDYr7Hr2g5K4cWu0720Ey+zJXFfQ9wr7kdInNwsiV2XFra98gxgkmSKDe X-Received: by 2002:a63:4726:: with SMTP id u38mr34942704pga.185.1559661003833; Tue, 04 Jun 2019 08:10:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559661003; cv=none; d=google.com; s=arc-20160816; b=j4QyeBCXbgUhEcaK6mdh1U9oj2+Iow3TPfe8VszFrfJNQlBNiOuda0nJK0rRbrgqbK +D+cL49HfWrJHVF38odXg5GiB2oOQd2BQeDsl4tet1EanEbWhCRsiLXTiXYIqbUkyU4W 7xqsLLugat80XOv/O5E1O4VGBPxi4B8OpC81mEWzJtC82rt9R7We8Ta/td6QglQhXeEP oIyYNZb5Vo+U1ote94Gwx+EYREOeNV1k0e2a2XjECDMje7Bzig3W0iYWiBuXk4mBufrU 9T4lo5mkJZNjLIrRHEkcno8faKz4hCJI5dtmfaAFuvrzk21mh+c0ptgmb2rZCiUpzeWA 4lwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=ECOg/wxabYS3dgU8LUGby1Wffn0eJBYrQDacF8hFP5Q=; b=hmqoSqBYADKcEcPL57qD+riqTHUDnlfI0vMieQpda5AHLcjmg5UuOvn8Fv/OOwth7Z gYdayVC+xnZm/rF7bSFIiWJt/Rnq1tYyfHqJaLy1yLCVPul/tUd21CkkIYQXTml6XzMO MBVOCw+FmaHZMSmr9eqy6xki/5g8WJh1jaj+8A2Oe1iwskRdxEmquiroGStgeUkmMsPg i+pMbCzYugs2+jyxRcqRTvnVa6Spsy+PTVHbdW2DtC8ZNJM76h7j3e/3RirWPQO0gmXw /UxmYSYfRRtawaGdx4rQcvsfKTLHF+7CYx25lnOpsvH17syv0rT3xvnDYA04bYtohqI5 twkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@z3ntu.xyz header.s=z3ntu header.b=AjEsKnAH; 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=fail (p=NONE sp=NONE dis=NONE) header.from=z3ntu.xyz Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v3si16634963pju.25.2019.06.04.08.09.44; Tue, 04 Jun 2019 08:10:03 -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=fail header.i=@z3ntu.xyz header.s=z3ntu header.b=AjEsKnAH; 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=fail (p=NONE sp=NONE dis=NONE) header.from=z3ntu.xyz Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728052AbfFDPIO (ORCPT + 99 others); Tue, 4 Jun 2019 11:08:14 -0400 Received: from mail.z3ntu.xyz ([128.199.32.197]:47186 "EHLO mail.z3ntu.xyz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727822AbfFDPIN (ORCPT ); Tue, 4 Jun 2019 11:08:13 -0400 Received: from g550jk.localnet (80-110-121-20.cgn.dynamic.surfer.at [80.110.121.20]) by mail.z3ntu.xyz (Postfix) with ESMTPSA id 86472C5AE9; Tue, 4 Jun 2019 15:08:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=z3ntu.xyz; s=z3ntu; t=1559660890; bh=zaAaHqRh524jBgxUSZGEHXD3aaBdPWcefSF2HtJ/9iQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=AjEsKnAHmL87BRiX9xgo2aImU9EqSkkVH3yVyQAJqw1uOeyMqmHblkFu2DiT0u0Ir rlqAsEKr5k13pjZiih1v3/L1SvCjlA54Sy48/3UO5cnQW31O07hfV/+gi5Mhudniul qVSTol9I3tVYwL18RzvW3APMYmOmMvqZZw5bNYzk= From: Luca Weiss To: Maxime Ripard 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 Date: Tue, 04 Jun 2019 17:07:57 +0200 Message-ID: <1832388.aQYCy0c1Lq@g550jk> In-Reply-To: <20190604145907.j3fp52gxupd3bkih@flea> References: <20190604144252.26965-1-luca@z3ntu.xyz> <20190604145907.j3fp52gxupd3bkih@flea> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2909352.anXG0Hpojg"; micalg="pgp-sha256"; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --nextPart2909352.anXG0Hpojg Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Hi Maxime, sorry I forgot to mark it as a v2 and add the changelog to v1. I've actually not split the patch into two on purpose as it's a pretty small change and the patch adding support for the A83T didn't split out the device tree changes - and recently in another patch of mine, the extra devicetree patch was squashed into the driver patch by the maintainer while merging. I'll fix this up asap. Luca On Dienstag, 4. Juni 2019 16:59:07 CEST Maxime Ripard wrote: > 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 --nextPart2909352.anXG0Hpojg Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE66ocILd+OiPORlvAOY2pEqPLBhkFAlz2iU0ACgkQOY2pEqPL BhkUqQ/+LT63fs1EFL67wFkz1sDABOyesiVfTNGHeZxt7U3iBZKMlWr2imGwPypZ FZkdHq5CgOTVceNoMvxJtaKFNuewU75VUjGo5bEw/+hO7qdawpu7oni+6BjOaPGY 3KaDj0GxNELe2wO6ZBcvfJNrgc2IoA6lkTDWdGqkchTO+bb824VGZmeStPfGRAAg UXcjmqeQ6UfUZN7OMSKD82VOXNsG55xxLZwGFBIZlw45vZ9+wVEJhPAQFmn6V03V y5CHvQYAQ9zOpvPe4DQz3ruOZm7Od+bUEMUP0W2hYVig0l1rkzUMPEEXsrcAY7al ow3Mw0J2wMHy7WN6Tjx1MO2C8eTLd+D1e8VfqulEtA/4oy7hvXpiIjEKR5HwQb3P Sdk/eWGhnrDLcWZ0tcpP7P5k2k6OrKJzlvaZ3Qiy/sYifBYzM1p+LX3V4WAHGoYx 5c8vt4XnmGYZN3zyDWnDW/gbpyqNal0PvtiDjnzglFfaYOn+smu8KOB7yJaBzPuT +F/ziMdUpiTHvIwbGr/5iNi2stbTp22DE2b86w9JtPJanuLvibQ0Ub/iZXgWR+6j GDwAaH0fqhqBoq0dqWkB3LU0dDnjWN4v+ADShF8NYkMBXcCFoGDNlRMrlEmltSM+ al4GF+2ykyt8QQWDYfBu5fp/ZT0P7XzEo+Cb8SeUOSqZNxXOG7E= =Q6BY -----END PGP SIGNATURE----- --nextPart2909352.anXG0Hpojg--