]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
spi: dt-bindings: fsl: Correct GPIO flags in the example
authorKrzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Mon, 13 Apr 2026 08:59:48 +0000 (10:59 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 14 Apr 2026 11:56:00 +0000 (12:56 +0100)
commitebeef57b7ba92ff5b4edcd14a34b30b9645871db
treec7fccf38b51c46ea32ad6ab8fe8159db271f6d2b
parentc4c3fc872d2a05bf10372233c98e81344e685cdf
spi: dt-bindings: fsl: Correct GPIO flags in the example

IRQ_TYPE_xxx flags are not correct in the context of GPIO flags.
These are simple defines so they could be used in DTS but they will not
have the same meaning: IRQ_TYPE_EDGE_RISING = 1 = GPIO_ACTIVE_LOW.

Correct the example DTS to use proper flags for chip select GPIOs,
assuming the author of the code wanted similar logical behavior:

  IRQ_TYPE_EDGE_RISING => GPIO_ACTIVE_HIGH

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Link: https://patch.msgid.link/20260413085947.51047-2-krzysztof.kozlowski@oss.qualcomm.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/spi/fsl,spi.yaml