Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
6220161
dts: arm: adi: Add Timer instance to MAX32655
ozersa Nov 15, 2023
60b5c58
dts: arm: adi: Add MAX32690 timer instances
hfakkiz Jan 2, 2024
3a9deb4
dts: arm: adi: Add MAX32670 timer instances
mertekren Jan 28, 2024
2f3a482
dts: arm: adi: Add MAX32672 timer instances
hfakkiz Jan 23, 2024
5aa84d4
dts: arm: adi: max32680 Add extra timer peripherals
ttmut Jan 24, 2024
d415524
dts: arm: adi: Add MAX32675 extra timer instance
mertekren Jan 28, 2024
2793fb8
dts: arm: adi: Add MAX32666 timer instance
ozersa Dec 21, 2023
5512d0d
dts: arm: adi: Add MAX32662 timer instances
hfakkiz Jan 22, 2024
ae70ed7
dts: arm: adi: Add MAX32655 timer counter instances
ozersa May 14, 2024
8580cc7
dts: arm: adi: Add timer counter instance for MAX32690
ozersa May 14, 2024
f5bde24
dts: arm: adi: Add timer counter instance to MAX32670
ozersa May 14, 2024
7bebd00
dts: arm: adi: Add timer counter instance for MAX32672
ozersa Aug 1, 2024
74215b7
dts: arm: adi: Add timer counter instance for MAX32680
ozersa Aug 1, 2024
b6fd984
dts: arm: adi: Add timer counter instance for MAX32662
ozersa Sep 9, 2024
4f54554
drivers: counter: Add MAX32xxx counter driver
ozersa Mar 15, 2024
7fa5c67
boards: arm: Add counter in MAX32655 driver list
ozersa Mar 15, 2024
8f65032
boards: arm: Add counter in MAX32690 driver list
ozersa May 14, 2024
e17943f
boards: arm: Add counter in MAX32670 driver list
ozersa May 14, 2024
d0bf281
boards: arm: Add counter in MAX32672 driver list
ozersa Aug 1, 2024
efb8cb5
boards: arm: Add counter in MAX32680 driver list
ozersa Aug 1, 2024
45480e9
boards: arm: Add counter in MAX32666 driver list
ozersa May 14, 2024
a6cdf47
boards: arm: Add counter in MAX32662 driver list
ozersa Sep 9, 2024
60709a9
tests: drivers: counter: Enable counter test for MAX32662EVKIT
ozersa Sep 9, 2024
e342b7c
tests: drivers: counter: Enable counter test for MAX32655
ozersa Mar 18, 2024
c3012d7
tests: drivers: counter: Enable counter test for MAX3290
ozersa May 14, 2024
b06f019
tests: drivers: counter: Enable counter test for MAX32670
ozersa May 14, 2024
88ee553
tests: drivers: counter: Enable counter test for MAX32672
ozersa Aug 1, 2024
009b6d7
tests: drivers: counter: Enable counter test for MAX32680EVKIT
karaanil Jul 12, 2024
df158aa
tests: drivers: counter: Enable counter test for MAX32666
ozersa May 14, 2024
6b88382
samples: drivers: counter: Enable it for MAX32 MCUs
karaanil Jul 2, 2024
301ae78
samples: drivers: counter: Add MAX32 MCUs overlay files
ozersa Aug 15, 2024
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
1 change: 1 addition & 0 deletions boards/adi/apard32690/apard32690_max32690_m4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@ supported:
- serial
- spi
- trng
- counter
ram: 1024
flash: 3072
2 changes: 2 additions & 0 deletions boards/adi/apard32690/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ Below interfaces are supported by Zephyr on APARD32690.
+-----------+------------+------------------------------------+
| TRNG | on-chip | entropy |
+-----------+------------+------------------------------------+
| Timer | on-chip | counter |
+-----------+------------+------------------------------------+


Connections and IOs
Expand Down
2 changes: 2 additions & 0 deletions boards/adi/max32655evkit/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ Below are the interfaces supported by Zephyr on MAX32655EVKIT.
+-----------+------------+-------------------------------------+
| ADC | on-chip | adc |
+-----------+------------+-------------------------------------+
| Timer | on-chip | counter |
+-----------+------------+-------------------------------------+

Connections and IOs
===================
Expand Down
1 change: 1 addition & 0 deletions boards/adi/max32655evkit/max32655evkit_max32655_m4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ supported:
- watchdog
- spi
- adc
- counter
ram: 128
flash: 512
2 changes: 2 additions & 0 deletions boards/adi/max32655fthr/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ Below are the interfaces supported by Zephyr on MAX32655FTHR.
+-----------+------------+-------------------------------------+
| ADC | on-chip | adc |
+-----------+------------+-------------------------------------+
| Timer | on-chip | counter |
+-----------+------------+-------------------------------------+

Push Buttons
************
Expand Down
1 change: 1 addition & 0 deletions boards/adi/max32655fthr/max32655fthr_max32655_m4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ supported:
- watchdog
- spi
- adc
- counter
ram: 128
flash: 512
2 changes: 2 additions & 0 deletions boards/adi/max32662evkit/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ Below interfaces are supported by Zephyr on MAX32662EVKIT.
+-----------+------------+-------------------------------------+
| ADC | on-chip | adc |
+-----------+------------+-------------------------------------+
| Timer | on-chip | counter |
+-----------+------------+-------------------------------------+

