2016-02-23 09:10:56 +08:00
|
|
|
# Kconfig - counter configuration options
|
|
|
|
|
|
|
|
#
|
|
|
|
# Copyright (c) 2016 Intel Corporation
|
|
|
|
#
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
|
|
|
#
|
|
|
|
|
|
|
|
menuconfig COUNTER
|
|
|
|
bool "Counter Drivers"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Enable support for counter and timer.
|
2016-03-10 04:00:40 +08:00
|
|
|
|
2016-05-25 07:17:13 +08:00
|
|
|
config AON_COUNTER_QMSI
|
2016-03-10 04:00:40 +08:00
|
|
|
bool
|
|
|
|
prompt "AON counter driver"
|
2016-04-17 07:21:33 +08:00
|
|
|
depends on COUNTER && QMSI
|
2016-03-10 04:00:40 +08:00
|
|
|
default n
|
|
|
|
help
|
|
|
|
Enable support for AON counter.
|
|
|
|
|
|
|
|
config AON_COUNTER_QMSI_DEV_NAME
|
|
|
|
string "QMSI AON Counter Device Name"
|
|
|
|
depends on AON_COUNTER_QMSI
|
|
|
|
default "AON_COUNTER"
|
|
|
|
help
|
|
|
|
Specify the device name for AON counter driver.
|
|
|
|
|
2016-05-25 07:17:13 +08:00
|
|
|
config AON_TIMER_QMSI
|
2016-03-10 04:00:40 +08:00
|
|
|
bool
|
|
|
|
prompt "AON periodic timer driver"
|
2016-04-17 07:21:33 +08:00
|
|
|
depends on COUNTER && QMSI
|
2016-03-10 04:00:40 +08:00
|
|
|
default n
|
|
|
|
help
|
|
|
|
Enable support for AON periodic timer.
|
|
|
|
|
|
|
|
config AON_TIMER_QMSI_DEV_NAME
|
|
|
|
string "QMSI AON Timer Device Name"
|
|
|
|
depends on AON_TIMER_QMSI
|
|
|
|
default "AON_TIMER"
|
|
|
|
help
|
|
|
|
Specify the device name for AON timer driver.
|
|
|
|
|
|
|
|
config AON_TIMER_IRQ_PRI
|
|
|
|
int "Interrupt priority"
|
|
|
|
depends on AON_TIMER_QMSI
|
|
|
|
help
|
|
|
|
aon timer interrupt priority.
|