We need to perform a reset a start up to make sure that the chip is in a
consistent state. This reset also disables all the interrupts which
should only be enabled together with the iio buffer. Not doing this, was
sometimes causing unwanted interrupts to trigger.
Signed-off-by: Stefan Popa
One in two sample sets was lost by multiplying fifo_set_size with
sizeof(u16). Also, the double number of available samples were pushed to
the iio buffers.
Signed-off-by: Stefan Popa
---
Changes in v2:
- Nothing changed.
drivers/iio/accel/adxl372.c | 3 +--
1 file changed, 1 insertion
: Stefan Popa
---
Changes in v2:
- st->watermark needs to store the number of sample sets,
the total number of samples is computed in
adxl372_configure_fifo() func.
drivers/iio/accel/adxl372.c | 11 ---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --gi
This patch disables the adxl372 interrupts at setup. The interrupts
should be enabled together with the iio buffer. Not doing this, might
cause an unwanted interrupt to trigger without being able to properly
clear it.
Signed-off-by: Stefan Popa
---
drivers/iio/accel/adxl372.c | 4
1 file
One in two sample sets was lost by multiplying fifo_set_size with
sizeof(u16). Also, the double number of available samples were pushed to
the iio buffers.
Signed-off-by: Stefan Popa
---
drivers/iio/accel/adxl372.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers
: Stefan Popa
---
drivers/iio/accel/adxl372.c | 9 -
1 file changed, 9 deletions(-)
diff --git a/drivers/iio/accel/adxl372.c b/drivers/iio/accel/adxl372.c
index 055227cb..adec37b 100644
--- a/drivers/iio/accel/adxl372.c
+++ b/drivers/iio/accel/adxl372.c
@@ -805,15 +805,6 @@ static int
Dt-schema can be used for clock-names property.
Signed-off-by: Stefan Popa
---
Documentation/devicetree/bindings/iio/frequency/adf4371.yaml | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/iio/frequency/adf4371.yaml
b/Documentation
/technical-documentation/data-sheets/adf4372.pdf
Signed-off-by: Stefan Popa
---
drivers/iio/frequency/Kconfig | 6 +++---
drivers/iio/frequency/adf4371.c | 31 ---
2 files changed, 31 insertions(+), 6 deletions(-)
diff --git a/drivers/iio/frequency/Kconfig b/drivers/iio
Another feature of the ADF4371/ADF4372 is that the supply current to the
RF8P and RF8N output stage can shut down until the ADF4371 achieves lock
as measured by the digital lock detect circuitry. The mute to lock
detect bit (MUTE_LD) in REG25 enables this function.
Signed-off-by: Stefan Popa
Document support for ADF4372 SPI Wideband Synthesizer.
Signed-off-by: Stefan Popa
---
Documentation/devicetree/bindings/iio/frequency/adf4371.yaml | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/iio/frequency/adf4371.yaml
b
/adf4371.pdf
Signed-off-by: Stefan Popa
---
Changes in v2:
- Added a new sysfs-bus-iio-frequency-adf4371 file which documents the
ABI
changes.
- Modified the ADF4371_REG() macro to take the reg values in hex as
params
- ADF4371_MAX_MODULUS2 macro is now defined as BIT
Document support for Analog Devices ADF4371 SPI Wideband Synthesizer.
Signed-off-by: Stefan Popa
Reviewed-by: Rob Herring
---
Changes in v2:
- Nothing changed.
Changes in v3:
- Nothing changed.
Changes in v4:
- Nothing changed.
Changes in v5:
- Nothing changed
/adf4371.pdf
Signed-off-by: Stefan Popa
---
Changes in v2:
- Added a new sysfs-bus-iio-frequency-adf4371 file which documents the
ABI
changes.
- Modified the ADF4371_REG() macro to take the reg values in hex as
params
- ADF4371_MAX_MODULUS2 macro is now defined as BIT
Document support for Analog Devices ADF4371 SPI Wideband Synthesizer.
Signed-off-by: Stefan Popa
---
Changes in v2:
- Nothing changed.
Changes in v3:
- Nothing changed.
Changes in v4:
- Nothing changed.
Changes in v5:
- Nothing changed.
.../devicetree/bindings
/adf4371.pdf
Signed-off-by: Stefan Popa
---
Changes in v2:
- Added a new sysfs-bus-iio-frequency-adf4371 file which documents the
ABI
changes.
- Modified the ADF4371_REG() macro to take the reg values in hex as
params
- ADF4371_MAX_MODULUS2 macro is now defined as BIT
Document support for Analog Devices ADF4371 SPI Wideband Synthesizer.
Signed-off-by: Stefan Popa
Reviewed-by: Rob Herring
---
Changes in v2:
- Nothing changed.
Changes in v3:
- Nothing changed.
Changes in v4:
- Nothing changed.
.../devicetree/bindings/iio/frequency
Document support for Analog Devices ADF4371 SPI Wideband Synthesizer.
Signed-off-by: Stefan Popa
Reviewed-by: Rob Herring
---
Changes in v2:
- Nothing changed.
Changes in v3:
- Nothing changed.
.../devicetree/bindings/iio/frequency/adf4371.yaml | 54 ++
1
/adf4371.pdf
Signed-off-by: Stefan Popa
---
Changes in v2:
- Added a new sysfs-bus-iio-frequency-adf4371 file which documents the
ABI
changes.
- Modified the ADF4371_REG() macro to take the reg values in hex as
params
- ADF4371_MAX_MODULUS2 macro is now defined as BIT
Document support for Analog Devices ADF4371 SPI Wideband Synthesizer.
Signed-off-by: Stefan Popa
Reviewed-by: Rob Herring
---
Changes in v2:
- Nothing changed
.../devicetree/bindings/iio/frequency/adf4371.yaml | 54 ++
1 file changed, 54 insertions(+)
create mode
/adf4371.pdf
Signed-off-by: Stefan Popa
---
Changes in v2:
- Added a new sysfs-bus-iio-frequency-adf4371 file which documents the
ABI
changes.
- Modified the ADF4371_REG() macro to take the reg values in hex as
params
- ADF4371_MAX_MODULUS2 macro is now defined as BIT
/adf4371.pdf
Signed-off-by: Stefan Popa
---
drivers/iio/frequency/Kconfig | 10 +
drivers/iio/frequency/Makefile | 1 +
drivers/iio/frequency/adf4371.c | 573
3 files changed, 584 insertions(+)
create mode 100644 drivers/iio/frequency/adf4371.c
diff
Document support for Analog Devices ADF4371 SPI Wideband Synthesizer.
Signed-off-by: Stefan Popa
---
.../devicetree/bindings/iio/frequency/adf4371.yaml | 54 ++
1 file changed, 54 insertions(+)
create mode 100644 Documentation/devicetree/bindings/iio/frequency/adf4371.yaml
The devicetree bindings documentation for ad7606 should also include
the vendor prefix: ad7606.txt -> adi,ad7606.txt
Fixes: 6e33a125df66 ("dt-bindings: iio: adc: Add docs for AD7606 ADC")
Signed-off-by: Stefan Popa
---
Changes in v2:
- Added Fixes tag
MAINTAINERS | 2 +-
1
The devicetree bindings documentation for ad7606 should also include
the vendor prefix: ad7606.txt -> adi,ad7606.txt
Signed-off-by: Stefan Popa
---
MAINTAINERS | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index ff2c2f2..4f81cdc 100644
--
n which is used as external clock input is selected by using a
custom optional property called "adi,ext-clk-pin". If this field is left
empty, DIO2 is assigned as default external clock input pin.
Signed-off-by: Stefan Popa
---
Changes in v2:
- Mentioned that both "clocks&
one function at a time (data ready line
selection or external clock input).
Signed-off-by: Stefan Popa
---
Changes in v2:
- used ADIS16480_DRDY_SEL() macro when checking for external clock
input pin.
drivers/iio/imu/adis16480.c | 186 ++
n which is used as external clock input is selected by using a
custom optional property called "adi,ext-clk-pin". If this field is left
empty, DIO2 is assigned as default external clock input pin.
Signed-off-by: Stefan Popa
---
.../devicetree/bindings/iio/imu/adi,adis16480.txt | 34 +
one function at a time (data ready line
selection or external clock input).
Signed-off-by: Stefan Popa
---
drivers/iio/imu/adis16480.c | 186 ++--
1 file changed, 179 insertions(+), 7 deletions(-)
diff --git a/drivers/iio/imu/adis16480.c b/drivers/ii
Document support for ADIS16480 Inertial Measurement Unit.
Signed-off-by: Stefan Popa
Reviewed-by: Rob Herring
---
.../devicetree/bindings/iio/imu/adi,adis16480.txt | 49 ++
MAINTAINERS| 1 +
2 files changed, 50 insertions(+)
create
-documentation/data-sheets/adis16497.pdf
Signed-off-by: Stefan Popa
---
drivers/iio/imu/adis16480.c | 97 +
1 file changed, 97 insertions(+)
diff --git a/drivers/iio/imu/adis16480.c b/drivers/iio/imu/adis16480.c
index c90375d..28cece3 100644
--- a/drivers/iio
When setting the filter frequency, the driver looks into the
adis16480_def_filter_freqs table for the best match. Pass this table to
the chip_info struct since future devices will need to use a different
table.
Signed-off-by: Stefan Popa
---
drivers/iio/imu/adis16480.c | 13 +
1
.
Signed-off-by: Stefan Popa
---
drivers/iio/imu/adis16480.c | 18 ++
1 file changed, 14 insertions(+), 4 deletions(-)
diff --git a/drivers/iio/imu/adis16480.c b/drivers/iio/imu/adis16480.c
index 5a2864a..92abc95 100644
--- a/drivers/iio/imu/adis16480.c
+++ b/drivers/iio/imu/adis16480.c
The driver does not have a struct of_device_id table, but supported
devices are registered via Device Trees. This patch adds OF device ID
table.
Signed-off-by: Stefan Popa
---
drivers/iio/imu/adis16480.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers/iio/imu/adis16480.c
supported devices. However, devices that
will make use of this feature will be added in the future.
Signed-off-by: Stefan Popa
---
drivers/iio/imu/adis16480.c | 18 +++---
1 file changed, 15 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/imu/adis16480.c b/drivers/iio/imu
DIO1 pin as default data ready signal instead of DIO2.
Patch 2:
- nothing changed.
Patch 3, 4:
- give the scale directly in the adis16480_chip_info struct.
Patch 5:
- document the use of DIO1 pin as default data ready signal.
Stefan Popa (7):
iio: imu: adis16480: Add
onfiguration as is, since some devices might be expecting the interrupt
on the wrong physical pin.
Signed-off-by: Stefan Popa
---
drivers/iio/imu/adis16480.c | 97 -
1 file changed, 95 insertions(+), 2 deletions(-)
diff --git a/drivers/iio/imu/adis16480.c
Document support for ADIS16480 Inertial Measurement Unit.
Signed-off-by: Stefan Popa
---
.../devicetree/bindings/iio/imu/adi,adis16480.txt | 49 ++
MAINTAINERS| 1 +
2 files changed, 50 insertions(+)
create mode 100644 Documentation
supported devices. However, devices that
will make use of this feature will be added in the future.
Signed-off-by: Stefan Popa
---
drivers/iio/imu/adis16480.c | 18 +++---
1 file changed, 15 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/imu/adis16480.c b/drivers/iio/imu
onfiguration as is, since some devices might be expecting the interrupt
on the wrong physical pin.
Signed-off-by: Stefan Popa
---
drivers/iio/imu/adis16480.c | 97 -
1 file changed, 95 insertions(+), 2 deletions(-)
diff --git a/drivers/iio/imu/adis16480.c
/technical-documentation/data-sheets/adis16495.pdf
Link:
https://www.analog.com/media/en/technical-documentation/data-sheets/adis16497.pdf
Signed-off-by: Stefan Popa
---
drivers/iio/imu/adis16480.c | 72 +
1 file changed, 72 insertions(+)
diff --git a
The driver does not have a struct of_device_id table, but supported
devices are registered via Device Trees. This patch adds OF device ID
table.
Signed-off-by: Stefan Popa
---
drivers/iio/imu/adis16480.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers/iio/imu/adis16480.c
.
Stefan Popa (5):
iio: imu: adis16480: Add support for configurable drdy indicator
iio: imu: adis16480: Add OF device ID table
iio: imu: adis16480: Treat temperature scale in a generic way
iio: imu: adis16480: Add support for ADIS1649x family of devices
iio: imu: adis16480: Add docs for
Document support for ADIS16480 Inertial Measurement Unit.
Signed-off-by: Stefan Popa
---
.../devicetree/bindings/iio/imu/adi,adis16480.txt | 49 ++
MAINTAINERS| 1 +
2 files changed, 50 insertions(+)
create mode 100644 Documentation
supported devices. However, devices that
will make use of this feature will be added in the future.
Signed-off-by: Stefan Popa
---
drivers/iio/imu/adis16480.c | 22 +++---
1 file changed, 19 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/imu/adis16480.c b/drivers/iio/imu
/technical-documentation/data-sheets/adis16495.pdf
Link:
https://www.analog.com/media/en/technical-documentation/data-sheets/adis16497.pdf
Signed-off-by: Stefan Popa
---
drivers/iio/imu/adis16480.c | 72 +
1 file changed, 72 insertions(+)
diff --git a
The driver does not have a struct of_device_id table, but supported
devices are registered via Device Trees. This patch adds OF device ID
table.
Signed-off-by: Stefan Popa
---
drivers/iio/imu/adis16480.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers/iio/imu/adis16480.c
from the devicetree. The
'interrupt-names' property is optional, if it is not specified, then the
factory default DIO2 data ready signal is used.
Signed-off-by: Stefan Popa
---
drivers/iio/imu/adis16480.c | 76 +
1 file changed, 76 insertion
called.
Signed-off-by: Stefan Popa
---
drivers/iio/imu/adis16480.c | 18 --
1 file changed, 16 insertions(+), 2 deletions(-)
diff --git a/drivers/iio/imu/adis16480.c b/drivers/iio/imu/adis16480.c
index a27fe20..d222188 100644
--- a/drivers/iio/imu/adis16480.c
+++ b/drivers/iio
missing docs
Stefan Popa (6):
iio: imu: adis16480: Use the default data ready pin configuration
iio: imu: adis16480: Add support for configurable drdy indicator
iio: imu: adis16480: Add OF device ID table
iio: imu: adis16480: Treat temperature scale in a generic way
iio: imu: adis16480: Add
From: Michael Hennerich
Some devices like the ADIS16460 IMU require a stall period between
transfers. The default value of 10us are not enough. Introduce a per
transfer configurable delay.
Signed-off-by: Michael Hennerich
Signed-off-by: Stefan Popa
---
drivers/spi/spi.c | 3
ned-off-by: Stefan Popa
---
drivers/iio/adc/ad7768-1.c | 202 -
1 file changed, 199 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/adc/ad7768-1.c b/drivers/iio/adc/ad7768-1.c
index 78449e9..0d13270 100644
--- a/drivers/iio/adc/ad7768-1.c
++
Analog Devices drivers are typically GPL v2 only. This patch fixes the
inconsistencies between the module license and SPDX.
Signed-off-by: Stefan Popa
---
Changes in v2:
- Modified only the drivers with inconsistencies.
drivers/iio/dac/ad5686-spi.c | 2 +-
drivers/iio/dac/ad5686.c
Analog Devices drivers are typically GPL v2 only. This patch fixes the
inconsistencies between the module license and SPDX.
Signed-off-by: Stefan Popa
---
drivers/iio/accel/adxl372.c | 4 ++--
drivers/iio/accel/adxl372.h | 2 +-
drivers/iio/accel/adxl372_i2c.c | 4 ++--
drivers/iio
/technical-documentation/data-sheets/ad7768-1.pdf
Signed-off-by: Stefan Popa
---
Changes in v2:
- Added values to all the elements of ad7768_pwrmode enum.
- Removed the ad7768_ids enum, as the driver supports only one device.
- Added a new data union which is part of the
Document support for AD7768-1 Analog to Digital Converter.
Signed-off-by: Stefan Popa
Reviewed-by: Rob Herring
---
Changes in v2:
- Added information regarding the simultaneous sampling of the SYNC-IN
pin
- Added the reset-gpios in the binding.
Changes in v3:
- Nothing
Document support for AD7768-1 Analog to Digital Converter.
Signed-off-by: Stefan Popa
---
Changes in v2:
- Added information regarding the simultaneous sampling of the SYNC-IN
pin
- Added the reset-gpios in the binding.
.../devicetree/bindings/iio/adc/adi,ad7768-1.txt | 41
/technical-documentation/data-sheets/ad7768-1.pdf
Signed-off-by: Stefan Popa
---
Changes in v2:
- Added values to all the elements of ad7768_pwrmode enum.
- Removed the ad7768_ids enum, as the driver supports only one device.
- Added a new data union which is part of the
Document support for AD7768-1 Analog to Digital Converter.
Signed-off-by: Stefan Popa
---
.../devicetree/bindings/iio/adc/adi,ad7768-1.txt | 34 ++
MAINTAINERS| 1 +
2 files changed, 35 insertions(+)
create mode 100644
/technical-documentation/data-sheets/ad7768-1.pdf
Signed-off-by: Stefan Popa
---
MAINTAINERS| 7 +
drivers/iio/adc/Kconfig| 13 ++
drivers/iio/adc/Makefile | 1 +
drivers/iio/adc/ad7768-1.c | 474 +
4 files changed, 495
Move ad7606 ADC driver out of staging and into the mainline.
Signed-off-by: Stefan Popa
---
MAINTAINERS | 7 +
drivers/iio/adc/Kconfig | 27 ++
drivers/iio/adc/Makefile | 3 +
drivers/iio/adc/ad7606.c | 583
:
- Nothing changed.
Stefan Popa (6):
staging: iio: adc: ad7606: Simplify the Kconfing menu
staging: iio: adc: ad7606: Use SPDX identifier
staging: iio: adc: ad7606: Add support for threaded irq
staging: iio: adc: ad7606: Misc style fixes (no functional change)
staging: iio: adc: ad7606: Move
Document support for AD7606 Analog to Digital Converter.
Signed-off-by: Stefan Popa
Reviewed-by: Rob Herring
---
.../devicetree/bindings/iio/adc/adi,ad7606.txt | 65 ++
MAINTAINERS| 1 +
2 files changed, 66 insertions(+)
create
* Placed includes in alphabetical order
* Added brackets around num and mask through out for AD760X_CHANNEL
* Used single line comments where needed
* Removed extra lines and spaces
Signed-off-by: Stefan Popa
---
drivers/staging/iio/adc/ad7606.c | 27 ---
drivers
BUSY
signal triggers the interrupt.
ad7606_trigger_handler() is used as bottom half of the poll function.
It reads data from the device and stores it in the internal buffer.
Signed-off-by: Stefan Popa
---
drivers/staging/iio/adc/ad7606.c | 111 +--
drivers
This patch replaces the license text at the top of ad7606 driver files
and instead adds SPDX GPL-2.0 license identifier.
Signed-off-by: Stefan Popa
---
drivers/staging/iio/adc/ad7606.c | 5 ++---
drivers/staging/iio/adc/ad7606.h | 3 +--
drivers/staging/iio/adc/ad7606_par.c | 5
There is no point in having three menu entries that can be selected
individually. Instead, the SPI and parallel interfaces should select
AD7606.
Signed-off-by: Stefan Popa
---
drivers/staging/iio/adc/Kconfig | 27 ++-
1 file changed, 10 insertions(+), 17 deletions
This patch replaces the license text at the top of ad7606 driver files
and instead adds SPDX GPL-2.0+ license identifier.
Signed-off-by: Stefan Popa
---
drivers/staging/iio/adc/ad7606.c | 5 ++---
drivers/staging/iio/adc/ad7606.h | 3 +--
drivers/staging/iio/adc/ad7606_par.c | 5
Move ad7606 ADC driver out of staging and into the mainline.
Signed-off-by: Stefan Popa
---
MAINTAINERS | 7 +
drivers/iio/adc/Kconfig | 28 ++
drivers/iio/adc/Makefile | 3 +
drivers/iio/adc/ad7606.c | 588
Document support for AD7606 Analog to Digital Converter.
Signed-off-by: Stefan Popa
Reviewed-by: Rob Herring
---
.../devicetree/bindings/iio/adc/adi,ad7606.txt | 65 ++
MAINTAINERS| 1 +
2 files changed, 66 insertions(+)
create
The driver does not have a struct of_device_id table, but supported
devices are registered via Device Trees. This patch adds and OF device
ID table.
Signed-off-by: Stefan Popa
---
drivers/staging/iio/adc/ad7606_par.c | 10 ++
drivers/staging/iio/adc/ad7606_spi.c | 10 ++
2 files
* Placed includes in alphabetical order
* Added brackets around num and mask through out for AD760X_CHANNEL
* Used single line comments where needed
* Removed extra lines and spaces
Signed-off-by: Stefan Popa
---
drivers/staging/iio/adc/ad7606.c | 27 ---
drivers
The 'adi' vendor prefix needs to be added to conversion-start, range,
first-data and oversampling-ratio properties.
Signed-off-by: Stefan Popa
---
drivers/staging/iio/adc/ad7606.c | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/iio/adc/
Switch to devm version of request_irq, iio_triggered_buffer_setup,
iio_device_register. To avoid potential ordering issues in probe,
devm_add_action_or_reset() is used for the regulator_disable(). This
simplifies the code and decreases the chance of bugs.
Signed-off-by: Stefan Popa
---
drivers
When looking for the available scale or oversampling ratio, it is better
to use the find_closest() macro. This simplifies the code and also does
not require an exact value to be entered from the user space.
Signed-off-by: Stefan Popa
---
drivers/staging/iio/adc/ad7606.c | 58
There is no point in having three menu entries that can be selected
individually. Instead, the SPI and parallel interfaces should select
AD7606.
Signed-off-by: Stefan Popa
---
drivers/staging/iio/adc/Kconfig | 24 +---
1 file changed, 9 insertions(+), 15 deletions(-)
diff
BUSY
signal triggers the interrupt.
ad7606_trigger_handler() is used as bottom half of the poll function.
It reads data from the device and stores it in the internal buffer.
Signed-off-by: Stefan Popa
---
drivers/staging/iio/adc/ad7606.c | 116 +--
drivers
This patch replaces the use of wait_event_interruptible() with
wait_for_completion_timeout() when reading the result of a single
conversion. In this way, if the interrupt never occurs, the program will
not remain blocked.
Signed-off-by: Stefan Popa
---
drivers/staging/iio/adc/ad7606.c | 14
This series attempts to clean up the driver according to the feedback
received during review and finally moves it out of staging.
Stefan Popa (11):
staging: iio: adc: ad7606: Simplify the Kconfing menu
staging: iio: adc: ad7606: Use SPDX identifier
staging: iio: adc: ad7606: Use wait-for
Document support for AD7606 Analog to Digital Converter.
Signed-off-by: Stefan Popa
---
Changes in v2:
- fixed indentation issues.
- used gpios instead of gpio.
- added vendor prefix for conversion-start-gpios, first-data-gpios,
and range-gpios.
Changes in v3
Move ad7606 ADC driver out of staging and into the mainline.
Signed-off-by: Stefan Popa
---
Changes in v2:
- Simplified the Kconfig menu.
- Added SPDX-License-Identifier.
- Ordered the includes alphabetically.
- Used a threaded interrupt.
- Replaced
Document support for AD7606 Analog to Digital Converter.
Signed-off-by: Stefan Popa
---
Changes in v2:
- fixed indentation issues.
- used gpios instead of gpio.
- added vendor prefix for conversion-start-gpios, first-data-gpios,
and range-gpios.
Changes in v3
Move ad7606 ADC driver out of staging and into the mainline.
Signed-off-by: Stefan Popa
---
Changes in v2:
- Simplified the Kconfig menu.
- Added SPDX-License-Identifier.
- Ordered the includes alphabetically.
- Used a threaded interrupt.
- Replaced
Document support for AD7606 Analog to Digital Converter.
Signed-off-by: Stefan Popa
---
Changes in v2:
- fixed indentation issues.
- used gpios instead of gpio.
- added vendor prefix for conversion-start-gpios, first-data-gpios,
and range-gpios.
.../devicetree
Move ad7606 ADC driver out of staging and into the mainline.
Signed-off-by: Stefan Popa
---
Changes in v2:
- Simplified the Kconfig menu.
- Added SPDX-License-Identifier.
- Ordered the includes alphabetically.
- Used a threaded interrupt.
- Replaced
/media/en/technical-documentation/data-sheets/AD7124-4.pdf
Link:
http://www.analog.com/media/en/technical-documentation/data-sheets/ad7124-8.pdf
Signed-off-by: Stefan Popa
---
Changes in v2:
- Nothing changed.
Changes in v3:
- Removed channel, address, scan_index and shift fields
Add support for Analog Devices AD7124 4-channels and 8-channels ADC.
Signed-off-by: Stefan Popa
---
Changes in v2:
- Nothing changed.
Changes in v3:
- Removed the "adi,channels" property.
- Used the "reg" property to get the channel number and
There are several ADC drivers that depend on the same device tree
bindings. Rather than continue to duplicate the properties, this patch
adds a common adc binding document that can be referenced. For beginning,
only two properties are documented.
Signed-off-by: Stefan Popa
---
Changes in v2, v3
Signed-off-by: Stefan Popa
---
Changes in v2:
- Added this commit.
Changes in v3:
- Nothing changed.
Changes in v4:
- Nothing changed.
Changes in v5:
- Nothing changed.
drivers/iio/adc/ad_sigma_delta.c | 22 +-
include/linux/iio/adc
Add support for Analog Devices AD7124 4-channels and 8-channels ADC.
Signed-off-by: Stefan Popa
---
Changes in v2:
- Nothing changed.
Changes in v3:
- Removed the "adi,channels" property.
- Used the "reg" property to get the channel number and
/media/en/technical-documentation/data-sheets/AD7124-4.pdf
Link:
http://www.analog.com/media/en/technical-documentation/data-sheets/ad7124-8.pdf
Signed-off-by: Stefan Popa
---
Changes in v2:
- Nothing changed.
Changes in v3:
- Removed channel, address, scan_index and shift fields
There are several ADC drivers that depend on the same device tree
bindings. Rather than continue to duplicate the properties, this patch
adds a common adc binding document that can be referenced. For beginning,
only two properties are documented.
Signed-off-by: Stefan Popa
---
Changes in v2, v3
Signed-off-by: Stefan Popa
---
Changes in v2:
- Added this commit.
Changes in v3:
- Nothing changed.
Changes in v4:
- Nothing changed.
drivers/iio/adc/ad_sigma_delta.c | 22 +-
include/linux/iio/adc/ad_sigma_delta.h | 3 +++
2 files changed, 20
Add support for Analog Devices AD7124 4-channels and 8-channels ADC.
Signed-off-by: Stefan Popa
---
Changes in v2:
- Nothing changed.
Changes in v3:
- Removed the "adi,channels" property.
- Used the "reg" property to get the channel number and
/media/en/technical-documentation/data-sheets/AD7124-4.pdf
Link:
http://www.analog.com/media/en/technical-documentation/data-sheets/ad7124-8.pdf
Signed-off-by: Stefan Popa
---
Changes in v2:
- Added this commit.
Changes in v3:
- Removed channel, address, scan_index and shift fields
Signed-off-by: Stefan Popa
---
Changes in v2:
- Added this commit.
Changes in v3:
- Nothing changed.
drivers/iio/adc/ad_sigma_delta.c | 22 +-
include/linux/iio/adc/ad_sigma_delta.h | 3 +++
2 files changed, 20 insertions(+), 5 deletions(-)
diff --git a
Signed-off-by: Stefan Popa
---
Changes in v2:
- Added this commit.
drivers/iio/adc/ad_sigma_delta.c | 22 +-
include/linux/iio/adc/ad_sigma_delta.h | 3 +++
2 files changed, 20 insertions(+), 5 deletions(-)
diff --git a/drivers/iio/adc/ad_sigma_delta.c b/drivers
Add support for Analog Devices AD7124 4-channels and 8-channels ADC.
Signed-off-by: Stefan Popa
---
Changes in v2:
- Nothing changed.
.../devicetree/bindings/iio/adc/adi,ad7124.txt | 96 ++
MAINTAINERS| 1 +
2 files
/media/en/technical-documentation/data-sheets/AD7124-4.pdf
Link:
http://www.analog.com/media/en/technical-documentation/data-sheets/ad7124-8.pdf
Signed-off-by: Stefan Popa
---
Changes in v2:
- Nothing changed.
MAINTAINERS | 7 +
drivers/iio/adc/Kconfig | 11 +
drivers/iio
Add support for Analog Devices AD7124 4-channels and 8-channels ADC.
Signed-off-by: Stefan Popa
---
.../devicetree/bindings/iio/adc/adi,ad7124.txt | 96 ++
MAINTAINERS| 1 +
2 files changed, 97 insertions(+)
create mode 100644
/media/en/technical-documentation/data-sheets/AD7124-4.pdf
Link:
http://www.analog.com/media/en/technical-documentation/data-sheets/ad7124-8.pdf
Signed-off-by: Stefan Popa
---
MAINTAINERS | 7 +
drivers/iio/adc/Kconfig | 11 +
drivers/iio/adc/Makefile | 1 +
drivers/iio/adc
1 - 100 of 190 matches
Mail list logo