Skip to content

drivers: timer: microchip: xec: Microchip MEC one kernel timer driver #92479

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions boards/microchip/mec15xxevb_assy6853/mec15xxevb_assy6853.dts
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,6 @@
pinctrl-names = "default";
};

&timer5 {
status = "okay";
};

&ps2_0 {
status = "okay";
pinctrl-0 = <&ps2_clk0b_gpio007 &ps2_dat0b_gpio010>;
Expand Down
4 changes: 0 additions & 4 deletions boards/microchip/mec172xevb_assy6906/mec172xevb_assy6906.dts
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,3 @@
pinctrl-1 = <&ps2_clk0a_gpio114_sleep &ps2_dat0a_gpio115_sleep>;
pinctrl-names = "default", "sleep";
};

&timer5 {
status = "okay";
};
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,3 @@
pinctrl-0 = <&ps2_clk0a_gpio114 &ps2_dat0a_gpio115>;
pinctrl-names = "default";
};

&timer5 {
status = "okay";
};
7 changes: 0 additions & 7 deletions boards/microchip/mec_assy6941/mec_assy6941_mec1743_qlj.dts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
zephyr,sram = &sram0;
zephyr,flash = &flash0;
zephyr,console = &uart1;
rtimer-busy-wait-timer = &timer5;
};

power-states {
Expand Down Expand Up @@ -48,12 +47,6 @@

/* Enable MCHP kernel timer driver using 32KHz RTOS timer and 1MHz basic timer */
&rtimer {
compatible = "microchip,mec5-ktimer";
status = "okay";
};

/* We chose 32-bit basic timer 5 for use by ktimer */
&timer5 {
status = "okay";
};

Expand Down
7 changes: 0 additions & 7 deletions boards/microchip/mec_assy6941/mec_assy6941_mec1743_qsz.dts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
zephyr,sram = &sram0;
zephyr,flash = &flash0;
zephyr,console = &uart1;
rtimer-busy-wait-timer = &timer5;
};

power-states {
Expand Down Expand Up @@ -48,12 +47,6 @@

/* Enable MCHP kernel timer driver using 32KHz RTOS timer and 1MHz basic timer */
&rtimer {
compatible = "microchip,mec5-ktimer";
status = "okay";
};

/* We chose 32-bit basic timer 5 for use by ktimer */
&timer5 {
status = "okay";
};

Expand Down
7 changes: 0 additions & 7 deletions boards/microchip/mec_assy6941/mec_assy6941_mec1753_qlj.dts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
zephyr,sram = &sram0;
zephyr,flash = &flash0;
zephyr,console = &uart1;
rtimer-busy-wait-timer = &timer5;
};

power-states {
Expand Down Expand Up @@ -48,12 +47,6 @@

/* Enable MCHP kernel timer driver using 32KHz RTOS timer and 1MHz basic timer */
&rtimer {
compatible = "microchip,mec5-ktimer";
status = "okay";
};

/* We chose 32-bit basic timer 5 for use by ktimer */
&timer5 {
status = "okay";
};

Expand Down
7 changes: 0 additions & 7 deletions boards/microchip/mec_assy6941/mec_assy6941_mec1753_qsz.dts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
zephyr,sram = &sram0;
zephyr,flash = &flash0;
zephyr,console = &uart1;
rtimer-busy-wait-timer = &timer5;
};

power-states {
Expand Down Expand Up @@ -48,12 +47,6 @@

/* Enable MCHP kernel timer driver using 32KHz RTOS timer and 1MHz basic timer */
&rtimer {
compatible = "microchip,mec5-ktimer";
status = "okay";
};

/* We chose 32-bit basic timer 5 for use by ktimer */
&timer5 {
status = "okay";
};

Expand Down
1 change: 0 additions & 1 deletion drivers/timer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ zephyr_library_sources_ifdef(CONFIG_ITE_IT51XXX_TIMER ite_it51xxx_timer.c)
zephyr_library_sources_ifdef(CONFIG_ITE_IT8XXX2_TIMER ite_it8xxx2_timer.c)
zephyr_library_sources_ifdef(CONFIG_LEON_GPTIMER leon_gptimer.c)
zephyr_library_sources_ifdef(CONFIG_LITEX_TIMER litex_timer.c)
zephyr_library_sources_ifdef(CONFIG_MCHP_MEC5_KTIMER mchp_mec5_ktimer.c)
zephyr_library_sources_ifdef(CONFIG_MCHP_XEC_RTOS_TIMER mchp_xec_rtos_timer.c)
zephyr_library_sources_ifdef(CONFIG_MCHP_SAM_PIT64B_TIMER mchp_sam_pit64b_timer.c)
zephyr_library_sources_ifdef(CONFIG_MCUX_LPTMR_TIMER mcux_lptmr_timer.c)
Expand Down
1 change: 0 additions & 1 deletion drivers/timer/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ source "drivers/timer/Kconfig.mchp_sam"
source "drivers/timer/Kconfig.mcux_gpt"
source "drivers/timer/Kconfig.mcux_lptmr"
source "drivers/timer/Kconfig.mcux_os"
source "drivers/timer/Kconfig.mec5"
source "drivers/timer/Kconfig.mips_cp0"
source "drivers/timer/Kconfig.native_sim"
source "drivers/timer/Kconfig.npcx_itim"
Expand Down
17 changes: 0 additions & 17 deletions drivers/timer/Kconfig.mec5

This file was deleted.

Loading