mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-28 13:22:57 +00:00
Revert "pinctrl: pinctrl-zynqmp: Add support for output-enable and bias-high-impedance"
commit9989bc33c4
upstream. This reverts commitad2bea79ef
. On systems with older PMUFW (Xilinx ZynqMP Platform Management Firmware) using these pinctrl properties can cause system hang because there is missing feature autodetection. When this feature is implemented in the PMUFW, support for these two properties should bring back. Cc: stable@vger.kernel.org Signed-off-by: Sai Krishna Potthuri <sai.krishna.potthuri@amd.com> Acked-by: Michal Simek <michal.simek@amd.com> Link: https://lore.kernel.org/r/20221017130303.21746-2-sai.krishna.potthuri@amd.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
ba82dc3223
commit
74cf11bd39
1 changed files with 0 additions and 9 deletions
|
@ -412,10 +412,6 @@ static int zynqmp_pinconf_cfg_set(struct pinctrl_dev *pctldev,
|
||||||
|
|
||||||
break;
|
break;
|
||||||
case PIN_CONFIG_BIAS_HIGH_IMPEDANCE:
|
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_MODE_LOW_POWER:
|
case PIN_CONFIG_MODE_LOW_POWER:
|
||||||
/*
|
/*
|
||||||
* These cases are mentioned in dts but configurable
|
* These cases are mentioned in dts but configurable
|
||||||
|
@ -424,11 +420,6 @@ static int zynqmp_pinconf_cfg_set(struct pinctrl_dev *pctldev,
|
||||||
*/
|
*/
|
||||||
ret = 0;
|
ret = 0;
|
||||||
break;
|
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:
|
default:
|
||||||
dev_warn(pctldev->dev,
|
dev_warn(pctldev->dev,
|
||||||
"unsupported configuration parameter '%u'\n",
|
"unsupported configuration parameter '%u'\n",
|
||||||
|
|
Loading…
Reference in a new issue