Commit a047914e authored by Laxman Dewangan's avatar Laxman Dewangan Committed by Linus Walleij

pinctrl: palmas: remove pin config BIAS_PULL_PIN_DEFAULT support

Palmas devices do not support the default bias configuration
and hence removing this option from valid pin config parameters.
Acked-by: default avatarStephen Warren <swarren@nvidia.com>
Signed-off-by: default avatarLaxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent bfabb594
...@@ -41,7 +41,7 @@ pinctrl-bindings.txt: ...@@ -41,7 +41,7 @@ pinctrl-bindings.txt:
Required: pins Required: pins
Options: function, bias-disable, bias-pull-up, bias-pull-down, Options: function, bias-disable, bias-pull-up, bias-pull-down,
bias-pin-default, drive-open-drain. drive-open-drain.
Note that many of these properties are only valid for certain specific pins. Note that many of these properties are only valid for certain specific pins.
See the Palmas device datasheet for complete details regarding which pins See the Palmas device datasheet for complete details regarding which pins
......
...@@ -891,9 +891,6 @@ static int palmas_pinconf_set(struct pinctrl_dev *pctldev, ...@@ -891,9 +891,6 @@ static int palmas_pinconf_set(struct pinctrl_dev *pctldev,
param = pinconf_to_config_param(configs[i]); param = pinconf_to_config_param(configs[i]);
param_val = pinconf_to_config_argument(configs[i]); param_val = pinconf_to_config_argument(configs[i]);
if (param == PIN_CONFIG_BIAS_PULL_PIN_DEFAULT)
continue;
switch (param) { switch (param) {
case PIN_CONFIG_BIAS_DISABLE: case PIN_CONFIG_BIAS_DISABLE:
case PIN_CONFIG_BIAS_PULL_UP: case PIN_CONFIG_BIAS_PULL_UP:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment