Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp3516511pxb; Sun, 20 Feb 2022 22:55:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJzQ3QWlOhzNYg4Kfh8zozi5m0T8C31z0vSpJdIZkS3/Dh1Q3bfzK2lhFI9JyR7SogdstdNH X-Received: by 2002:a17:906:6848:b0:6cf:6273:9c47 with SMTP id a8-20020a170906684800b006cf62739c47mr15204663ejs.1.1645426505534; Sun, 20 Feb 2022 22:55:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645426505; cv=none; d=google.com; s=arc-20160816; b=gd5goZL5opygY5HOQxmqKREqFKGFWodTNiNPhlum9GPlHM5rmVwHwzAGBCxHti5liB XY6ERxmTNfsh2288prMI9E7Ixldci3A2qog/yc4kLkuoOGy3OYVbJEMsPpJmsZrLpZ54 7kDlRHDZzKffo5vAA7iCe9m6ZQQipe+cpRdxi+p6HC0WczccP6SApxBBVSUO9eM3de9d P7bNjMw0JgvI7wqQdRtcOGvxJugo5WJAgGDHjIYc1K6GoFmAOwsS0SZ/K2YZj2jpveAF SWdHs+1uM02jgsFhi4jCweRp17NV6/kGXgb16LcOevMRDEzLHHtlHgwxCp9ij5j4rHfW H/uQ== 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 :dkim-signature; bh=eOJ5q4A5pgLuvPBbvAweb6fHJKipvuVvo8DCR5ehYuI=; b=vTZHZLnCDTSTg9HX5ryQ5HIGVtHhaDTrNQVoQkp7sbpWN2qPETyz7Z+uIB3msbGtC+ 22kULj4ede6uaRUFYjjfpUE+S6/CiOxx1X/oTrq8CQPVaH9ydBIpGnavSYqH87CsHcF4 z8zuqRA6ppeWiifWMb/UUjEtRjPi/3mdbWWyp1A6NFp229IvsVwKGzJq392uBfPO+7l+ x/LL3oqKmW+PFqjAW0icTGIF74hmMDsNYQXHN6O3452ORd2bRWZC42HGPb8K3BzY9xf4 +kP1OpZP3zAJ1JBZvYgL9gFfOugjnXAx6eax3MUjkPcpNLjnfTXEUmTZge9AAxC7lIVW xUvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bAwhDrXK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a16si10585637edv.114.2022.02.20.22.54.43; Sun, 20 Feb 2022 22:55:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bAwhDrXK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S242950AbiBSSoP (ORCPT + 99 others); Sat, 19 Feb 2022 13:44:15 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:48798 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232813AbiBSSoM (ORCPT ); Sat, 19 Feb 2022 13:44:12 -0500 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BF04350E21; Sat, 19 Feb 2022 10:43:50 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 31B42CE0AC0; Sat, 19 Feb 2022 18:43:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B110AC340ED; Sat, 19 Feb 2022 18:43:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1645296227; bh=NTP0TpFvOtfTOvjqKjBMOO0Y1TPdpq2v2eaLgNU5lVg=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=bAwhDrXKO7kf28Zw46evDEL+6gdTGX1425IYH5b4ioDlEfduyBR9Z7AHWyPGAHkYN a+pdR/4A+3nOgukF/0jAksfVh+PEZOm/3vQMD0JTbZSPmLQPK/IzrEP5orYfv9UnPz T3ZaeEIC5Z0JYtpFHndiPZ0eVIK86yUWfke+30LGl+pgXaUlu8NH3c8GAGgo+tt3+p 2nxuNMN7gQ28jgaFNPQ3HxuQb2lRmIUSOSw/yAGCKbWteiyCsI4PsaGuOX0lMSBg0W 6rYCg4rgT25pe0FZWLigLmJRXu39Y8H9noc05wjHnHWohsYGKBG+agcgLPP1RTPNz4 11BrUbsx+1XFQ== Date: Sat, 19 Feb 2022 18:50:35 +0000 From: Jonathan Cameron To: Antoniu Miclaus Cc: , , , Subject: Re: [PATCH v3 2/3] dt-bindings:iio:amplifiers: add ada4250 doc Message-ID: <20220219185035.21e1ae9b@jic23-huawei> In-Reply-To: <20220214094115.48548-2-antoniu.miclaus@analog.com> References: <20220214094115.48548-1-antoniu.miclaus@analog.com> <20220214094115.48548-2-antoniu.miclaus@analog.com> X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 On Mon, 14 Feb 2022 11:41:14 +0200 Antoniu Miclaus wrote: > Add device tree bindings for the ADA4250 driver. > > Signed-off-by: Antoniu Miclaus > --- > .../bindings/iio/amplifiers/adi,ada4250.yaml | 48 +++++++++++++++++++ > 1 file changed, 48 insertions(+) > create mode 100644 Documentation/devicetree/bindings/iio/amplifiers/adi,ada4250.yaml > > diff --git a/Documentation/devicetree/bindings/iio/amplifiers/adi,ada4250.yaml b/Documentation/devicetree/bindings/iio/amplifiers/adi,ada4250.yaml > new file mode 100644 > index 000000000000..22283ab48903 > --- /dev/null > +++ b/Documentation/devicetree/bindings/iio/amplifiers/adi,ada4250.yaml > @@ -0,0 +1,48 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/iio/amplifiers/adi,ada4250.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: ADA4250 Programmable Gain Instrumentation Amplifier > + > +maintainers: > + - Antoniu Miclaus > + > +description: | > + Precision Low Power, 110kHz, 26uA, Programmable Gain Instrumentation Amplifier. > + > +properties: > + compatible: > + enum: > + - adi,ada4250 > + > + reg: > + maxItems: 1 > + > + avdd-supply: true > + > + adi,refbuf-enable: > + description: > + Enable internal buffer to drive the reference pin. > + type: boolean > + > +required: > + - compatible > + - reg > + - avdd-supply > + > +additionalProperties: false Given it's an spi driver, probably want to add spi-max-frequency: true to the allowed properties Otherwise, lgtm > + > +examples: > + - | > + spi { > + #address-cells = <1>; > + #size-cells = <0>; > + ada4250@0{ > + compatible = "adi,ada4250"; > + reg = <0>; > + avdd-supply = <&avdd>; > + }; > + }; > +...