infineon,autanalog-ac-state
Description
Infineon AutAnalog Autonomous Controller (AC) State Transition Table entry.
Each node with this compatible represents one state in the AC State Transition
Table (STT). The node is referenced by phandle from the parent autanalog
device's ac-states property, which determines the state's index in the table.
This binding covers all sub-peripheral STT fields: AC, SAR, CTB (×2),
PTCOMP, and DAC (×2). All properties default to 0, so only the fields
relevant to a particular state need to be specified.
Use constants from <dt-bindings/mfd/infineon-autanalog.h> for condition,
action, GPIO output, CTB gain, and DAC direction values.
Properties
Properties not inherited from the base binding file.
Name |
Type |
Details |
|---|---|---|
|
|
AC unlock flag (0 or 1).
When set to 1, the AC is unlocked (allowed to modify config) in this state.
|
|
|
Low-power mode flag (0 or 1).
When set to 1, the sub-system enters low-power mode in this state.
|
|
|
AC condition code. Use IFX_AUTANALOG_AC_COND_* constants
from <dt-bindings/mfd/infineon-autanalog.h>.
Default: FALSE (0).
|
|
|
AC action code. Use IFX_AUTANALOG_AC_ACTION_* constants
from <dt-bindings/mfd/infineon-autanalog.h>.
Default: STOP (0).
|
|
|
Branch target state index (0-63) within the ac-states list.
Used when the action is a BRANCH_* or WAIT_FOR type.
|
|
|
Trigger-interrupt flag (0 or 1).
When set to 1, the AC generates an interrupt on entering this state.
|
|
|
Repetition count (0-4095).
The actual repetition count is value + 1.
|
|
|
GPIO output unlock flag (0 or 1).
|
|
|
GPIO output mask. Use IFX_AUTANALOG_AC_GPIO_OUT_* constants
from <dt-bindings/mfd/infineon-autanalog.h>.
Can be OR'd for multiple outputs (e.g., OUT0 | OUT1 = 0x3).
|
|
|
SAR unlock flag (0 or 1).
When set to 1, the SAR configuration is unlocked in this state.
|
|
|
SAR enable flag (0 or 1).
When set to 1, the SAR is enabled in this state.
|
|
|
SAR trigger flag (0 or 1).
When set to 1, the SAR conversion is triggered in this state.
|
|
|
SAR entry state index (0-31).
Selects the SAR sequencer entry point for this AC state.
|
|
|
CTB0 unlock flag (0 or 1).
When 1, CTB0 opamp fields below take effect in this state.
|
|
|
CTB0 Opamp0 enable flag (0 or 1).
|
|
|
CTB0 Opamp0 dynamic configuration selector (0-7).
Selects from the CTB dynamic configuration table.
|
|
|
CTB0 Opamp0 gain. Use IFX_AUTANALOG_CTB_OA_GAIN_* constants.
|
|
|
CTB0 Opamp1 enable flag (0 or 1).
|
|
|
CTB0 Opamp1 dynamic configuration selector (0-7).
|
|
|
CTB0 Opamp1 gain. Use IFX_AUTANALOG_CTB_OA_GAIN_* constants.
|
|
|
CTB1 unlock flag (0 or 1).
When 1, CTB1 opamp fields below take effect in this state.
|
|
|
CTB1 Opamp0 enable flag (0 or 1).
|
|
|
CTB1 Opamp0 dynamic configuration selector (0-7).
|
|
|
CTB1 Opamp0 gain. Use IFX_AUTANALOG_CTB_OA_GAIN_* constants.
|
|
|
CTB1 Opamp1 enable flag (0 or 1).
|
|
|
CTB1 Opamp1 dynamic configuration selector (0-7).
|
|
|
CTB1 Opamp1 gain. Use IFX_AUTANALOG_CTB_OA_GAIN_* constants.
|
|
|
PTCOMP0 unlock flag (0 or 1).
When 1, PTCOMP0 comparator fields below take effect in this state.
|
|
|
PTCOMP0 Comp0 enable flag (0 or 1).
|
|
|
PTCOMP0 Comp0 dynamic configuration selector (0-7).
|
|
|
PTCOMP0 Comp1 enable flag (0 or 1).
|
|
|
PTCOMP0 Comp1 dynamic configuration selector (0-7).
|
|
|
DAC0 unlock flag (0 or 1).
When 1, DAC0 fields below take effect in this state.
|
|
|
DAC0 enable flag (0 or 1).
|
|
|
DAC0 trigger flag (0 or 1).
|
|
|
DAC0 channel selector.
|
|
|
DAC0 direction. Use IFX_AUTANALOG_DAC_DIR_* constants.
|
|
|
DAC1 unlock flag (0 or 1).
When 1, DAC1 fields below take effect in this state.
|
|
|
DAC1 enable flag (0 or 1).
|
|
|
DAC1 trigger flag (0 or 1).
|
|
|
DAC1 channel selector.
|
|
|
DAC1 direction. Use IFX_AUTANALOG_DAC_DIR_* constants.
|
Deprecated properties not inherited from the base binding file.
(None)
Properties inherited from the base binding file, which defines common properties that may be set on many nodes. Not all of these may apply to the “infineon,autanalog-ac-state” compatible.
(None)