Ziyu Jian | 42e54ac | 2019-03-14 11:01:45 +0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2019, 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 | &tlmm { |
| 15 | cam_sensor_rear4_active: cam_sensor_rear4_active { |
| 16 | /* RESET */ |
| 17 | mux { |
| 18 | pins = "gpio11"; |
| 19 | function = "gpio"; |
| 20 | }; |
| 21 | |
| 22 | config { |
| 23 | pins = "gpio11"; |
| 24 | bias-disable; /* No PULL */ |
| 25 | drive-strength = <2>; /* 2 MA */ |
| 26 | }; |
| 27 | }; |
| 28 | |
| 29 | cam_sensor_rear4_suspend: cam_sensor_rear4_suspend { |
| 30 | /* RESET */ |
| 31 | mux { |
| 32 | pins = "gpio11"; |
| 33 | function = "gpio"; |
| 34 | }; |
| 35 | |
| 36 | config { |
| 37 | pins = "gpio11"; |
| 38 | bias-pull-down; /* PULL DOWN */ |
| 39 | drive-strength = <2>; /* 2 MA */ |
| 40 | output-low; |
| 41 | }; |
| 42 | }; |
| 43 | |
| 44 | }; |
Ziyu Jian | 005e9b2 | 2019-03-13 13:55:16 +0800 | [diff] [blame] | 45 | |
| 46 | &soc { |
| 47 | qcom,qbt1000 { |
| 48 | status = "disabled"; |
| 49 | }; |
| 50 | }; |