Re: [PATCH v2 2/2] clk: qcom: Add SC8280XP display clock controller

From: Steev Klimaszewski
Date: Mon Oct 17 2022 - 20:52:10 EST


Round 2 because the patch is too long for the mailing lists, I hope it is okay to strip out a bit of the patch

On 10/17/22 6:09 PM, Steev Klimaszewski wrote:
Hi Bjorn,

On 9/26/22 3:38 PM, Bjorn Andersson wrote:
From: Bjorn Andersson <bjorn.andersson@xxxxxxxxxx>

The Qualcomm SC8280XP platform has two display clock controller
instances, add support for these. Duplication between the two
implementations is reduced by reusing any constant data between the two
sets of clock data.

Signed-off-by: Bjorn Andersson <bjorn.andersson@xxxxxxxxxx>
Signed-off-by: Bjorn Andersson <quic_bjorande@xxxxxxxxxxx>
---

Changes since v1:
- Lowercased hex numbers
- Changed "DISP CC 0" in error print, to work for second dispcc as well.

  drivers/clk/qcom/Kconfig           |    9 +
  drivers/clk/qcom/Makefile          |    1 +
  drivers/clk/qcom/dispcc-sc8280xp.c | 3218 ++++++++++++++++++++++++++++
  3 files changed, 3228 insertions(+)
  create mode 100644 drivers/clk/qcom/dispcc-sc8280xp.c

Tested on Lenovo Thinkpad X13s

Tested-by: Steev Klimaszewski <steev@xxxxxxxx>