Add drive-strength-microamp property support to allow drive strength in uA
Showing the changes to include/linux (1 of 2 files). Show all
Unified · Split
| @@ -55,6 +55,8 @@ · 54 unmodified lines | |||
| 55 | * push-pull mode, the argument is ignored. | 55 | * push-pull mode, the argument is ignored. |
| 56 | * @PIN_CONFIG_DRIVE_STRENGTH: the pin will sink or source at most the current | 56 | * @PIN_CONFIG_DRIVE_STRENGTH: the pin will sink or source at most the current |
| 57 | * passed as argument. The argument is in mA. | 57 | * passed as argument. The argument is in mA. |
| 58 | * @PIN_CONFIG_DRIVE_STRENGTH_UA: the pin will sink or source at most the current | ||
| 59 | * passed as argument. The argument is in uA. | ||
| 58 | * @PIN_CONFIG_INPUT_DEBOUNCE: this will configure the pin to debounce mode, | 60 | * @PIN_CONFIG_INPUT_DEBOUNCE: this will configure the pin to debounce mode, |
| 59 | * which means it will wait for signals to settle when reading inputs. The | 61 | * which means it will wait for signals to settle when reading inputs. The |
| 60 | * argument gives the debounce time in usecs. Setting the | 62 | * argument gives the debounce time in usecs. Setting the |
| @@ -112,6 +114,7 @@ enum pin_config_param { · 51 unmodified lines | |||
| 112 | PIN_CONFIG_DRIVE_OPEN_SOURCE, | 114 | PIN_CONFIG_DRIVE_OPEN_SOURCE, |
| 113 | PIN_CONFIG_DRIVE_PUSH_PULL, | 115 | PIN_CONFIG_DRIVE_PUSH_PULL, |
| 114 | PIN_CONFIG_DRIVE_STRENGTH, | 116 | PIN_CONFIG_DRIVE_STRENGTH, |
| 117 | PIN_CONFIG_DRIVE_STRENGTH_UA, | ||
| 115 | PIN_CONFIG_INPUT_DEBOUNCE, | 118 | PIN_CONFIG_INPUT_DEBOUNCE, |
| 116 | PIN_CONFIG_INPUT_ENABLE, | 119 | PIN_CONFIG_INPUT_ENABLE, |
| 117 | PIN_CONFIG_INPUT_SCHMITT, | 120 | PIN_CONFIG_INPUT_SCHMITT, |