Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Laxman Dewangan and committed by
Linus Walleij
a047914e bfabb594

+1 -4
+1 -1
Documentation/devicetree/bindings/pinctrl/pinctrl-palmas.txt
··· 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
-3
drivers/pinctrl/pinctrl-palmas.c
··· 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: