Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2868999pxb; Sat, 6 Feb 2021 10:22:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJwu7uYOk5e/GTfSrsuPaa2jfs9ArRcLSw4ZVopOxJFpkYGb0dd53WJLweMweAy6OmxwICiF X-Received: by 2002:a17:907:2d11:: with SMTP id gs17mr7273818ejc.20.1612635764290; Sat, 06 Feb 2021 10:22:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612635764; cv=none; d=google.com; s=arc-20160816; b=h2jInOjr2zdPTFfdew9NUe0l8+Ss1GxIQ/+eP7DVzlDHc6eoPo9NcY3R2sjxjtouwj ihRFDi0401UOZSbtGP+vhEwjNz6i9vHxZp4LfWL10QXUotnppAkx79dvSg6zhiChVHca KuE9ZkaSL5WHbktVKffQtK9SZoAOYuAkQRi47s+UFAuoDc/6TTQYvazIbzZ5gS16NMxc W9zi7D6i8ur5gDZuATXgK9Lv2J//x3zl2PKksf0XKWdjpLVDxmEvpITPciqpXRPrbSfx SteAJAdh/lg8uaDtMga99tcNdPrupFQqFOHlT/8nsp+yydRzw1rwuFK7DCkdEKvLhXkm EZBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=8zGFlmZPxqydRHYCTYgMO0h2p7oZV7ASB+Tk5+R97Dc=; b=dJ7eqwc0ppOwu++saK3miOWf0CAiF4yq86+2Ioo4lmV43nnhXbd/JeeFFfu37l3Gxi 5WU1k4bS2t62VnATvlOeCpvMRH9obaH66ZxpKXCt1cxNeEZxg4gpbtahC7KmJwFoEpQl s9fpspoYYu3rBnvnSvrE98aIaBMw2D3s62h8snLD/VfJhA/qMhAqRbp12k6UNa/DoqxF YQKpegMyR64mJE3jXlv8nh67feEUZuEapAswnZ3HUjM/1s/srHcVz7DRm+86lG6Bgw1r SxDW8A6Lisn+AWKQjZNIiICbP7g14NU1zRnuhuEFw6lxA0PoNR6eAorFRyXJ5I/SFyCG 7vmg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q22si7972832ejn.543.2021.02.06.10.22.20; Sat, 06 Feb 2021 10:22:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230086AbhBFPvs (ORCPT + 99 others); Sat, 6 Feb 2021 10:51:48 -0500 Received: from mail.kernel.org ([198.145.29.99]:51192 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229788AbhBFPvq (ORCPT ); Sat, 6 Feb 2021 10:51:46 -0500 Received: from archlinux (cpc108967-cmbg20-2-0-cust86.5-4.cable.virginm.net [81.101.6.87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id DAF3F64E9C; Sat, 6 Feb 2021 15:51:03 +0000 (UTC) Date: Sat, 6 Feb 2021 15:50:59 +0000 From: Jonathan Cameron To: Lars-Peter Clausen Cc: Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Michael Hennerich , Peter Meerwald-Stadler , Michael Auchter , linux-iio@vger.kernel.org Subject: Re: [PATCH v2] dt-bindings: iio: dac: Fix AD5686 references Message-ID: <20210206155059.2473c149@archlinux> In-Reply-To: <755532c1-2c28-3796-367a-baec09f2dada@metafoo.de> References: <20210202215503.114113-1-robh@kernel.org> <755532c1-2c28-3796-367a-baec09f2dada@metafoo.de> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2 Feb 2021 22:56:21 +0100 Lars-Peter Clausen wrote: > On 2/2/21 10:55 PM, Rob Herring wrote: > > The example and filename use 'adi,ad5686', but the schema doesn't > > document it. The AD5686 is also a SPI interface variant while all the > > documented variants have an I2C interface. So let's update all the > > references to AD5686 to AD5696. > > > > Cc: Lars-Peter Clausen > > Cc: Michael Hennerich > > Cc: Jonathan Cameron > > Cc: Peter Meerwald-Stadler > > Cc: Michael Auchter > > Cc: linux-iio@vger.kernel.org > > Signed-off-by: Rob Herring > > Acked-by: Lars-Peter Clausen > > Thanks Rob. > Hi Rob, So what seems to have happened here is only the i2c parts of a dual bus driver got documented. That happened as part of a series adding a new part to the driver a while back. (it's an old driver so probably only picked up dt support by accident) An alternative would be to add the docs for the rest of the parts supported by the driver - so have a unified doc for the i2c and SPI parts. Meh, it's probably simpler to just put that in as a separate doc though rather than merge it with this one. So we'll probably have an adi,ad5686.yaml file again doing that once I get round to writing one. I'm assuming you'll pick this up? Acked-by: Jonathan Cameron > > --- > > v2: > > - Rename instead of adding AD5686 > > > > .../iio/dac/{adi,ad5686.yaml => adi,ad5696.yaml} | 10 +++++----- > > 1 file changed, 5 insertions(+), 5 deletions(-) > > rename Documentation/devicetree/bindings/iio/dac/{adi,ad5686.yaml => adi,ad5696.yaml} (77%) > > > > diff --git a/Documentation/devicetree/bindings/iio/dac/adi,ad5686.yaml b/Documentation/devicetree/bindings/iio/dac/adi,ad5696.yaml > > similarity index 77% > > rename from Documentation/devicetree/bindings/iio/dac/adi,ad5686.yaml > > rename to Documentation/devicetree/bindings/iio/dac/adi,ad5696.yaml > > index 8065228e5df8..56b0cda0f30a 100644 > > --- a/Documentation/devicetree/bindings/iio/dac/adi,ad5686.yaml > > +++ b/Documentation/devicetree/bindings/iio/dac/adi,ad5696.yaml > > @@ -1,16 +1,16 @@ > > # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > > %YAML 1.2 > > --- > > -$id: http://devicetree.org/schemas/iio/dac/adi,ad5686.yaml# > > +$id: http://devicetree.org/schemas/iio/dac/adi,ad5696.yaml# > > $schema: http://devicetree.org/meta-schemas/core.yaml# > > > > -title: Analog Devices AD5686 and similar multi-channel DACs > > +title: Analog Devices AD5696 and similar multi-channel DACs > > > > maintainers: > > - Michael Auchter > > > > description: | > > - Binding for Analog Devices AD5686 and similar multi-channel DACs > > + Binding for Analog Devices AD5696 and similar multi-channel DACs > > > > properties: > > compatible: > > @@ -48,8 +48,8 @@ examples: > > #address-cells = <1>; > > #size-cells = <0>; > > > > - ad5686: dac@0 { > > - compatible = "adi,ad5686"; > > + ad5696: dac@0 { > > + compatible = "adi,ad5696"; > > reg = <0>; > > vcc-supply = <&dac_vref>; > > }; > >