msm-pm8x41-rpm-regulator.dtsi 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586
  1. /* Copyright (c) 2012, 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. &rpm_bus {
  13. rpm-regulator-smpb1 {
  14. qcom,resource-name = "smpb";
  15. qcom,resource-id = <1>;
  16. qcom,regulator-type = <1>;
  17. qcom,hpm-min-load = <100000>;
  18. compatible = "qcom,rpm-regulator-smd-resource";
  19. status = "disabled";
  20. regulator-s1 {
  21. regulator-name = "8841_s1";
  22. qcom,set = <3>;
  23. status = "disabled";
  24. compatible = "qcom,rpm-regulator-smd";
  25. };
  26. };
  27. rpm-regulator-smpb2 {
  28. qcom,resource-name = "smpb";
  29. qcom,resource-id = <2>;
  30. qcom,regulator-type = <1>;
  31. qcom,hpm-min-load = <100000>;
  32. compatible = "qcom,rpm-regulator-smd-resource";
  33. status = "disabled";
  34. regulator-s2 {
  35. regulator-name = "8841_s2";
  36. qcom,set = <3>;
  37. status = "disabled";
  38. compatible = "qcom,rpm-regulator-smd";
  39. };
  40. };
  41. rpm-regulator-smpb3 {
  42. qcom,resource-name = "smpb";
  43. qcom,resource-id = <3>;
  44. qcom,regulator-type = <1>;
  45. qcom,hpm-min-load = <100000>;
  46. compatible = "qcom,rpm-regulator-smd-resource";
  47. status = "disabled";
  48. regulator-s3 {
  49. regulator-name = "8841_s3";
  50. qcom,set = <3>;
  51. status = "disabled";
  52. compatible = "qcom,rpm-regulator-smd";
  53. };
  54. };
  55. rpm-regulator-smpb4 {
  56. qcom,resource-name = "smpb";
  57. qcom,resource-id = <4>;
  58. qcom,regulator-type = <1>;
  59. qcom,hpm-min-load = <100000>;
  60. compatible = "qcom,rpm-regulator-smd-resource";
  61. status = "disabled";
  62. regulator-s4 {
  63. regulator-name = "8841_s4";
  64. qcom,set = <3>;
  65. status = "disabled";
  66. compatible = "qcom,rpm-regulator-smd";
  67. };
  68. };
  69. rpm-regulator-smpa1 {
  70. qcom,resource-name = "smpa";
  71. qcom,resource-id = <1>;
  72. qcom,regulator-type = <1>;
  73. qcom,hpm-min-load = <100000>;
  74. compatible = "qcom,rpm-regulator-smd-resource";
  75. status = "disabled";
  76. regulator-s1 {
  77. regulator-name = "8941_s1";
  78. qcom,set = <3>;
  79. status = "disabled";
  80. compatible = "qcom,rpm-regulator-smd";
  81. };
  82. };
  83. rpm-regulator-smpa2 {
  84. qcom,resource-name = "smpa";
  85. qcom,resource-id = <2>;
  86. qcom,regulator-type = <1>;
  87. qcom,hpm-min-load = <100000>;
  88. compatible = "qcom,rpm-regulator-smd-resource";
  89. status = "disabled";
  90. regulator-s2 {
  91. regulator-name = "8941_s2";
  92. qcom,set = <3>;
  93. status = "disabled";
  94. compatible = "qcom,rpm-regulator-smd";
  95. };
  96. };
  97. rpm-regulator-smpa3 {
  98. qcom,resource-name = "smpa";
  99. qcom,resource-id = <3>;
  100. qcom,regulator-type = <1>;
  101. qcom,hpm-min-load = <100000>;
  102. compatible = "qcom,rpm-regulator-smd-resource";
  103. status = "disabled";
  104. regulator-s3 {
  105. regulator-name = "8941_s3";
  106. qcom,set = <3>;
  107. status = "disabled";
  108. compatible = "qcom,rpm-regulator-smd";
  109. };
  110. };
  111. rpm-regulator-ldoa1 {
  112. qcom,resource-name = "ldoa";
  113. qcom,resource-id = <1>;
  114. qcom,regulator-type = <0>;
  115. qcom,hpm-min-load = <10000>;
  116. compatible = "qcom,rpm-regulator-smd-resource";
  117. status = "disabled";
  118. regulator-l1 {
  119. regulator-name = "8941_l1";
  120. qcom,set = <3>;
  121. status = "disabled";
  122. compatible = "qcom,rpm-regulator-smd";
  123. };
  124. };
  125. rpm-regulator-ldoa2 {
  126. qcom,resource-name = "ldoa";
  127. qcom,resource-id = <2>;
  128. qcom,regulator-type = <0>;
  129. qcom,hpm-min-load = <10000>;
  130. compatible = "qcom,rpm-regulator-smd-resource";
  131. status = "disabled";
  132. regulator-l2 {
  133. regulator-name = "8941_l2";
  134. qcom,set = <3>;
  135. status = "disabled";
  136. compatible = "qcom,rpm-regulator-smd";
  137. };
  138. };
  139. rpm-regulator-ldoa3 {
  140. qcom,resource-name = "ldoa";
  141. qcom,resource-id = <3>;
  142. qcom,regulator-type = <0>;
  143. qcom,hpm-min-load = <10000>;
  144. compatible = "qcom,rpm-regulator-smd-resource";
  145. status = "disabled";
  146. regulator-l3 {
  147. regulator-name = "8941_l3";
  148. qcom,set = <3>;
  149. status = "disabled";
  150. compatible = "qcom,rpm-regulator-smd";
  151. };
  152. };
  153. rpm-regulator-ldoa4 {
  154. qcom,resource-name = "ldoa";
  155. qcom,resource-id = <4>;
  156. qcom,regulator-type = <0>;
  157. qcom,hpm-min-load = <10000>;
  158. compatible = "qcom,rpm-regulator-smd-resource";
  159. status = "disabled";
  160. regulator-l4 {
  161. regulator-name = "8941_l4";
  162. qcom,set = <3>;
  163. status = "disabled";
  164. compatible = "qcom,rpm-regulator-smd";
  165. };
  166. };
  167. rpm-regulator-ldoa5 {
  168. qcom,resource-name = "ldoa";
  169. qcom,resource-id = <5>;
  170. qcom,regulator-type = <0>;
  171. qcom,hpm-min-load = <10000>;
  172. compatible = "qcom,rpm-regulator-smd-resource";
  173. status = "disabled";
  174. regulator-l5 {
  175. regulator-name = "8941_l5";
  176. qcom,set = <3>;
  177. status = "disabled";
  178. compatible = "qcom,rpm-regulator-smd";
  179. };
  180. };
  181. rpm-regulator-ldoa6 {
  182. qcom,resource-name = "ldoa";
  183. qcom,resource-id = <6>;
  184. qcom,regulator-type = <0>;
  185. qcom,hpm-min-load = <10000>;
  186. compatible = "qcom,rpm-regulator-smd-resource";
  187. status = "disabled";
  188. regulator-l6 {
  189. regulator-name = "8941_l6";
  190. qcom,set = <3>;
  191. status = "disabled";
  192. compatible = "qcom,rpm-regulator-smd";
  193. };
  194. };
  195. rpm-regulator-ldoa7 {
  196. qcom,resource-name = "ldoa";
  197. qcom,resource-id = <7>;
  198. qcom,regulator-type = <0>;
  199. qcom,hpm-min-load = <10000>;
  200. compatible = "qcom,rpm-regulator-smd-resource";
  201. status = "disabled";
  202. regulator-l7 {
  203. regulator-name = "8941_l7";
  204. qcom,set = <3>;
  205. status = "disabled";
  206. compatible = "qcom,rpm-regulator-smd";
  207. };
  208. };
  209. rpm-regulator-ldoa8 {
  210. qcom,resource-name = "ldoa";
  211. qcom,resource-id = <8>;
  212. qcom,regulator-type = <0>;
  213. qcom,hpm-min-load = <10000>;
  214. compatible = "qcom,rpm-regulator-smd-resource";
  215. status = "disabled";
  216. regulator-l8 {
  217. regulator-name = "8941_l8";
  218. qcom,set = <3>;
  219. status = "disabled";
  220. compatible = "qcom,rpm-regulator-smd";
  221. };
  222. };
  223. rpm-regulator-ldoa9 {
  224. qcom,resource-name = "ldoa";
  225. qcom,resource-id = <9>;
  226. qcom,regulator-type = <0>;
  227. qcom,hpm-min-load = <10000>;
  228. compatible = "qcom,rpm-regulator-smd-resource";
  229. status = "disabled";
  230. regulator-l9 {
  231. regulator-name = "8941_l9";
  232. qcom,set = <3>;
  233. status = "disabled";
  234. compatible = "qcom,rpm-regulator-smd";
  235. };
  236. };
  237. rpm-regulator-ldoa10 {
  238. qcom,resource-name = "ldoa";
  239. qcom,resource-id = <10>;
  240. qcom,regulator-type = <0>;
  241. qcom,hpm-min-load = <10000>;
  242. compatible = "qcom,rpm-regulator-smd-resource";
  243. status = "disabled";
  244. regulator-l10 {
  245. regulator-name = "8941_l10";
  246. qcom,set = <3>;
  247. status = "disabled";
  248. compatible = "qcom,rpm-regulator-smd";
  249. };
  250. };
  251. rpm-regulator-ldoa11 {
  252. qcom,resource-name = "ldoa";
  253. qcom,resource-id = <11>;
  254. qcom,regulator-type = <0>;
  255. qcom,hpm-min-load = <10000>;
  256. compatible = "qcom,rpm-regulator-smd-resource";
  257. status = "disabled";
  258. regulator-l11 {
  259. regulator-name = "8941_l11";
  260. qcom,set = <3>;
  261. status = "disabled";
  262. compatible = "qcom,rpm-regulator-smd";
  263. };
  264. };
  265. rpm-regulator-ldoa12 {
  266. qcom,resource-name = "ldoa";
  267. qcom,resource-id = <12>;
  268. qcom,regulator-type = <0>;
  269. qcom,hpm-min-load = <10000>;
  270. compatible = "qcom,rpm-regulator-smd-resource";
  271. status = "disabled";
  272. regulator-l12 {
  273. regulator-name = "8941_l12";
  274. qcom,set = <3>;
  275. status = "disabled";
  276. compatible = "qcom,rpm-regulator-smd";
  277. };
  278. };
  279. rpm-regulator-ldoa13 {
  280. qcom,resource-name = "ldoa";
  281. qcom,resource-id = <13>;
  282. qcom,regulator-type = <0>;
  283. qcom,hpm-min-load = <10000>;
  284. compatible = "qcom,rpm-regulator-smd-resource";
  285. status = "disabled";
  286. regulator-l13 {
  287. regulator-name = "8941_l13";
  288. qcom,set = <3>;
  289. status = "disabled";
  290. compatible = "qcom,rpm-regulator-smd";
  291. };
  292. };
  293. rpm-regulator-ldoa14 {
  294. qcom,resource-name = "ldoa";
  295. qcom,resource-id = <14>;
  296. qcom,regulator-type = <0>;
  297. qcom,hpm-min-load = <10000>;
  298. compatible = "qcom,rpm-regulator-smd-resource";
  299. status = "disabled";
  300. regulator-l14 {
  301. regulator-name = "8941_l14";
  302. qcom,set = <3>;
  303. status = "disabled";
  304. compatible = "qcom,rpm-regulator-smd";
  305. };
  306. };
  307. rpm-regulator-ldoa15 {
  308. qcom,resource-name = "ldoa";
  309. qcom,resource-id = <15>;
  310. qcom,regulator-type = <0>;
  311. qcom,hpm-min-load = <10000>;
  312. compatible = "qcom,rpm-regulator-smd-resource";
  313. status = "disabled";
  314. regulator-l15 {
  315. regulator-name = "8941_l15";
  316. qcom,set = <3>;
  317. status = "disabled";
  318. compatible = "qcom,rpm-regulator-smd";
  319. };
  320. };
  321. rpm-regulator-ldoa16 {
  322. qcom,resource-name = "ldoa";
  323. qcom,resource-id = <16>;
  324. qcom,regulator-type = <0>;
  325. qcom,hpm-min-load = <10000>;
  326. compatible = "qcom,rpm-regulator-smd-resource";
  327. status = "disabled";
  328. regulator-l16 {
  329. regulator-name = "8941_l16";
  330. qcom,set = <3>;
  331. status = "disabled";
  332. compatible = "qcom,rpm-regulator-smd";
  333. };
  334. };
  335. rpm-regulator-ldoa17 {
  336. qcom,resource-name = "ldoa";
  337. qcom,resource-id = <17>;
  338. qcom,regulator-type = <0>;
  339. qcom,hpm-min-load = <10000>;
  340. compatible = "qcom,rpm-regulator-smd-resource";
  341. status = "disabled";
  342. regulator-l17 {
  343. regulator-name = "8941_l17";
  344. qcom,set = <3>;
  345. status = "disabled";
  346. compatible = "qcom,rpm-regulator-smd";
  347. };
  348. };
  349. rpm-regulator-ldoa18 {
  350. qcom,resource-name = "ldoa";
  351. qcom,resource-id = <18>;
  352. qcom,regulator-type = <0>;
  353. qcom,hpm-min-load = <10000>;
  354. compatible = "qcom,rpm-regulator-smd-resource";
  355. status = "disabled";
  356. regulator-l18 {
  357. regulator-name = "8941_l18";
  358. qcom,set = <3>;
  359. status = "disabled";
  360. compatible = "qcom,rpm-regulator-smd";
  361. };
  362. };
  363. rpm-regulator-ldoa19 {
  364. qcom,resource-name = "ldoa";
  365. qcom,resource-id = <19>;
  366. qcom,regulator-type = <0>;
  367. qcom,hpm-min-load = <10000>;
  368. compatible = "qcom,rpm-regulator-smd-resource";
  369. status = "disabled";
  370. regulator-l19 {
  371. regulator-name = "8941_l19";
  372. qcom,set = <3>;
  373. status = "disabled";
  374. compatible = "qcom,rpm-regulator-smd";
  375. };
  376. };
  377. rpm-regulator-ldoa20 {
  378. qcom,resource-name = "ldoa";
  379. qcom,resource-id = <20>;
  380. qcom,regulator-type = <0>;
  381. qcom,hpm-min-load = <10000>;
  382. compatible = "qcom,rpm-regulator-smd-resource";
  383. status = "disabled";
  384. regulator-l20 {
  385. regulator-name = "8941_l20";
  386. qcom,set = <3>;
  387. status = "disabled";
  388. compatible = "qcom,rpm-regulator-smd";
  389. };
  390. };
  391. rpm-regulator-ldoa21 {
  392. qcom,resource-name = "ldoa";
  393. qcom,resource-id = <21>;
  394. qcom,regulator-type = <0>;
  395. qcom,hpm-min-load = <10000>;
  396. compatible = "qcom,rpm-regulator-smd-resource";
  397. status = "disabled";
  398. regulator-l21 {
  399. regulator-name = "8941_l21";
  400. qcom,set = <3>;
  401. status = "disabled";
  402. compatible = "qcom,rpm-regulator-smd";
  403. };
  404. };
  405. rpm-regulator-ldoa22 {
  406. qcom,resource-name = "ldoa";
  407. qcom,resource-id = <22>;
  408. qcom,regulator-type = <0>;
  409. qcom,hpm-min-load = <10000>;
  410. compatible = "qcom,rpm-regulator-smd-resource";
  411. status = "disabled";
  412. regulator-l22 {
  413. regulator-name = "8941_l22";
  414. qcom,set = <3>;
  415. status = "disabled";
  416. compatible = "qcom,rpm-regulator-smd";
  417. };
  418. };
  419. rpm-regulator-ldoa23 {
  420. qcom,resource-name = "ldoa";
  421. qcom,resource-id = <23>;
  422. qcom,regulator-type = <0>;
  423. qcom,hpm-min-load = <10000>;
  424. compatible = "qcom,rpm-regulator-smd-resource";
  425. status = "disabled";
  426. regulator-l23 {
  427. regulator-name = "8941_l23";
  428. qcom,set = <3>;
  429. status = "disabled";
  430. compatible = "qcom,rpm-regulator-smd";
  431. };
  432. };
  433. rpm-regulator-ldoa24 {
  434. qcom,resource-name = "ldoa";
  435. qcom,resource-id = <24>;
  436. qcom,regulator-type = <0>;
  437. qcom,hpm-min-load = <10000>;
  438. compatible = "qcom,rpm-regulator-smd-resource";
  439. status = "disabled";
  440. regulator-l24 {
  441. regulator-name = "8941_l24";
  442. qcom,set = <3>;
  443. status = "disabled";
  444. compatible = "qcom,rpm-regulator-smd";
  445. };
  446. };
  447. /* TODO: find out correct resource names for LVS vs MVS */
  448. rpm-regulator-vsa1 {
  449. qcom,resource-name = "vsa";
  450. qcom,resource-id = <1>;
  451. qcom,regulator-type = <2>;
  452. compatible = "qcom,rpm-regulator-smd-resource";
  453. status = "disabled";
  454. regulator-lvs1 {
  455. regulator-name = "8941_lvs1";
  456. qcom,set = <3>;
  457. status = "disabled";
  458. compatible = "qcom,rpm-regulator-smd";
  459. };
  460. };
  461. rpm-regulator-vsa2 {
  462. qcom,resource-name = "vsa";
  463. qcom,resource-id = <2>;
  464. qcom,regulator-type = <2>;
  465. compatible = "qcom,rpm-regulator-smd-resource";
  466. status = "disabled";
  467. regulator-lvs2 {
  468. regulator-name = "8941_lvs2";
  469. qcom,set = <3>;
  470. status = "disabled";
  471. compatible = "qcom,rpm-regulator-smd";
  472. };
  473. };
  474. rpm-regulator-vsa3 {
  475. qcom,resource-name = "vsa";
  476. qcom,resource-id = <3>;
  477. qcom,regulator-type = <2>;
  478. compatible = "qcom,rpm-regulator-smd-resource";
  479. status = "disabled";
  480. regulator-lvs3 {
  481. regulator-name = "8941_lvs3";
  482. qcom,set = <3>;
  483. status = "disabled";
  484. compatible = "qcom,rpm-regulator-smd";
  485. };
  486. };
  487. rpm-regulator-vsa4 {
  488. qcom,resource-name = "vsa";
  489. qcom,resource-id = <4>;
  490. qcom,regulator-type = <2>;
  491. compatible = "qcom,rpm-regulator-smd-resource";
  492. status = "disabled";
  493. regulator-mvs1 {
  494. regulator-name = "8941_mvs1";
  495. qcom,set = <3>;
  496. status = "disabled";
  497. compatible = "qcom,rpm-regulator-smd";
  498. };
  499. };
  500. rpm-regulator-vsa5 {
  501. qcom,resource-name = "vsa";
  502. qcom,resource-id = <5>;
  503. qcom,regulator-type = <2>;
  504. compatible = "qcom,rpm-regulator-smd-resource";
  505. status = "disabled";
  506. regulator-mvs2 {
  507. regulator-name = "8941_mvs2";
  508. qcom,set = <3>;
  509. status = "disabled";
  510. compatible = "qcom,rpm-regulator-smd";
  511. };
  512. };
  513. };