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.
Default value: |
|
|
Low-power mode flag (0 or 1).
When set to 1, the sub-system enters low-power mode in this state.
Default value: |
|
|
AC condition code. Use IFX_AUTANALOG_AC_COND_* constants
from <dt-bindings/mfd/infineon-autanalog.h>.
Default: FALSE (0).
Default value: |
|
|
AC action code. Use IFX_AUTANALOG_AC_ACTION_* constants
from <dt-bindings/mfd/infineon-autanalog.h>.
Default: STOP (0).
Default value: |
|
|
Branch target state index (0-63) within the ac-states list.
Used when the action is a BRANCH_* or WAIT_FOR type.
Default value: |
|
|
Trigger-interrupt flag (0 or 1).
When set to 1, the AC generates an interrupt on entering this state.
Default value: |
|
|
Repetition count (0-4095).
The actual repetition count is value + 1.
Default value: |
|
|
GPIO output unlock flag (0 or 1).
Default value: |
|
|
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).
Default value: |
|
|
SAR unlock flag (0 or 1).
When set to 1, the SAR configuration is unlocked in this state.
Default value: |
|
|
SAR enable flag (0 or 1).
When set to 1, the SAR is enabled in this state.
Default value: |
|
|
SAR trigger flag (0 or 1).
When set to 1, the SAR conversion is triggered in this state.
Default value: |
|
|
SAR entry state index (0-31).
Selects the SAR sequencer entry point for this AC state.
Default value: |
|
|
CTB0 unlock flag (0 or 1).
When 1, CTB0 opamp fields below take effect in this state.
Default value: |
|
|
CTB0 Opamp0 enable flag (0 or 1).
Default value: |
|
|
CTB0 Opamp0 dynamic configuration selector (0-7).
Selects from the CTB dynamic configuration table.
Default value: |
|
|
CTB0 Opamp0 gain. Use IFX_AUTANALOG_CTB_OA_GAIN_* constants.
Default value: |
|
|
CTB0 Opamp1 enable flag (0 or 1).
Default value: |
|
|
CTB0 Opamp1 dynamic configuration selector (0-7).
Default value: |
|
|
CTB0 Opamp1 gain. Use IFX_AUTANALOG_CTB_OA_GAIN_* constants.
Default value: |
|
|
CTB1 unlock flag (0 or 1).
When 1, CTB1 opamp fields below take effect in this state.
Default value: |
|
|
CTB1 Opamp0 enable flag (0 or 1).
Default value: |
|
|
CTB1 Opamp0 dynamic configuration selector (0-7).
Default value: |
|
|
CTB1 Opamp0 gain. Use IFX_AUTANALOG_CTB_OA_GAIN_* constants.
Default value: |
|
|
CTB1 Opamp1 enable flag (0 or 1).
Default value: |
|
|
CTB1 Opamp1 dynamic configuration selector (0-7).
Default value: |
|
|
CTB1 Opamp1 gain. Use IFX_AUTANALOG_CTB_OA_GAIN_* constants.
Default value: |
|
|
PTCOMP0 unlock flag (0 or 1).
When 1, PTCOMP0 comparator fields below take effect in this state.
Default value: |
|
|
PTCOMP0 Comp0 enable flag (0 or 1).
Default value: |
|
|
PTCOMP0 Comp0 dynamic configuration selector (0-7).
Default value: |
|
|
PTCOMP0 Comp1 enable flag (0 or 1).
Default value: |
|
|
PTCOMP0 Comp1 dynamic configuration selector (0-7).
Default value: |
|
|
DAC0 unlock flag (0 or 1).
When 1, DAC0 fields below take effect in this state.
Default value: |
|
|
DAC0 enable flag (0 or 1).
Default value: |
|
|
DAC0 trigger flag (0 or 1).
Default value: |
|
|
DAC0 channel selector.
Default value: |
|
|
DAC0 direction. Use IFX_AUTANALOG_DAC_DIR_* constants.
Default value: |
|
|
DAC1 unlock flag (0 or 1).
When 1, DAC1 fields below take effect in this state.
Default value: |
|
|
DAC1 enable flag (0 or 1).
Default value: |
|
|
DAC1 trigger flag (0 or 1).
Default value: |
|
|
DAC1 channel selector.
Default value: |
|
|
DAC1 direction. Use IFX_AUTANALOG_DAC_DIR_* constants.
Default value: |
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)