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 | |