Rajesh Bharathwaj | 1a5d030 | 2019-10-31 21:43:32 -0700 | [diff] [blame] | 1 | /* Copyright (c) 2019, The Linux Foundation. All rights reserved. |
| 2 | * |
| 3 | * This program is free software; you can redistribute it and/or modify |
| 4 | * it under the terms of the GNU General Public License version 2 and |
| 5 | * only version 2 as published by the Free Software Foundation. |
| 6 | * |
| 7 | * This program is distributed in the hope that it will be useful, |
| 8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 10 | * GNU General Public License for more details. |
| 11 | */ |
| 12 | |
| 13 | &cam_sensor_mclk0_active { |
| 14 | /* MCLK0 */ |
| 15 | mux { |
| 16 | pins = "gpio13"; |
| 17 | function = "cam_mclk"; |
| 18 | }; |
| 19 | |
| 20 | config { |
| 21 | pins = "gpio13"; |
| 22 | bias-disable; /* No PULL */ |
| 23 | drive-strength = <16>; /* 16 MA */ |
| 24 | }; |
| 25 | }; |
| 26 | |
| 27 | &cam_sensor_mclk0_suspend { |
| 28 | /* MCLK0 */ |
| 29 | mux { |
| 30 | pins = "gpio13"; |
| 31 | function = "cam_mclk"; |
| 32 | }; |
| 33 | |
| 34 | config { |
| 35 | pins = "gpio13"; |
| 36 | bias-pull-down; /* PULL DOWN */ |
| 37 | drive-strength = <16>; /* 16 MA */ |
| 38 | }; |
| 39 | }; |
| 40 | |
| 41 | &cam_sensor_mclk1_active { |
| 42 | /* MCLK1 */ |
| 43 | mux { |
| 44 | pins = "gpio14"; |
| 45 | function = "cam_mclk"; |
| 46 | }; |
| 47 | |
| 48 | config { |
| 49 | pins = "gpio14"; |
| 50 | bias-disable; /* No PULL */ |
| 51 | drive-strength = <16>; /* 16 MA */ |
| 52 | }; |
| 53 | }; |
| 54 | |
| 55 | &cam_sensor_mclk1_suspend { |
| 56 | /* MCLK1 */ |
| 57 | mux { |
| 58 | pins = "gpio14"; |
| 59 | function = "cam_mclk"; |
| 60 | }; |
| 61 | |
| 62 | config { |
| 63 | pins = "gpio14"; |
| 64 | bias-pull-down; /* PULL DOWN */ |
| 65 | drive-strength = <16>; /* 16 MA */ |
| 66 | }; |
| 67 | }; |
| 68 | |
| 69 | &cam_sensor_mclk2_active { |
| 70 | /* MCLK2 */ |
| 71 | mux { |
| 72 | pins = "gpio15"; |
| 73 | function = "cam_mclk"; |
| 74 | }; |
| 75 | |
| 76 | config { |
| 77 | pins = "gpio15"; |
| 78 | bias-disable; /* No PULL */ |
| 79 | drive-strength = <16>; /* 16 MA */ |
| 80 | }; |
| 81 | }; |
| 82 | |
| 83 | &cam_sensor_mclk2_suspend { |
| 84 | /* MCLK2 */ |
| 85 | mux { |
| 86 | pins = "gpio15"; |
| 87 | function = "cam_mclk"; |
| 88 | }; |
| 89 | |
| 90 | config { |
| 91 | pins = "gpio15"; |
| 92 | bias-pull-down; /* PULL DOWN */ |
| 93 | drive-strength = <16>; /* 16 MA */ |
| 94 | }; |
| 95 | }; |
| 96 | |
| 97 | &cam_sensor_mclk3_active { |
| 98 | /* MCLK3 */ |
| 99 | mux { |
| 100 | pins = "gpio16"; |
| 101 | function = "cam_mclk"; |
| 102 | }; |
| 103 | |
| 104 | config { |
| 105 | pins = "gpio16"; |
| 106 | bias-disable; /* No PULL */ |
| 107 | drive-strength = <16>; /* 16 MA */ |
| 108 | }; |
| 109 | }; |
| 110 | |
| 111 | &cam_sensor_mclk3_suspend { |
| 112 | /* MCLK3 */ |
| 113 | mux { |
| 114 | pins = "gpio16"; |
| 115 | function = "cam_mclk"; |
| 116 | }; |
| 117 | |
| 118 | config { |
| 119 | pins = "gpio16"; |
| 120 | bias-pull-down; /* PULL DOWN */ |
| 121 | drive-strength = <16>; /* 16 MA */ |
| 122 | }; |
| 123 | }; |
| 124 | |