Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp2503613rdb; Wed, 4 Oct 2023 03:23:42 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEFjNxHjLQXsNyPcQJRpa/l9/x9sqQsatIr/my2WpOuag/nTcn+Yf0jeKJRApBMIYJoGh0n X-Received: by 2002:a05:6a20:7d8c:b0:15d:4cf1:212e with SMTP id v12-20020a056a207d8c00b0015d4cf1212emr8754745pzj.4.1696415022094; Wed, 04 Oct 2023 03:23:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696415022; cv=none; d=google.com; s=arc-20160816; b=ccTAc+0ahilcSDA+5pinITtryYA7CgR/akof3byyPu5QdOWKuwiTkvTdI84jbSP0lV b2TM2mhrJ0MTwhCDCf9hK0gfeBkNUY4GBExOjN18H/3KtMzlDLkPR71xhbfCpgD99Cix us477+9buF/7/MTUU/AKh7REoOCW+dz09ZgdzWIcSNf3Hj0QPCxoU/jAUv3zEaEPmvjV hgZkvEzEmYAa9dVk9C9Zlel4IafAilQQLaWW+xz0MU79JBexWzf4sl0Zz3XNUN/2UW/b o/z6iLpcctWf8qka/GJKFi061J8AAimV4PgvF79x6EVWAWdQNMJZQNwuTQZHLrJBIXt9 BGOA== 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:dkim-signature; bh=yNz5tWyWg32rEEVo2HkyNR7o8q6W8x4WMHTpXLt2EeU=; fh=CAri7nHZFxyrYCHRlmLpz4XzSmARaTD4KnaOirCDkEM=; b=KWdaRKKoX5ZS+lNIxE8TczHiW4TMBewc++4TRpgNBu/4NOFald2jZEPy6elWCP3nDX doNKBzrissfhwXyt1d5ARH62ZcrMOOEBZCIihTO7lFNzhjItZcYJhzQu4SrwyrNqh7bb ZULc14aMmi2r6U6PY7QSj5SGKBcUTccGh5M0iRg21SBSyT1GHFhRUtIG4BDrDvucMUTt oedMGUb3sNVdpGWobx3yMBZ4cfLJPePKtA7xjD4a2lFG12AmUl+LmPMryC87CNsRkmAQ FMAecAhiPyatynPj2YXd/fJ5ddl5TZtZyCpxoBx8hkVYWdPUy1SvlqVCgaf2uUcCBB69 07Tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=VpmDXnRT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id l14-20020a633e0e000000b005696a8e371csi3449878pga.35.2023.10.04.03.23.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Oct 2023 03:23:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=VpmDXnRT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id F0F1083348A2; Wed, 4 Oct 2023 03:23:40 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242116AbjJDKXj (ORCPT + 99 others); Wed, 4 Oct 2023 06:23:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36690 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232979AbjJDKXi (ORCPT ); Wed, 4 Oct 2023 06:23:38 -0400 Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B6B0A1; Wed, 4 Oct 2023 03:23:35 -0700 (PDT) Received: by mail-wm1-x344.google.com with SMTP id 5b1f17b1804b1-40675f06f1fso4252735e9.1; Wed, 04 Oct 2023 03:23:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696415013; x=1697019813; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=yNz5tWyWg32rEEVo2HkyNR7o8q6W8x4WMHTpXLt2EeU=; b=VpmDXnRTT1j70YglARWCyqUKMSmIutlVpwgermlUQT5c0smDGGNaWSYcRT1LdfTUBw WRk4goD214Je8JGPEN8y3mRhtPD+VEDGSP6cLEK1A8UOvtMSqGOeE4yJcWVnmtkQi8xf W7dQh01GbobxU4n59QfcWTcGRCGmmzTc3qwf9yU8DO0kjHkdx/Eq9w3RqmQYJfL6bxIL Lq+pEbBRWK/i4NIniNugqNwV+MRNtlxxWTcI+KDzBFWqggvad97RyIodv/4MqF2h8Xng 7Hq9qbYZ5K8maxnBcanm0Fe2mJlj6eFbEks8pLM65XHMB0dqFyzTo0sHkMSoJo4WgWfk k/Zg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696415013; x=1697019813; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=yNz5tWyWg32rEEVo2HkyNR7o8q6W8x4WMHTpXLt2EeU=; b=cd7ixFO9oiP8iginZ7yOFa9PvzPE3e0Gt8roEjynYs5WyhnTlT58AagHXTsaerkCTN wXmmoFugKF6vpq/f0gJi7MZHFYhPl9CWSH1XkW3000Dr470Osq0hMsXrcmuGbF/H2HqM IK437QYmavQADhaM6O8YgaZj46xFXiFw1EhpFyp+T5fxmAwIC62g7Y7XbvbOBapVQL59 Vd1nzMxRhSu6naBjRtNy/B63NBNAq1SsMO1wmIKpGv0w9HT8tnzbOV45N0PQV5TWt6SE OHl3eYikw7bkdtxeknQYzgab0zJCLvycdAv0hQGApsHCQiAlIQFl1jDC6nIlStK8Snl4 H46A== X-Gm-Message-State: AOJu0YxfXkVpaDiuAzeJmM3Y+inBg1Wo/K7Q1U315C894BqnFAE0RyQH vhvvWKNqqbEYiOPvJbW2yJbAWq73/6bkUA== X-Received: by 2002:adf:de09:0:b0:319:5234:5c92 with SMTP id b9-20020adfde09000000b0031952345c92mr1298110wrm.35.1696415013256; Wed, 04 Oct 2023 03:23:33 -0700 (PDT) Received: from ws-565760.systec.local ([212.185.67.148]) by smtp.gmail.com with ESMTPSA id c15-20020a5d63cf000000b003143c9beeaesm3631043wrw.44.2023.10.04.03.23.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Oct 2023 03:23:33 -0700 (PDT) From: werneazc@gmail.com X-Google-Original-From: andre.werner@systec-electronic.com To: jic23@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, lars@metafoo.de Cc: devicetree@vger.kernel.org, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Andre Werner Subject: [PATCH 1/2] dt-bindings: iio: adc: ti,ads7038: Add description for ADS7038 Date: Wed, 4 Oct 2023 12:23:29 +0200 Message-ID: <20231004102330.3713-1-andre.werner@systec-electronic.com> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Wed, 04 Oct 2023 03:23:41 -0700 (PDT) From: Andre Werner Signed-off-by: Andre Werner --- .../bindings/iio/adc/ti,ads7038.yaml | 51 +++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/adc/ti,ads7038.yaml diff --git a/Documentation/devicetree/bindings/iio/adc/ti,ads7038.yaml b/Documentation/devicetree/bindings/iio/adc/ti,ads7038.yaml new file mode 100644 index 000000000000..37fbae95c8e6 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/adc/ti,ads7038.yaml @@ -0,0 +1,51 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/adc/ti,ads7038.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Texas Instruments ADS7038 and similar ADCs + +maintainers: + - Andre Werner + +description: | + Family of 7 channel, 12 bit ADCs with SPI/I2C interface. + + Datasheet: https://www.ti.com/lit/gpn/ads7038 + +properties: + compatible: + enum: + - ti,ads7038 + - ti,ads7138 + + reg: + maxItems: 1 + + spi-max-frequency: + maximum: 60000000 + + vref-supply: + description: Supplies the 2.5V or 5V reference voltage + +required: + - compatible + - reg + - vref-supply + +additionalProperties: false + +examples: + - | + spi { + #address-cells = <1>; + #size-cells = <0>; + + adc@0 { + compatible = "ti,ads7038"; + reg = <0>; + vref-supply = <&refin_supply>; + spi-max-frequency = <10000000>; + }; + }; -- 2.42.0