samsung,pins = "gpg0-7";
samsung,pin-con-pdn = <3>;
};
+
+ motor_pwm: motor_pwm {
+ samsung,pins = "gpg4-2";
+ samsung,pin-function = <2>;
+ samsung,pin-pud = <1>;
+ samsung,pin-drv = <0>;
+ };
};
};
};
+ s2mu106-haptic {
+ status = "okay";
+ haptic,pwm_id = <1>;
+ haptic,operation_mode = <2>; /* 0 : ERM_I2C, 1 : ERM_GPIO, 2 : LRA */
+ haptic,hbst_en;
+ haptic,hbst_automode;
+ haptic,boost_level = <5000>;
+ };
+
s2mcs02-charger@41 {
compatible = "samsung,s2mcs02-charger";
reg = <0x41>;
};
};
+&sec_pwm {
+ status = "okay";
+ pinctrl-names = "default";
+ pinctrl-0 = <&motor_pwm>;
+};
+
+
&fmp_0 {
exynos,block-type = "sda";
exynos,fips-block_offset = <5>;
# CONFIG_SCSC_WLAN_SINGLE_ANTENNA is not set
CONFIG_INPUT_EVDEV=y
CONFIG_INPUT_KEYRESET=y
+CONFIG_INPUT_S2MU106_HAPTIC=y
CONFIG_KEYBOARD_GPIO=y
CONFIG_KEYBOARD_SAMSUNG=y
# CONFIG_INPUT_MOUSE is not set