Re: [PATCH v4] dt-bindings: pinctrl: brcm,nsp-gpio: Convert to DT schema
From: Rob Herring (Arm)
Date: Wed Oct 07 2026 - 16:44:27 EST
On Sun, 04 Oct 2026 12:36:47 -0700, Rosen Penev wrote:
> The brcm,nsp-gpio-a compatible used by the NSP GPIO controller was only
> documented in the legacy text binding, so dtbs_check reported "failed to
> match any schema" for the gpio@20 node in bcm-nsp.dtsi.
>
> Convert the text binding to DT schema. Beyond a direct conversion:
>
> - Require pin configuration nodes to use a '-pins' suffix and GPIO hogs
> a '-hog' suffix, as the old example used arbitrary node names. No
> in-tree DTS has child nodes under this controller, so nothing is
> affected.
> - Document slew-rate, which the driver supports but the text binding
> never listed.
> - Add #interrupt-cells and gpio-line-names, and make #interrupt-cells
> depend on interrupt-controller.
>
> Assisted-by: LLM
> Signed-off-by: Rosen Penev <rosenp@xxxxxxxxx>
> ---
> v4: rewrite to add extra stuff not present in original.
> v3: add additionalProperties
> v2: don't drop gpio-hog
> .../bindings/pinctrl/brcm,nsp-gpio.txt | 80 -----------
> .../bindings/pinctrl/brcm,nsp-gpio.yaml | 130 ++++++++++++++++++
> 2 files changed, 130 insertions(+), 80 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/pinctrl/brcm,nsp-gpio.txt
> create mode 100644 Documentation/devicetree/bindings/pinctrl/brcm,nsp-gpio.yaml
>
Reviewed-by: Rob Herring (Arm) <robh@xxxxxxxxxx>