Message ID | 20230727150324.1157933-5-olivier.moysan@foss.st.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a985:0:b0:3e4:2afc:c1 with SMTP id t5csp1176103vqo; Thu, 27 Jul 2023 08:22:16 -0700 (PDT) X-Google-Smtp-Source: APBJJlGk8HTm0q3+g33DpVE3H/+a18twk0QsDDFT0LibTxDP8zTsbux4Ui/7aqGhzEgN8noTJCxQ X-Received: by 2002:a05:6a21:27a1:b0:137:bc72:9c08 with SMTP id rn33-20020a056a2127a100b00137bc729c08mr4387092pzb.16.1690471336456; Thu, 27 Jul 2023 08:22:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690471336; cv=none; d=google.com; s=arc-20160816; b=c/joYBhLWU72PS53HA1DPzFQH6WKKgzbLyq72mMU455dlZ/Bs6GlKf6Sky3LByBYte fhm3vKi6gZSqaN3IsmZ5A7fE9/iGHn2nriUHIiaUN628JeK5/H1OLXEW2fsQayI+jlfu eDEPd9j+B7p8SrHbGRc6mSRqayR9LW7F7wK8cB09bILPyrF8jKRDULSYIRnbhbX+11I6 yovg45WDJLvTB58NIaMfaRNfNCcdX5aKHnPRkSJPVKc/NSzROXrL+oeDrtKM6Fojagn7 sNUKzVl98+oUAnXAsVxlaMoplImIgntvKnfTLZ3DBbx2yY4vkdHFgPqArl3jwN4q+H7s xY6A== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i73-20020a639d4c000000b00563df2b3397si1363102pgd.141.2023.07.27.08.22.02; Thu, 27 Jul 2023 08:22:16 -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 S234327AbjG0PFV (ORCPT <rfc822;hanasaki@gmail.com> + 99 others); Thu, 27 Jul 2023 11:05:21 -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 <rfc822;linux-kernel@vger.kernel.org>); 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 <olivier.moysan@foss.st.com> To: Jonathan Cameron <jic23@kernel.org>, Lars-Peter Clausen <lars@metafoo.de>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Arnaud Pouliquen <arnaud.pouliquen@foss.st.com> CC: Olivier Moysan <olivier.moysan@foss.st.com>, <linux-iio@vger.kernel.org>, <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org> 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772587671840796480 X-GMAIL-MSGID: 1772587671840796480 |
Series |
iio: add iio backend device type
|
|
Commit Message
Olivier MOYSAN
July 27, 2023, 3:03 p.m. UTC
Add scaling support to SD modulator.
Signed-off-by: Olivier Moysan <olivier.moysan@foss.st.com>
---
.../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>; }; ...