On Wed, Mar 25, 2026 at 10:54:32AM +0100, Romain Gantois wrote:
> The FPC202 dual port controller has 20 regular GPIO lines and 8 special
> GPIO lines with LED features. Each one of these "LED GPIOs" can output PWM
> and blink signals.
>
> Describe these special-purpose GPIO lines.
>
> Acked-by: Conor Dooley <conor.dooley@microchip.com>
> Signed-off-by: Romain Gantois <romain.gantois@bootlin.com>
> ---
> .../devicetree/bindings/misc/ti,fpc202.yaml | 22 ++++++++++++++++++++++
> 1 file changed, 22 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/misc/ti,fpc202.yaml b/Documentation/devicetree/bindings/misc/ti,fpc202.yaml
> index a8cb10f2d0df3..32913966a22a5 100644
> --- a/Documentation/devicetree/bindings/misc/ti,fpc202.yaml
> +++ b/Documentation/devicetree/bindings/misc/ti,fpc202.yaml
> @@ -53,6 +53,23 @@ patternProperties:
>
> unevaluatedProperties: false
>
> + "^led@2[0-7]$":
Unit-addresses are hex. Looks like you made it decimal based on the
'reg' values.
> + $ref: /schemas/leds/common.yaml#
> + description: Output GPIO line with advanced LED features enabled.
> +
> + properties:
> + reg:
> + minimum: 20
> + maximum: 27
> + description:
> + GPIO line ID
> +
> + required:
> + - reg
> + - label
label should never be required. It's extra info for human consumption.
> +
> + unevaluatedProperties: false
> +
> required:
> - compatible
> - reg
> @@ -89,6 +106,11 @@ examples:
> #size-cells = <0>;
> reg = <1>;
> };
> +
> + led@20 {
> + reg = <20>;
> + label = "phy0:green:indicator";
> + };
> };
> };
> ...
>
> --
> 2.53.0
>