Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp25335pxm; Tue, 22 Feb 2022 05:43:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJxjXyAI3brUSImVq8uslADY2sXr9pDnsdk3xcja/Q5AMoqSzKHzhG0atqh5Vh5c9zy2Cj2g X-Received: by 2002:a63:ef03:0:b0:374:7286:14d0 with SMTP id u3-20020a63ef03000000b00374728614d0mr3544381pgh.552.1645537401082; Tue, 22 Feb 2022 05:43:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645537401; cv=none; d=google.com; s=arc-20160816; b=IwjoFcge4l4KspvdiGEgfNXupI5s9PRoWC38gGVsf3OEKcbkqrWH3bW0KQcchcBTOT goYiYsFPqfH4gJuCfTx1VQzVIu4XP/WjAV28nDBrLDNQG4tzJy6NXwJqkLN6x3K1a8D3 oJqTZw2clxaVhCteGNtTx7tdMu2EIKzBKwiC0pReo6iKprkXh8H6ewLb5yfZoWJq6Jce lzM9ABKonHYEYCwyQLvpAeZxKOeOG/59CtUzc7dgjs49jpnav9Xf+gtb2WJI6Enyhwdz uJ5XF2mPRleiH/4978eGofmBqIDuUjMqFIK/IYhqmVhmDM996luS6m91BM1DDVNSFtke 9mHA== 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 :message-id:date:subject:cc:to:from; bh=AlyLSxYI+IOjwMl1F9MGsONRdy1DD6v7iReR7j4okP8=; b=b8p0nGMxt9j4SK6KwO2mrjebf0lUkGRyj78JCLs4WRzqaWVcGO83E3XT3jdO6XfCF9 5KewlBeD4Rk3wpSF9e309ucD17xSHP2KUPxvBk02wSAjQDJi4BAh7Wedd66wiNrRbHmN yyxoD4BJorN1Q49guccijzEPtDclnDyMXOrJ9rNXzjiLDQTwcKBa7oBF8b5ftuLdcYcN yP5h6aaYKZDUzsXVDNPfzb3OHudyBoGZIsSr13nQLrKBamvWVUJUdqM3+7+FeS3JK59T 7WDHXvdKixieUhbbOv4I0Z5gmZ167ET7JK2uFynWqFFnScLrD5dymnTDKNyXEF4gkHmH J71Q== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=analog.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y15si11859811pfa.204.2022.02.22.05.43.05; Tue, 22 Feb 2022 05:43:21 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=analog.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231372AbiBVKnE (ORCPT + 99 others); Tue, 22 Feb 2022 05:43:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53502 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231434AbiBVKnA (ORCPT ); Tue, 22 Feb 2022 05:43:00 -0500 Received: from mx0a-00128a01.pphosted.com (mx0a-00128a01.pphosted.com [148.163.135.77]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D58D710A7DB; Tue, 22 Feb 2022 02:42:35 -0800 (PST) Received: from pps.filterd (m0167088.ppops.net [127.0.0.1]) by mx0a-00128a01.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 21M7Zj50032135; Tue, 22 Feb 2022 05:42:28 -0500 Received: from nwd2mta3.analog.com ([137.71.173.56]) by mx0a-00128a01.pphosted.com (PPS) with ESMTPS id 3eckeq2g0q-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 22 Feb 2022 05:42:28 -0500 Received: from ASHBMBX9.ad.analog.com (ASHBMBX9.ad.analog.com [10.64.17.10]) by nwd2mta3.analog.com (8.14.7/8.14.7) with ESMTP id 21MAgRre043837 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 22 Feb 2022 05:42:27 -0500 Received: from ASHBMBX8.ad.analog.com (10.64.17.5) by ASHBMBX9.ad.analog.com (10.64.17.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.14; Tue, 22 Feb 2022 05:42:26 -0500 Received: from zeus.spd.analog.com (10.66.68.11) by ashbmbx8.ad.analog.com (10.64.17.5) with Microsoft SMTP Server id 15.2.986.14 via Frontend Transport; Tue, 22 Feb 2022 05:42:26 -0500 Received: from amiclaus-VirtualBox.ad.analog.com (AMICLAUS-L02.ad.analog.com [10.48.65.126]) by zeus.spd.analog.com (8.15.1/8.15.1) with ESMTP id 21MAgHkO016578; Tue, 22 Feb 2022 05:42:20 -0500 From: Antoniu Miclaus To: , , , , CC: Antoniu Miclaus Subject: [PATCH v5 1/3] dt-bindings: iio: amplifiers: add ada4250 doc Date: Tue, 22 Feb 2022 12:38:46 +0200 Message-ID: <20220222103848.8530-1-antoniu.miclaus@analog.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-ADIRuleOP-NewSCL: Rule Triggered X-Proofpoint-GUID: ZVCMIS-XRLUMDdVXeQYK-0yTvyU3MyCE X-Proofpoint-ORIG-GUID: ZVCMIS-XRLUMDdVXeQYK-0yTvyU3MyCE X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.816,Hydra:6.0.425,FMLib:17.11.62.513 definitions=2022-02-22_02,2022-02-21_02,2021-12-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=916 adultscore=0 impostorscore=0 mlxscore=0 spamscore=0 malwarescore=0 lowpriorityscore=0 priorityscore=1501 suspectscore=0 phishscore=0 clxscore=1015 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2201110000 definitions=main-2202220062 X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,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 device tree bindings for the ADA4250 driver. Signed-off-by: Antoniu Miclaus --- changes in v5: - put dt-bindings patch first in the series - add spaces after `:` in commit subject .../bindings/iio/amplifiers/adi,ada4250.yaml | 50 +++++++++++++++++++ 1 file changed, 50 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..2d22037496bc --- /dev/null +++ b/Documentation/devicetree/bindings/iio/amplifiers/adi,ada4250.yaml @@ -0,0 +1,50 @@ +# 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 + + spi-max-frequency: true + +required: + - compatible + - reg + - avdd-supply + +additionalProperties: false + +examples: + - | + spi { + #address-cells = <1>; + #size-cells = <0>; + amplifier@0{ + compatible = "adi,ada4250"; + reg = <0>; + avdd-supply = <&avdd>; + }; + }; +... -- 2.35.1