2022-10-17 13:43:37

by Potthuri, Sai Krishna

[permalink] [raw]
Subject: [PATCH v2 0/2] pinctrl: pinctrl-zynqmp: Revert output-enable and bias-high-impedance support

Having support for output-enable and bias-high-impedance properties
causing system hang with older Xilinx ZynqMP Platform Management Firmware
because there is missing autodetection feature.
When this feature is implemented, support for these two properties should
bring back.

changes in v2:
-> Added stable tree tag in 1/2 and 2/2 patches.

Sai Krishna Potthuri (2):
Revert "pinctrl: pinctrl-zynqmp: Add support for output-enable and
bias-high-impedance"
Revert "dt-bindings: pinctrl-zynqmp: Add output-enable configuration"

.../devicetree/bindings/pinctrl/xlnx,zynqmp-pinctrl.yaml | 4 ----
drivers/pinctrl/pinctrl-zynqmp.c | 9 ---------
2 files changed, 13 deletions(-)

--
2.17.1


2022-10-17 13:48:08

by Michal Simek

[permalink] [raw]
Subject: Re: [PATCH v2 0/2] pinctrl: pinctrl-zynqmp: Revert output-enable and bias-high-impedance support



On 10/17/22 15:03, Sai Krishna Potthuri wrote:
> Having support for output-enable and bias-high-impedance properties
> causing system hang with older Xilinx ZynqMP Platform Management Firmware
> because there is missing autodetection feature.
> When this feature is implemented, support for these two properties should
> bring back.
>
> changes in v2:
> -> Added stable tree tag in 1/2 and 2/2 patches.
>
> Sai Krishna Potthuri (2):
> Revert "pinctrl: pinctrl-zynqmp: Add support for output-enable and
> bias-high-impedance"
> Revert "dt-bindings: pinctrl-zynqmp: Add output-enable configuration"
>
> .../devicetree/bindings/pinctrl/xlnx,zynqmp-pinctrl.yaml | 4 ----
> drivers/pinctrl/pinctrl-zynqmp.c | 9 ---------
> 2 files changed, 13 deletions(-)
>

Acked-by: Michal Simek <[email protected]>

Thanks,
Michal

2022-10-18 08:05:40

by Linus Walleij

[permalink] [raw]
Subject: Re: [PATCH v2 0/2] pinctrl: pinctrl-zynqmp: Revert output-enable and bias-high-impedance support

On Mon, Oct 17, 2022 at 3:03 PM Sai Krishna Potthuri
<[email protected]> wrote:

> Having support for output-enable and bias-high-impedance properties
> causing system hang with older Xilinx ZynqMP Platform Management Firmware
> because there is missing autodetection feature.
> When this feature is implemented, support for these two properties should
> bring back.
>
> changes in v2:
> -> Added stable tree tag in 1/2 and 2/2 patches.

Patches applied for fixes!

Thanks for dealing with this, I hope you find a proper way to make
it work with all firmwares.

Yours,
Linus Walleij

2022-10-18 08:44:22

by Michal Simek

[permalink] [raw]
Subject: Re: [PATCH v2 0/2] pinctrl: pinctrl-zynqmp: Revert output-enable and bias-high-impedance support



On 10/18/22 09:51, Linus Walleij wrote:
> On Mon, Oct 17, 2022 at 3:03 PM Sai Krishna Potthuri
> <[email protected]> wrote:
>
>> Having support for output-enable and bias-high-impedance properties
>> causing system hang with older Xilinx ZynqMP Platform Management Firmware
>> because there is missing autodetection feature.
>> When this feature is implemented, support for these two properties should
>> bring back.
>>
>> changes in v2:
>> -> Added stable tree tag in 1/2 and 2/2 patches.
>
> Patches applied for fixes!
>
> Thanks for dealing with this, I hope you find a proper way to make
> it work with all firmwares.

The way what pmufw team described is that driver will ask firmware if that
feature is available or not. If yes, the current calls will be made. Maybe we
could do it via module parameter but this is the cleanest solution for now.

Thanks,
Michal