Merge "ARM: dts: msm: enable flash LED on 8952 platform"
This commit is contained in:
commit
7d9abd1c2c
|
@ -465,5 +465,51 @@
|
|||
qcom,led-strings-list = [00 01];
|
||||
qcom,en-ext-pfet-sc-pro;
|
||||
};
|
||||
|
||||
qcom,leds@d300 {
|
||||
compatible = "qcom,qpnp-flash-led";
|
||||
status = "okay";
|
||||
reg = <0xd300 0x100>;
|
||||
label = "flash";
|
||||
qcom,headroom = <500>;
|
||||
qcom,startup-dly = <128>;
|
||||
qcom,clamp-curr = <200>;
|
||||
qcom,pmic-charger-support;
|
||||
qcom,self-check-enabled;
|
||||
qcom,thermal-derate-enabled;
|
||||
qcom,thermal-derate-threshold = <100>;
|
||||
qcom,thermal-derate-rate = "5_PERCENT";
|
||||
qcom,current-ramp-enabled;
|
||||
qcom,ramp_up_step = "6P7_US";
|
||||
qcom,ramp_dn_step = "6P7_US";
|
||||
qcom,vph-pwr-droop-enabled;
|
||||
qcom,vph-pwr-droop-threshold = <3000>;
|
||||
qcom,vph-pwr-droop-debounce-time = <10>;
|
||||
qcom,headroom-sense-ch0-enabled;
|
||||
qcom,headroom-sense-ch1-enabled;
|
||||
qcom,power-detect-enabled;
|
||||
|
||||
pmi8950_flash0: qcom,flash_0 {
|
||||
label = "flash";
|
||||
qcom,led-name = "led:flash_0";
|
||||
qcom,default-led-trigger =
|
||||
"flash0_trigger";
|
||||
qcom,max-current = <1000>;
|
||||
qcom,duration = <1280>;
|
||||
qcom,id = <0>;
|
||||
qcom,current = <625>;
|
||||
};
|
||||
|
||||
pmi8950_flash1: qcom,flash_1 {
|
||||
label = "flash";
|
||||
qcom,led-name = "led:flash_1";
|
||||
qcom,default-led-trigger =
|
||||
"flash1_trigger";
|
||||
qcom,max-current = <1000>;
|
||||
qcom,duration = <1280>;
|
||||
qcom,id = <1>;
|
||||
qcom,current = <625>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue