aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/code-patching.h
diff options
context:
space:
mode:
authorIlya Lipnitskiy <[email protected]>2021-04-05 15:25:40 -0700
committerRob Herring <[email protected]>2021-04-09 14:24:25 -0500
commitd473d32c2fbac2d1d7082c61899cfebd34eb267a (patch)
tree7c7be3b4e3526861bd576e39bf15798b6fd34526 /arch/powerpc/include/asm/code-patching.h
parent21d6ff39e1692b1f8c0d17331b15f76b40a3c726 (diff)
of: property: fw_devlink: do not link ".*,nr-gpios"
[<vendor>,]nr-gpios property is used by some GPIO drivers[0] to indicate the number of GPIOs present on a system, not define a GPIO. nr-gpios is not configured by #gpio-cells and can't be parsed along with other "*-gpios" properties. nr-gpios without the "<vendor>," prefix is not allowed by the DT spec[1], so only add exception for the ",nr-gpios" suffix and let the error message continue being printed for non-compliant implementations. [0] nr-gpios is referenced in Documentation/devicetree/bindings/gpio: - gpio-adnp.txt - gpio-xgene-sb.txt - gpio-xlp.txt - snps,dw-apb-gpio.yaml [1] Link: https://github.com/devicetree-org/dt-schema/blob/cb53a16a1eb3e2169ce170c071e47940845ec26e/schemas/gpio/gpio-consumer.yaml#L20 Fixes errors such as: OF: /palmbus@300000/gpio@600: could not find phandle Fixes: 7f00be96f125 ("of: property: Add device link support for interrupt-parent, dmas and -gpio(s)") Signed-off-by: Ilya Lipnitskiy <[email protected]> Cc: Saravana Kannan <[email protected]> Cc: [email protected] # v5.5+ Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Herring <[email protected]>
Diffstat (limited to 'arch/powerpc/include/asm/code-patching.h')
0 files changed, 0 insertions, 0 deletions