blob: 139ef1ef2e4700f98b0307b3e1a65ed565665595 [file] [log] [blame]
Kiran Gunda0954f392017-10-16 16:24:55 +05301/*
Umang Agrawalbfcce612018-01-08 13:49:56 +05302 * Copyright (c) 2017-2018, The Linux Foundation. All rights reserved.
Kiran Gunda0954f392017-10-16 16:24:55 +05303 *
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&soc {
15 led_flash0: qcom,camera-flash {
16 cell-index = <0>;
17 compatible = "qcom,camera-flash";
18 qcom,flash-type = <1>;
19 qcom,flash-source = <&pmi8950_flash0 &pmi8950_flash1>;
20 qcom,torch-source = <&pmi8950_torch0 &pmi8950_torch1>;
21 qcom,switch-source = <&pmi8950_switch>;
22 };
23};
24
25&labibb {
26 status = "ok";
27 qpnp,qpnp-labibb-mode = "lcd";
28};
Chandana Kishori Chiluveru34872ee2017-11-30 17:35:26 +053029
30&usb3 {
31 vbus_dwc3-supply = <&smbcharger_charger_otg>;
Sriharsha Allenki689568b2018-01-25 11:35:31 +053032 extcon = <&pmi8950_charger>;
Chandana Kishori Chiluveru34872ee2017-11-30 17:35:26 +053033};
Umang Agrawalbfcce612018-01-08 13:49:56 +053034
35&pmi8950_charger {
36 qcom,external-typec;
37 qcom,typec-psy-name = "typec";
38};
39
Sachin Bhayaree25c1f02018-01-16 14:04:54 +053040&mdss_dsi0 {
41 lab-supply = <&lab_regulator>;
42 ibb-supply = <&ibb_regulator>;
43};
44
45&mdss_dsi1 {
46 lab-supply = <&lab_regulator>;
47 ibb-supply = <&ibb_regulator>;
48};
49
50&dsi_panel_pwr_supply {
51 qcom,panel-supply-entry@2 {
52 reg = <2>;
53 qcom,supply-name = "lab";
54 qcom,supply-min-voltage = <4600000>;
55 qcom,supply-max-voltage = <6000000>;
56 qcom,supply-enable-load = <100000>;
57 qcom,supply-disable-load = <100>;
58 };
59 qcom,panel-supply-entry@3 {
60 reg = <3>;
61 qcom,supply-name = "ibb";
62 qcom,supply-min-voltage = <4600000>;
63 qcom,supply-max-voltage = <6000000>;
64 qcom,supply-enable-load = <100000>;
65 qcom,supply-disable-load = <100>;
66 qcom,supply-post-on-sleep = <10>;
67 };
68};