1 // SPDX-License-Identifier: GPL-2.0-only
3 #include "msm8916-samsung-a2015-common.dtsi"
7 compatible = "regulator-haptic";
8 haptic-supply = <®_motor_vdd>;
9 min-microvolt = <3300000>;
10 max-microvolt = <3300000>;
14 /* SM5504 MUIC instead of SM5502 */
15 /delete-node/ extcon@25;
18 compatible = "siliconmitus,sm5504-muic";
21 interrupt-parent = <&msmgpio>;
22 interrupts = <12 IRQ_TYPE_EDGE_FALLING>;
24 pinctrl-names = "default";
25 pinctrl-0 = <&muic_int_default>;
29 reg_motor_vdd: regulator-motor-vdd {
30 compatible = "regulator-fixed";
31 regulator-name = "motor_vdd";
32 regulator-min-microvolt = <3300000>;
33 regulator-max-microvolt = <3300000>;
35 gpio = <&msmgpio 76 GPIO_ACTIVE_HIGH>;
38 pinctrl-names = "default";
39 pinctrl-0 = <&motor_en_default>;
42 reg_touch_key: regulator-touch-key {
43 compatible = "regulator-fixed";
44 regulator-name = "touch_key";
45 regulator-min-microvolt = <3300000>;
46 regulator-max-microvolt = <3300000>;
48 gpio = <&msmgpio 97 GPIO_ACTIVE_HIGH>;
51 pinctrl-names = "default";
52 pinctrl-0 = <&tkey_en_default>;
57 /* lis2hh12 accelerometer instead of BMC150 */
60 /delete-node/ accelerometer@10;
61 /delete-node/ magnetometer@12;
65 vcc-supply = <®_touch_key>;
66 vdd-supply = <®_touch_key>;
70 motor_en_default: motor-en-default {
78 tkey_en_default: tkey-en-default {