Skip to content

Commit 284079c

Browse files
TerryGengnathaniel-greaseboss
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 f25809c commit 284079c

File tree

12 files changed

+35
-8
lines changed

12 files changed

+35
-8
lines changed

doc/releases/migration-guide-4.1.rst

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,32 @@ Enhanced Serial Peripheral Interface (eSPI)
5151
GNSS
5252
====
5353

54+
GPIO
55+
====
56+
57+
* Renamed the device tree property ``pin_mask`` to ``pin-mask``.
58+
* Renamed the device tree property ``pinmux_mask`` to ``pinmux-mask``.
59+
* Renamed the device tree property ``vbatts_pins`` to ``vbatts-pins``.
60+
* Renamed the device tree property ``bit_per_gpio`` to ``bit-per-gpio``.
61+
* Renamed the device tree property ``off_val`` to ``off-val``.
62+
* Renamed the device tree property ``on_val`` to ``on-val``.
63+
* Renamed the ``compatible`` from ``ti,ads114s0x-gpio`` to :dtcompatible:`ti,ads1x4s0x-gpio`.
64+
65+
HWSPINLOCK
66+
==========
67+
68+
* Renamed the DeviceTree property ``num_locks`` to ``num-locks``.
69+
70+
I2C
71+
===
72+
73+
* Renamed the ``compatible`` from ``nxp,imx-lpi2c`` to :dtcompatible:`nxp,lpi2c`.
74+
75+
I2S
76+
===
77+
78+
* Renamed the device tree property from ``fifo_depth`` to ``fifo-depth``.
79+
5480
Input
5581
=====
5682

drivers/adc/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ zephyr_library_sources_ifdef(CONFIG_ADC_GD32 adc_gd32.c)
3333
zephyr_library_sources_ifdef(CONFIG_ADC_ADS1112 adc_ads1112.c)
3434
zephyr_library_sources_ifdef(CONFIG_ADC_ADS1119 adc_ads1119.c)
3535
zephyr_library_sources_ifdef(CONFIG_ADC_ADS7052 adc_ads7052.c)
36-
zephyr_library_sources_ifdef(CONFIG_ADC_ADS114S0X adc_ads114s0x.c)
36+
zephyr_library_sources_ifdef(CONFIG_ADC_ADS1X4S0X adc_ads1x4s0x.c)
37+
zephyr_library_sources_ifdef(CONFIG_ADC_ADS131M02 adc_ads131m02.c)
3738
zephyr_library_sources_ifdef(CONFIG_ADC_RPI_PICO adc_rpi_pico.c)
3839
zephyr_library_sources_ifdef(CONFIG_ADC_XMC4XXX adc_xmc4xxx.c)
3940
zephyr_library_sources_ifdef(CONFIG_ADC_ESP32 adc_esp32.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.rpi_pico"
106106

File renamed without changes.

drivers/adc/adc_ads114s0x.c renamed to drivers/adc/adc_ads1x4s0x.c

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_ADS114S0X 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
@@ -97,7 +97,7 @@ config GPIO_ENABLE_DISABLE_INTERRUPT
9797
# zephyr-keep-sorted-start
9898
source "drivers/gpio/Kconfig.ad559x"
9999
source "drivers/gpio/Kconfig.adp5585"
100-
source "drivers/gpio/Kconfig.ads114s0x"
100+
source "drivers/gpio/Kconfig.ads1x4s0x"
101101
source "drivers/gpio/Kconfig.altera"
102102
source "drivers/gpio/Kconfig.ambiq"
103103
source "drivers/gpio/Kconfig.andes_atcgpio100"
File renamed without changes.

drivers/gpio/gpio_ads114s0x.c renamed to drivers/gpio/gpio_ads1x4s0x.c

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_ads114s0x_gpio
@@ -18,7 +18,7 @@
1818
#include <zephyr/logging/log.h>
1919
LOG_MODULE_REGISTER(gpio_ads114s0x);
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)