blob: 1afa2308b0c9a0608410915a194e22ea03deff43 [file] [log] [blame]
Jingbiao Lucff00372018-02-01 15:18:17 +08001/*
2 * Copyright (c) 2015-2016, 2018, The Linux Foundation. All rights reserved.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 and
6 * only version 2 as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 */
13
14#include "pmi8950.dtsi"
15#include "msm8937-mtp.dtsi"
16
Jingbiao Lucff00372018-02-01 15:18:17 +080017&vendor {
18 mtp_batterydata: qcom,battery-data {
19 qcom,batt-id-range-pct = <15>;
20 #include "batterydata-itech-3000mah.dtsi"
21 #include "batterydata-ascent-3450mAh.dtsi"
22 };
23};
24
Tirupathi Reddy766b0f32018-01-30 11:19:22 +053025&qpnp_fg {
Jingbiao Lucff00372018-02-01 15:18:17 +080026 qcom,battery-data = <&mtp_batterydata>;
27};
28
Tirupathi Reddy766b0f32018-01-30 11:19:22 +053029&qpnp_smbcharger {
Jingbiao Lucff00372018-02-01 15:18:17 +080030 qcom,battery-data = <&mtp_batterydata>;
31 qcom,chg-led-sw-controls;
32 qcom,chg-led-support;
33 /delete-property/ dpdm-supply;
34};
35
Ajay Agarwal508f4402018-02-12 18:47:43 +053036&usb_otg {
37 extcon = <&qpnp_smbcharger>;
38};
39
Jingbiao Lucff00372018-02-01 15:18:17 +080040&labibb {
41 status = "ok";
42 qpnp,qpnp-labibb-mode = "lcd";
43};
44
45&ibb_regulator {
46 qcom,qpnp-ibb-discharge-resistor = <32>;
47};
Sachin Bhayarea4210c32018-02-14 15:16:45 +053048
49&mdss_dsi0 {
50 lab-supply = <&lab_regulator>;
51 ibb-supply = <&ibb_regulator>;
52};
53
54&mdss_dsi1 {
55 lab-supply = <&lab_regulator>;
56 ibb-supply = <&ibb_regulator>;
57};