]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Revert "pinctrl: zynqmp: Add support for output-enable and bias-high-impedance"
authorMichal Simek <michal.simek@amd.com>
Thu, 13 Oct 2022 11:05:39 +0000 (13:05 +0200)
committerMichal Simek <michal.simek@amd.com>
Tue, 22 Nov 2022 14:02:07 +0000 (15:02 +0100)
This reverts commit 123462e5e534d6e17b1b7d2006734bbe54b03e0a.

On systems with older PMUFW using these pinctrl properties can cause system
hang because there is missing feature autodetection.
When it is implemented support for these two properties should go back.

Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/c2900319ea80484f21692997f296269aee701c1f.1665659138.git.michal.simek@amd.com
drivers/pinctrl/pinctrl-zynqmp.c

index 52d428f566fc754acf8cd3a3c0e672d948861c02..7c5a02db1b98ae3c6e70e5304a53ac52f308c8fb 100644 (file)
@@ -467,10 +467,6 @@ static int zynqmp_pinconf_set(struct udevice *dev, unsigned int pin,
                                 pin);
                break;
        case PIN_CONFIG_BIAS_HIGH_IMPEDANCE:
-               param = PM_PINCTRL_CONFIG_TRI_STATE;
-               arg = PM_PINCTRL_TRI_STATE_ENABLE;
-               ret = zynqmp_pm_pinctrl_set_config(pin, param, arg);
-               break;
        case PIN_CONFIG_LOW_POWER_MODE:
                /*
                 * This cases are mentioned in dts but configurable
@@ -479,11 +475,6 @@ static int zynqmp_pinconf_set(struct udevice *dev, unsigned int pin,
                 */
                ret = 0;
                break;
-       case PIN_CONFIG_OUTPUT_ENABLE:
-               param = PM_PINCTRL_CONFIG_TRI_STATE;
-               arg = PM_PINCTRL_TRI_STATE_DISABLE;
-               ret = zynqmp_pm_pinctrl_set_config(pin, param, arg);
-               break;
        default:
                dev_warn(dev, "unsupported configuration parameter '%u'\n",
                         param);