Skip to content

Commit

Permalink
dt-bindings: gpio: brcmstb: permit gpio-line-names property
Browse files Browse the repository at this point in the history
gpio-line-names is a generic property that can be supported by any
GPIO controller, so permit it through the binding.

It is permitted to have a variable number of GPIOs per node based
on brcm,gpio-bank-widths, so define an arbitrary maximum number of
items based on current users.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Acked-by: Florian Fainelli <florian.fainelli@broadcom.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20241212-dt-bcm2712-fixes-v3-3-44a7f3390331@raspberrypi.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
  • Loading branch information
Dave Stevenson authored and Bartosz Golaszewski committed Dec 16, 2024
1 parent 2251fbd commit 83a9752
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Documentation/devicetree/bindings/gpio/brcm,brcmstb-gpio.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ properties:

gpio-ranges: true

gpio-line-names:
minItems: 1
maxItems: 128

wakeup-source:
type: boolean
description: >
Expand Down

0 comments on commit 83a9752

Please sign in to comment.