[PATCH v2 0/6] clk: qcom: sc8280xp: add lpasscc reset control

From: Srinivas Kandagatla
Date: Thu May 25 2023 - 08:29:56 EST

On SC8280XP, LPASS IP is controlled by q6dsp, however the reset lines
required by some of the IPs like Soundwire still need to be programmed from
Apps processor. This patchset adds support to reset controller on LPASS
CC and LPASS AudioCC.

Tested on X13s.


Changes since v1:
- updated dt binding to be in a accending order and fixed spaces in example
- updated kconfig and make file to fix the order.
- updated driver with various minor comments Johan.
- added defconfig changes patch
- fixed missing reset entry for swr0

Srinivas Kandagatla (6):
dt-bindings: clock: Add YAML schemas for LPASSCC and reset on SC8280XP
dt-bindings: clock: Add YAML schemas for LPASS AUDIOCC and reset on
clk: qcom: Add lpass clock controller driver for SC8280XP
clk: qcom: Add lpass audio clock controller driver for SC8280XP
arm64: dts: qcom: sc8280xp: add resets for soundwire controllers
arm64: defconfig: Enable sc828x0xp lpasscc clock controller

.../bindings/clock/qcom,sc8280xp-lpasscc.yaml | 68 +++++++++++++++
arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 23 +++++
arch/arm64/configs/defconfig | 1 +
drivers/clk/qcom/Kconfig | 8 ++
drivers/clk/qcom/Makefile | 1 +
drivers/clk/qcom/lpasscc-sc8280xp.c | 86 +++++++++++++++++++
.../dt-bindings/clock/qcom,lpasscc-sc8280xp.h | 17 ++++
7 files changed, 204 insertions(+)
create mode 100644 Documentation/devicetree/bindings/clock/qcom,sc8280xp-lpasscc.yaml
create mode 100644 drivers/clk/qcom/lpasscc-sc8280xp.c
create mode 100644 include/dt-bindings/clock/qcom,lpasscc-sc8280xp.h