dts: bindings: rename nxp,kinetis-adc12 compatible
Rename "nxp,kinetis-adc12" compatible to "nxp,adc12" to remove the device family from its name. Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
This commit is contained in:
parent
959f67b146
commit
2f7402d14a
7 changed files with 11 additions and 11 deletions
|
@ -6,7 +6,7 @@
|
|||
config ADC_MCUX_ADC12
|
||||
bool "MCUX ADC12 driver"
|
||||
default y
|
||||
depends on DT_HAS_NXP_KINETIS_ADC12_ENABLED
|
||||
depends on DT_HAS_NXP_ADC12_ENABLED
|
||||
select PINCTRL
|
||||
help
|
||||
Enable the MCUX ADC12 driver.
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#define DT_DRV_COMPAT nxp_kinetis_adc12
|
||||
#define DT_DRV_COMPAT nxp_adc12
|
||||
|
||||
#include <zephyr/drivers/adc.h>
|
||||
#include <fsl_adc12.h>
|
||||
|
|
|
@ -103,7 +103,7 @@ static struct adc_hdl {
|
|||
DT_FOREACH_STATUS_OKAY(nordic_nrf_saadc, ADC_HDL_LIST_ENTRY)
|
||||
DT_FOREACH_STATUS_OKAY(nuvoton_npcx_adc, ADC_HDL_LIST_ENTRY)
|
||||
DT_FOREACH_STATUS_OKAY(nuvoton_numaker_adc, ADC_HDL_LIST_ENTRY)
|
||||
DT_FOREACH_STATUS_OKAY(nxp_kinetis_adc12, ADC_HDL_LIST_ENTRY)
|
||||
DT_FOREACH_STATUS_OKAY(nxp_adc12, ADC_HDL_LIST_ENTRY)
|
||||
DT_FOREACH_STATUS_OKAY(nxp_kinetis_adc16, ADC_HDL_LIST_ENTRY)
|
||||
DT_FOREACH_STATUS_OKAY(nxp_lpc_lpadc, ADC_HDL_LIST_ENTRY)
|
||||
DT_FOREACH_STATUS_OKAY(nxp_mcux_12b1msps_sar, ADC_HDL_LIST_ENTRY)
|
||||
|
|
|
@ -502,7 +502,7 @@
|
|||
};
|
||||
|
||||
adc0: adc@4003b000 {
|
||||
compatible = "nxp,kinetis-adc12";
|
||||
compatible = "nxp,adc12";
|
||||
reg = <0x4003b000 0x1000>;
|
||||
interrupts = <39 0>;
|
||||
clocks = <&pcc 0xec KINETIS_PCC_SRC_FIRC_ASYNC>;
|
||||
|
@ -513,7 +513,7 @@
|
|||
};
|
||||
|
||||
adc1: adc@40027000 {
|
||||
compatible = "nxp,kinetis-adc12";
|
||||
compatible = "nxp,adc12";
|
||||
reg = <0x40027000 0x1000>;
|
||||
interrupts = <73 0>;
|
||||
clocks = <&pcc 0x9c KINETIS_PCC_SRC_FIRC_ASYNC>;
|
||||
|
@ -524,7 +524,7 @@
|
|||
};
|
||||
|
||||
adc2: adc@4003c000 {
|
||||
compatible = "nxp,kinetis-adc12";
|
||||
compatible = "nxp,adc12";
|
||||
reg = <0x4003c000 0x1000>;
|
||||
interrupts = <74 0>;
|
||||
clocks = <&pcc 0xf0 KINETIS_PCC_SRC_FIRC_ASYNC>;
|
||||
|
|
|
@ -142,7 +142,7 @@
|
|||
};
|
||||
|
||||
adc0: adc@4003b000 {
|
||||
compatible = "nxp,kinetis-adc12";
|
||||
compatible = "nxp,adc12";
|
||||
reg = <0x4003b000 0x1000>;
|
||||
interrupts = <15 0>;
|
||||
clocks = <&pcc 0xec KINETIS_PCC_SRC_SIRC_ASYNC>;
|
||||
|
|
|
@ -328,7 +328,7 @@
|
|||
};
|
||||
|
||||
adc0: adc@4003b000 {
|
||||
compatible = "nxp,kinetis-adc12";
|
||||
compatible = "nxp,adc12";
|
||||
reg = <0x4003b000 0x1000>;
|
||||
interrupts = <39 0>;
|
||||
clk-source = <0>;
|
||||
|
@ -339,7 +339,7 @@
|
|||
};
|
||||
|
||||
adc1: adc@40027000 {
|
||||
compatible = "nxp,kinetis-adc12";
|
||||
compatible = "nxp,adc12";
|
||||
reg = <0x40027000 0x1000>;
|
||||
interrupts = <40 0>;
|
||||
clk-source = <0>;
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
# Copyright (c) 2019 Vestas Wind Systems A/S
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
description: NXP Kinetis ADC12
|
||||
description: NXP ADC12
|
||||
|
||||
compatible: "nxp,kinetis-adc12"
|
||||
compatible: "nxp,adc12"
|
||||
|
||||
include: [adc-controller.yaml, pinctrl-device.yaml]
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue