-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Expand file tree
/
Copy pathKconfig
More file actions
95 lines (78 loc) · 2.47 KB
/
Copy pathKconfig
File metadata and controls
95 lines (78 loc) · 2.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
#
# arch/arm64/src/am62x/Kconfig
#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
if ARCH_CHIP_AM62X
menu "AM62x peripheral support"
config AM62X_TISCI
bool "TISCI system controller (DM/TIFS) client"
default n
---help---
Enable the AM62x TISCI client. On K3 SoCs the A53 does not own
device power, clocks, resets, or interrupt routing; those are
requested from the DM/TIFS firmware over the TISCI protocol via the
secure-proxy mailbox. This driver provides the request helpers used
by peripheral drivers to power on a block, enable its functional
clock, release resets, and route its interrupt to the GIC.
if AM62X_TISCI
config AM62X_TISCI_HOST_ID
int "TISCI host ID"
default 12
---help---
Host ID this core presents to the DM/TIFS firmware. Must match the
host allocation in the firmware boardcfg. 12 is the standard A53
HLOS host on AM62x.
config AM62X_TISCI_RX_THREAD
int "Secure proxy RX (response) thread"
default 12
---help---
Secure-proxy thread the firmware uses to send responses back to this
host.
config AM62X_TISCI_TX_THREAD
int "Secure proxy TX (request) thread"
default 13
---help---
Secure-proxy thread this host uses to send requests to the firmware.
endif # AM62X_TISCI
config AM62X_GPIO
bool "GPIO support"
default n
---help---
Enable the AM62x main-domain GPIO controller driver, including
basic GPIO input/output operations, pad-mux helper support, and
per-pin interrupt callback dispatch for GPIO0/GPIO1.
config AM62X_GPIO_IRQ
bool "GPIO interrupt (GIC) delivery"
depends on AM62X_GPIO
default n
---help---
Enable per-bank GPIO interrupt delivery through the GIC. On AM62x
the GPIO bank interrupts are routed through the main GPIO interrupt
router, which must be programmed over TISCI (RM_IRQ_SET) before the
GIC input line is valid. Until that routing is implemented, leave
this disabled: enabling an unrouted GIC line faults at boot. GPIO
input/output and the callback API still work without it.
config AM62X_I2C0
bool "I2C0 support"
depends on I2C
default n
config AM62X_I2C1
bool "I2C1 support"
depends on I2C
default n
config AM62X_I2C2
bool "I2C2 support"
depends on I2C
default n
config AM62X_I2C3
bool "I2C3 support"
depends on I2C
default n
config AM62X_I2CTIMEOMS
int "I2C transfer timeout milliseconds"
default 500
depends on AM62X_I2C0 || AM62X_I2C1 || AM62X_I2C2 || AM62X_I2C3
endmenu
endif # ARCH_CHIP_AM62X