[PATCH 0/3] drm/komeda: Unify mclk/pclk/pipeline->aclk to one ACLK

james qian wang (Arm Technology China) james.qian.wang at arm.com
Wed Jun 5 10:35:26 UTC 2019


Current komeda driver uses three dedicated clks for a specific purpose:
- mclk: main engine clock
- pclk: APB clock
- pipeline->aclk: AXI clock.

But per spec the komeda HW only has three input clks:
- ACLK: used for AXI masters, APB slave and most pipeline processing
- PXCLK for pipeline 0: output pixel clock for pipeline 0
- PXCLK for pipeline 1: output pixel clock for pipeline 1

So one ACLK is enough, no need to split it to three mclk/pclk/axiclk.

Depends on:
- https://patchwork.freedesktop.org/series/58710/
- https://patchwork.freedesktop.org/series/59000/
- https://patchwork.freedesktop.org/series/59002/
- https://patchwork.freedesktop.org/series/59747/
- https://patchwork.freedesktop.org/series/59915/
- https://patchwork.freedesktop.org/series/60083/
- https://patchwork.freedesktop.org/series/60698/
- https://patchwork.freedesktop.org/series/60856/
- https://patchwork.freedesktop.org/series/60893/
- https://patchwork.freedesktop.org/series/61370/
- https://patchwork.freedesktop.org/series/61379/

James Qian Wang (Arm Technology China) (3):
  drm/komeda: Unify mclk/pclk/pipeline->aclk to one MCLK
  drm/komeda: Rename main engine clk name "mclk" to "aclk"
  dt/bindings: drm/komeda: Unify mclk/pclk/pipeline->aclk to one ACLK

 .../bindings/display/arm,komeda.txt           | 16 +++----
 .../arm/display/komeda/d71/d71_component.c    | 10 ++---
 .../gpu/drm/arm/display/komeda/komeda_crtc.c  | 45 +++++++------------
 .../gpu/drm/arm/display/komeda/komeda_dev.c   | 39 +++++-----------
 .../gpu/drm/arm/display/komeda/komeda_dev.h   |  6 +--
 .../gpu/drm/arm/display/komeda/komeda_kms.h   |  6 +--
 .../drm/arm/display/komeda/komeda_pipeline.c  |  1 -
 .../drm/arm/display/komeda/komeda_pipeline.h  |  6 +--
 .../display/komeda/komeda_pipeline_state.c    |  4 +-
 9 files changed, 48 insertions(+), 85 deletions(-)

--
2.17.1


More information about the dri-devel mailing list