mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 17:17:04 -04:00
arm64: dts: qcom: sm7225-fairphone-fp4: Add AW8695 haptics
Add a node for the haptics driver found on the phone. Signed-off-by: Luca Weiss <luca.weiss@fairphone.com> Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20220408115311.237039-3-luca.weiss@fairphone.com
This commit is contained in:
committed by
Bjorn Andersson
parent
7be9f3ae25
commit
413821b777
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user