From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pg1-f172.google.com (mail-pg1-f172.google.com [209.85.215.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E796126CE2E for ; Thu, 30 Oct 2025 16:34:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761842093; cv=none; b=bcvL3rZK23bv47rnZvKP7C5mu1tszv11CkAIvQNW/67tYY7FeML0zNZmx4S+gvYy9ylKDBeIiYT63U9jded07OJVRwYeCqxAIaWIvOKxFlixPt/j+uSAYlI8DIUUHdlYikL4a3SIxX9lEHgCUbD3eifW+RpR0vDAaIZcg6fecJc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761842093; c=relaxed/simple; bh=NaAhwhcT0GhzI+5hmo8klT6kVaD5KvGtkWB20H+nKZg=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=gv2F+J/OaG3uREPJbzqJ1AYVg0s/6y+ApvFpsX/XDbGLu64po0D1SPMV+nrnQwvcZP/Jp/hSvSGioA6gY2Q9IWGAtahoZI3rj/obW3HlNeDSGj8Czy0MRUY8gq/unT2guaYluUtMCeVOVB2RN0GVL2f142uFOI3oO7N4Oaq1Xu0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=YyNcFOBO; arc=none smtp.client-ip=209.85.215.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="YyNcFOBO" Received: by mail-pg1-f172.google.com with SMTP id 41be03b00d2f7-b8c0c0cdd61so1156348a12.2 for ; Thu, 30 Oct 2025 09:34:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1761842091; x=1762446891; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=EesdB0mWIJlesJlzqwPz+0cVXOTJiZY2fqJ5tr7PE+E=; b=YyNcFOBOwcqd+gjRghfjhtKssNBcr1TD9lZ+tRS4u72c8GFJA7pmFRY1X0Q0RA+Msl jQtRbQOQLZquGhfcMHaGUGrWqn5tWOx64tFwmKZSqNHTQph3qUZP4ir2vCBdZjadkLSK pN1tVwVQGEKV6SotMUpdq+JSKc42yR86VuLzgjB+Q32kBWON0QSsbXpkf77jU1PhUAFc S+DBpjhpnO23HkNSOArjMpDeFw8479qbbzsrvbt68HelR+ZF+jMpoIOgCxO5ZZd1diHP hFdiIfDgeoIIpDfYmagOt6OblvOl0QOOuxmDjRrvu8fwoA1JmYr77R0rKjrKosds0dZ4 ZgKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761842091; x=1762446891; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=EesdB0mWIJlesJlzqwPz+0cVXOTJiZY2fqJ5tr7PE+E=; b=ADJkSf2JwR/kWhUuGo6B/NkjjBipd+99e6hx8QmQYOPmRQtxzPDuRKk8tAW8d7gQeX OkQyl9paCZilozQYoKCEpcwPOKbsBDNUhiXmiS+hOc5iiV4rB7pOfTV5Sw1dQ0VGh6TK ZKtulQbHr7qgGxodYDXpVkcQPbFr5wMqW5wTURHY383ByJzjQmiJ8uesl+Yj8c8VxpmT aQa2wOwU4HetAiw5im4kJ0QENp+8VaAfVYij/z/4k+Exa8q+lxtrZ8v1e7Xx1QOq11ZL oaygPgJdev3RPgmd056oLnatIM9YIxrRHai0YMVMcg3XMyj3KOUy+IButRkR8DMYlRmu mOhQ== X-Forwarded-Encrypted: i=1; AJvYcCWBkThWhAjoHLYkbGa79Ew3dcvb3ce44SptXB1aeca/j086KnQd5Rp0Xq6i8bC77XcDZvPgbmkkMbbm@vger.kernel.org X-Gm-Message-State: AOJu0YylsZKJgN2WEwi5/rola6qdu7go0RiJeNpQ1R46dXus9k+qErP7 oSpmpzNUACnjBESPZ/ss9K2skc2goTO+6+X4RIQtvDL3VT9GChTiBiuO X-Gm-Gg: ASbGncvZyTU2GOBZWfHbH4db3a6DT8KmiNq1R943Nv/76He01jGbtUO0LHc+2v6BnVw SYfEqhXCOXW+rfujXiGKD1aT1/wAm6uFNgtYsn4MkD8C7gI9MyFTp3wiSssVfvYwAabG/gyVpCe jfPak5i+qHWXSNvqpejzxxlqH1dtDQ/aTUWeHRy6aAEUXO+IXtUxwhb2zRvJzsohIeAnAWTn94y sRgVe+x6RW5d007qtiTDRIzlNwjtcDMCPy878EJikVbyZqUPbPR6tcmNqHpgZD1VpMoY/llSq7Y izcsKmKKRBFprd6dz4hSd8FbYPyG7PyL6HYOUGqxoZm+H5LAa43xdPFLISIT/mDMylmc4xAmEpg rK6QdTMDiIJbpqjH7r0Hduywn71prP421ylwSfaH93jM/QwzGkvYVmfRLhQqsybvjYtNSglEE9Q LXf0pAo5ye1aNcJmdYBcuhwobhxVgOCYSVPR6O95T7M4V2OVtScB0RyxWSU64xI69nwIMeIj1RO GKPqS1+y4aA3TQSpFWo263fNE/NZHudt5IvaRaS1wFAVGQ= X-Google-Smtp-Source: AGHT+IEOK5HPt/F8XF57/daB9IQTS2AhlduO2GsrV+6HzQnWa8iY1lYUOXSbd0WJUC0DwrxVWqok/A== X-Received: by 2002:a17:903:246:b0:269:82a5:fa19 with SMTP id d9443c01a7336-2951a4aa4b6mr4203125ad.45.1761842091135; Thu, 30 Oct 2025 09:34:51 -0700 (PDT) Received: from ajianan-Latitude-5591.. ([2402:e280:21d3:2:339d:c9c4:e069:47f7]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-29498e429d9sm190932845ad.100.2025.10.30.09.34.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Oct 2025 09:34:50 -0700 (PDT) From: Ajith Anandhan To: linux-iio@vger.kernel.org Cc: jic23@kernel.org, dlechner@baylibre.com, nuno.sa@analog.com, andy@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Ajith Anandhan Subject: [RFC PATCH 1/3] dt-bindings: iio: adc: Add TI ADS1120 binding Date: Thu, 30 Oct 2025 22:04:09 +0530 Message-Id: <20251030163411.236672-2-ajithanandhan0406@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20251030163411.236672-1-ajithanandhan0406@gmail.com> References: <20251030163411.236672-1-ajithanandhan0406@gmail.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Add device tree binding documentation for the Texas Instruments ADS1120. The binding defines required properties like compatible, reg, and SPI configuration parameters. Link: https://www.ti.com/lit/gpn/ads1120 Signed-off-by: Ajith Anandhan --- .../bindings/iio/adc/ti,ads1120.yaml | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/adc/ti,ads1120.yaml diff --git a/Documentation/devicetree/bindings/iio/adc/ti,ads1120.yaml b/Documentation/devicetree/bindings/iio/adc/ti,ads1120.yaml new file mode 100644 index 000000000..09285c981 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/adc/ti,ads1120.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/adc/ti,ads1120.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Texas Instruments ADS1120 4-channel, 16-bit, 2kSPS ADC + +maintainers: + - Ajith Anandhan + +properties: + compatible: + const: ti,ads1120 + + reg: + maxItems: 1 + + spi-max-frequency: + maximum: 4000000 + + spi-cpha: true + + "#io-channel-cells": + const: 1 + +required: + - compatible + - reg + +allOf: + - $ref: /schemas/spi/spi-peripheral-props.yaml# + +unevaluatedProperties: false + +examples: + - | + spi { + #address-cells = <1>; + #size-cells = <0>; + + adc@0 { + compatible = "ti,ads1120"; + reg = <0>; + spi-max-frequency = <4000000>; + spi-cpha; + }; + }; +... + -- 2.34.1