Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2653803rwb; Mon, 3 Oct 2022 04:00:16 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5EUCEDFdEaEohcBGXqwLCznJgaTrfBkVgErBVEToplUyA5fDan9U2ZaMZjIM/g/C11xD8E X-Received: by 2002:a17:906:8473:b0:77b:efa8:50e4 with SMTP id hx19-20020a170906847300b0077befa850e4mr14415858ejc.250.1664794815676; Mon, 03 Oct 2022 04:00:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664794815; cv=none; d=google.com; s=arc-20160816; b=NAK0fF9ysM6CAMDLmurnWdK6+q5BGB86SI4CsvCXN+lx1R3pWiNGeGQb23J9phnxJA CLspNQECb2aVKIvxVld0N2LnBmY1VLmMRGsQO4OddBVHcZvNKD+R/bVLpH8pDBz9clCO lMkTuId/RfmmsYZ4crKkFiDaFR9hMqgFzDsSmXYQFU0yrNMONTh2m+4wW+GwlHMdqG/Q qqSDQ9hiX2OVFnURy5nGe80uY88viwHDp6FddjezLrH6TxdASz1nbp/pc4iGS7FGTOma xEKyhCa3KF4YDsRqxSfgkVMzQrHthAKhHUgLgi6U0mUzsK3l4ahW5Tn0cre2rToIkRUy c1xQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=JvuDGMusQA+cnS7/q51g2t96p6j7dPQayCQD9t4XTZs=; b=YanyrWKZBlc21Ih6nGdplB2Png9Ndu0QcCu1bXov3flGIPFQiVIOIH3rCW5FEi/38l Ke2xZbVbBDtIK9MZZphIS8P1tlXwRJZnZY29hlHm5gNnxBXPuS9P+UE30ofRtNfZhm0A 4dzTTQiV87jLo0VwyqGx0U7A7NHA8kBBt5RYDB0GrCliiFdbdoo4hHzcE1b+2RiBZDm2 xTdiHLqHkB4X8J+HP29XQTVatl9KnYg5cEFFB/incsLYiaTb90XLr84I3VSr+mgwmAkI eaBtgKSl//dypzm0hITGdYvpTjoqkr0bIXYEQv5z7NVzRhH4gDW1mEV3oxqSa32uzAwm mKTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=D7upUYLE; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a26-20020a056402169a00b00458f74d3600si2225215edv.313.2022.10.03.03.59.50; Mon, 03 Oct 2022 04:00:15 -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=@linaro.org header.s=google header.b=D7upUYLE; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229615AbiJCKfJ (ORCPT + 99 others); Mon, 3 Oct 2022 06:35:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54158 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229521AbiJCKfD (ORCPT ); Mon, 3 Oct 2022 06:35:03 -0400 Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9FD0513F26 for ; Mon, 3 Oct 2022 03:34:58 -0700 (PDT) Received: by mail-lj1-x233.google.com with SMTP id a12so1262885ljr.7 for ; Mon, 03 Oct 2022 03:34:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date; bh=JvuDGMusQA+cnS7/q51g2t96p6j7dPQayCQD9t4XTZs=; b=D7upUYLEJQG0J/e3CxOcD6KbM1bfoT/xybtvcPrZm3D0imrNcb1AQKMpj44YuB9Cnm aC65EedpEGulW5cKWxjOJsIGP/l8CXd0Rej+LB5tPawt9HsORJIcbnAwZ0ITwU/BZtO+ 2wJfLJ24frIaJY5BkN4J1wU1M/X2cHI7cQv8UFJdLqCIJDxNrgw1HlijdsHqRZqAObzT /i95VKXJIFWGfjjBJHodPI2RYn5CS0mntDrAwgwOPqJIWGRTUauF0rE+2s5HOR2TtYbK twrmJ5KVINxvpXSaey3F8JyG1zSz3KP6VueCxGGauxJrb1vXvu7fBYlq2krtPA7qZB2z 45Ww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date; bh=JvuDGMusQA+cnS7/q51g2t96p6j7dPQayCQD9t4XTZs=; b=G3SC/P2e5NJuJzcbDo9F3MNk32OXzvkJQhz7mGjrV/bnUkunNj/HAMjnpKYKiGVjic 2sX97GQcOqU3/0Xh1fs7aJ1tN2I8R3Ddrg2PUN1Crf9Pn+y20qWB+ZCkEDrruf6glCN9 SQvR2s8TI8FFtRScZgnVPc1rvm7KIpKdjDb26qrcMCXQBf/xOtJjldLq00SscWI+mSoy w29vbQ7RpSTACXu5HfGDXmXm/1GRQepijY3BKa+czS/0luGe3jDaWU1b1XPpjqY8vu1F aJJo4J7OxQDS5IKcdp9ekKjrXTWd98tfQCJPpFvCBmN35wMvPXl2q+7Q1WU4gHaMuM+b SuEw== X-Gm-Message-State: ACrzQf1VIzOgvw8dJBxgWYC+Wo107wVWWmrMDJ5r5eLLgq7SrNkDwAY/ hJHCmUcjKYsWE4LRtq9t5Uoy2Q== X-Received: by 2002:a2e:3809:0:b0:26b:e124:4d43 with SMTP id f9-20020a2e3809000000b0026be1244d43mr6273510lja.398.1664793297268; Mon, 03 Oct 2022 03:34:57 -0700 (PDT) Received: from [192.168.0.21] (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id be43-20020a056512252b00b004994117b0fdsm1402411lfb.281.2022.10.03.03.34.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 03 Oct 2022 03:34:56 -0700 (PDT) Message-ID: <61455386-33ef-cb04-354e-32195ac6a7c3@linaro.org> Date: Mon, 3 Oct 2022 12:34:55 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.0 Subject: Re: [PATCH v7 2/3] dt-bindings: iio: adc: add adi,max11410.yaml Content-Language: en-US To: Ibrahim Tilki , jic23@kernel.org Cc: linux-iio@vger.kernel.org, Nuno.Sa@analog.com, Nurettin.Bolucu@analog.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20221003092500.296-1-Ibrahim.Tilki@analog.com> <20221003092500.296-3-Ibrahim.Tilki@analog.com> From: Krzysztof Kozlowski In-Reply-To: <20221003092500.296-3-Ibrahim.Tilki@analog.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 03/10/2022 11:24, Ibrahim Tilki wrote: > Adding devicetree binding documentation for max11410 adc. > > Signed-off-by: Ibrahim Tilki (...) > + vref2n-supply: > + description: vref2n supply can be used as reference for conversion. > + > + spi-max-frequency: > + maximum: 8000000 > + > +patternProperties: > + "^channel(@[0-9])?$": > + $ref: "adc.yaml" No need for quotes. > + type: object > + description: Represents the external channels which are connected to the ADC. > + > + properties: > + reg: > + description: The channel number in single-ended mode. > + minimum: 0 > + maximum: 9 > + > + adi,reference: > + description: | > + Select the reference source to use when converting on > + the specific channel. Valid values are: > + 0: VREF0P/VREF0N > + 1: VREF1P/VREF1N > + 2: VREF2P/VREF2N > + 3: AVDD/AGND > + 4: VREF0P/AGND > + 5: VREF1P/AGND > + 6: VREF2P/AGND > + If this field is left empty, AVDD/AGND is selected. > + $ref: /schemas/types.yaml#/definitions/uint32 > + enum: [0, 1, 2, 3, 4, 5, 6] > + default: 3 > + > + adi,input-mode: > + description: | > + Select signal path of input channels. Valid values are: > + 0: Buffered, low-power, unity-gain path (default) > + 1: Bypass path > + 2: PGA path > + $ref: /schemas/types.yaml#/definitions/uint32 > + enum: [0, 1, 2] > + default: 0 > + > + diff-channels: true > + > + bipolar: true > + > + settling-time-us: true > + > + adi,buffered-vrefp: > + description: Enable buffered mode for positive reference. > + type: boolean > + > + adi,buffered-vrefn: > + description: Enable buffered mode for negative reference. > + type: boolean > + > + required: > + - reg > + > + additionalProperties: false > + > +required: > + - compatible > + - reg > + > +allOf: > + - $ref: /schemas/spi/spi-peripheral-props.yaml# > + > +unevaluatedProperties: false > + > +examples: > + - | > + spi { > + #address-cells = <1>; > + #size-cells = <0>; > + > + adc@0 { > + reg = <0>; > + compatible = "adi,max11410"; > + spi-max-frequency = <8000000>; > + > + interrupt-parent = <&gpio>; > + interrupts = <25 2>; What does the 2 stand for? I already asked to fix this. Best regards, Krzysztof