Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: pinctrl: mediatek,mt6779-pinctrl: Make gpio-ranges optional

The pin controller can function without specifying gpio-ranges so remove
it from required properties. This is also done in preparation for adding
other pin controllers which currently don't have the gpio-ranges property
defined where they are used in DTS. This allows dtbs_check to pass on
those device trees.

Signed-off-by: Yassine Oudjana <y.oudjana@protonmail.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20221028153505.23741-4-y.oudjana@protonmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

authored by

Yassine Oudjana and committed by
Linus Walleij
7e63d92d c5a402a3

-1
-1
Documentation/devicetree/bindings/pinctrl/mediatek,mt6779-pinctrl.yaml
··· 67 67 - reg-names 68 68 - gpio-controller 69 69 - "#gpio-cells" 70 - - gpio-ranges 71 70 - interrupt-controller 72 71 - interrupts 73 72 - "#interrupt-cells"