STRUCTS
OperatingPoint
Defined in fuchsia.hardware.amlogic.metadata/cpu.fidl
Field | Type | Description | Default |
---|---|---|---|
freq_hz |
uint32
|
No default | |
volt_uv |
uint32
|
No default | |
pd_id |
uint32
|
Performance domain ID. |
No default |
PerformanceDomain
Defined in fuchsia.hardware.amlogic.metadata/cpu.fidl
Field | Type | Description | Default |
---|---|---|---|
id |
uint32
|
A unique identifier that maps this performance domain to its operating points. |
No default |
core_count |
uint32
|
Number of logical processors in this performance domain. |
No default |
relative_performance |
uint8
|
An integer in the range [0-255] that defines the relative performance of this domain compared to others in the system. |
No default |
name |
string:32
|
A friendly name for this performance domain. |
No default |
SpiConfig
Defined in fuchsia.hardware.amlogic.metadata/spi.fidl
Field | Type | Description | Default |
---|---|---|---|
bus_id |
uint32
|
No default | |
cs |
vector<uint32>:4
|
The index of the GPIO to use for each SPI device. GPIOs are expected to be fragments named
"gpio-cs-n", where n is the valued stored in |
No default |
clock_divider_register_value |
uint32
|
The clock divider register value (NOT the actual clock divider) to use for SCLK.
If |
No default |
use_enhanced_clock_mode |
bool
|
If true, the SPI driver uses the enhanced clock mode instead of the regular clock mode. |
No default |
client_reverses_dma_transfers |
bool
|
If true, the client is responsible for reversing the endianness of transfers when using DMA. |
No default |
delay_control |
uint32
|
The value to use for the dlyctl field in TESTREG. The default value should work for low-speed peripherals. |
No default |
VoltageTableEntry
Defined in fuchsia.hardware.amlogic.metadata/power.fidl
Field | Type | Description | Default |
---|---|---|---|
microvolt |
uint32
|
No default | |
duty_cycle |
uint32
|
No default |
TABLES
AmlI2cDelayValues
Defined in fuchsia.hardware.amlogic.metadata/i2c.fidl
One struct must be present for each bus managed by this driver. Default register values are preserved if delay values are not set.
Ordinal | Field | Type | Description |
---|---|---|---|
1 |
quarter_clock_delay |
uint16
|
|
2 |
clock_low_delay |
uint16
|
CpuMetadata
Defined in fuchsia.hardware.amlogic.metadata/cpu.fidl
Ordinal | Field | Type | Description |
---|---|---|---|
1 |
performance_domains |
vector<PerformanceDomain>
|
|
2 |
operating_points |
vector<OperatingPoint>
|
PowerMetadata
Defined in fuchsia.hardware.amlogic.metadata/power.fidl
Ordinal | Field | Type | Description |
---|---|---|---|
1 |
voltage_table |
vector<VoltageTableEntry>
|
|
2 |
voltage_pwm_period |
zx/Duration
|
CONSTANTS
Name | Value | Type | Description |
---|---|---|---|
CS_CLIENT_MANAGED |
4294967295
|
uint32 |
|
DEFAULT_DELAY_CONTROL |
21
|
uint32 |
|
MAX_CS_COUNT |
4
|
uint32 |
|
MAX_PERFORMANCE_DOMAIN_NAME_LENGTH |
32
|
uint32 |