driver/counter: Add support for Microchip's XEC basic timer devices
Such basic timer is found on MEC150x for instance. Since instances have dedicated data, let's define specifice instance based on unique DT base address definition. Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com> Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
parent
5a09a51e31
commit
41c93a589c
5 changed files with 455 additions and 0 deletions
13
drivers/counter/Kconfig.xec
Normal file
13
drivers/counter/Kconfig.xec
Normal file
|
@ -0,0 +1,13 @@
|
|||
# Kconfig.xec - XEC counter configuration options
|
||||
#
|
||||
# Copyright (c) 2019 Intel Corporation
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
config COUNTER_XEC
|
||||
bool "Microchip XEC series counter driver"
|
||||
depends on SOC_FAMILY_MEC
|
||||
help
|
||||
Enable counter driver for Microchip XEC MCU series. Such driver
|
||||
will expose the basic timer devices present on the MCU.
|
Loading…
Add table
Add a link
Reference in a new issue