aboutsummaryrefslogtreecommitdiff
path: root/include/dm
diff options
context:
space:
mode:
authorGuillaume La Roque <glaroque@baylibre.com>2019-06-04 13:53:06 +0200
committerNeil Armstrong <narmstrong@baylibre.com>2019-06-12 11:50:02 +0200
commit4c2eecf2441334bbeaa5091f39283fc6f4d56963 (patch)
tree8addbbda888326aa6f56f0b7ba6eb3f0809ca3d5 /include/dm
parentb9308f2c05906b41dabb1941a384a70dbabdc40f (diff)
downloadu-boot-4c2eecf2441334bbeaa5091f39283fc6f4d56963.zip
u-boot-4c2eecf2441334bbeaa5091f39283fc6f4d56963.tar.gz
u-boot-4c2eecf2441334bbeaa5091f39283fc6f4d56963.tar.bz2
dm: pinctrl: Add driver-strength-microamp property
Add drive-strength-microamp property support to allow drive strength in uA Signed-off-by: Guillaume La Roque <glaroque@baylibre.com> Tested-by: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Diffstat (limited to 'include/dm')
-rw-r--r--include/dm/pinctrl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/dm/pinctrl.h b/include/dm/pinctrl.h
index e7b8ad9..3eca34f 100644
--- a/include/dm/pinctrl.h
+++ b/include/dm/pinctrl.h
@@ -225,6 +225,8 @@ struct pinctrl_ops {
* push-pull mode, the argument is ignored.
* @PIN_CONFIG_DRIVE_STRENGTH: the pin will sink or source at most the current
* passed as argument. The argument is in mA.
+ * @PIN_CONFIG_DRIVE_STRENGTH_UA: the pin will sink or source at most the current
+ * passed as argument. The argument is in uA.
* @PIN_CONFIG_INPUT_DEBOUNCE: this will configure the pin to debounce mode,
* which means it will wait for signals to settle when reading inputs. The
* argument gives the debounce time in usecs. Setting the
@@ -281,6 +283,7 @@ enum pin_config_param {
PIN_CONFIG_DRIVE_OPEN_SOURCE,
PIN_CONFIG_DRIVE_PUSH_PULL,
PIN_CONFIG_DRIVE_STRENGTH,
+ PIN_CONFIG_DRIVE_STRENGTH_UA,
PIN_CONFIG_INPUT_DEBOUNCE,
PIN_CONFIG_INPUT_ENABLE,
PIN_CONFIG_INPUT_SCHMITT,