Merge "ARM: dts: msm: add battery data information for SDM660/SDM630 MTP/CDP"
This commit is contained in:
commit
4af58b8ac7
5 changed files with 28 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright (c) 2016, The Linux Foundation. All rights reserved.
|
/* Copyright (c) 2016-2017, The Linux Foundation. All rights reserved.
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License version 2 and
|
* it under the terms of the GNU General Public License version 2 and
|
||||||
|
@ -37,7 +37,7 @@
|
||||||
qcom,temp-alarm@2400 {
|
qcom,temp-alarm@2400 {
|
||||||
compatible = "qcom,qpnp-temp-alarm";
|
compatible = "qcom,qpnp-temp-alarm";
|
||||||
reg = <0x2400 0x100>;
|
reg = <0x2400 0x100>;
|
||||||
interrupts = <0x0 0x24 0x0 IRQ_TYPE_EDGE_RISING>;
|
interrupts = <0x2 0x24 0x0 IRQ_TYPE_EDGE_RISING>;
|
||||||
label = "pm660l_tz";
|
label = "pm660l_tz";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -22,3 +22,7 @@
|
||||||
|
|
||||||
&soc {
|
&soc {
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&pm660_charger {
|
||||||
|
qcom,batteryless-platform;
|
||||||
|
};
|
||||||
|
|
|
@ -12,6 +12,11 @@
|
||||||
|
|
||||||
#include "sdm660-pinctrl.dtsi"
|
#include "sdm660-pinctrl.dtsi"
|
||||||
/ {
|
/ {
|
||||||
|
mtp_batterydata: qcom,battery-data {
|
||||||
|
qcom,batt-id-range-pct = <15>;
|
||||||
|
#include "fg-gen3-batterydata-itech-3000mah.dtsi"
|
||||||
|
#include "fg-gen3-batterydata-ascent-3450mah.dtsi"
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&uartblsp1dm1 {
|
&uartblsp1dm1 {
|
||||||
|
@ -26,3 +31,7 @@
|
||||||
|
|
||||||
&soc {
|
&soc {
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&pm660_fg {
|
||||||
|
qcom,battery-data = <&mtp_batterydata>;
|
||||||
|
};
|
||||||
|
|
|
@ -152,3 +152,7 @@
|
||||||
compatible = "qcom,msm-ssc-sensors";
|
compatible = "qcom,msm-ssc-sensors";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&pm660_charger {
|
||||||
|
qcom,batteryless-platform;
|
||||||
|
};
|
||||||
|
|
|
@ -13,6 +13,11 @@
|
||||||
#include "sdm660-pinctrl.dtsi"
|
#include "sdm660-pinctrl.dtsi"
|
||||||
#include "sdm660-camera-sensor-mtp.dtsi"
|
#include "sdm660-camera-sensor-mtp.dtsi"
|
||||||
/ {
|
/ {
|
||||||
|
mtp_batterydata: qcom,battery-data {
|
||||||
|
qcom,batt-id-range-pct = <15>;
|
||||||
|
#include "fg-gen3-batterydata-itech-3000mah.dtsi"
|
||||||
|
#include "fg-gen3-batterydata-ascent-3450mah.dtsi"
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&uartblsp1dm1 {
|
&uartblsp1dm1 {
|
||||||
|
@ -156,3 +161,7 @@
|
||||||
&mem_client_3_size {
|
&mem_client_3_size {
|
||||||
qcom,peripheral-size = <0x500000>;
|
qcom,peripheral-size = <0x500000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&pm660_fg {
|
||||||
|
qcom,battery-data = <&mtp_batterydata>;
|
||||||
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue