Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp3368450imd; Mon, 29 Oct 2018 06:10:24 -0700 (PDT) X-Google-Smtp-Source: AJdET5c4/V59NXsc/ijKle2uvucnt5kOu+TY0hg0fGsGsCCYf4RbVkCSbJjcKyyUbuPzILCkDK8+ X-Received: by 2002:a63:4a0e:: with SMTP id x14-v6mr13478217pga.34.1540818624863; Mon, 29 Oct 2018 06:10:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540818624; cv=none; d=google.com; s=arc-20160816; b=B+kOMqAjOjhliBmaFcdXF0kUhDIPTvza+4of5zx8RiT4t+he0p42D4KWL/VoNY3uKI IElA34ZtBDudJW20ORH41ZPdaf/mzsBN4oq7rUPQIv8wNdfVAwE6OIKkFyZDg7WXE6Zv VjIboQUSHunl2oWjD0P6iFcORU4g5QwMl7me4f2hnyPyARRqItIu2tiUnsxqckqSa19Y im3lPus/81F4YmGawvE7+tLr1krRUanUce90YQPODv1FKZfelb1owwlvu8h3PoK198dr QIIPKU5D7VubFozVAj7cq7le3KGHaWs4ZGt1bcebmW8m7On1hKmDpvZKa4WwkGvG2M/E 5qmg== 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=30HUx1YqlK+l3vY0c9Bc7agsnF1/DtfUAPdCfkxB72M=; b=unopPTDFMmIrWsxNFWUD1A02lezEwIGOwf9UDj1fLrzuhrQgIeG83UMoKXxjGfmlrA /aVlS/4RxJqEc2wR238zztLogbwKanQBFAUBRvEXQ5/p4PRbVfXYN9Og4T7O9gAdZlxX mtxi1SYNYrWSiWazaFbSkib89sUw26Jn3OwqxAmNxiLuBOuPuJ2WRoABUUaEfwRxpiu1 R3OJ5+815ws4Q6qmv0Uc+l4S9ssehM1phLhW2XCTsr8huyOODLxUxlwXtc2F93a7/mX1 SQjo14Hwr9BtqYhBbKCQ+0Sk1Sgl5DUG4xXC2khIRhrT65fr5eCuUJ51okyA1GKc7Lae sdlw== 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 x2-v6si20190078pln.232.2018.10.29.06.10.08; Mon, 29 Oct 2018 06:10:24 -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 S1726212AbeJ2V4g (ORCPT + 99 others); Mon, 29 Oct 2018 17:56:36 -0400 Received: from mail.bootlin.com ([62.4.15.54]:34642 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725862AbeJ2V4g (ORCPT ); Mon, 29 Oct 2018 17:56:36 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id EBD1320795; Mon, 29 Oct 2018 14:07:57 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT shortcircuit=ham autolearn=disabled version=3.4.0 Received: from qschulz (aaubervilliers-681-1-12-210.w90-88.abo.wanadoo.fr [90.88.133.210]) by mail.bootlin.com (Postfix) with ESMTPSA id 91BA620714; Mon, 29 Oct 2018 14:07:57 +0100 (CET) Date: Mon, 29 Oct 2018 14:07:57 +0100 From: Quentin Schulz To: Jonathan Cameron Cc: Rob Herring , Oskari Lemmela , Linus Walleij , Sebastian Reichel , Lee Jones , Hartmut Knaack , Lars-Peter Clausen , Vasily Khoruzhick , Quentin Schulz , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org, linux-iio@vger.kernel.org Subject: Re: [PATCH v5 04/11] dt-bindings: iio: adc: add AXP803 ADC bindings Message-ID: <20181029130757.m5okrfvusjl5fu5m@qschulz> References: <20181023185330.10472-1-oskari@lemmela.net> <20181023185330.10472-5-oskari@lemmela.net> <20181024135633.GA342@bogus> <20181028154011.04efdecf@archlinux> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="d247wavwh5lwf5wa" Content-Disposition: inline In-Reply-To: <20181028154011.04efdecf@archlinux> User-Agent: NeoMutt/20171215 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --d247wavwh5lwf5wa Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Jonathan, On Sun, Oct 28, 2018 at 03:40:11PM +0000, Jonathan Cameron wrote: > On Wed, 24 Oct 2018 08:56:33 -0500 > Rob Herring wrote: >=20 > > On Tue, 23 Oct 2018 21:53:23 +0300, Oskari Lemmela wrote: > > > The AXP803 ADC is compatible with AXP813 ADC, but add > > > specific compatible for it. > > >=20 > > > Signed-off-by: Oskari Lemmela > > > --- > > > Documentation/devicetree/bindings/iio/adc/axp20x_adc.txt | 2 ++ > > > 1 file changed, 2 insertions(+) > > > =20 > >=20 > > Reviewed-by: Rob Herring >=20 > This doesn't seem to have any dependencies with the other patches > so applied to the togreg branch of iio.git and pushed out as testing > for the autobuilders to ignore. However I am a little curious to know > why we would add the ID and then not use it (that I can see)? >=20 Sometimes with Allwinner (and X-Powers), two IPs seem identical until we discover something that is slightly different. When this happens, we have to add a compatible to differentiate both. However, we would also need to change the Device Tree to change the compatible. We would need to handle the driver behaviour for both Device Trees. So better anticipate a possible difference so that we don't have to do some hacks in the driver to handle the device correctly. As always, Chen-Yu or Maxime may know better so I'm just stating what I seem to recall. Quentin --d247wavwh5lwf5wa Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEXeEYjDsJh38OoyMzhLiadT7g8aMFAlvXBiwACgkQhLiadT7g 8aNGohAAqGgoY6iEBWbxr5CUbqS3mda6QQ8HkBcE9EqDT/JpjKiQmRay4qZyJ6pC u54eWJFzyZOyOmzhVUhP9TTa6yt0+A/tmyOtEUwkH2rU4IPqmwrjJ4PAnk4aFLw5 EsPN25o9Zk60y9bhvclDkw1MHldvPJER6ejygP90zOcwqIc5DjrQfY4aPnImnRZ1 +Cs/zct/IVUScTCOMdqvOT5mff/8OkKRmbw6+Ukr/11RPIm2zly61i0XWoyXslkv xZhhP+Fs7G3+Zs7cUmxkTNliyJ4wHkHD9p00fSB2DKWB0Xj+SeYziWvLZF/tVV1J zhcfRy1yVI3gU5Uvf9kd5/ONHQt06yNVtSusEpmV19WKznoJqrn9IFLmXqJC2ayv 8mVHDSRP3ci0k4hVC3kpQF3SkVe/kYpxdzea7u+d+Lv6xg2j9QRqsJN/IL9sY0Ss JFrQVxrhEolYScRpEoORWU7e5phhrGxK2W9wFO2iHVbH5M3vVZnWa3L4RZf5NiwR Zadjk2idbdpn3FBMmOi3QKtT7xlsPHauv8vCr2BVEnQFIJMqvNt9Ny0t+ZDLfw5h /JaVZs1pOcKwzvJvtch1wtbrCPTgzHJLEU2gO7bWWXolBnYx28PYKjgtRgl/RLvM m0taZizWks/8EqaYlGFYpoUoBYTNnYRivcoJV602PQk1gmzcvYk= =YFs6 -----END PGP SIGNATURE----- --d247wavwh5lwf5wa--