arm64: dts: qcom: sm6375-pdx225: correct touchscreen interrupt flags
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 5 Jun 2024 16:00:30 +0000 (18:00 +0200)
committerBjorn Andersson <andersson@kernel.org>
Thu, 6 Jun 2024 22:40:22 +0000 (17:40 -0500)
Interrupt flags 0x2008 looks like some downstream copy-paste, because
generic GPIOLIB code, used by Qualcomm pin controller drivers, ignores
flags outside of IRQ_TYPE_SENSE_MASK.  Probably the intention was to
pass just 0x8, so IRQ_TYPE_LEVEL_LOW.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20240605160032.150587-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sm6375-sony-xperia-murray-pdx225.dts

index cca2c2eb88ade75066cbef3837dbb6bd2a0865b5..e04a3b8f81c556713550cd22feb2d0f282564baa 100644 (file)
                compatible = "samsung,s6sy761";
                reg = <0x48>;
                interrupt-parent = <&tlmm>;
-               interrupts = <22 0x2008>;
+               interrupts = <22 IRQ_TYPE_LEVEL_LOW>;
 
                vdd-supply = <&pm6125_l13>;
                avdd-supply = <&touch_avdd>;