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:
Tomasz Bursztyka 2019-06-07 15:16:47 +02:00 committed by Andrew Boie
commit 41c93a589c
5 changed files with 455 additions and 0 deletions

View 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.