zephyr/drivers/crypto/Kconfig.ataes132a

52 lines
1023 B
Plaintext

# Kconfig - Atmel ATAES132A configuration options
#
# Copyright (c) 2017 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
#
menuconfig ATAES132A
bool "Atmel ATAES132A 32k AES Serial EEPROM support"
depends on I2C
default n
help
Enable Atmel ATAES132A 32k AES Serial EEPROM support.
if ATAES132A
config ATAES132A_DRV_NAME
string "Driver's name"
default "ataes132a"
help
Name for the ATAES132A driver which will be used for binding.
config ATAES132A_I2C_PORT_NAME
string "I2C master controller port name"
default "I2C_0"
help
Master I2C port name through which ATAES132A chip is accessed.
config ATAES132A_I2C_ADDR
hex "ATAES132A I2C addess"
default 0x50
help
ATAES132A chip's I2C address.
choice
prompt "ATAES132A I2C bus speed"
default ATAES132A_I2C_SPEED_STANDARD
config ATAES132A_I2C_SPEED_STANDARD
bool "Standard"
help
Standard bis speed of up to 100KHz.
config ATAES132A_I2C_SPEED_FAST
bool "Fast"
help
Fast bus speed of up to 400KHz.
endchoice
endif # ATAES132A