mirror of
https://github.com/torvalds/linux.git
synced 2026-10-09 20:09:02 +02:00
arm64: dts: qcom: sm6115-pro1x: Correct touchscreen GPIO flags
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_LEVEL_LOW = 8 = GPIO_TRANSITORY.
Correct the touchscreen irq-gpios to use proper flags, assuming the
author of the code wanted similar logical behavior:
IRQ_TYPE_LEVEL_LOW => GPIO_ACTIVE_LOW
Fixes: e46b455e67 ("arm64: dts: qcom: sm6115-pro1x: Add Goodix Touchscreen")
Cc: stable@vger.kernel.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260413090527.53000-2-krzysztof.kozlowski@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
parent
1b3ab2f3f1
commit
8e73ae5c34
|
|
@ -151,7 +151,7 @@ touchscreen@14 {
|
|||
|
||||
interrupts-extended = <&tlmm 80 IRQ_TYPE_LEVEL_LOW>;
|
||||
|
||||
irq-gpios = <&tlmm 80 IRQ_TYPE_LEVEL_LOW>;
|
||||
irq-gpios = <&tlmm 80 GPIO_ACTIVE_LOW>;
|
||||
reset-gpios = <&tlmm 71 GPIO_ACTIVE_HIGH>;
|
||||
AVDD28-supply = <&ts_vdd_supply>;
|
||||
VDDIO-supply = <&ts_vddio_supply>;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user