blob: d4bcdec2e0d62d4a2fcf563d984df04b3f22545f [file] [log] [blame]
# Kconfig.k64 - K64 SPI driver configuration options
#
#
# Copyright (c) 2016 Intel Corporation
# Copyright (c) 2016 Wind River Systems, Inc.
#
# 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 SPI_K64
bool
prompt "Freescale K64-based SPI controller driver"
depends on SPI && SOC_MK64F12
default n
help
Enable support for Freescale K64-based SPI controllers.
if SPI_K64
config SPI_K64_0
bool "Freescale K64-based SPI Module 0"
depends on SPI_K64
default n
help
Enable config options for Freescale K64-based SPI Module 0.
config SPI_K64_0_DEV_NAME
string "Freescale K64-based SPI Module 0 device name"
depends on SPI_K64_0
default "SPI_K64_0"
help
Specify the device name.
config SPI_K64_0_PRI
int "Freescale K64-based SPI Module 0 interrupt priority"
depends on SPI_K64_0
default 2
help
K64 SPI Module 0 IRQ priority
config SPI_K64_1
bool "Freescale K64-based SPI Module 1"
depends on SPI_K64
default n
help
Enable config options for Freescale K64-based SPI Module 1.
config SPI_K64_1_DEV_NAME
string "Freescale K64-based SPI Module 1 device name"
depends on SPI_K64_1
default "SPI_K64_1"
help
Specify the device name.
config SPI_K64_1_PRI
int "Freescale K64-based SPI Module 1 interrupt priority"
depends on SPI_K64_1
default 2
help
K64 SPI Module 1 IRQ priority
config SPI_K64_2
bool "Freescale K64-based SPI Module 2"
depends on SPI_K64
default n
help
Enable config options for Freescale K64-based SPI Module 2.
config SPI_K64_2_DEV_NAME
string "Freescale K64-based SPI Module 2 device name"
depends on SPI_K64_2
default "SPI_K64_2"
help
Specify the device name.
config SPI_K64_2_PRI
int "Freescale K64-based SPI Module 2 interrupt priority"
depends on SPI_K64_2
default 2
help
K64 SPI Module 0 IRQ priority
endif # SPI_K64