Commit e801038
clk: qcom: dispcc-sm8450: fix DisplayPort clocks
On SM8450 DisplayPort link clocks use frequency tables inherited from
the vendor kernel, it is not applicable in the upstream kernel. Drop
frequency tables and use clk_byte2_ops for those clocks.
This fixes frequency selection in the OPP core (which otherwise attempts
to use invalid 810 KHz as DP link rate), also fixing the following
message:
msm-dp-display ae90000.displayport-controller: _opp_config_clk_single: failed to set clock rate: -22
Fixes: 16fb89f ("clk: qcom: Add support for Display Clock Controller on SM8450")
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20240424-dispcc-dp-clocks-v2-1-b44038f3fa96@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>1 parent f357439 commit e801038
1 file changed
Lines changed: 4 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
309 | 309 | | |
310 | 310 | | |
311 | 311 | | |
312 | | - | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | | - | |
317 | | - | |
318 | | - | |
319 | | - | |
320 | 312 | | |
321 | 313 | | |
322 | 314 | | |
323 | 315 | | |
324 | 316 | | |
325 | | - | |
326 | 317 | | |
327 | 318 | | |
328 | 319 | | |
329 | 320 | | |
330 | 321 | | |
331 | | - | |
| 322 | + | |
332 | 323 | | |
333 | 324 | | |
334 | 325 | | |
| |||
382 | 373 | | |
383 | 374 | | |
384 | 375 | | |
385 | | - | |
386 | 376 | | |
387 | 377 | | |
388 | 378 | | |
389 | 379 | | |
390 | 380 | | |
391 | | - | |
| 381 | + | |
392 | 382 | | |
393 | 383 | | |
394 | 384 | | |
| |||
442 | 432 | | |
443 | 433 | | |
444 | 434 | | |
445 | | - | |
446 | 435 | | |
447 | 436 | | |
448 | 437 | | |
449 | 438 | | |
450 | 439 | | |
451 | | - | |
| 440 | + | |
452 | 441 | | |
453 | 442 | | |
454 | 443 | | |
| |||
502 | 491 | | |
503 | 492 | | |
504 | 493 | | |
505 | | - | |
506 | 494 | | |
507 | 495 | | |
508 | 496 | | |
509 | 497 | | |
510 | 498 | | |
511 | | - | |
| 499 | + | |
512 | 500 | | |
513 | 501 | | |
514 | 502 | | |
| |||
0 commit comments