Commit 413821b7 authored by Luca Weiss's avatar Luca Weiss Committed by Bjorn Andersson

arm64: dts: qcom: sm7225-fairphone-fp4: Add AW8695 haptics

Add a node for the haptics driver found on the phone.
Signed-off-by: default avatarLuca Weiss <luca.weiss@fairphone.com>
Reported-by: default avatarkernel test robot <lkp@intel.com>
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220408115311.237039-3-luca.weiss@fairphone.com
parent 7be9f3ae
......@@ -296,6 +296,35 @@ &cdsp {
firmware-name = "qcom/sm7225/fairphone4/cdsp.mdt";
};
&i2c10 {
status = "okay";
clock-frequency = <400000>;
haptics@5a {
compatible = "awinic,aw8695";
reg = <0x5a>;
interrupts-extended = <&tlmm 85 IRQ_TYPE_EDGE_FALLING>;
reset-gpios = <&tlmm 90 GPIO_ACTIVE_HIGH>;
awinic,f0-preset = <2350>;
awinic,f0-coefficient = <260>;
awinic,f0-calibration-percent = <7>;
awinic,drive-level = <125>;
awinic,f0-detection-play-time = <5>;
awinic,f0-detection-wait-time = <3>;
awinic,f0-detection-repeat = <2>;
awinic,f0-detection-trace = <15>;
awinic,boost-debug = /bits/ 8 <0x30 0xeb 0xd4>;
awinic,tset = /bits/ 8 <0x12>;
awinic,r-spare = /bits/ 8 <0x68>;
awinic,bemf-upper-threshold = <4104>;
awinic,bemf-lower-threshold = <1016>;
};
};
&mpss {
status = "okay";
firmware-name = "qcom/sm7225/fairphone4/modem.mdt";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment