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=-11.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_2 autolearn=ham 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 516D1C433DF for ; Sun, 18 Oct 2020 17:41:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0838D22240 for ; Sun, 18 Oct 2020 17:41:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603042888; bh=ZBDz+sHnuk9fUV4D3FPBKKX5hJL+qUQjP3B3BgGrO8I=; h=Date:From:To:Cc:Subject:In-Reply-To:References:List-ID:From; b=RvW/M36uVwngS/R37UFXtu1mYbtDepcYd9TOK+1LoQM57rQ/PjdjTYYEaedHYuIlj GZ8P4EtoViEHibtRt4vtXv8RcdvTV+u7c20VSMVWQSu/cPO0inbtVBIyF8BUFwmkrA 31nzMMIAFJvRE/AK0LNzmuFA9E05BGhSSrnz2bcA= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727184AbgJRRl1 (ORCPT ); Sun, 18 Oct 2020 13:41:27 -0400 Received: from mail.kernel.org ([198.145.29.99]:60992 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725776AbgJRRl0 (ORCPT ); Sun, 18 Oct 2020 13:41:26 -0400 Received: from archlinux (cpc149474-cmbg20-2-0-cust94.5-4.cable.virginm.net [82.4.196.95]) (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 015392223F; Sun, 18 Oct 2020 17:41:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603042885; bh=ZBDz+sHnuk9fUV4D3FPBKKX5hJL+qUQjP3B3BgGrO8I=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=f6G7YXTZlf3xdWjK2L8UjMIJj5AV+32rVI4oomlSbE/1DJSBta79diqjvkmnx/edt urV0/EuJKqD/5LqQ+w5yLHmjqzxdoIvpd7gkBpMLg8k6xF6Ryttb7b+FivwGP/pYcF ScSPKEa9EkgWNhTxbkqpjU9dL/mc8rYLrw2WEu0U= Date: Sun, 18 Oct 2020 18:41:21 +0100 From: Jonathan Cameron To: Ricardo Ribalda Delgado Cc: linux-iio@vger.kernel.org, Rob Herring , Jonathan Cameron Subject: Re: [PATCH 15/29] dt-bindings:iio:dac:ti,dac7612 yaml conversion Message-ID: <20201018184121.5d023857@archlinux> In-Reply-To: References: <20201011170749.243680-1-jic23@kernel.org> <20201011170749.243680-16-jic23@kernel.org> X-Mailer: Claws Mail 3.17.7 (GTK+ 2.24.32; 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-iio@vger.kernel.org On Thu, 15 Oct 2020 10:49:08 +0200 Ricardo Ribalda Delgado wrote: > Signed-off-by: Ricardo Ribalda Hi Ricardo, I've converted that to an Acked-by. This one doesn't convey any DCO related info, so Signed-off-by isn't appropriate. Thanks, Jonathan > > On Sun, Oct 11, 2020 at 7:10 PM Jonathan Cameron wrote: > > > > From: Jonathan Cameron > > > > Simple conversion from txt to yaml. No significant adjustments. > > > > Signed-off-by: Jonathan Cameron > > Cc: Ricardo Ribalda Delgado > > --- > > .../bindings/iio/dac/ti,dac7612.txt | 28 ---------- > > .../bindings/iio/dac/ti,dac7612.yaml | 53 +++++++++++++++++++ > > 2 files changed, 53 insertions(+), 28 deletions(-) > > > > diff --git a/Documentation/devicetree/bindings/iio/dac/ti,dac7612.txt b/Documentation/devicetree/bindings/iio/dac/ti,dac7612.txt > > deleted file mode 100644 > > index 17af395b99d9..000000000000 > > --- a/Documentation/devicetree/bindings/iio/dac/ti,dac7612.txt > > +++ /dev/null > > @@ -1,28 +0,0 @@ > > -* Texas Instruments Dual, 12-Bit Serial Input Digital-to-Analog Converter > > - > > -The DAC7612 is a dual, 12-bit digital-to-analog converter (DAC) with guaranteed > > -12-bit monotonicity performance over the industrial temperature range. > > -Is is programmable through an SPI interface. > > - > > -The internal DACs are loaded when the LOADDACS pin is pulled down. > > - > > -https://www.ti.com/lit/ds/sbas106/sbas106.pdf > > - > > -Required Properties: > > -- compatible: Should be one of: > > - "ti,dac7612" > > - "ti,dac7612u" > > - "ti,dac7612ub" > > -- reg: Definition as per Documentation/devicetree/bindings/spi/spi-bus.txt > > - > > -Optional Properties: > > -- ti,loaddacs-gpios: GPIO descriptor for the LOADDACS pin. > > -- spi-*: Definition as per Documentation/devicetree/bindings/spi/spi-bus.txt > > - > > -Example: > > - > > - dac@1 { > > - compatible = "ti,dac7612"; > > - reg = <0x1>; > > - ti,loaddacs-gpios = <&msmgpio 25 GPIO_ACTIVE_LOW>; > > - }; > > diff --git a/Documentation/devicetree/bindings/iio/dac/ti,dac7612.yaml b/Documentation/devicetree/bindings/iio/dac/ti,dac7612.yaml > > new file mode 100644 > > index 000000000000..d172b142f6ed > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/iio/dac/ti,dac7612.yaml > > @@ -0,0 +1,53 @@ > > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > > +%YAML 1.2 > > +--- > > +$id: http://devicetree.org/schemas/iio/dac/ti,dac7612.yaml# > > +$schema: http://devicetree.org/meta-schemas/core.yaml# > > + > > +title: Texas Instruments DAC7612 family of DACs > > + > > +description: > > + The DAC7612 is a dual, 12-bit digital-to-analog converter (DAC) with > > + guaranteed 12-bit monotonicity performance over the industrial temperature > > + range. Is is programmable through an SPI interface. > > + > > +maintainers: > > + - Ricardo Ribalda Delgado > > + > > +properties: > > + compatible: > > + enum: > > + - ti,dac7612 > > + - ti,dac7612u > > + - ti,dac7612ub > > + > > + reg: > > + maxItems: 1 > > + > > + ti,loaddacs-gpios: > > + description: > > + DACs are loaded when the pin connected to this GPIO is pulled low. > > + maxItems: 1 > > + > > + spi-max-frequency: true > > + > > +required: > > + - compatible > > + - reg > > + > > +additionalProperties: false > > + > > +examples: > > + - | > > + #include > > + spi { > > + #address-cells = <1>; > > + #size-cells = <0>; > > + > > + dac@1 { > > + compatible = "ti,dac7612"; > > + reg = <0x1>; > > + ti,loaddacs-gpios = <&msmgpio 25 GPIO_ACTIVE_LOW>; > > + }; > > + }; > > +... > > -- > > 2.28.0 > > > >