[PATCH 3/3] dt-bindings: gpio: simplify GPIO hog nodes schema

Conor Dooley conor at kernel.org
Wed Aug 28 08:53:36 PDT 2024


On Wed, Aug 28, 2024 at 11:35:59AM +0200, Krzysztof Kozlowski wrote:
> The core schema in dtschema already strictly defines contents of nodes
> with "gpio-hog" property (with additionalProperties: false), thus the
> only thing device schema should do is: define "type: object" and
> required "gpio-hog".  Make the code a bit simpler by removing redundant
> parts.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>
> ---
>  .../devicetree/bindings/gpio/fairchild,74hc595.yaml          | 11 -----------
>  Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml     | 11 -----------
>  Documentation/devicetree/bindings/gpio/gpio-pca95xx.yaml     | 11 -----------
>  .../devicetree/bindings/gpio/microchip,mpfs-gpio.yaml        | 12 ------------

Reviewed-by: Conor Dooley <conor.dooley at microchip.com>


Cheers,
Conor.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-riscv/attachments/20240828/94fb7abb/attachment.sig>


More information about the linux-riscv mailing list