Commit 615a292
clk: qcom: dispcc-sm8650: fix DisplayPort clocks
On SM8650 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 af54000.displayport-controller: _opp_config_clk_single: failed to set clock rate: -22
Fixes: 9e939f0 ("clk: qcom: add the SM8650 Display Clock Controller driver")
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Tested-by: Neil Armstrong <neil.armstrong@linaro.org> # on SM8650-HDK
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-4-b44038f3fa96@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>1 parent e90b513 commit 615a292
1 file changed
Lines changed: 4 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
343 | 343 | | |
344 | 344 | | |
345 | 345 | | |
346 | | - | |
347 | | - | |
348 | | - | |
349 | | - | |
350 | | - | |
351 | | - | |
352 | | - | |
353 | | - | |
354 | 346 | | |
355 | 347 | | |
356 | 348 | | |
357 | 349 | | |
358 | 350 | | |
359 | | - | |
360 | 351 | | |
361 | 352 | | |
362 | 353 | | |
363 | 354 | | |
364 | 355 | | |
365 | | - | |
| 356 | + | |
366 | 357 | | |
367 | 358 | | |
368 | 359 | | |
| |||
416 | 407 | | |
417 | 408 | | |
418 | 409 | | |
419 | | - | |
420 | 410 | | |
421 | 411 | | |
422 | 412 | | |
423 | 413 | | |
424 | 414 | | |
425 | | - | |
| 415 | + | |
426 | 416 | | |
427 | 417 | | |
428 | 418 | | |
| |||
476 | 466 | | |
477 | 467 | | |
478 | 468 | | |
479 | | - | |
480 | 469 | | |
481 | 470 | | |
482 | 471 | | |
483 | 472 | | |
484 | 473 | | |
485 | | - | |
| 474 | + | |
486 | 475 | | |
487 | 476 | | |
488 | 477 | | |
| |||
536 | 525 | | |
537 | 526 | | |
538 | 527 | | |
539 | | - | |
540 | 528 | | |
541 | 529 | | |
542 | 530 | | |
543 | 531 | | |
544 | 532 | | |
545 | | - | |
| 533 | + | |
546 | 534 | | |
547 | 535 | | |
548 | 536 | | |
| |||
0 commit comments