Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp5496558imd; Tue, 30 Oct 2018 19:34:58 -0700 (PDT) X-Google-Smtp-Source: AJdET5evj2hdjU1QhnjprASRYXMfbVXMWlBj+ipt+Q8oyZnTYsjQlJUqrYy9vWpjAwCGNpEzVsQU X-Received: by 2002:a62:1416:: with SMTP id 22-v6mr1355406pfu.114.1540953298600; Tue, 30 Oct 2018 19:34:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540953298; cv=none; d=google.com; s=arc-20160816; b=u8MYS4U80Yn2bkNGdLSySmfAFLkIBAj/5ktw8p+u6EThNgupVpwrOQOnNmRxOWvxUd eP1omlK4yaUSaAn6V73cKSVJ7mJesbCVQhsPYKbedHxD5jGDrh3A4AhwtNEsgmV3iLOA 4T+KeJjqRvgbsKfZufrJGPMF1+d2LVR84VteuwlYbqqIl5zeZv5IfGzfuTwzlIN5TY2Y E2osZPkaKzkRgm6Rot0fKc2OKfGUxTHmuFZdY+C2cdeqV7pQUoZYKVGXCEXR5aMH2cup TuXlIGixkGbyrtqpz8v5cBMzdUKoDCdew3uRSXtldYUjWt+MVZyHi2788UIVMpP6XE1T SR/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=K+adRQaV3KCQxO4dq+piahttjAH3CxrcrHPxip7u2FE=; b=C4pQgmBp29OoQmvA5qSEtVysusosz2eyenffHRkHgXf74TOi2WZ0yXSQH/cmu+1VAQ /Gvd7Wkr1Uv2AsJJ7wuksWrpta9CVuzmWTwGxPJJzNxgvLiL3a7TH7bOF6f7ot/vWrTQ ipfBscLFQVY0DKVHYEYufPo7obPowl8DflQmf61O1+S1UdUxvvypBxNw9rxVIRm4cL2J QqYYxwXz4xAxI2YlhCxePHSG7CYZle4uNK6MLWYt/KsXz1YRpvaIr2Bh8SXau99qOmUD Ep2ASORXtjdOFNF9HJp6ePG1qKA3RXY/LgS7lH4CMijR9US/+DugFEFtSUidyTmwn7wU JcfQ== 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 i11-v6si10874640pgk.29.2018.10.30.19.34.44; Tue, 30 Oct 2018 19:34:58 -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 S1728890AbeJaL0O (ORCPT + 99 others); Wed, 31 Oct 2018 07:26:14 -0400 Received: from mail-ed1-f68.google.com ([209.85.208.68]:46524 "EHLO mail-ed1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728645AbeJaL0O (ORCPT ); Wed, 31 Oct 2018 07:26:14 -0400 Received: by mail-ed1-f68.google.com with SMTP id v18-v6so12287632edq.13; Tue, 30 Oct 2018 19:30:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=K+adRQaV3KCQxO4dq+piahttjAH3CxrcrHPxip7u2FE=; b=XCOI7wVeOnWxVbbUA1FHGGwer8bKY8tfULp+3UsvixTBqf3DmF4qjENQFUGhpI9H16 3F/d9/H7P+0L7CnZLsI9eMHOpt7+HOLiaD2dakdKvZKesO/4MGJMGiEKs9auBKpf5/So jE+rwN8FQp+jhiLgzlWrYRGxxIAreGdMD50b0p6G386VQtBfpdIF487lVyBcjU98ARuk OWxxUG4QUE500ujd6DTevO3O4zxr90Dm34IiuT0DUFkjm6RaN0YfQ6LTtY2Nhblk+rrN Z1q8rm080bMNZdH4OUo7qyj3xJg+7AvfHif7+7WMYWG6f2cDIRNxv0fkdrPZLNRlWGQg jJKA== X-Gm-Message-State: AGRZ1gJuV9J08DX+NY8tUfYwyKrYci5kA+ZfiqyaRHOPQF0VSMcNgl/q KEFm0VhYYFKjwy0qHM/I582UQvrXoHM= X-Received: by 2002:aa7:d48c:: with SMTP id b12-v6mr560097edr.256.1540953012976; Tue, 30 Oct 2018 19:30:12 -0700 (PDT) Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com. [209.85.128.52]) by smtp.gmail.com with ESMTPSA id v18-v6sm7680842eds.21.2018.10.30.19.30.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Oct 2018 19:30:12 -0700 (PDT) Received: by mail-wm1-f52.google.com with SMTP id l2-v6so7614219wmh.3; Tue, 30 Oct 2018 19:30:12 -0700 (PDT) X-Received: by 2002:a1c:f010:: with SMTP id a16-v6mr747040wmb.5.1540953012462; Tue, 30 Oct 2018 19:30:12 -0700 (PDT) MIME-Version: 1.0 References: <20181023185330.10472-1-oskari@lemmela.net> <20181023185330.10472-5-oskari@lemmela.net> <20181024135633.GA342@bogus> <20181028154011.04efdecf@archlinux> <20181029130757.m5okrfvusjl5fu5m@qschulz> In-Reply-To: <20181029130757.m5okrfvusjl5fu5m@qschulz> From: Chen-Yu Tsai Date: Wed, 31 Oct 2018 10:29:59 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v5 04/11] dt-bindings: iio: adc: add AXP803 ADC bindings To: jic23@jic23.retrosnub.co.uk Cc: Rob Herring , Lars-Peter Clausen , "open list:THERMAL" , linux-iio@vger.kernel.org, Linus Walleij , Sebastian Reichel , linux-kernel , Vasily Khoruzhick , Quentin Schulz , devicetree , oskari@lemmela.net, linux-gpio@vger.kernel.org, Hartmut Knaack , Lee Jones , linux-arm-kernel , Quentin Schulz Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 29, 2018 at 9:10 PM Quentin Schulz wrote: > > 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: > > > > > 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. > > > > > > > > Signed-off-by: Oskari Lemmela > > > > --- > > > > Documentation/devicetree/bindings/iio/adc/axp20x_adc.txt | 2 ++ > > > > 1 file changed, 2 insertions(+) > > > > > > > > > > Reviewed-by: Rob Herring > > > > 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)? > > > > 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. With Allwinner stuff (X-Powers included), sometimes the documents are incomplete or have errors. We tend to add a model-specific compatible just in case things turn out not to be so compatible, unless someone has triple-checked everything, documents and actual hardware included. However we don't actually document these, so this patch isn't strictly needed. (I suppose this might annoy the device tree binding maintainers.) ChenYu