zephyr/include/drivers
Sam Hurst 1382d64ed5 drivers: sensor: Add driver for TI INA23x
This driver supports the TI INA230 and INA231 Bidirectional Current
and Power Monitors. The devices work on the I2C interface and are
created from DT nodes with a compatible property matching "ti,ina23x".

The following datasheets were referenced while developing the driver:
https://www.ti.com/product/INA230
https://www.ti.com/product/INA231

Twister passed:
twister -T tests/drivers/build_all/sensor/

Testing was performed on the stm32g071b_disco board with the following:
Load:    ~170 ohms
Voltage: 5V

Measured Values:
Voltage: 5.1 V
Current: 0.032 A
Power:   0.157 W

Signed-off-by: Sam Hurst <sbh1187@gmail.com>
2021-07-27 17:59:23 -04:00
..
adc drivers: adc: add ADC emulator 2021-05-07 15:27:37 +02:00
bluetooth device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
clock_control Microchip: MEC172x clock control driver 2021-07-21 17:46:07 -04:00
console drivers: modem: gsm_ppp: Enable start/stop 2020-10-19 18:29:02 +02:00
dma drivers: dma of the stm32 refactored macro for the dma-cells 2021-07-22 04:52:53 -04:00
ec_host_cmd_periph ec_host_cmd_periph: add device API 2020-09-04 14:50:45 -04:00
gpio drivers: gpio: gpio_mmio32: remove usage of device_pm_control_nop 2021-04-28 20:40:00 -04:00
i2c/slave Revert "drivers: move eeprom_slave driver to tests directory" 2020-12-16 16:39:49 -05:00
ieee802154
interrupt_controller Microchip: MEC172x Add aggregated interrupt driver 2021-07-26 12:24:52 -04:00
led drivers: ht16k33: convert keyscan driver from gpio API to kscan API 2021-06-18 11:22:40 +02:00
misc drv: display: Initial FT800 display driver 2021-03-19 19:05:53 +01:00
modem
pcie drivers: pcie: Introduce API to look up devices by ID 2021-02-15 08:23:05 -05:00
pm_cpu_ops arm/arm64: Make ARM64 a standalone architecture 2021-03-31 10:34:33 -05:00
rtc doc: fix @param usage in callbacks 2020-12-18 12:18:28 +01:00
sensor drivers: sensor: SHT4X Added support 2021-07-22 10:17:13 -04:00
timer pm: remove callback from control function 2021-07-13 09:36:45 -04:00
uart doc: fix @param usage in callbacks 2020-12-18 12:18:28 +01:00
usb code-guideline: Fixing code violation 10.4 Rule 2020-10-01 17:13:29 -04:00
virtualization drivers/virtualization: Make ivshmem driver userspace ready 2020-12-16 18:47:35 -05:00
adc.h doc: doxygen: replace option alias with kconfig 2021-06-29 10:26:28 -04:00
cache.h cache: Rename sys_{dcache,icache}_* to sys_{data,instr}_cache_* 2021-05-08 07:00:33 +02:00
can.h drivers: can: sjw == 0 in can_set_timing should not change sjw 2021-06-01 07:29:36 -05:00
clock_control.h clock_control: Replace device_is_ready with device_usable_check 2021-05-05 15:54:44 +02:00
counter.h counters: Remove deprecated APIs 2021-03-18 19:35:14 -04:00
dac.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
disk.h include: move disk driver interface to own header 2021-03-23 12:16:01 +01:00
display.h drivers: display: fix doxygen issues 2021-05-19 06:21:53 -04:00
dma.h dma: change an atmoic api for Coverity issue 233524 2021-05-13 07:15:18 -05:00
ec_host_cmd_periph.h ec_host_cmd_periph: add device API 2020-09-04 14:50:45 -04:00
edac.h edac: Use -ENOSYS also for optional interfaces 2021-06-30 18:29:21 -04:00
eeprom.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
emul.h include: Move emul.h to drivers/emul.h 2021-04-22 12:51:01 -04:00
entropy.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
espi_emul.h emul: Add an emulator for the eSPI Host 2021-01-20 17:49:19 -05:00
espi_saf.h drivers: espi: Microchip eSPI add SAF support 2021-02-15 08:22:01 -05:00
espi.h driver: eSPI: unify the bit fields of ACPI/KBC event data 2021-07-26 22:50:44 -04:00
flash.h include/drivers/flash: deprecation of flash_write_protection_set() 2021-03-29 13:43:55 -04:00
gna.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
gpio.h gpio: add additional gpio_spec_dt helpers 2021-06-24 06:40:00 -05:00
gsm_ppp.h drivers: device: do not reuse tag name 'device' 2021-03-22 19:48:14 -04:00
hwinfo.h drivers: hwinfo: add reset causes for PLL and clock 2021-07-08 09:33:32 -05:00
i2c_emul.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
i2c.h drivers: i2c: fix NOTSUP vs NOSYS usage 2021-03-30 10:50:14 -05:00
i2s.h drivers: i2s: Add missing const qualifiers 2021-05-03 19:57:49 -04:00
ipm.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
kscan.h drivers: kscan: fix NOTSUP vs NOSYS usage 2021-03-30 10:50:14 -05:00
led_strip.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
led.h led.h: clarify brightness API for on/off LEDs 2021-05-04 16:01:30 +02:00
lora.h drivers: lora: fix NOTSUP vs NOSYS usage 2021-03-30 10:50:14 -05:00
peci.h driver: peci: Add supported peci response codes 2021-03-10 17:12:05 -05:00
pinmux.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
pm_cpu_ops.h aarch64: pm_cpu_ops: Introduce pm_cpu_ops subsystem 2021-03-04 06:53:19 -05:00
ps2.h drivers: ps2: fix NOTSUP vs NOSYS usage 2021-03-30 10:50:14 -05:00
ptp_clock.h include: Move ptp_clock.h to drivers/ptp_clock.h 2021-03-25 10:09:33 +02:00
pwm.h doc: doxygen: replace option alias with kconfig 2021-06-29 10:26:28 -04:00
regulator.h drivers: add infrastructure for regulator devices 2020-10-28 15:22:53 +01:00
sensor.h drivers: sensor: Add driver for TI INA23x 2021-07-27 17:59:23 -04:00
spi_emul.h emul: spi: Add support for SPI emulators 2020-10-05 15:33:00 -04:00
spi.h spi: struct spi_dt_spec helpers 2021-07-02 21:34:16 -04:00
syscon.h drivers: syscon: Add generic syscon API 2021-07-16 21:31:38 -04:00
uart.h usrt: basic_test: NOSYS return update for cases 2021-06-11 17:39:42 +02:00
video-controls.h
video.h drivers: video: fix NOTSUP vs NOSYS usage 2021-03-30 10:50:14 -05:00
watchdog.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00