Merge "ARM: dts: msm: add battery data information for SDM660/SDM630 MTP/CDP"

This commit is contained in:
Linux Build Service Account 2017-01-16 23:06:11 -08:00 committed by Gerrit - the friendly Code Review server
commit 4af58b8ac7
5 changed files with 28 additions and 2 deletions

View file

@ -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
* it under the terms of the GNU General Public License version 2 and
@ -37,7 +37,7 @@
qcom,temp-alarm@2400 {
compatible = "qcom,qpnp-temp-alarm";
reg = <0x2400 0x100>;
interrupts = <0x0 0x24 0x0 IRQ_TYPE_EDGE_RISING>;
interrupts = <0x2 0x24 0x0 IRQ_TYPE_EDGE_RISING>;
label = "pm660l_tz";
};

View file

@ -22,3 +22,7 @@
&soc {
};
&pm660_charger {
qcom,batteryless-platform;
};

View file

@ -12,6 +12,11 @@
#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 {
@ -26,3 +31,7 @@
&soc {
};
&pm660_fg {
qcom,battery-data = <&mtp_batterydata>;
};

View file

@ -152,3 +152,7 @@
compatible = "qcom,msm-ssc-sensors";
};
};
&pm660_charger {
qcom,batteryless-platform;
};

View file

@ -13,6 +13,11 @@
#include "sdm660-pinctrl.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 {
@ -156,3 +161,7 @@
&mem_client_3_size {
qcom,peripheral-size = <0x500000>;
};
&pm660_fg {
qcom,battery-data = <&mtp_batterydata>;
};