imx: Add IMX EPIT driver for i.MX socs

Add shim driver for i.MX EPIT (Enhanced Periodic Interrupt Timer)
peripheral which can be used for i.MX6SoloX, i.MX7D and other i.MX socs.

Origin: Original

Signed-off-by: Stanislav Poboril <stanislav.poboril@nxp.com>
This commit is contained in:
Stanislav Poboril 2018-11-16 16:34:48 +01:00 committed by Anas Nashif
commit f51ef0551c
7 changed files with 271 additions and 0 deletions

View file

@ -0,0 +1,26 @@
# Kconfig.imx_epit - IMX EPIT configuration options
#
# Copyright (c) 2018, NXP
#
# SPDX-License-Identifier: Apache-2.0
#
config COUNTER_IMX_EPIT
bool "IMX EPIT driver"
depends on COUNTER && HAS_IMX_EPIT
help
Enable the IMX EPIT driver.
if COUNTER_IMX_EPIT
config COUNTER_IMX_EPIT_1
bool "Counter 1"
help
Enable Counter 1.
config COUNTER_IMX_EPIT_2
bool "Counter 2"
help
Enable Counter 2.
endif # COUNTER_IMX_EPIT