Commit 6b11143
PCI: exynos: Adapt to use bulk clock APIs
There is no need to hardcode the clock info in the driver as driver can
rely on the devicetree to supply the clocks required for the functioning
of the peripheral.
Thus, remove the static clock info and obtain the platform supplied
clocks. All the clocks supplied are obtained and enabled using the
devm_clk_bulk_get_all_enable() API.
[kwilczynski: commit log]
Link: https://lore.kernel.org/linux-pci/20240220084046.23786-3-shradha.t@samsung.com
Signed-off-by: Shradha Todi <shradha.t@samsung.com>
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>1 parent 1613e60 commit 6b11143
1 file changed
Lines changed: 4 additions & 50 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
58 | | - | |
| 57 | + | |
59 | 58 | | |
60 | 59 | | |
61 | 60 | | |
62 | 61 | | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | 62 | | |
95 | 63 | | |
96 | 64 | | |
| |||
332 | 300 | | |
333 | 301 | | |
334 | 302 | | |
335 | | - | |
336 | | - | |
337 | | - | |
338 | | - | |
339 | | - | |
340 | | - | |
341 | | - | |
342 | | - | |
343 | | - | |
344 | | - | |
345 | | - | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
346 | 306 | | |
347 | 307 | | |
348 | 308 | | |
| |||
351 | 311 | | |
352 | 312 | | |
353 | 313 | | |
354 | | - | |
355 | | - | |
356 | | - | |
357 | | - | |
358 | 314 | | |
359 | 315 | | |
360 | 316 | | |
| |||
369 | 325 | | |
370 | 326 | | |
371 | 327 | | |
372 | | - | |
373 | 328 | | |
374 | 329 | | |
375 | 330 | | |
| |||
383 | 338 | | |
384 | 339 | | |
385 | 340 | | |
386 | | - | |
387 | 341 | | |
388 | 342 | | |
389 | 343 | | |
| |||
0 commit comments