mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
arm64/dt: cypfr: add vibrator device node
Add vibrator device node for cypfr. It use an ldo to driver it. Change-Id: I671569319Montana059913d420dcdc8b244a30bf6054 Signed-off-by: wuwl10 <wuwl10@motorola.com> Reviewed-on: https://gerrit.mot.com/2067028 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Huosheng Liao <liaohs@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
e04590b1a5
commit
92c46af451
1 changed files with 35 additions and 0 deletions
|
|
@ -128,6 +128,32 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
vib_3v_active: vib_3v_active {
|
||||
mux {
|
||||
pins = "gpio102";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio102";
|
||||
drive-strength = <2>; /* 2 MA */
|
||||
output-high;
|
||||
};
|
||||
};
|
||||
|
||||
vib_3v_suspend: vib_3v_suspend {
|
||||
mux {
|
||||
pins = "gpio102";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio102";
|
||||
drive-strength = <2>; /* 2 MA */
|
||||
output-high;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
/* Dummy LDO reference */
|
||||
|
|
@ -228,6 +254,15 @@
|
|||
regulator-min-microvolt = <2700000>;
|
||||
regulator-max-microvolt = <3544000>;
|
||||
};
|
||||
|
||||
ldo_vib {
|
||||
compatible = "moto,vibrator-ldo";
|
||||
moto,vib-ldo-gpio = <&tlmm 100 0x0>;
|
||||
status = "ok"
|
||||
pinctrl-names = "default", "suspend";
|
||||
pinctrl-0 = <&vib_3v_active>;
|
||||
pinctrl-1 = <&vib_3v_suspend>;
|
||||
};
|
||||
};
|
||||
|
||||
&qupv3_se10_i2c_sleep {
|
||||
|
|
|
|||
Loading…
Reference in a new issue