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 93BDF175A89 for ; Sun, 28 Jun 2026 19:43:59 +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=1782675841; cv=none; b=gTxp9jG2LHfe45kzlK/C4Dmkxaxe5PGXSiB8FHg1K/czvvVQWY4BSjA8iwAaKEsG4aG5PrZQZPWQNNcwViNp7jy/cBJKECvJcmWbiQdFNk+yQt5xSWPb5/6aoB61EdzPpHFnI6Uv1vtqrXk8k50xoWo9BNzhVnXfZpgwNJSE/hE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782675841; c=relaxed/simple; bh=/2v/eleMETJ5MMngbaBtVItA94CLZWZGq3DWicz25Ro=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=uAbrBVDPjOdaXl+mB4cAf9kphm+1QogswvNttUoYI4dgi5c6uYtmKHBnHgW7nzUTGL+uyLtWo2b0DDtqHHUHWI4eeH9SLTPGNxF/tG/NZt7MhxligUG+D1fIUOkiBpgJf0RpWO62yr27phQy0PQ+c8lPVasVEJh8AKTy4bWPJ/w= 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=GLRbY+Dl; 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="GLRbY+Dl" Received: by mail-lf1-f42.google.com with SMTP id 2adb3069b0e04-5aeab46f1b1so1198460e87.3 for ; Sun, 28 Jun 2026 12:43:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1782675838; x=1783280638; 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=kotxqLQJciyAG8N1ibRZ2pd/bNhJkmkzGP8nqTKaV3M=; b=GLRbY+DlN7kP+o+cq/DLmNqoasuuO93xKn2cZ0XezndlbApvpREk5rTiRKeBzlz9WS NfbfHjKeY1XDKTzZhWhdkERoyTgOqgtFuTnTN1jUHbC9MfMIVjw1LhdWUikRpy1p/kfv 33OI4zeHCBswUb2c79ur09AzVa6JmI803GN1NAm3ZoZnlf4Iue9XCl1O/UjFJy7E0Ecl 6KX1PqvoG7Qh6us1TkRJHg23zdgXrQOta/J+1R2of76+DP7Dv7Z3dzqqB1zyUoqvNlPl p5Sqh8dEK+P0KArEwEV+jj/j4Cm6scBE9t4sVOJ96YBO2PzCtyLwkLb0JTEy96HYc/Sm IQuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782675838; x=1783280638; 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=kotxqLQJciyAG8N1ibRZ2pd/bNhJkmkzGP8nqTKaV3M=; b=gyBZ2mp9Ih4D4fj/aKZAAlI1MjCtpP/YUU1t2iY5yvfP8eeyf8gFhk2SEkTuRJIB0k 4tyU/09JHGe1vdH1b15jhr24j67WOYoujLJRPvs4QPWSTNd/UDGq7ovTHFZk9PkELXrY ysSB+7OHfnstlasH5Q5T00a0OpVAgZPPQjd9c6jd9un2BQRFcgqHCC5d1Q4ITU5Ur9wD QPyivlrVBYEwVthjsMcdo9XiYNR7FCztktiUZnqf6Ky87ZlOzgzDgesRQcfcLMoy4qO7 gikUQJ2LOcpxpc9X77+ZsXywsvRvwUy/ysooStRFS/VjVVJJ8n2nLTH/f6Xqw0RUOV/R FVNQ== X-Forwarded-Encrypted: i=1; AHgh+RopGxf0ILQYqbnaU67Zy0FiL3TfwvCGKUWf6epced8h1nblTRPfxg+MtwuBCPz7k2CCaHCpJJsahzdFmLA=@vger.kernel.org X-Gm-Message-State: AOJu0YzWeALaqOn0LpRbdL19yoJIW3VOF2vOlXiP4Kj0xwhVLeKZpoZx ph19WvoJiMGh1/rcFA3CTy3E+jv5jbkd58RHuI6EhQrA9EsXfs6E4Q1C X-Gm-Gg: AfdE7clONjmHULM+ve5VmDwAroYI9I7T27nsgC32XLew42pGZLcyxhlgDXm6imSssMx PVaU5Xi1e+2LNe8Rf2gDd+AOQb95CyJswihQ014j1O3ElgmJ5IMGh1X70UWFBp+8tbzHN7F9S1x Ng+EaOzHDutH3MljpqSA9ksPnyvcAFLoS8z6TLE+n9e6ruBQVcS1FH2nlCq0/QvJskjO7qVYi6X ewYF5SHZzsp+pW1vSkJV3R1KchzwJCJJRZhX2fDY4+FnyQA3R3wHdHolw767eRvoE5oFGOfKpSU giThi2qyx9IFonoLqS44fkOitkiMKlzymovM35Z3dh9USm6+nBbe+wVAXhSsV0IpSolgDsHocqb XilSeQ7r7j+jovz1vRxoopnJhtJkc2fa50ObWrJsIfgNoBIPvv+Tc6XLjAEmL0y2UQWt0BsWE4t ytvPhMLlYlCvikeDFu/g3ywOP6H/qt X-Received: by 2002:a05:6512:3c92:b0:5aa:6fff:c3e3 with SMTP id 2adb3069b0e04-5aea1f4cdf3mr4002256e87.33.1782675837789; Sun, 28 Jun 2026 12:43:57 -0700 (PDT) Received: from Nitro5-JS.kielce.vectranet.pl ([2a02:2a40:27ec:2900::3ab6]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5ad69551002sm5221688e87.24.2026.06.28.12.43.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Jun 2026 12:43:55 -0700 (PDT) From: Jakub Szczudlo To: linux-iio@vger.kernel.org Cc: andy@kernel.org, antoniu.miclaus@analog.com, conor+dt@kernel.org, devicetree@vger.kernel.org, dlechner@baylibre.com, duje@dujemihanovic.xyz, jic23@kernel.org, jishnu.prakash@oss.qualcomm.com, jorge.marques@analog.com, joshua.crofts1@gmail.com, krzk+dt@kernel.org, linusw@kernel.org, jakubszczudlo40@gmail.com, linux-kernel@vger.kernel.org, marcelo.schmitt@analog.com, mazziesaccount@gmail.com, mike.looijmans@topic.nl, nuno.sa@analog.com, robh@kernel.org, sakari.ailus@linux.intel.com, wens@kernel.org Subject: [PATCH v5 0/3] iio: adc: Add support for TI ADS1110 to ti-ads1100 driver Date: Sun, 28 Jun 2026 21:43:38 +0200 Message-ID: <20260628194341.66752-1-jakubszczudlo40@gmail.com> X-Mailer: git-send-email 2.47.3 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Add support for the TI ADS1110 to the existing ADS1100 ADC IIO driver. The ADS1110 is pin-to-pin compatible with the ADS1100 while providing higher resolution and an internal voltage reference. This patch series extends driver support for ADS1110, updates device tree bindings and Kconfig text, and improves the overall hardware description for the TI ADS1100 family. Tested on: Raspberry pi 3b+ with 7.0 stable kernel Signed-off-by: Jakub Szczudlo --- V4 -> V5: - Correct pm macros to be more generic - fix variables ordering in new functions - delete unnecessary casts - Link to v4: https://lore.kernel.org/linux-iio/20260622221550.374235-1-jakubszczudlo40@gmail.com/ V3 -> V4: - make fixes patch the first change in the series - correct error handling when short read - use ACQUIRE macros from pm_runtime.h in new functions - Link to v3: https://lore.kernel.org/linux-iio/20260613190957.654798-1-jakubszczudlo40@gmail.com/ V2 -> V3: - clean patch from unreleated changes - divide adding support for ads1110 into separate patch - add missing changelog - Link to v2: https://lore.kernel.org/linux-iio/20260607183542.368184-1-jakubszczudlo40@gmail.com/ V1 -> V2: - go from creating new driver to extending ADS1100 driver to support ADS1110 - Link to v1: https://lore.kernel.org/linux-iio/20260527164312.355729-1-jakubszczudlo40@gmail.com/ Jakub Szczudlo (3): iio: adc: Fix incorrect reading when datarate changed in single mode dt-bindings: iio: adc: ti,ads1100: add support for ADS1110 iio: adc: Add ti-ads1110 support to ti-ads1100 driver .../bindings/iio/adc/ti,ads1100.yaml | 10 +- drivers/iio/adc/Kconfig | 9 +- drivers/iio/adc/ti-ads1100.c | 145 +++++++++++++++--- 3 files changed, 135 insertions(+), 29 deletions(-) -- 2.47.3