Re: [PATCH v2] dt-bindings: gpio: gpio-mvebu: convert txt binding to YAML

From: Uwe Kleine-König
Date: Wed May 11 2022 - 03:52:28 EST


Hello,

On Wed, May 11, 2022 at 01:37:37PM +1200, Chris Packham wrote:
> + "#pwm-cells":
> + description:
> + The first cell is the GPIO line number. The second cell is the period
> + in nanoseconds.
> + const: 2

I wonder if the binding [cs]hould allow 3, too. After a quick look in
the driver code I think 3 would be supported out of the box.
That's a low prio thing though (the driver doesn't support polarity
anyhow) and this is orthogonal to this 1:1 conversion patch.

Best regards
Uwe

--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | https://www.pengutronix.de/ |

Attachment: signature.asc
Description: PGP signature