Add "output-impedance-ohms" property to generic options used for DT parsing files. This enables drivers, which use generic pin configurations, to get the value passed to this property.
Showing the changes to include (1 of 2 files). Show all
Unified · Split
| @@ -91,6 +91,8 @@ struct pinctrl_map; · 90 unmodified lines | ||
| 91 | 91 | * configuration (eg. the currently selected mux function) drive values on |
| 92 | 92 | * the line. Use argument 1 to enable output mode, argument 0 to disable |
| 93 | 93 | * it. |
| 94 | + * @PIN_CONFIG_OUTPUT_IMPEDANCE_OHMS: this will configure the output impedance | |
| 95 | + * of the pin with the value passed as argument. The argument is in ohms. | |
| 94 | 96 | * @PIN_CONFIG_PERSIST_STATE: retain pin state across sleep or controller reset |
| 95 | 97 | * @PIN_CONFIG_POWER_SOURCE: if the pin can select between different power |
| 96 | 98 | * supplies, the argument to this parameter (on a custom format) tells |
| @@ -129,6 +131,7 @@ enum pin_config_param { · 32 unmodified lines | ||
| 129 | 131 | PIN_CONFIG_MODE_PWM, |
| 130 | 132 | PIN_CONFIG_OUTPUT, |
| 131 | 133 | PIN_CONFIG_OUTPUT_ENABLE, |
| 134 | + PIN_CONFIG_OUTPUT_IMPEDANCE_OHMS, | |
| 132 | 135 | PIN_CONFIG_PERSIST_STATE, |
| 133 | 136 | PIN_CONFIG_POWER_SOURCE, |
| 134 | 137 | PIN_CONFIG_SKEW_DELAY, |