drivers: adc: ads1x4s0x: Rename files, preparing for adding new devices

Renamed ads114s0x/8 to ads1x4s0x.

Signed-off-by: Terry Geng <terry@terriex.com>
This commit is contained in:
Terry Geng 2025-01-02 23:44:49 -05:00 committed by Benjamin Cabé
parent 43079c8086
commit cbcb2d8f12
12 changed files with 9 additions and 8 deletions

View File

@ -214,6 +214,7 @@ GPIO
* Renamed the device tree property ``bit_per_gpio`` to ``bit-per-gpio``.
* Renamed the device tree property ``off_val`` to ``off-val``.
* Renamed the device tree property ``on_val`` to ``on-val``.
* Renamed the ``compatible`` from ``ti,ads114s0x-gpio`` to :dtcompatible:`ti,ads1x4s0x-gpio`.
HWSPINLOCK
==========

View File

@ -34,7 +34,7 @@ zephyr_library_sources_ifdef(CONFIG_ADC_GD32 adc_gd32.c)
zephyr_library_sources_ifdef(CONFIG_ADC_ADS1112 adc_ads1112.c)
zephyr_library_sources_ifdef(CONFIG_ADC_ADS1119 adc_ads1119.c)
zephyr_library_sources_ifdef(CONFIG_ADC_ADS7052 adc_ads7052.c)
zephyr_library_sources_ifdef(CONFIG_ADC_ADS1X4S0X adc_ads114s0x.c)
zephyr_library_sources_ifdef(CONFIG_ADC_ADS1X4S0X adc_ads1x4s0x.c)
zephyr_library_sources_ifdef(CONFIG_ADC_ADS131M02 adc_ads131m02.c)
zephyr_library_sources_ifdef(CONFIG_ADC_RPI_PICO adc_rpi_pico.c)
zephyr_library_sources_ifdef(CONFIG_ADC_XMC4XXX adc_xmc4xxx.c)

View File

@ -100,7 +100,7 @@ source "drivers/adc/Kconfig.ads1119"
source "drivers/adc/Kconfig.ads7052"
source "drivers/adc/Kconfig.ads114s0x"
source "drivers/adc/Kconfig.ads1x4s0x"
source "drivers/adc/Kconfig.ads131m02"

View File

@ -6,10 +6,10 @@
#include <zephyr/device.h>
#include <zephyr/devicetree.h>
#include <zephyr/drivers/adc.h>
#include <zephyr/drivers/adc/ads114s0x.h>
#include <zephyr/drivers/adc/ads1x4s0x.h>
#include <zephyr/drivers/spi.h>
#include <zephyr/drivers/gpio.h>
#include <zephyr/dt-bindings/adc/ads114s0x_adc.h>
#include <zephyr/dt-bindings/adc/ads1x4s0x_adc.h>
#include <zephyr/logging/log.h>
#include <zephyr/kernel.h>
#include <zephyr/sys/__assert.h>

View File

@ -7,7 +7,7 @@ zephyr_library()
# zephyr-keep-sorted-start
zephyr_library_sources_ifdef(CONFIG_GPIO_AD559X gpio_ad559x.c)
zephyr_library_sources_ifdef(CONFIG_GPIO_ADP5585 gpio_adp5585.c)
zephyr_library_sources_ifdef(CONFIG_GPIO_ADS1X4S0X gpio_ads114s0x.c)
zephyr_library_sources_ifdef(CONFIG_GPIO_ADS1X4S0X gpio_ads1x4s0x.c)
zephyr_library_sources_ifdef(CONFIG_GPIO_ALTERA_PIO gpio_altera_pio.c)
zephyr_library_sources_ifdef(CONFIG_GPIO_AMBIQ gpio_ambiq.c)
zephyr_library_sources_ifdef(CONFIG_GPIO_ANDES_ATCGPIO100 gpio_andes_atcgpio100.c)

View File

@ -96,7 +96,7 @@ config GPIO_ENABLE_DISABLE_INTERRUPT
# zephyr-keep-sorted-start
source "drivers/gpio/Kconfig.ad559x"
source "drivers/gpio/Kconfig.adp5585"
source "drivers/gpio/Kconfig.ads114s0x"
source "drivers/gpio/Kconfig.ads1x4s0x"
source "drivers/gpio/Kconfig.altera"
source "drivers/gpio/Kconfig.ambiq"
source "drivers/gpio/Kconfig.andes_atcgpio100"

View File

@ -6,7 +6,7 @@
/**
* @file
* @brief GPIO driver for the ADS114S0x AFE.
* @brief GPIO driver for the ADS1X4S0X AFE.
*/
#define DT_DRV_COMPAT ti_ads1x4s0x_gpio
@ -18,7 +18,7 @@
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(gpio_ads1x4s0x);
#include <zephyr/drivers/adc/ads114s0x.h>
#include <zephyr/drivers/adc/ads1x4s0x.h>
#include <zephyr/drivers/gpio/gpio_utils.h>