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:
parent
708f08a4be
commit
f51ef0551c
7 changed files with 271 additions and 0 deletions
26
drivers/counter/Kconfig.imx_epit
Normal file
26
drivers/counter/Kconfig.imx_epit
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue