mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
ARM: dts: msm: Enable flash on PM6150l for holi
Enable flash on PM6150l for holi for camera. Also add IIO channels of SMB5 charger and QG required by flash. Change-Id: Ia0483b288a1356c2e4de634a96b2b7119423aab9
This commit is contained in:
parent
a5346e177a
commit
ccf82801a5
1 changed files with 15 additions and 0 deletions
|
|
@ -1,5 +1,6 @@
|
|||
#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
|
||||
#include <dt-bindings/interrupt-controller/irq.h>
|
||||
#include <dt-bindings/iio/qti_power_supply_iio.h>
|
||||
|
||||
#include "pm6350.dtsi"
|
||||
#include "pm7250b.dtsi"
|
||||
|
|
@ -244,6 +245,20 @@
|
|||
};
|
||||
};
|
||||
|
||||
&flash_led {
|
||||
status = "ok"
|
||||
io-channels = <&pm7250b_qg PSY_IIO_RESISTANCE>,
|
||||
<&pm7250b_qg PSY_IIO_VOLTAGE_OCV>,
|
||||
<&pm7250b_qg PSY_IIO_CURRENT_NOW>,
|
||||
<&pm7250b_charger PSY_IIO_FLASH_TRIGGER>,
|
||||
<&pm7250b_charger PSY_IIO_FLASH_ACTIVE>;
|
||||
io-channel-names = "rbatt",
|
||||
"voltage_ocv",
|
||||
"current_now",
|
||||
"flash_trigger",
|
||||
"flash_active";
|
||||
};
|
||||
|
||||
&thermal_zones {
|
||||
chg-skin-therm-usr {
|
||||
polling-delay-passive = <0>;
|
||||
|
|
|
|||
Loading…
Reference in a new issue