Skip to content

Commit dbd20bd

Browse files
manuarguefabiobaltieri
authored andcommitted
dts: bindings: rename nxp,kinetis-wdog32 compatible
Rename "nxp,kinetis-wdog32" compatible to "nxp,wdog32" to remove the device family from its name. Signed-off-by: Manuel Argüelles <[email protected]>
1 parent ef2fde8 commit dbd20bd

File tree

9 files changed

+13
-13
lines changed

9 files changed

+13
-13
lines changed

drivers/watchdog/Kconfig.mcux

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ config WDT_MCUX_WDOG
1414
config WDT_MCUX_WDOG32
1515
bool "MCUX WDOG32 driver"
1616
default y
17-
depends on DT_HAS_NXP_KINETIS_WDOG32_ENABLED
17+
depends on DT_HAS_NXP_WDOG32_ENABLED
1818
depends on CLOCK_CONTROL
1919
help
2020
Enable the mcux wdog32 driver.

drivers/watchdog/wdt_mcux_wdog32.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* SPDX-License-Identifier: Apache-2.0
88
*/
99

10-
#define DT_DRV_COMPAT nxp_kinetis_wdog32
10+
#define DT_DRV_COMPAT nxp_wdog32
1111

1212
#include <zephyr/drivers/watchdog.h>
1313
#include <zephyr/drivers/clock_control.h>

dts/arm/nxp/nxp_ke1xf.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@
295295
};
296296

297297
wdog: watchdog@40052000 {
298-
compatible = "nxp,kinetis-wdog32";
298+
compatible = "nxp,wdog32";
299299
reg = <0x40052000 0x1000>;
300300
interrupts = <22 0>;
301301
clocks = <&lpo>;

dts/arm/nxp/nxp_ke1xz.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@
227227
};
228228

229229
wdog: watchdog@40052000 {
230-
compatible = "nxp,kinetis-wdog32";
230+
compatible = "nxp,wdog32";
231231
reg = <0x40052000 0x1000>;
232232
interrupts = <28 0>;
233233
clocks = <&lpo>;

dts/arm/nxp/nxp_mcxw71.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@
264264
};
265265

266266
wdog0: watchdog@1a000 {
267-
compatible = "nxp,kinetis-wdog32";
267+
compatible = "nxp,wdog32";
268268
reg = <0x1a000 16>;
269269
interrupts = <23 0>;
270270
clocks = <&scg SCG_K4_SYSOSC_CLK 0x68>;
@@ -274,7 +274,7 @@
274274
};
275275

276276
wdog1: watchdog@1b000 {
277-
compatible = "nxp,kinetis-wdog32";
277+
compatible = "nxp,wdog32";
278278
reg = <0x1b000 16>;
279279
interrupts = <24 0>;
280280
clocks = <&scg SCG_K4_SYSOSC_CLK 0x6c>;

dts/arm/nxp/nxp_s32k1xx.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@
129129
};
130130

131131
wdog: watchdog@40052000 {
132-
compatible = "nxp,kinetis-wdog32";
132+
compatible = "nxp,wdog32";
133133
reg = <0x40052000 0x1000>;
134134
interrupts = <22 0>;
135135
clocks = <&clock NXP_S32_LPO_128K_CLK>;

dts/bindings/watchdog/nxp,kinetis-wdog32.yaml renamed to dts/bindings/watchdog/nxp,wdog32.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# Copyright (c) 2019 Vestas Wind Systems A/S
22
# SPDX-License-Identifier: Apache-2.0
33

4-
description: Kinetis watchdog (WDOG32)
4+
description: NXP watchdog (WDOG32)
55

6-
compatible: "nxp,kinetis-wdog32"
6+
compatible: "nxp,wdog32"
77

88
include: base.yaml
99

samples/subsys/task_wdt/src/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
#define WDT_NODE DT_COMPAT_GET_ANY_STATUS_OKAY(espressif_esp32_watchdog)
3434
#elif DT_HAS_COMPAT_STATUS_OKAY(silabs_gecko_wdog)
3535
#define WDT_NODE DT_COMPAT_GET_ANY_STATUS_OKAY(silabs_gecko_wdog)
36-
#elif DT_HAS_COMPAT_STATUS_OKAY(nxp_kinetis_wdog32)
37-
#define WDT_NODE DT_COMPAT_GET_ANY_STATUS_OKAY(nxp_kinetis_wdog32)
36+
#elif DT_HAS_COMPAT_STATUS_OKAY(nxp_wdog32)
37+
#define WDT_NODE DT_COMPAT_GET_ANY_STATUS_OKAY(nxp_wdog32)
3838
#elif DT_HAS_COMPAT_STATUS_OKAY(microchip_xec_watchdog)
3939
#define WDT_NODE DT_COMPAT_GET_ANY_STATUS_OKAY(microchip_xec_watchdog)
4040
#else

tests/drivers/watchdog/wdt_basic_api/src/test_wdt.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@
8282
#define WDT_NODE DT_INST(0, espressif_esp32_watchdog)
8383
#elif DT_HAS_COMPAT_STATUS_OKAY(silabs_gecko_wdog)
8484
#define WDT_NODE DT_INST(0, silabs_gecko_wdog)
85-
#elif DT_HAS_COMPAT_STATUS_OKAY(nxp_kinetis_wdog32)
86-
#define WDT_NODE DT_INST(0, nxp_kinetis_wdog32)
85+
#elif DT_HAS_COMPAT_STATUS_OKAY(nxp_wdog32)
86+
#define WDT_NODE DT_INST(0, nxp_wdog32)
8787
#elif DT_HAS_COMPAT_STATUS_OKAY(microchip_xec_watchdog)
8888
#define WDT_NODE DT_INST(0, microchip_xec_watchdog)
8989
#elif DT_HAS_COMPAT_STATUS_OKAY(nuvoton_npcx_watchdog)

0 commit comments

Comments
 (0)