dt-bindings: pinctrl: mediatek,mt6779-pinctrl: Make gpio-ranges optional
authorYassine Oudjana <y.oudjana@protonmail.com>
Fri, 28 Oct 2022 15:34:55 +0000 (18:34 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 9 Nov 2022 08:27:52 +0000 (09:27 +0100)
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>
Documentation/devicetree/bindings/pinctrl/mediatek,mt6779-pinctrl.yaml

index c6290bcdded644d94e9c61e0155838e5a391ebef..d45f0e75a698af7fcb97bba2fa2eec100a1174ae 100644 (file)
@@ -67,7 +67,6 @@ required:
   - reg-names
   - gpio-controller
   - "#gpio-cells"
-  - gpio-ranges
   - interrupt-controller
   - interrupts
   - "#interrupt-cells"