2017-01-11 07:03:07 +08:00
|
|
|
# Kconfig - Atmel ATAES132A configuration options
|
|
|
|
|
|
|
|
#
|
|
|
|
# Copyright (c) 2017 Intel Corporation
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
|
|
|
|
2017-04-25 18:56:14 +08:00
|
|
|
menuconfig CRYPTO_ATAES132A
|
2017-04-25 18:52:55 +08:00
|
|
|
bool "Atmel ATAES132A 32k AES Serial EEPROM support"
|
|
|
|
depends on I2C
|
|
|
|
help
|
|
|
|
Enable Atmel ATAES132A 32k AES Serial EEPROM support.
|
|
|
|
|
2017-04-25 18:56:14 +08:00
|
|
|
if CRYPTO_ATAES132A
|
2017-04-25 18:52:55 +08:00
|
|
|
|
2017-04-25 18:56:14 +08:00
|
|
|
config CRYPTO_ATAES132A_DRV_NAME
|
2017-01-11 07:03:07 +08:00
|
|
|
string "Driver's name"
|
|
|
|
default "ataes132a"
|
|
|
|
help
|
2017-04-25 18:52:55 +08:00
|
|
|
Name for the ATAES132A driver which will be used for binding.
|
2017-01-11 07:03:07 +08:00
|
|
|
|
2017-04-25 18:56:14 +08:00
|
|
|
config CRYPTO_ATAES132A_I2C_PORT_NAME
|
2017-01-11 07:03:07 +08:00
|
|
|
string "I2C master controller port name"
|
|
|
|
default "I2C_0"
|
|
|
|
help
|
2017-04-25 18:52:55 +08:00
|
|
|
Master I2C port name through which ATAES132A chip is accessed.
|
2017-01-11 07:03:07 +08:00
|
|
|
|
2017-04-25 18:56:14 +08:00
|
|
|
config CRYPTO_ATAES132A_I2C_ADDR
|
2017-05-06 06:37:53 +08:00
|
|
|
hex "ATAES132A I2C address"
|
2017-01-11 07:03:07 +08:00
|
|
|
default 0x50
|
|
|
|
help
|
|
|
|
ATAES132A chip's I2C address.
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "ATAES132A I2C bus speed"
|
2017-04-25 18:56:14 +08:00
|
|
|
default CRYPTO_ATAES132A_I2C_SPEED_STANDARD
|
2017-01-11 07:03:07 +08:00
|
|
|
|
2017-04-25 18:56:14 +08:00
|
|
|
config CRYPTO_ATAES132A_I2C_SPEED_STANDARD
|
2017-01-11 07:03:07 +08:00
|
|
|
bool "Standard"
|
|
|
|
help
|
|
|
|
Standard bis speed of up to 100KHz.
|
|
|
|
|
2017-04-25 18:56:14 +08:00
|
|
|
config CRYPTO_ATAES132A_I2C_SPEED_FAST
|
2017-01-11 07:03:07 +08:00
|
|
|
bool "Fast"
|
|
|
|
help
|
|
|
|
Fast bus speed of up to 400KHz.
|
|
|
|
endchoice
|
2017-04-25 18:52:55 +08:00
|
|
|
|
2017-04-25 18:56:14 +08:00
|
|
|
endif # CRYPTO_ATAES132A
|