FROMGIT arm64: dts: qcom: milos-fairphone-fp6: Add vibrator support
Add the required node for haptic playback (Awinic AW86938) Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Signed-off-by: Griffin Kroah-Hartman <griffin.kroah@fairphone.com> Signed-off-by: Luca Weiss <luca.weiss@fairphone.com> Link: https://lore.kernel.org/r/20260403-aw86938-driver-v5-1-0712909df423@fairphone.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
parent
0f3319ad4e
commit
c5a13a7a28
1 changed files with 25 additions and 1 deletions
|
|
@ -687,7 +687,17 @@
|
|||
};
|
||||
|
||||
/* VL53L3 ToF @ 0x29 */
|
||||
/* AW86938FCR vibrator @ 0x5a */
|
||||
|
||||
vibrator@5a {
|
||||
compatible = "awinic,aw86938", "awinic,aw86927";
|
||||
reg = <0x5a>;
|
||||
|
||||
interrupts-extended = <&tlmm 80 IRQ_TYPE_EDGE_FALLING>;
|
||||
reset-gpios = <&tlmm 78 GPIO_ACTIVE_LOW>;
|
||||
|
||||
pinctrl-0 = <&aw86938_int_default>, <&aw86938_reset_default>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
||||
|
||||
&pm8550vs_c {
|
||||
|
|
@ -829,6 +839,20 @@
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
aw86938_reset_default: aw86938-reset-default-state {
|
||||
pins = "gpio78";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
aw86938_int_default: aw86938-int-default-state {
|
||||
pins = "gpio80";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
pm8008_int_default: pm8008-int-default-state {
|
||||
pins = "gpio125";
|
||||
function = "gpio";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue