Received: by 2002:a05:6359:1981:b0:12b:e873:ff31 with SMTP id mh1csp2430463rwb; Thu, 27 Jul 2023 08:27:32 -0700 (PDT) X-Google-Smtp-Source: APBJJlF3YZ1SeY89hTHiGFfm1Dmf3IDoT8x/YCYQz+dQmJ7Ljezu78j7DXv8ltqdAfdG3OG2HdPM X-Received: by 2002:aa7:cb4b:0:b0:522:2fec:3e60 with SMTP id w11-20020aa7cb4b000000b005222fec3e60mr2039493edt.20.1690471652033; Thu, 27 Jul 2023 08:27:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690471652; cv=none; d=google.com; s=arc-20160816; b=x+DYNchu/027yw6DPlt6QZmAXzD10341FAg0AJjFZ1l1FFr/xJBHwjLl65C4xJD5Tc qcISFL2vogL7JKmTvQjRk9GPS/bIwMZEriJQYIrztP9b1SGTryZg43Ep3nhLebF7Z867 DEiRTk45/ef7lqRXf4nsv5c6aDuO8N74MLwgmEjMdhVEhA9GZDrblsF71myaYJJLkzF6 wOu2YXmzxFu6mYq/dhNNKvdynRJJeJIpjQoYQ/wKv9T3KMHYig5fbuTgMSku+cbZVaKG 4UCyzqVqP2kGSoju2O0fflwiQE9JHySLtbmIlBuJ4xxz+jl4D+v5S4itriRVCDu02YyR 355A== 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:date:subject:cc:to:from :dkim-signature; bh=Afh2YP4unr7IlnkC/kl5oBvqDQEhhE5u42q4w1Ahs2o=; fh=spRPppXP1Q/HwIj3kPUEvBI8d9qW3q7hkUSq6tr0GtU=; b=nK3dCLovHiS9uEltmDHrKGZ1Q4VCwp6qChHDNriQ8vSnIwWm54Y+w8IpTto/TmWi+4 9KSDh1nHfzuhlYr4Fv7j+wlbCi62jKe7ElcHnUC6ht5v6LyAQjgKKM+610BBNOdThqFO 2pDzk/8lYwICYnp4DUfWGxw7BCozXs9UjB8Ro777HdVX2kdoO/FV2wPPxpgIxOaElycT lInYczpydbLU0Jnte+oFQU3e8bCncdZuiP2VEpyVN5ei70U43zk1Kwc9wH1eOiKC45Be xOxxDuwwy3V/4JvA3f3lr0HSLuF3OtLqiHBNbJhem5oyvBbRclI8spiKr2ma8fKv+kMV uXGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=asDWYAXl; 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=foss.st.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d16-20020a05640208d000b0052227d6e699si1118549edz.686.2023.07.27.08.27.07; Thu, 27 Jul 2023 08:27:32 -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=@foss.st.com header.s=selector1 header.b=asDWYAXl; 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=foss.st.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234319AbjG0PFU (ORCPT + 99 others); Thu, 27 Jul 2023 11:05:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50922 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234303AbjG0PFS (ORCPT ); Thu, 27 Jul 2023 11:05:18 -0400 Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [185.132.182.106]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 292F62D64; Thu, 27 Jul 2023 08:05:07 -0700 (PDT) Received: from pps.filterd (m0288072.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 36RDknRl003322; Thu, 27 Jul 2023 17:04:41 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=selector1; bh=Afh2YP4unr7IlnkC/kl5oBvqDQEhhE5u42q4w1Ahs2o=; b=asDWYAXlGuSxGBQOH54LrtYWpLc0Ahk9ZpgAn8XNbRDG/ZDWobZUmHGSRA6Th5R8iHib d9Dx8cBBVIVu4ez455JJSlSrBmgUSdzTvCv4m2MvtoCQFUYstJ/F/29Lc2ni5wDBonwF L+XlZOGhdYTB8ILjMFzWNT1t9pC/g4culm+LjvInz/LJpA7hAV71mT4AcJQANir2tJuR n25iLKjV7KzPWJbOAoEBbbueYQtrL5vtKtZtE7jLOnqvYqwba4qHQiGJzXRWUfq6ryA/ 1WcTh/i88/0rB0B684zmEnPS9HURWbxMnp1lmXtFGA75ftU4POd1ynQKoS1XMKl/5tsM Rw== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3s3nyg9x5h-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 27 Jul 2023 17:04:41 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id E75FF100049; Thu, 27 Jul 2023 17:04:40 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id DFFA2209BA2; Thu, 27 Jul 2023 17:04:40 +0200 (CEST) Received: from localhost (10.201.20.178) by SHFDAG1NODE1.st.com (10.75.129.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Thu, 27 Jul 2023 17:04:40 +0200 From: Olivier Moysan To: Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Arnaud Pouliquen CC: Olivier Moysan , , , Subject: [RFC v2 04/11] dt-bindings: iio: adc: add scaling support to sd modulator Date: Thu, 27 Jul 2023 17:03:15 +0200 Message-ID: <20230727150324.1157933-5-olivier.moysan@foss.st.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230727150324.1157933-1-olivier.moysan@foss.st.com> References: <20230727150324.1157933-1-olivier.moysan@foss.st.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.201.20.178] X-ClientProxiedBy: EQNCAS1NODE3.st.com (10.75.129.80) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-07-27_07,2023-07-26_01,2023-05-22_02 X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_LOW,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 Add scaling support to SD modulator. Signed-off-by: Olivier Moysan --- .../bindings/iio/adc/sigma-delta-modulator.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/iio/adc/sigma-delta-modulator.yaml b/Documentation/devicetree/bindings/iio/adc/sigma-delta-modulator.yaml index cab0d425eaa4..bcc446c6428c 100644 --- a/Documentation/devicetree/bindings/iio/adc/sigma-delta-modulator.yaml +++ b/Documentation/devicetree/bindings/iio/adc/sigma-delta-modulator.yaml @@ -18,12 +18,15 @@ properties: - sd-modulator - ads1201 - '#io-channel-cells': + '#io-backend-cells': const: 0 + vref-supply: + description: Phandle to the SD modulator reference voltage. + required: - compatible - - '#io-channel-cells' + - '#io-backend-cells' additionalProperties: false @@ -31,7 +34,7 @@ examples: - | ads1202: adc { compatible = "sd-modulator"; - #io-channel-cells = <0>; + #io-backend-cells = <0>; }; ... -- 2.25.1