mbox series

[0/4] pinctrl: pinctrl-zynq: yaml conversion and minor driver updates

Message ID 1626868353-96475-1-git-send-email-lakshmi.sai.krishna.potthuri@xilinx.com (mailing list archive)
Headers show
Series pinctrl: pinctrl-zynq: yaml conversion and minor driver updates | expand

Message

Sai Krishna Potthuri July 21, 2021, 11:52 a.m. UTC
This patch series does the following
- Covert Zynq pinctrl driver binding file to yaml.
- Update the binding for Zynq pinctrl to replace the 'io-standard' with
'power-source' parameter as recommended by Linus during ZynqMP pinctrl
driver review(https://lkml.org/lkml/2021/3/25/278).
- Update the Zynq pinctrl the driver to remove custom pin
parameter(io-standard) and instead use generic parameter(power-source).
- Update Zynq dts files to replace 'io-standard' with 'power-source'.

Reason for adding the generic parameter 'power-source' in Zynq pinctrl driver
is to maintain common pin parameter across Xilinx Zynq and ZynqMP platforms
for power supply configuration.

Sai Krishna Potthuri (4):
  dt-bindings: pinctrl: pinctrl-zynq: Convert to yaml
  dt-bindings: pinctrl-zynq: Replace 'io-standard' with 'power-source'
  pinctrl: pinctrl-zynq: Add support for 'power-source' parameter
  arm: dts: zynq: Replace 'io-standard' with 'power-source' property

 .../bindings/pinctrl/xlnx,zynq-pinctrl.txt    | 105 ---------
 .../bindings/pinctrl/xlnx,zynq-pinctrl.yaml   | 214 ++++++++++++++++++
 arch/arm/boot/dts/zynq-ebaz4205.dts           |   8 +-
 arch/arm/boot/dts/zynq-microzed.dts           |   2 +-
 arch/arm/boot/dts/zynq-zc702.dts              |  20 +-
 arch/arm/boot/dts/zynq-zc706.dts              |  18 +-
 drivers/pinctrl/pinctrl-zynq.c                |   2 +
 include/dt-bindings/pinctrl/pinctrl-zynq.h    |  17 ++
 8 files changed, 257 insertions(+), 129 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/pinctrl/xlnx,zynq-pinctrl.txt
 create mode 100644 Documentation/devicetree/bindings/pinctrl/xlnx,zynq-pinctrl.yaml
 create mode 100644 include/dt-bindings/pinctrl/pinctrl-zynq.h

Comments

Linus Walleij July 30, 2021, 12:41 p.m. UTC | #1
On Wed, Jul 21, 2021 at 1:54 PM Sai Krishna Potthuri
<lakshmi.sai.krishna.potthuri@xilinx.com> wrote:

> This patch series does the following
> - Covert Zynq pinctrl driver binding file to yaml.
> - Update the binding for Zynq pinctrl to replace the 'io-standard' with
> 'power-source' parameter as recommended by Linus during ZynqMP pinctrl
> driver review(https://lkml.org/lkml/2021/3/25/278).
> - Update the Zynq pinctrl the driver to remove custom pin
> parameter(io-standard) and instead use generic parameter(power-source).
> - Update Zynq dts files to replace 'io-standard' with 'power-source'.
>
> Reason for adding the generic parameter 'power-source' in Zynq pinctrl driver
> is to maintain common pin parameter across Xilinx Zynq and ZynqMP platforms
> for power supply configuration.

I applied patches 1-3 to the pinctrl tree, patch 4 should be applied
to the SoC tree.

Yours,
Linus Walleij