[PATCH 2/2] dt-bindings: arm: bcm: raspberrypi,bcm2835-firmware: Add gpio child node
Krzysztof Kozlowski
krzysztof.kozlowski at linaro.org
Tue Mar 26 00:09:46 PDT 2024
On 26/03/2024 01:49, Laurent Pinchart wrote:
> Unlike the other child nodes of the raspberrypi,bcm2835-firmware device,
> the gpio child is documented in a legacy text-based binding in
> gpio/raspberrypi,firmware-gpio.txt. This causes DT validation failures:
> + type: object
> + additionalProperties: false
> +
> + properties:
> + compatible:
> + const: raspberrypi,firmware-gpio
> +
> + gpio-controller: true
> +
> + "#gpio-cells":
> + const: 2
> + description:
> + The first cell is the pin number, and the second cell is used to
> + specify the gpio polarity (GPIO_ACTIVE_HIGH or GPIO_ACTIVE_LOW).
> +
> + gpio-line-names: true
You could provide here maxItems, if this is known, but it's fine as is
as well.
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>
Best regards,
Krzysztof
More information about the linux-arm-kernel
mailing list