]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
pinctrl: qcom: add support for bias-pull-down
authorNeil Armstrong <neil.armstrong@linaro.org>
Tue, 28 May 2024 08:31:53 +0000 (10:31 +0200)
committerCaleb Connolly <caleb.connolly@linaro.org>
Fri, 5 Jul 2024 10:04:48 +0000 (12:04 +0200)
Add support for bias-pull-down as an alternate of bias-pull-up.

Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
drivers/pinctrl/qcom/pinctrl-qcom.c

index 3c3336e76358cc61032d430814e31e33f5ef52c7..4f4e9a839490df7ccfea8b859bc1287f01585fdc 100644 (file)
@@ -44,6 +44,7 @@ static const struct pinconf_param msm_conf_params[] = {
        { "drive-strength", PIN_CONFIG_DRIVE_STRENGTH, 2 },
        { "bias-disable", PIN_CONFIG_BIAS_DISABLE, 0 },
        { "bias-pull-up", PIN_CONFIG_BIAS_PULL_UP, 3 },
+       { "bias-pull-down", PIN_CONFIG_BIAS_PULL_UP, 1 },
        { "output-high", PIN_CONFIG_OUTPUT, 1, },
        { "output-low", PIN_CONFIG_OUTPUT, 0, },
 };