From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lf1-f43.google.com (mail-lf1-f43.google.com [209.85.167.43]) (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 D825417A2E8 for ; Tue, 30 Jun 2026 14:03:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782828198; cv=none; b=pvkDIxEL5aabaWYTuCUmSSxt/nDaslWC/wp4Pgv3LxiGwH7qshfOhsQds4gid3bLn8eLbXUeQHWvVbU9PRO7Kowuuge54XFwnGSf78jxWqnEK8QsBP2asUMXZVQRmP9RcmuBcV7WP7kuloeUNmS/rr3tMLHpMMg6Z5mB7In6FiA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782828198; c=relaxed/simple; bh=te6yQ/vh13KPOT8v7c2CmXqIR0YWG0FCzDunJJ2/n4A=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=XtrBsczdrvNeTlh4YK6MXtM2sLzqp5ml01Pw+vlyIpRy2yubclpP8q3J4hwqWZh7t9f9J+KZprSQySPttBQl5lZSt9o8e4qz6i5DoZmzy4wvooEqKpgcU8pio2OtfGiBfYjlIihOSCXw8CTEgogRkc2HgfgBjMu0hKkdvQ8uY1I= 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=KZCxBo9g; arc=none smtp.client-ip=209.85.167.43 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="KZCxBo9g" Received: by mail-lf1-f43.google.com with SMTP id 2adb3069b0e04-5aeae771c49so2630960e87.3 for ; Tue, 30 Jun 2026 07:03:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1782828195; x=1783432995; 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=E5myFV2lUvsbUXFZwzMTNcvCKBKBwVWQwQUk0dFgQmo=; b=KZCxBo9gj5446lUwH5ZYMsOlpTU57x3lMtBQ9LnKCPNbhfSLG+qNM2BBpnh7MllfsT fcDZEpaIxUJhj3fLO3sFWmdPcCQiui5Qxs9B01sl/c4c96c5QnDoebAR0TVMej2aocXN syQ2oi8aYhlIbJMCXnH4x3h84Xwll0SeLmQTS/YVjrxpLjfuSOdU5Fhf7qp+uKcSZoWE MWRBbhkGRzGEczi83ukW7FWC26pIairE0WK8lvN7qJB+hP/bT3MbKfXRlBKkBgZacesO imw9g+HESC8LdDB0bdji4ftuIpAcxPxHQIx9dd/ubAfqSMfLz0P/3O3RHzwQerKReJU3 aiJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782828195; x=1783432995; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=E5myFV2lUvsbUXFZwzMTNcvCKBKBwVWQwQUk0dFgQmo=; b=j03Sw8bJXD2oF62UusAXmbHmFMuk5ERPqMmfe7Km4ogFqu5QPZhrB/lUvf5Ns2E5tw t/7wA+HkbZLbc18Tt48iFdpF2K3SZApGK9BYeSnNGvCsysU3JLGdTGw+CY28KXqWCYti Hd7f3Tc+HFPW59pF6TaqAyk89DgCKVwpBZmDnvm5xpaM3unRBWB/29j2w/oyiszqDUOR Zcv1FECbt9L5USm5zoINVxPb+Omy3tInw/bZRslWH7hVdJJuPVewrYHDG6s8+3iqpcPv 53cJydSZJt3gwsnnEI86GigPOhyKmTUzja8iJA0acN3f44FMFUJvhQtdCCmAeGo0+gaK FJyQ== X-Forwarded-Encrypted: i=1; AHgh+RpdFtaJTciK5+ikYRCG4uHppYtkHIBleCSPg9cVD+Ii/UHWOzJGW2/tuKGhtwUa2ofnHTdHmsH0w3pzlck=@vger.kernel.org X-Gm-Message-State: AOJu0Ywlbs1L61r591/nCmaEvJ3tQeqMoNZ4hym//vkd12wTbCzUZG+n /UkftGh2icxAWmT6mtC05zF8wOmMTFV8vSb4rHk/mNEwhxKeA8bHEtFR X-Gm-Gg: AfdE7cmW9qEnmckEL/ZHV0YZSYsOFXXPRE0e5ZOq54Ov+BIlJmv2KJMVOZK5N17fJWB kLWtfLpWSYp9ZeFl4AIVTBiRca2/LQ9XKqg3PfRvwLS0+8sn6oHvKe34KXMXn5s6iw6HmnOIU2o 3R91xhBAPEa4Dn3z6B3w/HOC6uq+CNJaX5g478FJanqm0FJI0nDyvJMtzS727v8/X8vnXLPZJR3 J+3aul08NNncv18NY+TkHC5O7fsHPzfUAPcOazlKY9A80UooD8btKvHkKPo98Zr65Oq/XMmtX7E sad2R6sRowUdQfnytvtIl7TDYckU1zCuJxz8x/UqXVXgQmCgFqBcv5jmZ9a6+oOJ9238kYk4jjd +eUWpGFTp66FXNt73Jlu3mIBIylI16gh42mDPoqV+e5RJ/6P4r5OnxQFjdbWyREEkI+h/EG/elW 5Jr5dqZZ1yW/WAjrfwIFZ2AlHw4OgrR4eLH40AqhZZUGMEhg== X-Received: by 2002:a05:6512:3589:b0:5ae:a76b:4bb2 with SMTP id 2adb3069b0e04-5aec10c27aamr163435e87.33.1782828194753; Tue, 30 Jun 2026 07:03:14 -0700 (PDT) Received: from Shofiq.home (87-92-251-137.rev.dnainternet.fi. [87.92.251.137]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5aebe4aa01fsm599564e87.75.2026.06.30.07.03.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jun 2026 07:03:13 -0700 (PDT) From: Md Shofiqul Islam 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, mike.looijmans@topic.nl, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Md Shofiqul Islam Subject: [PATCH 1/2] dt-bindings: iio: adc: ti,ads1298: add ADS1299 EEG ADC variants Date: Tue, 30 Jun 2026 17:03:10 +0300 Message-ID: <20260630140311.1473031-1-shofiqtest@gmail.com> X-Mailer: git-send-email 2.51.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The ADS1299, ADS1299-4, and ADS1299-6 share the same SPI interface and register map as the ADS1298 ECG ADC family but are designed for EEG and biopotential measurement. Key differences from ADS1298: - PGA gain up to 24x (vs 12x for ADS1298) - Internal reference is always 2.4V (no 4V option) Add compatible strings and update the vref-supply description to document the ADS1299 reference voltage behaviour. Signed-off-by: Md Shofiqul Islam --- .../bindings/iio/adc/ti,ads1298.yaml | 31 ++++++++++++++++--- 1 file changed, 26 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/iio/adc/ti,ads1298.yaml b/Documentation/devicetree/bindings/iio/adc/ti,ads1298.yaml index 71f9f9b745cb..82c5181126df 100644 --- a/Documentation/devicetree/bindings/iio/adc/ti,ads1298.yaml +++ b/Documentation/devicetree/bindings/iio/adc/ti,ads1298.yaml @@ -4,11 +4,16 @@ $id: http://devicetree.org/schemas/iio/adc/ti,ads1298.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# -title: Texas Instruments' ads1298 medical ADC chips +title: Texas Instruments ADS1298/ADS1299 biopotential ADC chips description: | - Datasheet at: https://www.ti.com/product/ADS1298 - Bindings for this chip aren't complete. + ADS1298/ADS1298R: 8-channel, 24-bit ECG ADC. + Datasheet: https://www.ti.com/product/ADS1298 + + ADS1299/ADS1299-4/ADS1299-6: 8/4/6-channel, 24-bit EEG/biopotential ADC. + Identical SPI interface and register map to the ADS1298 family, but with + a higher maximum PGA gain (24x vs 12x) and fixed 2.4V internal reference. + Datasheet: https://www.ti.com/product/ADS1299 maintainers: - Mike Looijmans @@ -17,6 +22,9 @@ properties: compatible: enum: - ti,ads1298 + - ti,ads1299 + - ti,ads1299-4 + - ti,ads1299-6 reg: maxItems: 1 @@ -33,8 +41,10 @@ properties: vref-supply: description: - Optional reference voltage. If omitted, internal reference is used, - which is 2.4V when analog supply is below 4.4V, 4V otherwise. + Optional reference voltage. If omitted, internal reference is used. + For ADS1298, the internal reference is 2.4V when analog supply is + below 4.4V, 4V otherwise. For ADS1299, the internal reference is + always 2.4V. clocks: description: Optional 2.048 MHz external source clock on CLK pin @@ -75,5 +85,16 @@ examples: spi-max-frequency = <20000000>; spi-cpha; }; + + adc@2 { + reg = <2>; + compatible = "ti,ads1299"; + label = "ads1299-1-eeg"; + avdd-supply = <®_iso_5v_a>; + interrupt-parent = <&gpio0>; + interrupts = <79 IRQ_TYPE_EDGE_FALLING>; + spi-max-frequency = <20000000>; + spi-cpha; + }; }; ... -- 2.51.1