dts: bindings: rename nxp,kinetis-ftm-pwm compatible
Rename "nxp,kinetis-ftm-pwm" compatible to "nxp,ftm-pwm" to remove the device family from its name. Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
This commit is contained in:
parent
7c112e487c
commit
c16ccf8e7d
16 changed files with 25 additions and 25 deletions
|
|
@ -153,7 +153,7 @@ arduino_spi: &spi0 {
|
|||
|
||||
&ftm0 {
|
||||
status = "okay";
|
||||
compatible = "nxp,kinetis-ftm-pwm";
|
||||
compatible = "nxp,ftm-pwm";
|
||||
#pwm-cells = <3>;
|
||||
pinctrl-0 = <&ftm0_default>;
|
||||
pinctrl-names = "default";
|
||||
|
|
|
|||
|
|
@ -172,7 +172,7 @@ arduino_spi: &spi0 {
|
|||
|
||||
&ftm0 {
|
||||
status = "okay";
|
||||
compatible = "nxp,kinetis-ftm-pwm";
|
||||
compatible = "nxp,ftm-pwm";
|
||||
#pwm-cells = <3>;
|
||||
pinctrl-0 = <&ftm0_default>;
|
||||
pinctrl-names = "default";
|
||||
|
|
@ -181,7 +181,7 @@ arduino_spi: &spi0 {
|
|||
|
||||
&ftm3 {
|
||||
status = "okay";
|
||||
compatible = "nxp,kinetis-ftm-pwm";
|
||||
compatible = "nxp,ftm-pwm";
|
||||
#pwm-cells = <3>;
|
||||
pinctrl-0 = <&ftm3_default>;
|
||||
pinctrl-names = "default";
|
||||
|
|
|
|||
|
|
@ -206,7 +206,7 @@
|
|||
|
||||
&ftm3 {
|
||||
status = "okay";
|
||||
compatible = "nxp,kinetis-ftm-pwm";
|
||||
compatible = "nxp,ftm-pwm";
|
||||
#pwm-cells = <3>;
|
||||
pinctrl-0 = <&ftm3_default>;
|
||||
pinctrl-names = "default";
|
||||
|
|
|
|||
|
|
@ -126,7 +126,7 @@
|
|||
|
||||
&ftm2 {
|
||||
status = "okay";
|
||||
compatible = "nxp,kinetis-ftm-pwm";
|
||||
compatible = "nxp,ftm-pwm";
|
||||
#pwm-cells = <3>;
|
||||
clocks = <&scg KINETIS_SCG_SIRC_CLK>;
|
||||
prescaler = <128>;
|
||||
|
|
|
|||
|
|
@ -143,7 +143,7 @@
|
|||
|
||||
&ftm2 {
|
||||
status = "okay";
|
||||
compatible = "nxp,kinetis-ftm-pwm";
|
||||
compatible = "nxp,ftm-pwm";
|
||||
#pwm-cells = <3>;
|
||||
clocks = <&scg KINETIS_SCG_SIRC_CLK>;
|
||||
prescaler = <128>;
|
||||
|
|
|
|||
|
|
@ -103,7 +103,7 @@
|
|||
|
||||
&ftm3 {
|
||||
status = "okay";
|
||||
compatible = "nxp,kinetis-ftm-pwm";
|
||||
compatible = "nxp,ftm-pwm";
|
||||
#pwm-cells = <3>;
|
||||
pinctrl-0 = <&ftm3_default>;
|
||||
pinctrl-names = "default";
|
||||
|
|
|
|||
|
|
@ -142,7 +142,7 @@
|
|||
/* PWM header is powered by FlexTimer 0 for channels 1 to 4 */
|
||||
&ftm0 {
|
||||
status = "okay";
|
||||
compatible = "nxp,kinetis-ftm-pwm";
|
||||
compatible = "nxp,ftm-pwm";
|
||||
#pwm-cells = <3>;
|
||||
pinctrl-0 = <&ftm0_default>;
|
||||
pinctrl-names = "default";
|
||||
|
|
@ -153,7 +153,7 @@
|
|||
/* RGB LED powered by FlexTimer 3, and PWM headers for channel 5 and 6 */
|
||||
&ftm3 {
|
||||
status = "okay";
|
||||
compatible = "nxp,kinetis-ftm-pwm";
|
||||
compatible = "nxp,ftm-pwm";
|
||||
#pwm-cells = <3>;
|
||||
pinctrl-0 = <&ftm3_default>;
|
||||
pinctrl-names = "default";
|
||||
|
|
|
|||
|
|
@ -224,7 +224,7 @@
|
|||
|
||||
&ftm0 {
|
||||
status = "okay";
|
||||
compatible = "nxp,kinetis-ftm-pwm";
|
||||
compatible = "nxp,ftm-pwm";
|
||||
#pwm-cells = <3>;
|
||||
pinctrl-0 = <&ftm0_default>;
|
||||
pinctrl-names = "default";
|
||||
|
|
@ -233,7 +233,7 @@
|
|||
|
||||
&ftm3 {
|
||||
status = "okay";
|
||||
compatible = "nxp,kinetis-ftm-pwm";
|
||||
compatible = "nxp,ftm-pwm";
|
||||
#pwm-cells = <3>;
|
||||
pinctrl-0 = <&ftm3_default>;
|
||||
pinctrl-names = "default";
|
||||
|
|
|
|||
|
|
@ -150,7 +150,7 @@
|
|||
};
|
||||
|
||||
&ftm0 {
|
||||
compatible = "nxp,kinetis-ftm-pwm";
|
||||
compatible = "nxp,ftm-pwm";
|
||||
pinctrl-0 = <&ftm0_default>;
|
||||
pinctrl-names = "default";
|
||||
clock-source = "system";
|
||||
|
|
@ -160,7 +160,7 @@
|
|||
};
|
||||
|
||||
&ftm1 {
|
||||
compatible = "nxp,kinetis-ftm-pwm";
|
||||
compatible = "nxp,ftm-pwm";
|
||||
pinctrl-0 = <&ftm1_default>;
|
||||
pinctrl-names = "default";
|
||||
clock-source = "system";
|
||||
|
|
@ -170,7 +170,7 @@
|
|||
};
|
||||
|
||||
&ftm2 {
|
||||
compatible = "nxp,kinetis-ftm-pwm";
|
||||
compatible = "nxp,ftm-pwm";
|
||||
pinctrl-0 = <&ftm2_default>;
|
||||
pinctrl-names = "default";
|
||||
clock-source = "system";
|
||||
|
|
|
|||
|
|
@ -6,10 +6,10 @@
|
|||
config PWM_MCUX_FTM
|
||||
bool "MCUX FTM PWM driver"
|
||||
default y
|
||||
depends on DT_HAS_NXP_KINETIS_FTM_PWM_ENABLED
|
||||
depends on DT_HAS_NXP_FTM_PWM_ENABLED
|
||||
select PINCTRL
|
||||
help
|
||||
Enable support for mcux ftm pwm driver.
|
||||
Enable support for MCUX FTM PWM driver.
|
||||
|
||||
config PWM_CAPTURE_MCUX_FTM_FILTER_VALUE
|
||||
int "MCUX FTM PWM capture filter value"
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#define DT_DRV_COMPAT nxp_kinetis_ftm_pwm
|
||||
#define DT_DRV_COMPAT nxp_ftm_pwm
|
||||
|
||||
#include <zephyr/drivers/clock_control.h>
|
||||
#include <errno.h>
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
# Copyright 2017, 2024 NXP
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
description: Kinetis FTM PWM
|
||||
description: NXP FlexTimer Module (FTM) PWM controller
|
||||
|
||||
compatible: "nxp,kinetis-ftm-pwm"
|
||||
compatible: "nxp,ftm-pwm"
|
||||
|
||||
include: [pwm-controller.yaml, "nxp,kinetis-ftm.yaml", "pinctrl-device.yaml"]
|
||||
include: [pwm-controller.yaml, "nxp,ftm.yaml", "pinctrl-device.yaml"]
|
||||
|
||||
properties:
|
||||
"#pwm-cells":
|
||||
|
|
@ -47,8 +47,8 @@
|
|||
#elif DT_HAS_COMPAT_STATUS_OKAY(xlnx_xps_timer_1_00_a_pwm)
|
||||
#define PWM_DEV_NODE DT_INST(0, xlnx_xps_timer_1_00_a_pwm)
|
||||
|
||||
#elif DT_HAS_COMPAT_STATUS_OKAY(nxp_kinetis_ftm_pwm)
|
||||
#define PWM_DEV_NODE DT_INST(0, nxp_kinetis_ftm_pwm)
|
||||
#elif DT_HAS_COMPAT_STATUS_OKAY(nxp_ftm_pwm)
|
||||
#define PWM_DEV_NODE DT_INST(0, nxp_ftm_pwm)
|
||||
|
||||
#elif DT_HAS_COMPAT_STATUS_OKAY(intel_blinky_pwm)
|
||||
#define PWM_DEV_NODE DT_INST(0, intel_blinky_pwm)
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@
|
|||
|
||||
&ftm0 {
|
||||
status = "okay";
|
||||
compatible = "nxp,kinetis-ftm-pwm";
|
||||
compatible = "nxp,ftm-pwm";
|
||||
clocks = <&scg KINETIS_SCG_SIRC_CLK>;
|
||||
prescaler = <128>;
|
||||
#pwm-cells = <3>;
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@
|
|||
|
||||
&ftm0 {
|
||||
status = "okay";
|
||||
compatible = "nxp,kinetis-ftm-pwm";
|
||||
compatible = "nxp,ftm-pwm";
|
||||
clocks = <&scg KINETIS_SCG_SIRC_CLK>;
|
||||
prescaler = <128>;
|
||||
#pwm-cells = <3>;
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@
|
|||
|
||||
&ftm2 {
|
||||
status = "okay";
|
||||
compatible = "nxp,kinetis-ftm-pwm";
|
||||
compatible = "nxp,ftm-pwm";
|
||||
prescaler = <128>;
|
||||
#pwm-cells = <3>;
|
||||
pinctrl-0 = <&ftm2_default>;
|
||||
|
|
|
|||
Loading…
Reference in a new issue