gpucc-sm6350.c 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529
  1. // SPDX-License-Identifier: GPL-2.0-only
  2. /*
  3. * Copyright (c) 2021, The Linux Foundation. All rights reserved.
  4. * Copyright (c) 2021, Konrad Dybcio <[email protected]>
  5. */
  6. #include <linux/clk-provider.h>
  7. #include <linux/module.h>
  8. #include <linux/platform_device.h>
  9. #include <linux/regmap.h>
  10. #include <dt-bindings/clock/qcom,gpucc-sm6350.h>
  11. #include "common.h"
  12. #include "clk-alpha-pll.h"
  13. #include "clk-branch.h"
  14. #include "clk-rcg.h"
  15. #include "clk-regmap.h"
  16. #include "reset.h"
  17. #include "gdsc.h"
  18. #define CX_GMU_CBCR_SLEEP_MASK 0xF
  19. #define CX_GMU_CBCR_SLEEP_SHIFT 4
  20. #define CX_GMU_CBCR_WAKE_MASK 0xF
  21. #define CX_GMU_CBCR_WAKE_SHIFT 8
  22. enum {
  23. DT_BI_TCXO,
  24. DT_GPLL0_OUT_MAIN,
  25. DT_GPLL0_OUT_MAIN_DIV,
  26. };
  27. enum {
  28. P_BI_TCXO,
  29. P_GPLL0_OUT_MAIN,
  30. P_GPLL0_OUT_MAIN_DIV,
  31. P_GPU_CC_PLL0_OUT_MAIN,
  32. P_GPU_CC_PLL0_OUT_ODD,
  33. P_GPU_CC_PLL1_OUT_EVEN,
  34. P_GPU_CC_PLL1_OUT_MAIN,
  35. P_GPU_CC_PLL1_OUT_ODD,
  36. P_CRC_DIV,
  37. };
  38. static const struct pll_vco fabia_vco[] = {
  39. { 249600000, 2000000000, 0 },
  40. };
  41. /* 506MHz Configuration*/
  42. static const struct alpha_pll_config gpu_cc_pll0_config = {
  43. .l = 0x1A,
  44. .alpha = 0x5AAA,
  45. .config_ctl_val = 0x20485699,
  46. .config_ctl_hi_val = 0x00002067,
  47. .test_ctl_val = 0x40000000,
  48. .test_ctl_hi_val = 0x00000002,
  49. .user_ctl_val = 0x00000001,
  50. .user_ctl_hi_val = 0x00004805,
  51. };
  52. static struct clk_alpha_pll gpu_cc_pll0 = {
  53. .offset = 0x0,
  54. .vco_table = fabia_vco,
  55. .num_vco = ARRAY_SIZE(fabia_vco),
  56. .regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_FABIA],
  57. .clkr = {
  58. .hw.init = &(struct clk_init_data){
  59. .name = "gpu_cc_pll0",
  60. .parent_data = &(const struct clk_parent_data){
  61. .index = DT_BI_TCXO,
  62. .fw_name = "bi_tcxo",
  63. },
  64. .num_parents = 1,
  65. .ops = &clk_alpha_pll_fabia_ops,
  66. },
  67. },
  68. };
  69. static struct clk_fixed_factor crc_div = {
  70. .mult = 1,
  71. .div = 2,
  72. .hw.init = &(struct clk_init_data){
  73. .name = "crc_div",
  74. .parent_hws = (const struct clk_hw*[]){
  75. &gpu_cc_pll0.clkr.hw,
  76. },
  77. .num_parents = 1,
  78. .flags = CLK_SET_RATE_PARENT,
  79. .ops = &clk_fixed_factor_ops,
  80. },
  81. };
  82. /* 514MHz Configuration*/
  83. static const struct alpha_pll_config gpu_cc_pll1_config = {
  84. .l = 0x1A,
  85. .alpha = 0xC555,
  86. .config_ctl_val = 0x20485699,
  87. .config_ctl_hi_val = 0x00002067,
  88. .test_ctl_val = 0x40000000,
  89. .test_ctl_hi_val = 0x00000002,
  90. .user_ctl_val = 0x00000001,
  91. .user_ctl_hi_val = 0x00004805,
  92. };
  93. static struct clk_alpha_pll gpu_cc_pll1 = {
  94. .offset = 0x100,
  95. .vco_table = fabia_vco,
  96. .num_vco = ARRAY_SIZE(fabia_vco),
  97. .regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_FABIA],
  98. .clkr = {
  99. .hw.init = &(struct clk_init_data){
  100. .name = "gpu_cc_pll1",
  101. .parent_data = &(const struct clk_parent_data){
  102. .index = DT_BI_TCXO,
  103. .fw_name = "bi_tcxo",
  104. },
  105. .num_parents = 1,
  106. .ops = &clk_alpha_pll_fabia_ops,
  107. },
  108. },
  109. };
  110. static const struct parent_map gpu_cc_parent_map_0[] = {
  111. { P_BI_TCXO, 0 },
  112. { P_GPU_CC_PLL0_OUT_MAIN, 1 },
  113. { P_GPU_CC_PLL1_OUT_MAIN, 3 },
  114. { P_GPLL0_OUT_MAIN, 5 },
  115. { P_GPLL0_OUT_MAIN_DIV, 6 },
  116. };
  117. static const struct clk_parent_data gpu_cc_parent_data_0[] = {
  118. { .index = DT_BI_TCXO, .fw_name = "bi_tcxo" },
  119. { .hw = &gpu_cc_pll0.clkr.hw },
  120. { .hw = &gpu_cc_pll1.clkr.hw },
  121. { .index = DT_GPLL0_OUT_MAIN, .fw_name = "gcc_gpu_gpll0_clk_src" },
  122. { .index = DT_GPLL0_OUT_MAIN_DIV, .fw_name = "gcc_gpu_gpll0_div_clk_src" },
  123. };
  124. static const struct parent_map gpu_cc_parent_map_1[] = {
  125. { P_BI_TCXO, 0 },
  126. { P_CRC_DIV, 1 },
  127. { P_GPU_CC_PLL0_OUT_ODD, 2 },
  128. { P_GPU_CC_PLL1_OUT_EVEN, 3 },
  129. { P_GPU_CC_PLL1_OUT_ODD, 4 },
  130. { P_GPLL0_OUT_MAIN, 5 },
  131. };
  132. static const struct clk_parent_data gpu_cc_parent_data_1[] = {
  133. { .index = DT_BI_TCXO, .fw_name = "bi_tcxo" },
  134. { .hw = &crc_div.hw },
  135. { .hw = &gpu_cc_pll0.clkr.hw },
  136. { .hw = &gpu_cc_pll1.clkr.hw },
  137. { .hw = &gpu_cc_pll1.clkr.hw },
  138. { .index = DT_GPLL0_OUT_MAIN, .fw_name = "gcc_gpu_gpll0_clk_src" },
  139. };
  140. static const struct freq_tbl ftbl_gpu_cc_gmu_clk_src[] = {
  141. F(200000000, P_GPLL0_OUT_MAIN_DIV, 1.5, 0, 0),
  142. { }
  143. };
  144. static struct clk_rcg2 gpu_cc_gmu_clk_src = {
  145. .cmd_rcgr = 0x1120,
  146. .mnd_width = 0,
  147. .hid_width = 5,
  148. .parent_map = gpu_cc_parent_map_0,
  149. .freq_tbl = ftbl_gpu_cc_gmu_clk_src,
  150. .clkr.hw.init = &(struct clk_init_data){
  151. .name = "gpu_cc_gmu_clk_src",
  152. .parent_data = gpu_cc_parent_data_0,
  153. .num_parents = ARRAY_SIZE(gpu_cc_parent_data_0),
  154. .flags = CLK_SET_RATE_PARENT,
  155. .ops = &clk_rcg2_ops,
  156. },
  157. };
  158. static const struct freq_tbl ftbl_gpu_cc_gx_gfx3d_clk_src[] = {
  159. F(253000000, P_CRC_DIV, 1, 0, 0),
  160. F(355000000, P_CRC_DIV, 1, 0, 0),
  161. F(430000000, P_CRC_DIV, 1, 0, 0),
  162. F(565000000, P_CRC_DIV, 1, 0, 0),
  163. F(650000000, P_CRC_DIV, 1, 0, 0),
  164. F(800000000, P_CRC_DIV, 1, 0, 0),
  165. F(825000000, P_CRC_DIV, 1, 0, 0),
  166. F(850000000, P_CRC_DIV, 1, 0, 0),
  167. { }
  168. };
  169. static struct clk_rcg2 gpu_cc_gx_gfx3d_clk_src = {
  170. .cmd_rcgr = 0x101c,
  171. .mnd_width = 0,
  172. .hid_width = 5,
  173. .parent_map = gpu_cc_parent_map_1,
  174. .freq_tbl = ftbl_gpu_cc_gx_gfx3d_clk_src,
  175. .clkr.hw.init = &(struct clk_init_data){
  176. .name = "gpu_cc_gx_gfx3d_clk_src",
  177. .parent_data = gpu_cc_parent_data_1,
  178. .num_parents = ARRAY_SIZE(gpu_cc_parent_data_1),
  179. .flags = CLK_SET_RATE_PARENT,
  180. .ops = &clk_rcg2_ops,
  181. },
  182. };
  183. static struct clk_branch gpu_cc_acd_ahb_clk = {
  184. .halt_reg = 0x1168,
  185. .halt_check = BRANCH_HALT,
  186. .clkr = {
  187. .enable_reg = 0x1168,
  188. .enable_mask = BIT(0),
  189. .hw.init = &(struct clk_init_data){
  190. .name = "gpu_cc_acd_ahb_clk",
  191. .ops = &clk_branch2_ops,
  192. },
  193. },
  194. };
  195. static struct clk_branch gpu_cc_acd_cxo_clk = {
  196. .halt_reg = 0x1164,
  197. .halt_check = BRANCH_HALT,
  198. .clkr = {
  199. .enable_reg = 0x1164,
  200. .enable_mask = BIT(0),
  201. .hw.init = &(struct clk_init_data){
  202. .name = "gpu_cc_acd_cxo_clk",
  203. .ops = &clk_branch2_ops,
  204. },
  205. },
  206. };
  207. static struct clk_branch gpu_cc_ahb_clk = {
  208. .halt_reg = 0x1078,
  209. .halt_check = BRANCH_HALT_DELAY,
  210. .clkr = {
  211. .enable_reg = 0x1078,
  212. .enable_mask = BIT(0),
  213. .hw.init = &(struct clk_init_data){
  214. .name = "gpu_cc_ahb_clk",
  215. .flags = CLK_IS_CRITICAL,
  216. .ops = &clk_branch2_ops,
  217. },
  218. },
  219. };
  220. static struct clk_branch gpu_cc_crc_ahb_clk = {
  221. .halt_reg = 0x107c,
  222. .halt_check = BRANCH_HALT_DELAY,
  223. .clkr = {
  224. .enable_reg = 0x107c,
  225. .enable_mask = BIT(0),
  226. .hw.init = &(struct clk_init_data){
  227. .name = "gpu_cc_crc_ahb_clk",
  228. .ops = &clk_branch2_ops,
  229. },
  230. },
  231. };
  232. static struct clk_branch gpu_cc_cx_gfx3d_clk = {
  233. .halt_reg = 0x10a4,
  234. .halt_check = BRANCH_HALT_DELAY,
  235. .clkr = {
  236. .enable_reg = 0x10a4,
  237. .enable_mask = BIT(0),
  238. .hw.init = &(struct clk_init_data){
  239. .name = "gpu_cc_cx_gfx3d_clk",
  240. .parent_hws = (const struct clk_hw*[]){
  241. &gpu_cc_gx_gfx3d_clk_src.clkr.hw,
  242. },
  243. .num_parents = 1,
  244. .flags = CLK_SET_RATE_PARENT,
  245. .ops = &clk_branch2_ops,
  246. },
  247. },
  248. };
  249. static struct clk_branch gpu_cc_cx_gfx3d_slv_clk = {
  250. .halt_reg = 0x10a8,
  251. .halt_check = BRANCH_HALT_DELAY,
  252. .clkr = {
  253. .enable_reg = 0x10a8,
  254. .enable_mask = BIT(0),
  255. .hw.init = &(struct clk_init_data){
  256. .name = "gpu_cc_cx_gfx3d_slv_clk",
  257. .parent_hws = (const struct clk_hw*[]){
  258. &gpu_cc_gx_gfx3d_clk_src.clkr.hw,
  259. },
  260. .num_parents = 1,
  261. .flags = CLK_SET_RATE_PARENT,
  262. .ops = &clk_branch2_ops,
  263. },
  264. },
  265. };
  266. static struct clk_branch gpu_cc_cx_gmu_clk = {
  267. .halt_reg = 0x1098,
  268. .halt_check = BRANCH_HALT,
  269. .clkr = {
  270. .enable_reg = 0x1098,
  271. .enable_mask = BIT(0),
  272. .hw.init = &(struct clk_init_data){
  273. .name = "gpu_cc_cx_gmu_clk",
  274. .parent_hws = (const struct clk_hw*[]){
  275. &gpu_cc_gmu_clk_src.clkr.hw,
  276. },
  277. .num_parents = 1,
  278. .flags = CLK_SET_RATE_PARENT,
  279. .ops = &clk_branch2_ops,
  280. },
  281. },
  282. };
  283. static struct clk_branch gpu_cc_cx_snoc_dvm_clk = {
  284. .halt_reg = 0x108c,
  285. .halt_check = BRANCH_HALT_DELAY,
  286. .clkr = {
  287. .enable_reg = 0x108c,
  288. .enable_mask = BIT(0),
  289. .hw.init = &(struct clk_init_data){
  290. .name = "gpu_cc_cx_snoc_dvm_clk",
  291. .ops = &clk_branch2_ops,
  292. },
  293. },
  294. };
  295. static struct clk_branch gpu_cc_cxo_aon_clk = {
  296. .halt_reg = 0x1004,
  297. .halt_check = BRANCH_HALT_DELAY,
  298. .clkr = {
  299. .enable_reg = 0x1004,
  300. .enable_mask = BIT(0),
  301. .hw.init = &(struct clk_init_data){
  302. .name = "gpu_cc_cxo_aon_clk",
  303. .ops = &clk_branch2_ops,
  304. },
  305. },
  306. };
  307. static struct clk_branch gpu_cc_cxo_clk = {
  308. .halt_reg = 0x109c,
  309. .halt_check = BRANCH_HALT,
  310. .clkr = {
  311. .enable_reg = 0x109c,
  312. .enable_mask = BIT(0),
  313. .hw.init = &(struct clk_init_data){
  314. .name = "gpu_cc_cxo_clk",
  315. .ops = &clk_branch2_ops,
  316. },
  317. },
  318. };
  319. static struct clk_branch gpu_cc_gx_cxo_clk = {
  320. .halt_reg = 0x1060,
  321. .halt_check = BRANCH_HALT,
  322. .clkr = {
  323. .enable_reg = 0x1060,
  324. .enable_mask = BIT(0),
  325. .hw.init = &(struct clk_init_data){
  326. .name = "gpu_cc_gx_cxo_clk",
  327. .ops = &clk_branch2_ops,
  328. },
  329. },
  330. };
  331. static struct clk_branch gpu_cc_gx_gfx3d_clk = {
  332. .halt_reg = 0x1054,
  333. .halt_check = BRANCH_HALT_SKIP,
  334. .clkr = {
  335. .enable_reg = 0x1054,
  336. .enable_mask = BIT(0),
  337. .hw.init = &(struct clk_init_data){
  338. .name = "gpu_cc_gx_gfx3d_clk",
  339. .parent_hws = (const struct clk_hw*[]){
  340. &gpu_cc_gx_gfx3d_clk_src.clkr.hw,
  341. },
  342. .num_parents = 1,
  343. .flags = CLK_SET_RATE_PARENT,
  344. .ops = &clk_branch2_ops,
  345. },
  346. },
  347. };
  348. static struct clk_branch gpu_cc_gx_gmu_clk = {
  349. .halt_reg = 0x1064,
  350. .halt_check = BRANCH_HALT,
  351. .clkr = {
  352. .enable_reg = 0x1064,
  353. .enable_mask = BIT(0),
  354. .hw.init = &(struct clk_init_data){
  355. .name = "gpu_cc_gx_gmu_clk",
  356. .parent_hws = (const struct clk_hw*[]){
  357. &gpu_cc_gmu_clk_src.clkr.hw,
  358. },
  359. .num_parents = 1,
  360. .flags = CLK_SET_RATE_PARENT,
  361. .ops = &clk_branch2_ops,
  362. },
  363. },
  364. };
  365. static struct clk_branch gpu_cc_gx_vsense_clk = {
  366. .halt_reg = 0x1058,
  367. .halt_check = BRANCH_HALT_DELAY,
  368. .clkr = {
  369. .enable_reg = 0x1058,
  370. .enable_mask = BIT(0),
  371. .hw.init = &(struct clk_init_data){
  372. .name = "gpu_cc_gx_vsense_clk",
  373. .ops = &clk_branch2_ops,
  374. },
  375. },
  376. };
  377. static struct gdsc gpu_cx_gdsc = {
  378. .gdscr = 0x106c,
  379. .gds_hw_ctrl = 0x1540,
  380. .pd = {
  381. .name = "gpu_cx_gdsc",
  382. },
  383. .pwrsts = PWRSTS_OFF_ON,
  384. .flags = VOTABLE,
  385. };
  386. static struct gdsc gpu_gx_gdsc = {
  387. .gdscr = 0x100c,
  388. .clamp_io_ctrl = 0x1508,
  389. .pd = {
  390. .name = "gpu_gx_gdsc",
  391. .power_on = gdsc_gx_do_nothing_enable,
  392. },
  393. .pwrsts = PWRSTS_OFF_ON,
  394. .flags = CLAMP_IO | POLL_CFG_GDSCR,
  395. };
  396. static struct clk_hw *gpu_cc_sm6350_hws[] = {
  397. [GPU_CC_CRC_DIV] = &crc_div.hw,
  398. };
  399. static struct clk_regmap *gpu_cc_sm6350_clocks[] = {
  400. [GPU_CC_ACD_AHB_CLK] = &gpu_cc_acd_ahb_clk.clkr,
  401. [GPU_CC_ACD_CXO_CLK] = &gpu_cc_acd_cxo_clk.clkr,
  402. [GPU_CC_AHB_CLK] = &gpu_cc_ahb_clk.clkr,
  403. [GPU_CC_CRC_AHB_CLK] = &gpu_cc_crc_ahb_clk.clkr,
  404. [GPU_CC_CX_GFX3D_CLK] = &gpu_cc_cx_gfx3d_clk.clkr,
  405. [GPU_CC_CX_GFX3D_SLV_CLK] = &gpu_cc_cx_gfx3d_slv_clk.clkr,
  406. [GPU_CC_CX_GMU_CLK] = &gpu_cc_cx_gmu_clk.clkr,
  407. [GPU_CC_CX_SNOC_DVM_CLK] = &gpu_cc_cx_snoc_dvm_clk.clkr,
  408. [GPU_CC_CXO_AON_CLK] = &gpu_cc_cxo_aon_clk.clkr,
  409. [GPU_CC_CXO_CLK] = &gpu_cc_cxo_clk.clkr,
  410. [GPU_CC_GMU_CLK_SRC] = &gpu_cc_gmu_clk_src.clkr,
  411. [GPU_CC_GX_CXO_CLK] = &gpu_cc_gx_cxo_clk.clkr,
  412. [GPU_CC_GX_GFX3D_CLK] = &gpu_cc_gx_gfx3d_clk.clkr,
  413. [GPU_CC_GX_GFX3D_CLK_SRC] = &gpu_cc_gx_gfx3d_clk_src.clkr,
  414. [GPU_CC_GX_GMU_CLK] = &gpu_cc_gx_gmu_clk.clkr,
  415. [GPU_CC_GX_VSENSE_CLK] = &gpu_cc_gx_vsense_clk.clkr,
  416. [GPU_CC_PLL0] = &gpu_cc_pll0.clkr,
  417. [GPU_CC_PLL1] = &gpu_cc_pll1.clkr,
  418. };
  419. static struct gdsc *gpu_cc_sm6350_gdscs[] = {
  420. [GPU_CX_GDSC] = &gpu_cx_gdsc,
  421. [GPU_GX_GDSC] = &gpu_gx_gdsc,
  422. };
  423. static const struct regmap_config gpu_cc_sm6350_regmap_config = {
  424. .reg_bits = 32,
  425. .reg_stride = 4,
  426. .val_bits = 32,
  427. .max_register = 0x8008,
  428. .fast_io = true,
  429. };
  430. static const struct qcom_cc_desc gpu_cc_sm6350_desc = {
  431. .config = &gpu_cc_sm6350_regmap_config,
  432. .clk_hws = gpu_cc_sm6350_hws,
  433. .num_clk_hws = ARRAY_SIZE(gpu_cc_sm6350_hws),
  434. .clks = gpu_cc_sm6350_clocks,
  435. .num_clks = ARRAY_SIZE(gpu_cc_sm6350_clocks),
  436. .gdscs = gpu_cc_sm6350_gdscs,
  437. .num_gdscs = ARRAY_SIZE(gpu_cc_sm6350_gdscs),
  438. };
  439. static const struct of_device_id gpu_cc_sm6350_match_table[] = {
  440. { .compatible = "qcom,sm6350-gpucc" },
  441. { }
  442. };
  443. MODULE_DEVICE_TABLE(of, gpu_cc_sm6350_match_table);
  444. static int gpu_cc_sm6350_probe(struct platform_device *pdev)
  445. {
  446. struct regmap *regmap;
  447. unsigned int value, mask;
  448. regmap = qcom_cc_map(pdev, &gpu_cc_sm6350_desc);
  449. if (IS_ERR(regmap))
  450. return PTR_ERR(regmap);
  451. clk_fabia_pll_configure(&gpu_cc_pll0, regmap, &gpu_cc_pll0_config);
  452. clk_fabia_pll_configure(&gpu_cc_pll1, regmap, &gpu_cc_pll1_config);
  453. /* Configure gpu_cc_cx_gmu_clk with recommended wakeup/sleep settings */
  454. mask = CX_GMU_CBCR_WAKE_MASK << CX_GMU_CBCR_WAKE_SHIFT;
  455. mask |= CX_GMU_CBCR_SLEEP_MASK << CX_GMU_CBCR_SLEEP_SHIFT;
  456. value = 0xF << CX_GMU_CBCR_WAKE_SHIFT | 0xF << CX_GMU_CBCR_SLEEP_SHIFT;
  457. regmap_update_bits(regmap, 0x1098, mask, value);
  458. return qcom_cc_really_probe(pdev, &gpu_cc_sm6350_desc, regmap);
  459. }
  460. static struct platform_driver gpu_cc_sm6350_driver = {
  461. .probe = gpu_cc_sm6350_probe,
  462. .driver = {
  463. .name = "sm6350-gpucc",
  464. .of_match_table = gpu_cc_sm6350_match_table,
  465. },
  466. };
  467. static int __init gpu_cc_sm6350_init(void)
  468. {
  469. return platform_driver_register(&gpu_cc_sm6350_driver);
  470. }
  471. core_initcall(gpu_cc_sm6350_init);
  472. static void __exit gpu_cc_sm6350_exit(void)
  473. {
  474. platform_driver_unregister(&gpu_cc_sm6350_driver);
  475. }
  476. module_exit(gpu_cc_sm6350_exit);
  477. MODULE_DESCRIPTION("QTI GPU_CC LAGOON Driver");
  478. MODULE_LICENSE("GPL v2");