|
Zephyr Project API 4.4.99
A Scalable Open Source RTOS
|
Header file for the SCMI Pin Control Protocol. More...
#include <zephyr/drivers/firmware/scmi/protocol.h>Go to the source code of this file.
Data Structures | |
| struct | scmi_pinctrl_settings |
| Describes the parameters for the PINCTRL_SETTINGS_CONFIGURE command. More... | |
Macros | |
| #define | ARM_SCMI_PINCTRL_MAX_CONFIG_SIZE (10 * 2) |
| #define | SCMI_PINCTRL_NO_FUNCTION 0xFFFFFFFF |
| #define | SCMI_PINCTRL_CONFIG_ATTRIBUTES(fid_valid, cfg_num, selector) |
| #define | SCMI_PINCTRL_SELECTOR_PIN 0x0 |
| #define | SCMI_PINCTRL_SELECTOR_GROUP 0x1 |
| #define | SCMI_PINCTRL_ATTRIBUTES_CONFIG_NUM(attributes) |
| #define | SCMI_PIN_CONTROL_PROTOCOL_SUPPORTED_VERSION 0x10000 |
Enumerations | |
| enum | scmi_pinctrl_config { SCMI_PINCTRL_DEFAULT = 0 , SCMI_PINCTRL_BIAS_BUS_HOLD = 1 , SCMI_PINCTRL_BIAS_DISABLE = 2 , SCMI_PINCTRL_BIAS_HIGH_Z = 3 , SCMI_PINCTRL_BIAS_PULL_UP = 4 , SCMI_PINCTRL_BIAS_PULL_DEFAULT = 5 , SCMI_PINCTRL_BIAS_PULL_DOWN = 6 , SCMI_PINCTRL_DRIVE_OPEN_DRAIN = 7 , SCMI_PINCTRL_DRIVE_OPEN_SOURCE = 8 , SCMI_PCINTRL_DRIVE_PUSH_PULL = 9 , SCMI_PCINTRL_DRIVE_STRENGTH = 10 , SCMI_PINCTRL_INPUT_DEBOUNCE = 11 , SCMI_PINCTRL_INPUT_MODE = 12 , SCMI_PINCTRL_PULL_MODE = 13 , SCMI_PINCTRL_INPUT_VALUE = 14 , SCMI_PINCTRL_INPUT_SCHMITT = 15 , SCMI_PINCTRL_LP_MODE = 16 , SCMI_PINCTRL_OUTPUT_MODE = 17 , SCMI_PINCTRL_OUTPUT_VALUE = 18 , SCMI_PINCTRL_POWER_SOURCE = 19 , SCMI_PINCTRL_SLEW_RATE = 20 , SCMI_PINCTRL_RESERVED_START = 21 , SCMI_PINCTRL_RESERVED_END = 191 , SCMI_PINCTRL_VENDOR_START = 192 } |
| Pinctrl configurations. More... | |
Functions | |
| int | scmi_pinctrl_settings_configure (struct scmi_pinctrl_settings *settings) |
| Send the PINCTRL_SETTINGS_CONFIGURE command and get its reply. | |
Header file for the SCMI Pin Control Protocol.