From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lf1-f42.google.com (mail-lf1-f42.google.com [209.85.167.42]) (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 E533C22A4EE for ; Tue, 30 Jun 2026 14:03:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782828198; cv=none; b=DodzA9/2Yk3R2sJzTMbp0jxvxkse/UcPe9pKkhfc9o6CBOh+HgGAnWBWUD8Z3s6SBSaF9hkqAaLIK7HGVC/4pld4Tuy+74EVCPP7bz8hC9I1JB6V80ylWDCHf22jgl0zPFEC5JcMB6U4Hvux8f1DhEKCjFfKmBr7cjlxG+PE+8M= 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.42 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-f42.google.com with SMTP id 2adb3069b0e04-5aeae771c49so2630961e87.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=B/EOYivKcG1UdK2xmc7HwvDp7R30Y6KOIfX2hZNrnDtvhO/HAmuVOXZQ0TBUwZnSeF e7LkZcJgmXee1fbZDz17kBUfRxzwhwU4dphSI+ztKdrKf9mdweWEq5ytrg68BkRUjqL1 ClBtG3g2H8B5g0GYgkNLVAZuR8vx6OgkcAP/MSbMEIX2zUkDrOQ4YMDtoNxp9IVUcjXK sYo78kKclEds/l9+naWMpWTxCo9Q+3+9n+sGOLJN3QznXq97knnBvPDQUUxljzSStfmE 3JxsyHKkJmRFgM7xbvIWd1u2A4Qr026r1k9bi/h+H/GcyvvRbH/RRQVEXIxQEkk+CH5U Drew== X-Forwarded-Encrypted: i=1; AHgh+RqiJnV27OFiNn12UFa+zM5uhuWXDW1PgAJ7b3KXl0dnlcfPOparx5k237DDxTqmvAEJuCQz7ZLyYNDQ@vger.kernel.org X-Gm-Message-State: AOJu0YzwCzEMafviu83jgVKG5U/ceYHYf6E2l464wu2Rtw8WcJuem4oE 8ayBy4ZODBdUlLkOvIIz6Bmh7iFtq0RpNCX5Dwu9nfktQAISg4IA+BFS X-Gm-Gg: AfdE7cke7DXAnbdD4712jQpmOUVi2kDo0ex52aAR6mXEz4hpX1FlidS+jaFqezpu85b f01xEbPUeuz8rje0luZw+im1jgHhgA98GStiLffVZ1Rokgn8VpeHqgDVd23BmNDUUhy3wxDEXTY 6BDVOnQjlmxhSK/pJteTffTYvNJr2kOq/iy2kZLwoTWFwARYNt0E0rsHy01n54pdCcjZvzHtJp+ +4ljs9o+/HmVUQ36s7ChuLfpna6vW1W1Zd2Qg9TU2kxuTJH9TW9+AqwfcRHIBnoMH/KgRaFyBP2 sI3tQtuQRu1HHpmx8wgHzxZncpZG6nk0NGcNkpbkmxcT7EmBN54iAITTGBoxp0FKAaKim8tlWpH qE52YQv74F7winlMRL6p7tdQLSIdK5otb6kd8iN3TbPj/C0Y015Nc8BWNY8RN+zO1AN6qFV1/E1 nJ3J5gtGljwzTrBcoENSIxKEmIrqqOnARojw8zDYTaGUMAgg== 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: devicetree@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