blob: 944868be512ee2cfaad456784b68ce2fc7be2ead [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