mirror of
https://github.com/torvalds/linux.git
synced 2026-10-09 12:06:03 +02:00
arm64: dts: qcom: msm8996-xiaomi-gemini: Fix up ti,drv2604 enable GPIO
Update the 'enable-gpio' property name to 'enable-gpios' to conform to
the bindings for the TI DRV2604 haptics module. While at it, use the
GPIO_ACTIVE_HIGH define instead of the raw literal.
Fixes: 4ac46b3682 ("arm64: dts: qcom: msm8996: xiaomi-gemini: Add support for Xiaomi Mi 5")
Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260625-topic-ti_drv2604_dtwarn-v1-1-76e91fcafbe8@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
parent
a6d4bb0a6a
commit
569413a98a
|
|
@ -39,7 +39,7 @@ &blsp2_i2c3 {
|
|||
haptics: drv2604@5a {
|
||||
compatible = "ti,drv2604";
|
||||
reg = <0x5a>;
|
||||
enable-gpio = <&tlmm 93 0x00>;
|
||||
enable-gpios = <&tlmm 93 GPIO_ACTIVE_HIGH>;
|
||||
mode = <DRV260X_LRA_MODE>;
|
||||
library-sel = <DRV260X_LIB_LRA>;
|
||||
pinctrl-names = "default","sleep";
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user