From d66a25c89fa7bff6c7ea337f573ecbf9324c08f8 Mon Sep 17 00:00:00 2001 From: Fenglin Wu Date: Mon, 18 May 2020 10:53:50 +0800 Subject: [PATCH 1/2] ARM: dts: qcom: update haptics interrupt trigger for PM8350B Update haptics FIFO empty interrupt trigger to rising edge only because the driver doesn't expect to get a notification on the falling edge interrupt. Change-Id: Ia6a56071cb9ca015e5c4f1c0f1f50f3a1e2aef95 --- qcom/pm8350b.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcom/pm8350b.dtsi b/qcom/pm8350b.dtsi index 2f11d910583f..65efebaddd26 100644 --- a/qcom/pm8350b.dtsi +++ b/qcom/pm8350b.dtsi @@ -50,7 +50,7 @@ pm8350b_haptics: qcom,hv-haptics@f000 { compatible = "qcom,hv-haptics"; reg = <0xf000>, <0xf100>; - interrupts = <0x3 0xf0 0x1 IRQ_TYPE_EDGE_BOTH>; + interrupts = <0x3 0xf0 0x1 IRQ_TYPE_EDGE_RISING>; interrupt-names = "fifo-empty"; qcom,vmax-mv = <3600>; qcom,brake-mode = ; From 6b023f11bdbf71f156e697b9209e1e25208d43ce Mon Sep 17 00:00:00 2001 From: Fenglin Wu Date: Wed, 20 May 2020 08:43:29 +0800 Subject: [PATCH 2/2] ARM: dts: qcom: update haptics vmax setting for Lahaina QRD platform Update haptics qcom,vmax-mv setting for Lahaina QRD following HW recommendation. Change-Id: If2338453af32cdc4547033ace8c632d06c10f7dc --- qcom/lahaina-qrd-common.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcom/lahaina-qrd-common.dtsi b/qcom/lahaina-qrd-common.dtsi index 8d28a9423e74..a774fa8d4017 100644 --- a/qcom/lahaina-qrd-common.dtsi +++ b/qcom/lahaina-qrd-common.dtsi @@ -16,7 +16,7 @@ }; &pm8350b_haptics { - qcom,vmax-mv = <900>; + qcom,vmax-mv = <1300>; qcom,lra-period-us = <5880>; status = "ok";