Sundara Vinayagam | bde65ab | 2018-03-19 14:27:33 +0530 | [diff] [blame] | 1 | /* Copyright (c) 2013-2014, 2016-2018, 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 | |
Ivan T. Ivanov | 729ee9c | 2015-04-20 10:45:39 +0300 | [diff] [blame] | 13 | #include <dt-bindings/interrupt-controller/irq.h> |
| 14 | #include <dt-bindings/spmi/spmi.h> |
| 15 | |
| 16 | &spmi_bus { |
| 17 | |
Stephen Boyd | 2bce84c | 2015-11-20 15:31:19 -0800 | [diff] [blame] | 18 | pm8916_0: pm8916@0 { |
| 19 | compatible = "qcom,pm8916", "qcom,spmi-pmic"; |
Ivan T. Ivanov | 729ee9c | 2015-04-20 10:45:39 +0300 | [diff] [blame] | 20 | reg = <0x0 SPMI_USID>; |
| 21 | #address-cells = <1>; |
Sundara Vinayagam | bde65ab | 2018-03-19 14:27:33 +0530 | [diff] [blame] | 22 | #size-cells = <1>; |
Ivan T. Ivanov | 729ee9c | 2015-04-20 10:45:39 +0300 | [diff] [blame] | 23 | |
Sundara Vinayagam | bde65ab | 2018-03-19 14:27:33 +0530 | [diff] [blame] | 24 | pm8916_revid: qcom,revid@100 { |
| 25 | compatible = "qcom,qpnp-revid"; |
| 26 | reg = <0x100 0x100>; |
Ivan T. Ivanov | 729ee9c | 2015-04-20 10:45:39 +0300 | [diff] [blame] | 27 | }; |
| 28 | |
Sundara Vinayagam | bde65ab | 2018-03-19 14:27:33 +0530 | [diff] [blame] | 29 | pm8916_pon: qcom,power-on@800 { |
| 30 | compatible = "qcom,qpnp-power-on"; |
| 31 | reg = <0x800 0x100>; |
| 32 | interrupts = <0x0 0x8 0x0 IRQ_TYPE_NONE>, |
| 33 | <0x0 0x8 0x1 IRQ_TYPE_NONE>; |
| 34 | interrupt-names = "kpdpwr", "resin"; |
| 35 | qcom,pon-dbc-delay = <15625>; |
| 36 | qcom,system-reset; |
| 37 | qcom,clear-warm-reset; |
| 38 | qcom,store-hard-reset-reason; |
| 39 | |
| 40 | qcom,pon_1 { |
| 41 | qcom,pon-type = <0>; |
| 42 | qcom,support-reset = <1>; |
| 43 | qcom,pull-up = <1>; |
| 44 | qcom,s1-timer = <10256>; |
| 45 | qcom,s2-timer = <2000>; |
| 46 | qcom,s2-type = <1>; |
| 47 | linux,code = <116>; |
| 48 | }; |
| 49 | |
| 50 | qcom,pon_2 { |
| 51 | qcom,pon-type = <1>; |
| 52 | qcom,pull-up = <1>; |
| 53 | linux,code = <114>; |
| 54 | }; |
Ivan T. Ivanov | 729ee9c | 2015-04-20 10:45:39 +0300 | [diff] [blame] | 55 | }; |
| 56 | |
Sundara Vinayagam | bde65ab | 2018-03-19 14:27:33 +0530 | [diff] [blame] | 57 | pm8916_gpios: pinctrl@c000 { |
Ivan T. Ivanov | 729ee9c | 2015-04-20 10:45:39 +0300 | [diff] [blame] | 58 | compatible = "qcom,pm8916-gpio"; |
Sundara Vinayagam | bde65ab | 2018-03-19 14:27:33 +0530 | [diff] [blame] | 59 | reg = <0xc000 0x400>; |
Ivan T. Ivanov | 729ee9c | 2015-04-20 10:45:39 +0300 | [diff] [blame] | 60 | gpio-controller; |
| 61 | #gpio-cells = <2>; |
| 62 | interrupts = <0 0xc0 0 IRQ_TYPE_NONE>, |
| 63 | <0 0xc1 0 IRQ_TYPE_NONE>, |
| 64 | <0 0xc2 0 IRQ_TYPE_NONE>, |
| 65 | <0 0xc3 0 IRQ_TYPE_NONE>; |
Sundara Vinayagam | bde65ab | 2018-03-19 14:27:33 +0530 | [diff] [blame] | 66 | interrupt-names = "pm8916_gpio1", "pm8916_gpio2", |
| 67 | "pm8916_gpio3", "pm8916_gpio4"; |
Ivan T. Ivanov | 729ee9c | 2015-04-20 10:45:39 +0300 | [diff] [blame] | 68 | }; |
| 69 | |
| 70 | pm8916_mpps: mpps@a000 { |
| 71 | compatible = "qcom,pm8916-mpp"; |
Sundara Vinayagam | bde65ab | 2018-03-19 14:27:33 +0530 | [diff] [blame] | 72 | reg = <0xa000 0x400>; |
Ivan T. Ivanov | 729ee9c | 2015-04-20 10:45:39 +0300 | [diff] [blame] | 73 | gpio-controller; |
| 74 | #gpio-cells = <2>; |
| 75 | interrupts = <0 0xa0 0 IRQ_TYPE_NONE>, |
| 76 | <0 0xa1 0 IRQ_TYPE_NONE>, |
| 77 | <0 0xa2 0 IRQ_TYPE_NONE>, |
| 78 | <0 0xa3 0 IRQ_TYPE_NONE>; |
Sundara Vinayagam | bde65ab | 2018-03-19 14:27:33 +0530 | [diff] [blame] | 79 | interrupt-names = "pm8916_mpp1", "pm8916_mpp2", |
| 80 | "pm8916_mpp3", "pm8916_mpp4"; |
Ivan T. Ivanov | 729ee9c | 2015-04-20 10:45:39 +0300 | [diff] [blame] | 81 | }; |
| 82 | |
Kavya Nunna | 105dd8a | 2018-09-21 15:38:45 +0530 | [diff] [blame^] | 83 | pm8916_coincell: qcom,coincell@2800 { |
| 84 | compatible = "qcom,qpnp-coincell"; |
| 85 | reg = <0x2800 0x100>; |
| 86 | }; |
| 87 | |
Sundara Vinayagam | bde65ab | 2018-03-19 14:27:33 +0530 | [diff] [blame] | 88 | pm8916_rtc: qcom,pm8916_rtc { |
| 89 | compatible = "qcom,qpnp-rtc"; |
| 90 | #address-cells = <1>; |
| 91 | #size-cells = <1>; |
| 92 | qcom,qpnp-rtc-write = <0>; |
| 93 | qcom,qpnp-rtc-alarm-pwrup = <0>; |
| 94 | |
| 95 | qcom,pm8916_rtc_rw@6000 { |
| 96 | reg = <0x6000 0x100>; |
| 97 | }; |
| 98 | qcom,pm8916_rtc_alarm@6100 { |
| 99 | reg = <0x6100 0x100>; |
| 100 | interrupts = <0x0 0x61 0x1 IRQ_TYPE_NONE>; |
| 101 | }; |
Ivan T. Ivanov | 729ee9c | 2015-04-20 10:45:39 +0300 | [diff] [blame] | 102 | }; |
| 103 | |
| 104 | pm8916_vadc: vadc@3100 { |
Sundara Vinayagam | bde65ab | 2018-03-19 14:27:33 +0530 | [diff] [blame] | 105 | compatible = "qcom,qpnp-vadc"; |
| 106 | reg = <0x3100 0x100>; |
Ivan T. Ivanov | 729ee9c | 2015-04-20 10:45:39 +0300 | [diff] [blame] | 107 | #address-cells = <1>; |
| 108 | #size-cells = <0>; |
Arulpandiyan Vadivel | 9c32e5c | 2018-06-09 18:11:25 +0530 | [diff] [blame] | 109 | interrupts = <0x0 0x31 0x0 IRQ_TYPE_EDGE_RISING>; |
Sundara Vinayagam | bde65ab | 2018-03-19 14:27:33 +0530 | [diff] [blame] | 110 | interrupt-names = "eoc-int-en-set"; |
| 111 | qcom,adc-bit-resolution = <15>; |
| 112 | qcom,adc-vdd-reference = <1800>; |
| 113 | qcom,vadc-poll-eoc; |
| 114 | qcom,pmic-revid = <&pm8916_revid>; |
Arulpandiyan Vadivel | 9c32e5c | 2018-06-09 18:11:25 +0530 | [diff] [blame] | 115 | #thermal-sensor-cells = <1>; |
Ivan T. Ivanov | 729ee9c | 2015-04-20 10:45:39 +0300 | [diff] [blame] | 116 | |
Sundara Vinayagam | bde65ab | 2018-03-19 14:27:33 +0530 | [diff] [blame] | 117 | chan@8 { |
| 118 | label = "die_temp"; |
| 119 | reg = <8>; |
| 120 | qcom,decimation = <0>; |
| 121 | qcom,pre-div-channel-scaling = <0>; |
| 122 | qcom,calibration-type = "absolute"; |
| 123 | qcom,scale-function = <3>; |
| 124 | qcom,hw-settle-time = <0>; |
| 125 | qcom,fast-avg-setup = <0>; |
Ivan T. Ivanov | 729ee9c | 2015-04-20 10:45:39 +0300 | [diff] [blame] | 126 | }; |
Sundara Vinayagam | bde65ab | 2018-03-19 14:27:33 +0530 | [diff] [blame] | 127 | |
| 128 | chan@9 { |
| 129 | label = "ref_625mv"; |
| 130 | reg = <9>; |
| 131 | qcom,decimation = <0>; |
| 132 | qcom,pre-div-channel-scaling = <0>; |
| 133 | qcom,calibration-type = "absolute"; |
| 134 | qcom,scale-function = <0>; |
| 135 | qcom,hw-settle-time = <0>; |
| 136 | qcom,fast-avg-setup = <0>; |
Ivan T. Ivanov | 729ee9c | 2015-04-20 10:45:39 +0300 | [diff] [blame] | 137 | }; |
Sundara Vinayagam | bde65ab | 2018-03-19 14:27:33 +0530 | [diff] [blame] | 138 | |
| 139 | chan@a { |
| 140 | label = "ref_1250v"; |
| 141 | reg = <0xa>; |
| 142 | qcom,decimation = <0>; |
| 143 | qcom,pre-div-channel-scaling = <0>; |
| 144 | qcom,calibration-type = "absolute"; |
| 145 | qcom,scale-function = <0>; |
| 146 | qcom,hw-settle-time = <0>; |
| 147 | qcom,fast-avg-setup = <0>; |
Ivan T. Ivanov | 729ee9c | 2015-04-20 10:45:39 +0300 | [diff] [blame] | 148 | }; |
Sundara Vinayagam | bde65ab | 2018-03-19 14:27:33 +0530 | [diff] [blame] | 149 | }; |
| 150 | |
| 151 | pm8916_tz: qcom,temp-alarm@2400 { |
| 152 | compatible = "qcom,qpnp-temp-alarm"; |
| 153 | reg = <0x2400 0x100>; |
Arulpandiyan Vadivel | 9c32e5c | 2018-06-09 18:11:25 +0530 | [diff] [blame] | 154 | interrupts = <0x0 0x24 0x0 IRQ_TYPE_EDGE_RISING>; |
Sundara Vinayagam | bde65ab | 2018-03-19 14:27:33 +0530 | [diff] [blame] | 155 | label = "pm8916_tz"; |
| 156 | qcom,channel-num = <8>; |
| 157 | qcom,threshold-set = <0>; |
| 158 | qcom,temp_alarm-vadc = <&pm8916_vadc>; |
Arulpandiyan Vadivel | 9c32e5c | 2018-06-09 18:11:25 +0530 | [diff] [blame] | 159 | #thermal-sensor-cells = <0>; |
Sundara Vinayagam | bde65ab | 2018-03-19 14:27:33 +0530 | [diff] [blame] | 160 | }; |
| 161 | |
| 162 | pm8916_adc_tm: vadc@3400 { |
| 163 | compatible = "qcom,qpnp-adc-tm"; |
| 164 | reg = <0x3400 0x100>; |
| 165 | #address-cells = <1>; |
| 166 | #size-cells = <0>; |
Arulpandiyan Vadivel | 9c32e5c | 2018-06-09 18:11:25 +0530 | [diff] [blame] | 167 | interrupts = <0x0 0x34 0x0 IRQ_TYPE_EDGE_RISING>, |
| 168 | <0x0 0x34 0x3 IRQ_TYPE_EDGE_RISING>, |
| 169 | <0x0 0x34 0x4 IRQ_TYPE_EDGE_RISING>; |
Sundara Vinayagam | bde65ab | 2018-03-19 14:27:33 +0530 | [diff] [blame] | 170 | interrupt-names = "eoc-int-en-set", |
| 171 | "high-thr-en-set", |
| 172 | "low-thr-en-set"; |
| 173 | qcom,adc-bit-resolution = <15>; |
| 174 | qcom,adc-vdd-reference = <1800>; |
| 175 | qcom,adc_tm-vadc = <&pm8916_vadc>; |
| 176 | qcom,pmic-revid = <&pm8916_revid>; |
| 177 | }; |
| 178 | |
Arulpandiyan Vadivel | d90fd06 | 2018-04-19 12:13:40 +0530 | [diff] [blame] | 179 | pm8916_chg: qcom,charger { |
| 180 | compatible = "qcom,qpnp-linear-charger"; |
| 181 | #address-cells = <1>; |
| 182 | #size-cells = <1>; |
| 183 | |
| 184 | qcom,vddmax-mv = <4200>; |
| 185 | qcom,vddsafe-mv = <4200>; |
| 186 | qcom,vinmin-mv = <4308>; |
| 187 | qcom,ibatsafe-ma = <1440>; |
| 188 | qcom,thermal-mitigation = <1440 720 630 0>; |
| 189 | qcom,cool-bat-decidegc = <100>; |
| 190 | qcom,warm-bat-decidegc = <450>; |
| 191 | qcom,cool-bat-mv = <4100>; |
| 192 | qcom,warm-bat-mv = <4100>; |
| 193 | qcom,ibatmax-warm-ma = <360>; |
| 194 | qcom,ibatmax-cool-ma = <360>; |
| 195 | qcom,batt-hot-percentage = <25>; |
| 196 | qcom,batt-cold-percentage = <80>; |
| 197 | qcom,tchg-mins = <232>; |
| 198 | qcom,resume-soc = <99>; |
| 199 | qcom,chg-vadc = <&pm8916_vadc>; |
| 200 | qcom,chg-adc_tm = <&pm8916_adc_tm>; |
| 201 | |
| 202 | status = "disabled"; |
| 203 | |
| 204 | qcom,chgr@1000 { |
| 205 | reg = <0x1000 0x100>; |
| 206 | interrupts = |
| 207 | <0x0 0x10 0x7 IRQ_TYPE_EDGE_RISING>, |
| 208 | <0x0 0x10 0x6 IRQ_TYPE_EDGE_RISING>, |
| 209 | <0x0 0x10 0x5 IRQ_TYPE_EDGE_BOTH>, |
| 210 | <0x0 0x10 0x0 IRQ_TYPE_EDGE_FALLING>; |
| 211 | interrupt-names = "chg-done", |
| 212 | "chg-failed", |
| 213 | "fast-chg-on", |
| 214 | "vbat-det-lo"; |
| 215 | }; |
| 216 | |
| 217 | qcom,bat-if@1200 { |
| 218 | reg = <0x1200 0x100>; |
| 219 | interrupts = <0x0 0x12 0x1 IRQ_TYPE_EDGE_BOTH>, |
| 220 | <0x0 0x12 0x0 IRQ_TYPE_EDGE_BOTH>; |
| 221 | interrupt-names = "bat-temp-ok", |
| 222 | "batt-pres"; |
| 223 | }; |
| 224 | |
| 225 | qcom,usb-chgpth@1300 { |
| 226 | reg = <0x1300 0x100>; |
| 227 | interrupts = |
| 228 | <0 0x13 0x4 IRQ_TYPE_EDGE_BOTH>, |
| 229 | <0 0x13 0x2 IRQ_TYPE_EDGE_RISING>, |
| 230 | <0 0x13 0x1 IRQ_TYPE_EDGE_BOTH>; |
| 231 | interrupt-names = "usb-over-temp", |
| 232 | "chg-gone", |
| 233 | "usbin-valid"; |
| 234 | }; |
| 235 | |
| 236 | qcom,chg-misc@1600 { |
| 237 | reg = <0x1600 0x100>; |
| 238 | }; |
| 239 | }; |
| 240 | |
| 241 | pm8916_bms: qcom,vmbms { |
| 242 | compatible = "qcom,qpnp-vm-bms"; |
| 243 | #address-cells = <1>; |
| 244 | #size-cells = <1>; |
| 245 | status = "disabled"; |
| 246 | |
| 247 | qcom,v-cutoff-uv = <3400000>; |
| 248 | qcom,max-voltage-uv = <4200000>; |
| 249 | qcom,r-conn-mohm = <0>; |
| 250 | qcom,shutdown-soc-valid-limit = <100>; |
| 251 | qcom,low-soc-calculate-soc-threshold = <15>; |
| 252 | qcom,low-voltage-calculate-soc-ms = <1000>; |
| 253 | qcom,low-soc-calculate-soc-ms = <5000>; |
| 254 | qcom,calculate-soc-ms = <20000>; |
| 255 | qcom,volatge-soc-timeout-ms = <60000>; |
| 256 | qcom,low-voltage-threshold = <3450000>; |
| 257 | qcom,s3-ocv-tolerence-uv = <1200>; |
| 258 | qcom,s2-fifo-length = <5>; |
| 259 | qcom,low-soc-fifo-length = <2>; |
| 260 | qcom,bms-vadc = <&pm8916_vadc>; |
| 261 | qcom,bms-adc_tm = <&pm8916_adc_tm>; |
| 262 | qcom,pmic-revid = <&pm8916_revid>; |
| 263 | |
| 264 | qcom,force-s3-on-suspend; |
| 265 | qcom,force-s2-in-charging; |
| 266 | qcom,report-charger-eoc; |
| 267 | |
| 268 | qcom,batt-pres-status@1208 { |
| 269 | reg = <0x1208 0x1>; |
| 270 | }; |
| 271 | |
| 272 | qcom,qpnp-chg-pres@1008 { |
| 273 | reg = <0x1008 0x1>; |
| 274 | }; |
| 275 | |
| 276 | qcom,vm-bms@4000 { |
| 277 | reg = <0x4000 0x100>; |
| 278 | interrupts = <0x0 0x40 0x0 IRQ_TYPE_NONE>, |
| 279 | <0x0 0x40 0x1 IRQ_TYPE_NONE>, |
| 280 | <0x0 0x40 0x2 IRQ_TYPE_NONE>, |
| 281 | <0x0 0x40 0x3 IRQ_TYPE_NONE>, |
| 282 | <0x0 0x40 0x4 IRQ_TYPE_NONE>, |
| 283 | <0x0 0x40 0x5 IRQ_TYPE_NONE>; |
| 284 | |
| 285 | interrupt-names = "leave_cv", |
| 286 | "enter_cv", |
| 287 | "good_ocv", |
| 288 | "ocv_thr", |
| 289 | "fifo_update_done", |
| 290 | "fsm_state_change"; |
| 291 | }; |
| 292 | }; |
| 293 | |
Sundara Vinayagam | bde65ab | 2018-03-19 14:27:33 +0530 | [diff] [blame] | 294 | pm8916_leds: qcom,leds@a100 { |
| 295 | compatible = "qcom,leds-qpnp"; |
| 296 | reg = <0xa100 0x100>; |
| 297 | label = "mpp"; |
Ivan T. Ivanov | 729ee9c | 2015-04-20 10:45:39 +0300 | [diff] [blame] | 298 | }; |
| 299 | }; |
| 300 | |
Stephen Boyd | 2bce84c | 2015-11-20 15:31:19 -0800 | [diff] [blame] | 301 | pm8916_1: pm8916@1 { |
Sundara Vinayagam | bde65ab | 2018-03-19 14:27:33 +0530 | [diff] [blame] | 302 | compatible = "qcom,pm8916", "qcom,spmi-pmic"; |
Ivan T. Ivanov | 729ee9c | 2015-04-20 10:45:39 +0300 | [diff] [blame] | 303 | reg = <0x1 SPMI_USID>; |
| 304 | #address-cells = <1>; |
Sundara Vinayagam | bde65ab | 2018-03-19 14:27:33 +0530 | [diff] [blame] | 305 | #size-cells = <1>; |
| 306 | |
Kavya Nunna | 105dd8a | 2018-09-21 15:38:45 +0530 | [diff] [blame^] | 307 | pm8916_pwm: qcom,pwms@bc00 { |
| 308 | compatible = "qcom,pwm-lpg"; |
Sundara Vinayagam | bde65ab | 2018-03-19 14:27:33 +0530 | [diff] [blame] | 309 | reg = <0xbc00 0x100>; |
Kavya Nunna | 105dd8a | 2018-09-21 15:38:45 +0530 | [diff] [blame^] | 310 | reg-names = "lpg-base"; |
Sundara Vinayagam | bde65ab | 2018-03-19 14:27:33 +0530 | [diff] [blame] | 311 | #pwm-cells = <2>; |
| 312 | }; |
| 313 | |
| 314 | pm8916_vib: qcom,vibrator@c000 { |
| 315 | compatible = "qcom,qpnp-vibrator"; |
| 316 | reg = <0xc000 0x100>; |
| 317 | label = "vibrator"; |
| 318 | status = "disabled"; |
| 319 | }; |
| 320 | |
| 321 | pm8916_tombak_dig: msm8x16_wcd_codec@f000{ |
| 322 | compatible = "qcom,msm8x16_wcd_codec"; |
| 323 | reg = <0xf000 0x100>; |
| 324 | interrupt-parent = <&spmi_bus>; |
| 325 | interrupts = <0x1 0xf0 0x0 IRQ_TYPE_NONE>, |
| 326 | <0x1 0xf0 0x1 IRQ_TYPE_NONE>, |
| 327 | <0x1 0xf0 0x2 IRQ_TYPE_NONE>, |
| 328 | <0x1 0xf0 0x3 IRQ_TYPE_NONE>, |
| 329 | <0x1 0xf0 0x4 IRQ_TYPE_NONE>, |
| 330 | <0x1 0xf0 0x5 IRQ_TYPE_NONE>, |
| 331 | <0x1 0xf0 0x6 IRQ_TYPE_NONE>, |
| 332 | <0x1 0xf0 0x7 IRQ_TYPE_NONE>; |
| 333 | interrupt-names = "spk_cnp_int", |
| 334 | "spk_clip_int", |
| 335 | "spk_ocp_int", |
| 336 | "ins_rem_det1", |
| 337 | "but_rel_det", |
| 338 | "but_press_det", |
| 339 | "ins_rem_det", |
| 340 | "mbhc_int"; |
| 341 | |
| 342 | cdc-vdda-cp-supply = <&pm8916_s4>; |
| 343 | qcom,cdc-vdda-cp-voltage = <1800000 2200000>; |
| 344 | qcom,cdc-vdda-cp-current = <770000>; |
| 345 | |
| 346 | cdc-vdda-h-supply = <&pm8916_l5>; |
| 347 | qcom,cdc-vdda-h-voltage = <1800000 1800000>; |
| 348 | qcom,cdc-vdda-h-current = <20000>; |
| 349 | |
| 350 | cdc-vdd-px-supply = <&pm8916_s4>; |
| 351 | qcom,cdc-vdd-px-voltage = <1800000 2200000>; |
| 352 | qcom,cdc-vdd-px-current = <770000>; |
| 353 | |
| 354 | cdc-vdd-pa-supply = <&pm8916_l5>; |
| 355 | qcom,cdc-vdd-pa-voltage = <1800000 1800000>; |
| 356 | qcom,cdc-vdd-pa-current = <5000>; |
| 357 | |
| 358 | cdc-vdd-mic-bias-supply = <&pm8916_l13>; |
| 359 | qcom,cdc-vdd-mic-bias-voltage = <3075000 3075000>; |
| 360 | qcom,cdc-vdd-mic-bias-current = <25000>; |
| 361 | |
| 362 | qcom,cdc-mclk-clk-rate = <9600000>; |
| 363 | |
| 364 | qcom,cdc-static-supplies = "cdc-vdda-h", |
| 365 | "cdc-vdd-px", |
| 366 | "cdc-vdd-pa", |
| 367 | "cdc-vdda-cp"; |
| 368 | |
| 369 | qcom,cdc-on-demand-supplies = "cdc-vdd-mic-bias"; |
| 370 | qcom,subsys-name = "modem"; |
| 371 | }; |
| 372 | |
| 373 | pm8916_tombak_analog: msm8x16_wcd_codec@f100{ |
| 374 | compatible = "qcom,msm8x16_wcd_codec"; |
| 375 | reg = <0xf100 0x100>; |
| 376 | interrupt-parent = <&spmi_bus>; |
| 377 | interrupts = <0x1 0xf1 0x0 IRQ_TYPE_NONE>, |
| 378 | <0x1 0xf1 0x1 IRQ_TYPE_NONE>, |
| 379 | <0x1 0xf1 0x2 IRQ_TYPE_NONE>, |
| 380 | <0x1 0xf1 0x3 IRQ_TYPE_NONE>, |
| 381 | <0x1 0xf1 0x4 IRQ_TYPE_NONE>, |
| 382 | <0x1 0xf1 0x5 IRQ_TYPE_NONE>; |
| 383 | interrupt-names = "ear_ocp_int", |
| 384 | "hphr_ocp_int", |
| 385 | "hphl_ocp_det", |
| 386 | "ear_cnp_int", |
| 387 | "hphr_cnp_int", |
| 388 | "hphl_cnp_int"; |
| 389 | }; |
Ivan T. Ivanov | 729ee9c | 2015-04-20 10:45:39 +0300 | [diff] [blame] | 390 | }; |
| 391 | }; |