Kiran Gunda | 0954f39 | 2017-10-16 16:24:55 +0530 | [diff] [blame] | 1 | /* |
Umang Agrawal | bfcce61 | 2018-01-08 13:49:56 +0530 | [diff] [blame] | 2 | * Copyright (c) 2017-2018, The Linux Foundation. All rights reserved. |
Kiran Gunda | 0954f39 | 2017-10-16 16:24:55 +0530 | [diff] [blame] | 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 | &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 Chiluveru | 34872ee | 2017-11-30 17:35:26 +0530 | [diff] [blame] | 29 | |
| 30 | &usb3 { |
| 31 | vbus_dwc3-supply = <&smbcharger_charger_otg>; |
Sriharsha Allenki | 689568b | 2018-01-25 11:35:31 +0530 | [diff] [blame] | 32 | extcon = <&pmi8950_charger>; |
Chandana Kishori Chiluveru | 34872ee | 2017-11-30 17:35:26 +0530 | [diff] [blame] | 33 | }; |
Umang Agrawal | bfcce61 | 2018-01-08 13:49:56 +0530 | [diff] [blame] | 34 | |
| 35 | &pmi8950_charger { |
| 36 | qcom,external-typec; |
| 37 | qcom,typec-psy-name = "typec"; |
| 38 | }; |
| 39 | |
Sachin Bhayare | e25c1f0 | 2018-01-16 14:04:54 +0530 | [diff] [blame] | 40 | &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 | }; |