Skip to content

Commit cbcb2d8

Browse files
TerryGengkartben
authored andcommitted
drivers: adc: ads1x4s0x: Rename files, preparing for adding new devices
Renamed ads114s0x/8 to ads1x4s0x. Signed-off-by: Terry Geng <[email protected]>
1 parent 43079c8 commit cbcb2d8

File tree

12 files changed

+9
-8
lines changed

12 files changed

+9
-8
lines changed

doc/releases/migration-guide-4.1.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@ GPIO
214214
* Renamed the device tree property ``bit_per_gpio`` to ``bit-per-gpio``.
215215
* Renamed the device tree property ``off_val`` to ``off-val``.
216216
* Renamed the device tree property ``on_val`` to ``on-val``.
217+
* Renamed the ``compatible`` from ``ti,ads114s0x-gpio`` to :dtcompatible:`ti,ads1x4s0x-gpio`.
217218

218219
HWSPINLOCK
219220
==========

drivers/adc/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ zephyr_library_sources_ifdef(CONFIG_ADC_GD32 adc_gd32.c)
3434
zephyr_library_sources_ifdef(CONFIG_ADC_ADS1112 adc_ads1112.c)
3535
zephyr_library_sources_ifdef(CONFIG_ADC_ADS1119 adc_ads1119.c)
3636
zephyr_library_sources_ifdef(CONFIG_ADC_ADS7052 adc_ads7052.c)
37-
zephyr_library_sources_ifdef(CONFIG_ADC_ADS1X4S0X adc_ads114s0x.c)
37+
zephyr_library_sources_ifdef(CONFIG_ADC_ADS1X4S0X adc_ads1x4s0x.c)
3838
zephyr_library_sources_ifdef(CONFIG_ADC_ADS131M02 adc_ads131m02.c)
3939
zephyr_library_sources_ifdef(CONFIG_ADC_RPI_PICO adc_rpi_pico.c)
4040
zephyr_library_sources_ifdef(CONFIG_ADC_XMC4XXX adc_xmc4xxx.c)

drivers/adc/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ source "drivers/adc/Kconfig.ads1119"
100100

101101
source "drivers/adc/Kconfig.ads7052"
102102

103-
source "drivers/adc/Kconfig.ads114s0x"
103+
source "drivers/adc/Kconfig.ads1x4s0x"
104104

105105
source "drivers/adc/Kconfig.ads131m02"
106106

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
#include <zephyr/device.h>
77
#include <zephyr/devicetree.h>
88
#include <zephyr/drivers/adc.h>
9-
#include <zephyr/drivers/adc/ads114s0x.h>
9+
#include <zephyr/drivers/adc/ads1x4s0x.h>
1010
#include <zephyr/drivers/spi.h>
1111
#include <zephyr/drivers/gpio.h>
12-
#include <zephyr/dt-bindings/adc/ads114s0x_adc.h>
12+
#include <zephyr/dt-bindings/adc/ads1x4s0x_adc.h>
1313
#include <zephyr/logging/log.h>
1414
#include <zephyr/kernel.h>
1515
#include <zephyr/sys/__assert.h>

drivers/gpio/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ zephyr_library()
77
# zephyr-keep-sorted-start
88
zephyr_library_sources_ifdef(CONFIG_GPIO_AD559X gpio_ad559x.c)
99
zephyr_library_sources_ifdef(CONFIG_GPIO_ADP5585 gpio_adp5585.c)
10-
zephyr_library_sources_ifdef(CONFIG_GPIO_ADS1X4S0X gpio_ads114s0x.c)
10+
zephyr_library_sources_ifdef(CONFIG_GPIO_ADS1X4S0X gpio_ads1x4s0x.c)
1111
zephyr_library_sources_ifdef(CONFIG_GPIO_ALTERA_PIO gpio_altera_pio.c)
1212
zephyr_library_sources_ifdef(CONFIG_GPIO_AMBIQ gpio_ambiq.c)
1313
zephyr_library_sources_ifdef(CONFIG_GPIO_ANDES_ATCGPIO100 gpio_andes_atcgpio100.c)

drivers/gpio/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ config GPIO_ENABLE_DISABLE_INTERRUPT
9696
# zephyr-keep-sorted-start
9797
source "drivers/gpio/Kconfig.ad559x"
9898
source "drivers/gpio/Kconfig.adp5585"
99-
source "drivers/gpio/Kconfig.ads114s0x"
99+
source "drivers/gpio/Kconfig.ads1x4s0x"
100100
source "drivers/gpio/Kconfig.altera"
101101
source "drivers/gpio/Kconfig.ambiq"
102102
source "drivers/gpio/Kconfig.andes_atcgpio100"
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
/**
88
* @file
9-
* @brief GPIO driver for the ADS114S0x AFE.
9+
* @brief GPIO driver for the ADS1X4S0X AFE.
1010
*/
1111

1212
#define DT_DRV_COMPAT ti_ads1x4s0x_gpio
@@ -18,7 +18,7 @@
1818
#include <zephyr/logging/log.h>
1919
LOG_MODULE_REGISTER(gpio_ads1x4s0x);
2020

21-
#include <zephyr/drivers/adc/ads114s0x.h>
21+
#include <zephyr/drivers/adc/ads1x4s0x.h>
2222

2323
#include <zephyr/drivers/gpio/gpio_utils.h>
2424

0 commit comments

Comments
 (0)