dt-bindings: gpio: rockchip,gpio-bank: Add rockchip,grf property

Some Rockchip SoCs, such as the RV1106, give each GPIO bank its own
IO control (IOC) register block rather than grouping the registers of
all banks into a shared GRF region. Add an optional rockchip,grf
property to the gpio-bank binding so that each bank node can reference
the syscon for its own IOC block.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Link: https://patch.msgid.link/20260729072727.v3.2.d04a89a3849323a0dcee2c701cba43adbb0523b2@changeid
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
This commit is contained in:
Simon Glass 2026-07-29 07:27:26 -06:00 committed by Bartosz Golaszewski
parent 338c551bcd
commit 2f2b1a84fc

View File

@ -44,6 +44,13 @@ properties:
power-domains:
maxItems: 1
rockchip,grf:
$ref: /schemas/types.yaml#/definitions/phandle
description:
The phandle of the syscon node managing the IO control registers
of this bank, on SoCs such as the RV1106 where each GPIO bank has
its own IOC block.
patternProperties:
"^.+-hog(-[0-9]+)?$":
type: object