Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp2184186rwb; Sun, 4 Sep 2022 10:03:01 -0700 (PDT) X-Google-Smtp-Source: AA6agR7t3CGuQwpOggw2kcfC/1pG29zL30lfdTHDMNiGJ//3NnRfRlLAYIEp/ikc+1bof2tu+Wn0 X-Received: by 2002:a63:f80c:0:b0:432:bd9f:2f32 with SMTP id n12-20020a63f80c000000b00432bd9f2f32mr8665399pgh.304.1662310981212; Sun, 04 Sep 2022 10:03:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662310981; cv=none; d=google.com; s=arc-20160816; b=uy54w/d1GGM8zbTF+G+GJBO1ar+HpcJR/qI92pFw8spCODTBWEKUAeqMlaTQ8XKDVg ZnYdW0YGjL3DvTxvFztTPvOnJz1NsuQO6+ydPy9Ar8cZxU8IPf0kuv9inzZuYy+0Dq3b mqKIXS95gaDCd78Eep1PikW5Hd2rhcFsMsMO990xF5fIRWEkEqw9zSK421+4Oud9h+FO UUrDVcAp8H8MzP4CCC71vxxMvv2TP8j5o+fXme/eLdfy/1DL7xhyw+pSfaEmQCiOiEWN zc04Au5AANSFPeaiqPWy6paSHRfpNSoT2fdbMeA7/mwmPlLLPD6rsr+Yl+e/p8A3i5ks RZqA== 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=xzvqnQDY9q+cfZWLut8enWHbMMiJNja8y4ImzZX3xB4=; b=ZoPyfcHDd2MO7bSZqvSlLJRQlfh/XnZwxvJ34H3K7z93LA4vGGc2fWlpJLh93Xv7hw dAg4Ybasx8+mBizY0d9QanYIkdUunh53rHcMuH02OmGsuNa5c8DhtBLE3spFL39oke+D sZbWzkMYJORL9br0QvQgNIByjPezt+S3ZqRJN48xxrVB2QWoSH+YqcqEe/oOttJ10TQJ lqVBTOxLVtHe4xopgkVbJe/W94/XtEtf99otjWgoNde7Lptmoftw4CrBrehoEX87AkLs 1ekrSJtJBLeFfTNvhmDdzu9G9TKRlcSJKSl1zBuqbGNnI/l6jNX1CoNREn1Ytz3ohSfy PPWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=V+Whq1+A; 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 v32-20020a634660000000b00429f60bbdd0si7977022pgk.62.2022.09.04.10.02.48; Sun, 04 Sep 2022 10:03:01 -0700 (PDT) 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=V+Whq1+A; 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 S234810AbiIDQRa (ORCPT + 99 others); Sun, 4 Sep 2022 12:17:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46910 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229938AbiIDQR2 (ORCPT ); Sun, 4 Sep 2022 12:17:28 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81C0A33419; Sun, 4 Sep 2022 09:17:27 -0700 (PDT) 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 dfw.source.kernel.org (Postfix) with ESMTPS id 1F03B60FBD; Sun, 4 Sep 2022 16:17:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E0181C433D6; Sun, 4 Sep 2022 16:17:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1662308246; bh=qNaHz5JBYke/CVfWVhBgjj6fWzJwmnx0pYh93wiiZ/E=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=V+Whq1+ARgA/tq/LnDfiiKpU1VmZDHX/+7OX8jt2QGS7i9/QXaFuNjD5pCfbvwCIu 7yrjLgQhShOtNhiSQsLX9qwho6tSb1zJZFbd+EynPcEEtcEjAoJR4UiExla1RGTxGr 0ddGKVaPrkL+HXf2lCx6U6IpI6/Kjq2A5LWGx6pM5890myj1Y6vkVLvU4oP/G9ei51 5DFJe+ZZpbafzasH6magsev3KgEFTYWlKzWCGw79T6GJg9Eo+Z+qZy8X3HE965ZuRJ oQ9+2MxEb3bZNv+d61HZZENOo1XBgA+xlZuec47t6bMq++w09l6Yp5skT9N6jv7F1u Frl12bZ30sgTA== Date: Sun, 4 Sep 2022 16:43:18 +0100 From: Jonathan Cameron To: Ramona Bolboaca Cc: , , , , Subject: Re: [PATCH v2 1/2] bindings: iio: adc: Add max11205 documentation file Message-ID: <20220904164318.50280599@jic23-huawei> In-Reply-To: <20220831133021.215625-1-ramona.bolboaca@analog.com> References: <20220831133021.215625-1-ramona.bolboaca@analog.com> X-Mailer: Claws Mail 4.1.0 (GTK 3.24.34; 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.1 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 Wed, 31 Aug 2022 16:30:20 +0300 Ramona Bolboaca wrote: > Add bindings documentation file and MAINTAINERS entry for MAX11205. Binding patch titles tend to be dt-bindings: iio: etc. I'll fix whilst applying. > > Signed-off-by: Ramona Bolboaca > --- > changes in v2: > - reference /schemas/spi/spi-peripheral-props.yaml in allOf > - use unevaluatedProperties:false and remove additionalProperties:false > - use generic node name and fix indentation in device-tree example > - wrap lines nearer to 75-80 chars in documentation > - add extra information to the description of the regulator > .../bindings/iio/adc/maxim,max11205.yaml | 69 +++++++++++++++++++ > MAINTAINERS | 8 +++ > 2 files changed, 77 insertions(+) > create mode 100644 Documentation/devicetree/bindings/iio/adc/maxim,max11205.yaml > > diff --git a/Documentation/devicetree/bindings/iio/adc/maxim,max11205.yaml b/Documentation/devicetree/bindings/iio/adc/maxim,max11205.yaml > new file mode 100644 > index 000000000000..7902f82da927 > --- /dev/null > +++ b/Documentation/devicetree/bindings/iio/adc/maxim,max11205.yaml > @@ -0,0 +1,69 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/iio/adc/maxim,max11205.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Maxim MAX11205 ADC > + > +maintainers: > + - Ramona Bolboaca > + > +description: | > + The MAX11205 is an ultra-low-power (< 300FA max active current), > + high-resolution, serial-output ADC. > + > + https://datasheets.maximintegrated.com/en/ds/MAX11205.pdf > + > +allOf: > + - $ref: /schemas/spi/spi-peripheral-props.yaml# > + > +properties: > + compatible: > + enum: > + - maxim,max11205a > + - maxim,max11205b > + > + reg: > + maxItems: 1 > + > + interrupts: > + maxItems: 1 > + > + spi-max-frequency: > + maximum: 5000000 > + > + spi-cpha: true > + > + vref-supply: > + description: > + The regulator supply for the ADC reference voltage. This is a differential > + reference. It is equal to the V_REFP - V_REFN. The maximum value is 3.6V. > + > +required: > + - compatible > + - reg > + - spi-max-frequency > + - spi-cpha > + - interrupts > + - vref-supply > + > +unevaluatedProperties: false > + > +examples: > + - | > + #include > + spi { > + #address-cells = <1>; > + #size-cells = <0>; > + adc@0 { > + compatible = "maxim,max11205a"; > + reg = <0>; > + spi-max-frequency = <5000000>; > + spi-cpha; > + interrupt-parent = <&gpio>; > + interrupts = <19 IRQ_TYPE_EDGE_FALLING>; > + vref-supply = <&max11205_vref>; > + }; > + }; > +... > diff --git a/MAINTAINERS b/MAINTAINERS > index 96f47a7865d6..db1b5dc03988 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -12341,6 +12341,14 @@ S: Maintained > F: Documentation/devicetree/bindings/iio/proximity/maxbotix,mb1232.yaml > F: drivers/iio/proximity/mb1232.c > > +MAXIM MAX11205 DRIVER > +M: Ramona Bolboaca > +L: linux-iio@vger.kernel.org > +S: Supported > +W: https://ez.analog.com/linux-software-drivers > +F: Documentation/devicetree/bindings/iio/adc/maxim,max11205.yaml > +F: drivers/iio/adc/max11205.c > + > MAXIM MAX17040 FAMILY FUEL GAUGE DRIVERS > R: Iskren Chernev > R: Krzysztof Kozlowski