Commit a047914e7f123074bc8ee6f40e4502111a1b4cc4
Committed by
Linus Walleij
1 parent
bfabb59433
Exists in
master
and in
16 other branches
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: Stephen Warren <swarren@nvidia.com> Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Showing 2 changed files with 1 additions and 4 deletions Side-by-side Diff
Documentation/devicetree/bindings/pinctrl/pinctrl-palmas.txt
... | ... | @@ -41,7 +41,7 @@ |
41 | 41 | |
42 | 42 | Required: pins |
43 | 43 | Options: function, bias-disable, bias-pull-up, bias-pull-down, |
44 | - bias-pin-default, drive-open-drain. | |
44 | + drive-open-drain. | |
45 | 45 | |
46 | 46 | Note that many of these properties are only valid for certain specific pins. |
47 | 47 | See the Palmas device datasheet for complete details regarding which pins |
drivers/pinctrl/pinctrl-palmas.c
... | ... | @@ -891,9 +891,6 @@ |
891 | 891 | param = pinconf_to_config_param(configs[i]); |
892 | 892 | param_val = pinconf_to_config_argument(configs[i]); |
893 | 893 | |
894 | - if (param == PIN_CONFIG_BIAS_PULL_PIN_DEFAULT) | |
895 | - continue; | |
896 | - | |
897 | 894 | switch (param) { |
898 | 895 | case PIN_CONFIG_BIAS_DISABLE: |
899 | 896 | case PIN_CONFIG_BIAS_PULL_UP: |