From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.5 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 71D3BC00A89 for ; Mon, 2 Nov 2020 16:21:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1E346223AB for ; Mon, 2 Nov 2020 16:21:20 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=interia.pl header.i=@interia.pl header.b="fIy+Nd9A" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726938AbgKBQVT (ORCPT ); Mon, 2 Nov 2020 11:21:19 -0500 Received: from smtpo.poczta.interia.pl ([217.74.65.158]:42371 "EHLO smtpo.poczta.interia.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726653AbgKBQVT (ORCPT ); Mon, 2 Nov 2020 11:21:19 -0500 X-Interia-R: Interia X-Interia-R-IP: 188.121.22.175 X-Interia-R-Helo: Received: from t480s.localdomain (ipv4-188-121-22-175.net.internetunion.pl [188.121.22.175]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by poczta.interia.pl (INTERIA.PL) with ESMTPSA; Mon, 2 Nov 2020 17:13:29 +0100 (CET) Date: Mon, 2 Nov 2020 17:13:27 +0100 From: Slawomir Stepien To: Jonathan Cameron Cc: linux-iio@vger.kernel.org, Rob Herring , devicetree@vger.kernel.org, Jonathan Cameron Subject: Re: [PATCH 3/7] dt-bindings:iio:potentiometer:maxim,ds1803 move to trivial devices. Message-ID: <20201102161327.GA524499@t480s.localdomain> References: <20201031182922.743153-1-jic23@kernel.org> <20201031182922.743153-4-jic23@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20201031182922.743153-4-jic23@kernel.org> X-Interia-Antivirus: OK DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=interia.pl; s=biztos; t=1604333610; bh=OIF1bflcfVyHLkclBmZ065/HILvPFrrH1PZ51YuU04Q=; h=X-Interia-R:X-Interia-R-IP:X-Interia-R-Helo:Date:From:To:Cc: Subject:Message-ID:References:MIME-Version:Content-Type: Content-Disposition:Content-Transfer-Encoding:In-Reply-To: X-Interia-Antivirus; b=fIy+Nd9A41/9HLi+LXhIN4urMZfwtUwmkKHNZsCX/wtXzhYyiQoM2UcwQ6b194XNQ NwaatdtNgXGjDssLzF1wMuovUiyuKTycRZ3HFEmnQ/8BKuiyOOh9KGsSmZalVOEb5K qGbZ6L4n+wtYfhailMpeeAyGT4AchHirblmRGm0w= Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On paź 31, 2020 18:29, Jonathan Cameron wrote: > From: Jonathan Cameron > > Simple binding where there is no obvious benefit in maintaining a > separate file. Hence document in trivial-devices.yaml and drop > the txt file. > > Signed-off-by: Jonathan Cameron > Cc: Slawomir Stepien Reviewed-by: Slawomir Stepien > --- > .../bindings/iio/potentiometer/ds1803.txt | 21 ------------------- > .../devicetree/bindings/trivial-devices.yaml | 6 ++++++ > 2 files changed, 6 insertions(+), 21 deletions(-) > > diff --git a/Documentation/devicetree/bindings/iio/potentiometer/ds1803.txt b/Documentation/devicetree/bindings/iio/potentiometer/ds1803.txt > deleted file mode 100644 > index df77bf552656..000000000000 > --- a/Documentation/devicetree/bindings/iio/potentiometer/ds1803.txt > +++ /dev/null > @@ -1,21 +0,0 @@ > -* Maxim Integrated DS1803 digital potentiometer driver > - > -The node for this driver must be a child node of a I2C controller, hence > -all mandatory properties for your controller must be specified. See directory: > - > - Documentation/devicetree/bindings/i2c > - > -for more details. > - > -Required properties: > - - compatible: Must be one of the following, depending on the > - model: > - "maxim,ds1803-010", > - "maxim,ds1803-050", > - "maxim,ds1803-100" > - > -Example: > -ds1803: ds1803@1 { > - reg = <0x28>; > - compatible = "maxim,ds1803-010"; > -}; > diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation/devicetree/bindings/trivial-devices.yaml > index 10f0afd44684..695b1e379238 100644 > --- a/Documentation/devicetree/bindings/trivial-devices.yaml > +++ b/Documentation/devicetree/bindings/trivial-devices.yaml > @@ -110,6 +110,12 @@ properties: > - isil,isl68137 > # 5 Bit Programmable, Pulse-Width Modulator > - maxim,ds1050 > + # 10 kOhm digital potentiometer with I2C interface > + - maxim,ds1803-010 > + # 50 kOhm digital potentiometer with I2C interface > + - maxim,ds1803-050 > + # 100 kOhm digital potentiometer with I2C interface > + - maxim,ds1803-100 > # Low-Power, 4-/12-Channel, 2-Wire Serial, 12-Bit ADCs > - maxim,max1237 > # PECI-to-I2C translator for PECI-to-SMBus/I2C protocol conversion -- Slawomir Stepien