Connections and IOs
===================
Expand Down
1 change: 1 addition & 0 deletions boards/adi/max32662evkit/max32662evkit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ supported:
- watchdog
- spi
- adc
- counter
ram: 80
flash: 256
2 changes: 2 additions & 0 deletions boards/adi/max32666evkit/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ Below interfaces are supported by Zephyr on MAX32666EVKIT.
+-----------+------------+-------------------------------------+
| ADC | on-chip | adc |
+-----------+------------+-------------------------------------+
| Timer | on-chip | counter |
+-----------+------------+-------------------------------------+


Connections and IOs
Expand Down
1 change: 1 addition & 0 deletions boards/adi/max32666evkit/max32666evkit_max32666_cpu0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@ supported:
- trng
- watchdog
- adc
- counter
ram: 560
flash: 1024
2 changes: 2 additions & 0 deletions boards/adi/max32666fthr/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ Below interfaces are supported by Zephyr on MAX32666FTHR.
+-----------+------------+-------------------------------------+
| ADC | on-chip | adc |
+-----------+------------+-------------------------------------+
| Timer | on-chip | counter |
+-----------+------------+-------------------------------------+

Connections and IOs
===================
Expand Down
1 change: 1 addition & 0 deletions boards/adi/max32666fthr/max32666fthr_max32666_cpu0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ supported:
- watchdog
- spi
- adc
- counter
ram: 560
flash: 1024
2 changes: 2 additions & 0 deletions boards/adi/max32670evkit/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ Below interfaces are supported by Zephyr on MAX32670EVKIT.
+-----------+------------+-------------------------------------+
| SPI | on-chip | spi |
+-----------+------------+-------------------------------------+
| Timer | on-chip | counter |
+-----------+------------+-------------------------------------+

Connections and IOs
===================
Expand Down
1 change: 1 addition & 0 deletions boards/adi/max32670evkit/max32670evkit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@ supported:
- dma
- watchdog
- spi
- counter
ram: 160
flash: 384
2 changes: 2 additions & 0 deletions boards/adi/max32672evkit/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ Below interfaces are supported by Zephyr on MAX32672EVKIT.
+-----------+------------+-------------------------------------+
| ADC | on-chip | adc |
+-----------+------------+-------------------------------------+
| Timer | on-chip | counter |
+-----------+------------+-------------------------------------+


Connections and IOs
Expand Down
1 change: 1 addition & 0 deletions boards/adi/max32672evkit/max32672evkit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ supported:
- watchdog
- spi
- adc
- counter
ram: 200
flash: 1024
2 changes: 2 additions & 0 deletions boards/adi/max32672fthr/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ Below interfaces are supported by Zephyr on MAX32672FTHR.
+-----------+------------+-------------------------------------+
| ADC | on-chip | adc |
+-----------+------------+-------------------------------------+
| Timer | on-chip | counter |
+-----------+------------+-------------------------------------+


Connections and IOs
Expand Down
1 change: 1 addition & 0 deletions boards/adi/max32672fthr/max32672fthr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ supported:
- watchdog
- spi
- adc
- counter
ram: 200
flash: 1024
2 changes: 2 additions & 0 deletions boards/adi/max32680evkit/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ Below interfaces are supported by Zephyr on MAX32680EVKIT.
+-----------+------------+-------------------------------------+
| ADC | on-chip | adc |
+-----------+------------+-------------------------------------+
| Timer | on-chip | counter |
+-----------+------------+-------------------------------------+

Connections and IOs
===================
Expand Down
1 change: 1 addition & 0 deletions boards/adi/max32680evkit/max32680evkit_max32680_m4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ supported:
- watchdog
- spi
- adc
- counter
ram: 128
flash: 512
2 changes: 2 additions & 0 deletions boards/adi/max32690evkit/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ Below interfaces are supported by Zephyr on MAX32690EVKIT.
+-----------+------------+-------------------------------------+
| ADC | on-chip | adc |
+-----------+------------+-------------------------------------+
| Timer | on-chip | counter |
+-----------+------------+-------------------------------------+


Connections and IOs
Expand Down
1 change: 1 addition & 0 deletions boards/adi/max32690evkit/max32690evkit_max32690_m4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ supported:
- dma
- watchdog
- adc
- counter
ram: 1024
flash: 3072
1 change: 1 addition & 0 deletions drivers/counter/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,5 @@ zephyr_library_sources_ifdef(CONFIG_COUNTER_TIMER_GD32 counter_gd32_tim
zephyr_library_sources_ifdef(CONFIG_COUNTER_SNPS_DW counter_dw_timer.c)
zephyr_library_sources_ifdef(CONFIG_COUNTER_SHELL counter_timer_shell.c)
zephyr_library_sources_ifdef(CONFIG_COUNTER_TIMER_RPI_PICO counter_rpi_pico_timer.c)
zephyr_library_sources_ifdef(CONFIG_COUNTER_TIMER_MAX32 counter_max32_timer.c)
zephyr_library_sources_ifdef(CONFIG_COUNTER_NXP_MRT counter_nxp_mrt.c)
2 changes: 2 additions & 0 deletions drivers/counter/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ source "drivers/counter/Kconfig.dw"

source "drivers/counter/Kconfig.rpi_pico"

source "drivers/counter/Kconfig.max32_timer"

source "drivers/counter/Kconfig.nxp_mrt"

endif # COUNTER
9 changes: 9 additions & 0 deletions drivers/counter/Kconfig.max32_timer
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Copyright (c) 2024 Analog Devices, Inc.
# SPDX-License-Identifier: Apache-2.0

config COUNTER_TIMER_MAX32
bool "MAX32xxx counter driver"
default y
depends on DT_HAS_ADI_MAX32_COUNTER_ENABLED
help
Enable the counter driver for MAX32 MCUs.
Loading