zephyr/drivers
Jeppe Odgaard c9dc58178a drivers: adc: adc_ad559x: implement double range option
Optionally write to ad559x register bit which increases ADC input range
from 0V to 2 x Vref.

Create an ADC API per instance since the double range option and thus
`ref_internal` is instance specific.

The functionality has been tested via double range DAC and wiring IO1 and
IO3:
```
$ dac setup ad5593dac 1 12
$ adc ad5593adc resolution 12
$ adc ad5593adc channel id 3
$ dac write_value ad5593dac 1 0
$ adc ad5593adc read 3
read: 1
$ dac write_value ad5593dac 1 1024
$ adc ad5593adc read 3
read: 1021
$ dac write_value ad5593dac 1 2048
$ adc ad5593adc read 3
read: 2044
$ dac write_value ad5593dac 1 3072
$ adc ad5593adc read 3
read: 3069
$ dac write_value ad5593dac 1 4095
$ adc ad5593adc read 3
read: 4091
```

Signed-off-by: Jeppe Odgaard <jeppe.odgaard@prevas.dk>
2024-11-25 12:17:00 +01:00
..
adc drivers: adc: adc_ad559x: implement double range option 2024-11-25 12:17:00 +01:00
audio drivers: audio: wm8904: Fix missing default y in AUDIO_CODEC_WM8904 2024-11-25 12:16:53 +01:00
auxdisplay drivers: auxdisplay: Remove unused variables 2024-09-21 12:23:51 +01:00
bbram
bluetooth Bluetooth: Host: Remove unnecessary hci_driver.h includes 2024-11-22 11:37:12 +01:00
cache nordic: Remove the nRF54H20 Engineering B 2024-11-16 15:09:14 -05:00
can drivers: can: sja1000: reduce number of frame->id pointer dereferences 2024-11-16 15:25:55 -05:00
charger charger: bq25180: Add threshold voltage for precharge 2024-09-05 17:01:05 -04:00
clock_control drivers: pinctrl: rename nxp,kinetis-pinctrl to nxp,port-pinctrl 2024-11-22 13:01:02 -06:00
comparator soc: nordic: Introduce the nRF54L05 and nRF54L10 2024-11-21 09:26:38 +01:00
console drivers: console: rtt_console: use Segger recommended write API 2024-08-12 10:14:34 +02:00
coredump
counter manifest: hal_nordic: Update to nrfx 3.9.0 2024-11-21 09:26:38 +01:00
crypto drivers: crypto: deprecated TinyCrypt shim driver 2024-11-05 13:44:20 -06:00
dac drivers: dac: ad559x: implement double range option 2024-11-25 12:17:00 +01:00
dai driver: ssp: Refactor SSP driver to use SSP_IP_VER for version checks 2024-11-16 14:04:01 -05:00
disk drivers: disk: mmc_subsys: remove CONFIG_MMC_VOLUME_NAME 2024-11-05 15:25:10 -06:00
display drivers: display: gc9x01x: fix correct mipi buffer size 2024-11-23 15:29:15 +01:00
dma drivers: dma: intel-adsp-hda: coding style fix 2024-11-21 09:21:04 +01:00
dp dp: swdp_bitbang: fix missing reset pin error 2024-11-07 08:33:18 -06:00
edac
eeprom drivers: eeprom: add mb85rsm1t fram support 2024-11-16 15:08:01 -05:00
entropy entropy: native_posix: Add kconfig to not seed by default 2024-09-05 16:56:33 -04:00
espi espi/it8xxx2: supports host command interrupt requested by custom opcode 2024-11-16 15:07:38 -05:00
ethernet drivers: ethernet: phy_mii: add link down log 2024-11-25 12:16:28 +01:00
firmware boards: nxp: Removing CONFIG_PINCTRL from the boards defconfig 2024-10-15 19:09:45 -04:00
flash drivers/flash/nrf_rram: Add get_size implementation. 2024-11-23 15:30:10 +01:00
fpga drivers: fpga: use defaults in iCE40 binding 2024-11-22 08:25:44 -05:00
fuel_gauge fuel_gauge: sbs_gauge: fix negative currents 2024-11-16 13:35:03 -05:00
gnss gnss: rename u-blox M10 driver to M8 2024-08-26 17:27:12 -04:00
gpio drivers: gpio: nrf: use nrf_gpio_pin_retain_enable|disable 2024-11-25 12:16:17 +01:00
haptics drivers: haptics: drv2605: Hard codes open loop mode for LRA mode 2024-08-20 14:52:32 -04:00
hwinfo Documentation: Update documenation for Infineon boards 2024-11-14 20:36:38 -06:00
hwspinlock style: drivers: comply with MISRA C:2012 Rule 15.6 2024-09-11 07:40:35 -04:00
i2c drivers: i2c: tca9544a 2024-11-22 22:47:17 +00:00
i2s drivers: i2s: Add dummy driver for vnd,i2s 2024-11-25 12:16:53 +01:00
i3c board: npcx: remove CONFIG_PINCTRL from defconfig of npcx boards 2024-11-07 08:59:14 -08:00
ieee802154 net: openthread: add wake-up coordinator support 2024-11-16 15:09:07 -05:00
input input: kbd_matrix: implement stable poll period support 2024-11-17 19:06:15 -05:00
interrupt_controller drivers: intc: plic: use per-instance spinlock 2024-11-20 08:26:02 -05:00
ipm drivers: clock_control: amp clock fix 2024-11-08 11:36:09 -06:00
kscan kscan: input: fix multiple kscan inputs 2024-09-30 12:10:29 +01:00
led drivers: led: lp5562: Add PM Device support 2024-09-13 13:43:33 +02:00
led_strip drivers: led_strip: Fix formatting of log message 2024-10-07 13:39:59 +02:00
lora drivers: lora: rylrxxx: Add stdio.h to resolve function prototypes 2024-10-15 04:09:56 -04:00
mbox drivers: mbox: add IVSHMEM based mbox driver 2024-11-16 15:05:34 -05:00
mdio drivers: mdio: add NXP i.MX NETC MDIO driver 2024-10-16 10:00:32 +02:00
memc drivers: memc: Fix various APS6404 device issues 2024-11-08 13:56:31 -06:00
mfd drivers: ad559x: fix mfd_ad559x_i2c_read_reg 2024-11-25 12:17:00 +01:00
mipi_dbi drivers: mipi_dbi: mipi_dbi_nxp_lcdic: fix reset pulse calculation 2024-11-22 22:47:36 +00:00
mipi_dsi drivers: dma: dma_mcux_smartdma: update interface to support custom FW 2024-10-15 04:10:50 -04:00
misc soc: nordic: Introduce the nRF54L05 and nRF54L10 2024-11-21 09:26:38 +01:00
mm mm: tlb: Add a mmu support in update page flags function 2024-11-19 16:23:52 +01:00
modem drivers: modem_cellular: fix handling of +C*REG answers 2024-10-30 08:54:17 -05:00
mspi drivers: mspi: fix incorrect DT macro used in controller emulator 2024-10-22 22:46:47 -04:00
net drivers: nsos: support for AF_PACKET 2024-11-20 08:24:08 -05:00
pcie
peci board: npcx: remove CONFIG_PINCTRL from defconfig of npcx boards 2024-11-07 08:59:14 -08:00
pinctrl drivers: pinctrl: nrf: use nrf_gpio_pin_retain_enable|disable 2024-11-25 12:16:17 +01:00
pm_cpu_ops
power_domain drivers: power_domain: add driver for NXP's SCU-managed PDs 2024-10-11 09:27:57 +02:00
ps2 board: npcx: remove CONFIG_PINCTRL from defconfig of npcx boards 2024-11-07 08:59:14 -08:00
ptp_clock boards: nxp: Removing CONFIG_PINCTRL from the boards defconfig 2024-10-15 19:09:45 -04:00
pwm drivers: rcar: Select CONFIG_PINCTRL 2024-11-22 17:41:02 +01:00
regulator drivers: regulator_nxp_vref: Clear UTRIM on init 2024-10-25 18:52:10 +01:00
reset
retained_mem drivers: retained_mem: nrf: align dependencies to nrf54h20 2024-10-18 08:17:53 -04:00
rtc drivers: rtc: sam: Fix missing function 2024-11-15 11:08:58 -06:00
sdhc drivers: rcar: Select CONFIG_PINCTRL 2024-11-22 17:41:02 +01:00
sensor drivers: sensor: adxl367: Added RTIO stream 2024-11-22 17:43:36 +01:00
serial drivers: rcar: Select CONFIG_PINCTRL 2024-11-22 17:41:02 +01:00
sip_svc
smbus drivers: stm32: Make some config symbols menuconfig symbols 2024-09-05 16:58:04 -04:00
spi drivers: spi: Add support SPI driver for Renesas RA6, RA4, RA2 2024-11-25 01:02:35 +01:00
stepper drivers: stepper: tmc5041: use tmc5xxx generalized macros 2024-11-19 09:49:53 -05:00
syscon
tee style: drivers: comply with MISRA C:2012 Rule 15.6 2024-09-11 07:40:35 -04:00
timer soc: sensry: udma, pad renaming 2024-11-16 15:06:43 -05:00
usb boards: nuvoton: numaker: Drop PINCTRL from board defconfig 2024-11-20 08:23:58 -05:00
usb_c usbc: fix typo in shell usage string 2024-11-22 22:47:23 +00:00
video video: gc2145: fix set_fmt() 2024-11-22 13:04:22 -06:00
virtualization
w1 drivers: w1: updates to reflect analog maxim acquisition 2024-11-16 13:51:38 -05:00
watchdog drivers: watchdog: wdt_dw: add missing header 2024-10-26 11:30:18 +02:00
wifi drivers: wifi: nxp: default use hostapd AP 2024-11-25 08:30:38 +01:00
xen style: drivers: comply with MISRA C:2012 Rule 15.6 2024-08-20 10:33:51 +02:00
CMakeLists.txt drivers: comparator: Add initial files 2024-10-10 20:24:52 -04:00
Kconfig drivers: comparator: Add initial files 2024-10-10 20:24:52 -04:00