Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp2673902rdb; Wed, 4 Oct 2023 08:11:59 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHKQvOpyoiyrB7laAE3HlBjn/+lVyL0CxA9iGn5r6ocWxIA4K+V8xgVd3hUPN95OM2Agab/ X-Received: by 2002:a05:6a00:218a:b0:693:3e7d:cb4c with SMTP id h10-20020a056a00218a00b006933e7dcb4cmr2644007pfi.16.1696432318748; Wed, 04 Oct 2023 08:11:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696432318; cv=none; d=google.com; s=arc-20160816; b=YnzH/S55r3R8J1Rl/gcHEXRQ2kJhXyP0MdBlyK4kbG1NtW1rx762F5C8eNQUcIXzg3 k2caYDcc46bX9c1pNsUSy0nxDKwf7tWD55e3OiLDFNyRCmjST5kfYy4JA2dP4t/1VIsD tjQkdrDN8X6X4d5FF2YQKEfaPylBbMLpcCVmVNj7aMTmQn50xRIUtriCeIAqoCs0xDQb wiMpf6iaqZIdRx2PsVfbScgTkigZJoAHPgOkpKUdp/+vjikm7s/OLUDGKE7+kRjngwa4 SYWbdyhAdGr8TSWbRxeMXIOyK11Syx6EbtW20VYUh7vUhtrX88Uuxa4Sv/+ea0pm02Ig pGCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=c3FvknTiGujQFU1exR27Is5vzSH5ebdbOSSZGDDMym4=; fh=yWssW7Bvz0C8oP4462X8r2xCjm8EBKHMZ5nb4CYX+bU=; b=O/qioxfPkIOe5oJD7qFiwkYewLShWxiVAyTypDTwZqaNMCy5ED0IjKifuKo5suCQXt fydN4t5a7J4nqc9vb188UxCvPcnaK8kFGWCu2ELXDni9H6BswYslvWM+YkKy079hVvO3 JcznGaWC25IfIZlwnXnXF1NRkTgf1F5EtCTx0Zi5jKR+1nNn9OqKAtqSbNdJ3F2b2BvP cvIUx1SyVeSZrpgmRi4b02NmnknMMwV8Os8/5YCal55z7mZWYpdNsVgSVifjbv42Mqwj J/JMUnOJ3fHfT6Acu1q7UTYT03txJzjbR/u8+kZIWT7ugGb+nHuFutN5qv9sCL1lr/sZ T6eA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Tp67XPTQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id k186-20020a6324c3000000b005852e1932fesi3903541pgk.456.2023.10.04.08.11.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Oct 2023 08:11:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Tp67XPTQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id CBE708218E7B; Wed, 4 Oct 2023 08:11:57 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243035AbjJDPL5 (ORCPT + 99 others); Wed, 4 Oct 2023 11:11:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36622 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233475AbjJDPL4 (ORCPT ); Wed, 4 Oct 2023 11:11:56 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7815BBD; Wed, 4 Oct 2023 08:11:52 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 47565C433C7; Wed, 4 Oct 2023 15:11:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696432312; bh=dmLK1DKw97BO7gbbEGRFxJuTlV8DsqMHc8PPHEDaT9k=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Tp67XPTQ0DDswas/FkM2I2UFCMZYKpolH8nNES6ctDav7ybQsBzGTDiI+jZ1auJjz xCAgBCjF8yTOAk0PYGxSC2CLXdybAxc8JVzKQ3y/DRwZuujl98JS3Efs4RQY+xqqQk uXObJTAae06II51Fy2sFC4a/GuI42XdfR1+wYHt45fQ1CByoYwir5lh9IRB/0RX8K7 L23U1OoNzFIc03C2rcEkT2aA63TTtBCUXMAkqzI3UTGA/kDSEWC3cqj9WUbvsC5m2Q vfnLZI8uso4qd8epGRJTqR9FOR6pX4FL4cJkQcm09G/XanACJU0H04xymrI/W5cQJj Aw5PHNyq27Y4w== Received: (nullmailer pid 3144693 invoked by uid 1000); Wed, 04 Oct 2023 15:11:50 -0000 Date: Wed, 4 Oct 2023 10:11:50 -0500 From: Rob Herring To: werneazc@gmail.com Cc: jic23@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, lars@metafoo.de, devicetree@vger.kernel.org, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Andre Werner Subject: Re: [PATCH 1/2] dt-bindings: iio: adc: ti,ads7038: Add description for ADS7038 Message-ID: <20231004151150.GA3140591-robh@kernel.org> References: <20231004102330.3713-1-andre.werner@systec-electronic.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231004102330.3713-1-andre.werner@systec-electronic.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 04 Oct 2023 08:11:57 -0700 (PDT) On Wed, Oct 04, 2023 at 12:23:29PM +0200, werneazc@gmail.com wrote: > From: Andre Werner > Needs a commit message. > Signed-off-by: Andre Werner > --- > .../bindings/iio/adc/ti,ads7038.yaml | 51 +++++++++++++++++++ > 1 file changed, 51 insertions(+) > create mode 100644 Documentation/devicetree/bindings/iio/adc/ti,ads7038.yaml > > diff --git a/Documentation/devicetree/bindings/iio/adc/ti,ads7038.yaml b/Documentation/devicetree/bindings/iio/adc/ti,ads7038.yaml > new file mode 100644 > index 000000000000..37fbae95c8e6 > --- /dev/null > +++ b/Documentation/devicetree/bindings/iio/adc/ti,ads7038.yaml > @@ -0,0 +1,51 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/iio/adc/ti,ads7038.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Texas Instruments ADS7038 and similar ADCs > + > +maintainers: > + - Andre Werner > + > +description: | > + Family of 7 channel, 12 bit ADCs with SPI/I2C interface. > + > + Datasheet: https://www.ti.com/lit/gpn/ads7038 > + > +properties: > + compatible: > + enum: > + - ti,ads7038 > + - ti,ads7138 > + > + reg: > + maxItems: 1 > + > + spi-max-frequency: > + maximum: 60000000 > + > + vref-supply: > + description: Supplies the 2.5V or 5V reference voltage I don't see that in the datasheet. It has AVDD and DVDD. Also, looks like there are GPIOs. Those aren't ever exposed to the OS? > + > +required: > + - compatible > + - reg > + - vref-supply > + > +additionalProperties: false > + > +examples: > + - | > + spi { > + #address-cells = <1>; > + #size-cells = <0>; > + > + adc@0 { > + compatible = "ti,ads7038"; > + reg = <0>; > + vref-supply = <&refin_supply>; > + spi-max-frequency = <10000000>; > + }; > + }; > -- > 2.42.0 >