mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-30 11:03:07 -04:00
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:
committed by
Bjorn Andersson
parent
2eae029f7d
commit
66fb209e60
@@ -687,7 +687,17 @@ vreg_l7p: ldo7 {
|
||||
};
|
||||
|
||||
/* 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 @@ hall_sensor_default: hall-sensor-default-state {
|
||||
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";
|
||||
|
||||
Reference in New Issue
Block a user