reg-names = "qpnp-lpg-channel-base",
"qpnp-lpg-lut-base";
qcom,channel-id = <1>;
+ qcom,lpg-lut-size = <0x7e>;
qcom,supported-sizes = <6>, <9>;
qcom,ramp-index = <0>;
#pwm-cells = <2>;
- status = "disabled";
};
pm2falcon_pwm_2: pwm@b200 {
reg-names = "qpnp-lpg-channel-base",
"qpnp-lpg-lut-base";
qcom,channel-id = <2>;
+ qcom,lpg-lut-size = <0x7e>;
qcom,supported-sizes = <6>, <9>;
qcom,ramp-index = <1>;
#pwm-cells = <2>;
- status = "disabled";
};
pm2falcon_pwm_3: pwm@b300 {
reg-names = "qpnp-lpg-channel-base",
"qpnp-lpg-lut-base";
qcom,channel-id = <3>;
+ qcom,lpg-lut-size = <0x7e>;
qcom,supported-sizes = <6>, <9>;
qcom,ramp-index = <2>;
#pwm-cells = <2>;
- status = "disabled";
};
pm2falcon_pwm_4: pwm@b400 {
reg-names = "qpnp-lpg-channel-base",
"qpnp-lpg-lut-base";
qcom,channel-id = <4>;
+ qcom,lpg-lut-size = <0x7e>;
qcom,supported-sizes = <6>, <9>;
qcom,ramp-index = <3>;
#pwm-cells = <2>;
compatible = "qcom,leds-qpnp";
reg = <0xd000 0x100>;
label = "rgb";
- status = "disabled";
red_led: qcom,rgb_0 {
label = "rgb";
qcom,thermal-derate-current = <200 500 1000>;
qcom,isc-delay = <192>;
qcom,pmic-revid = <&pm2falcon_revid>;
- status = "disabled";
pm2falcon_flash0: qcom,flash_0 {
label = "flash";
reg = <0x1 SPMI_USID>;
#address-cells = <2>;
#size-cells = <0>;
+
+ pmfalcon_haptics: qcom,haptic@c000 {
+ compatible = "qcom,qpnp-haptic";
+ reg = <0xc000 0x100>;
+ interrupts = <0x1 0xc0 0x0>,
+ <0x1 0xc0 0x1>;
+ interrupt-names = "sc-irq", "play-irq";
+ qcom,actuator-type = "lra";
+ qcom,play-mode = "direct";
+ qcom,vmax-mv = <3200>;
+ qcom,ilim-ma = <800>;
+ qcom,wave-shape = "square";
+ qcom,wave-play-rate-us = <6667>;
+ qcom,int-pwm-freq-khz = <505>;
+ qcom,sc-deb-cycles = <8>;
+ qcom,en-brake;
+ qcom,brake-pattern = [03 03 00 00];
+ qcom,use-play-irq;
+ qcom,use-sc-irq;
+ qcom,lra-high-z = "opt1";
+ qcom,lra-auto-res-mode = "qwd";
+ qcom,lra-res-cal-period = <4>;
+ };
};
};