lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250501100043.325423-1-sayyad.abid16@gmail.com>
Date: Thu,  1 May 2025 15:30:38 +0530
From: Sayyad Abid <sayyad.abid16@...il.com>
To: linux-iio@...r.kernel.org
Cc: sayyad.abid16@...il.com,
	jic23@...nel.org,
	lars@...afoo.de,
	robh@...nel.org,
	krzk+dt@...nel.org,
	conor+dt@...nel.org,
	dlechner@...libre.com,
	nuno.sa@...log.com,
	javier.carrasco.cruz@...il.com,
	olivier.moysan@...s.st.com,
	gstols@...libre.com,
	tgamblin@...libre.com,
	alisadariana@...il.com,
	eblanc@...libre.com,
	antoniu.miclaus@...log.com,
	andriy.shevchenko@...ux.intel.com,
	stefan.popa@...log.com,
	ramona.gradinariu@...log.com,
	herve.codina@...tlin.com,
	tobias.sperling@...ting.com,
	devicetree@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: [RFC PATCH 0/5] iio: adc: Add initial support for TI ADS1262

The ADS1262 is a 32-bit, high-resolution delta-sigma ADC communicating
over SPI. It's designed for precision measurements.

This initial driver provides the basic functionality needed to:
 - Probe and register the device via SPI.
 - Expose standard IIO channels for reading raw voltage samples.

Basic testing was performed on a Raspberry Pi Zero 2W using the hardware
SPI0 interface. The connections used were:

+-----------------+            +-----------------+
| RPi Zero 2W     |            | TI ADS1262      |
| (SPI0 Pins)     |            |                 |
|-----------------|            |-----------------|
| MOSI            |----------->| DIN             |
| MISO            |<-----------| DOUT/DRDY       |
| SCLK            |----------->| SCLK            |
| CE0             |----------->| /CS             |
| 5V              |----------->| DVDD, AVDD      |
| GND             |----------->| DGND, AGND      |
+-----------------+            +-----------------+

I would greatly appreciate any feedback on the driver structure,
IIO integration, SPI communication handling, or any potential issues
or areas for improvement you might spot.

This series is broken down as follows:
 Patch 1: Adds the core driver code (ti-ads1262.c).
 Patch 2: Adds the Kconfig option.
 Patch 3: Adds the Makefile entry for compilation.
 Patch 4: Adds the MAINTAINERS entry.

Thanks for your time and consideration.

Sayyad Abid (5):
  iio: adc: ti-ads1262.c: add initial driver for TI ADS1262 ADC
  iio: adc: Kconfig: add Kconfig entry for TI ADS1262 driver
  iio: adc: Makefile: add compile support for TI ADS1262 driver
  MAINTAINERS: add entry for TI ADS1262 ADC driver
  dt-bindings: iio: adc: add bindings for TI ADS1262

 .../bindings/iio/adc/ti,ads1262.yaml          | 189 ++++++++
 MAINTAINERS                                   |   7 +
 drivers/iio/adc/Kconfig                       |  12 +
 drivers/iio/adc/Makefile                      |   1 +
 drivers/iio/adc/ti-ads1262.c                  | 438 ++++++++++++++++++
 5 files changed, 647 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/iio/adc/ti,ads1262.yaml
 create mode 100644 drivers/iio/adc/ti-ads1262.c

--
2.39.5


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