[PATCH 0/7] Add device tree and clock drivers for SM8250 SoC

Venkata Narendra Kumar Gutta
2020-01-16T23:41:04Z

This series adds device tree support and clock drivers support
for SM8250 SoC.
As part of the device tree, the sm8250 dts file has basic nodes
like CPU, PSCI, intc, timer and clock controller.

Required clock controller driver and RPMH cloks are added to
support peripherals like USB.

All this configuration is added to support SM8250 to boot up to the
serial console.

This patchset depends on one of the RPMH clock driver fix
https://patchwork.kernel.org/patch/11318949/

Taniya Das (6):
dt-bindings: clock: Add RPMHCC bindings for SM8250
clk: qcom: rpmh: Add support for RPMH clocks on SM8250
clk: qcom: clk-alpha-pll: Refactor and cleanup trion PLL
clk: qcom: clk-alpha-pll: Add support for controlling Lucid PLLs
dt-bindings: clock: Add SM8250 GCC clock bindings
clk: qcom: gcc: Add global clock controller driver for SM8250

Venkata Narendra Kumar Gutta (1):
arm64: dts: qcom: sm8250: Add sm8250 dts file

.../devicetree/bindings/clock/qcom,gcc.yaml | 1 +
.../devicetree/bindings/clock/qcom,rpmhcc.yaml | 1 +
arch/arm64/boot/dts/qcom/Makefile | 1 +
arch/arm64/boot/dts/qcom/sm8250-mtp.dts | 29 +
arch/arm64/boot/dts/qcom/sm8250.dtsi | 450 +++
drivers/clk/qcom/Kconfig | 7 +
drivers/clk/qcom/Makefile | 1 +
drivers/clk/qcom/clk-alpha-pll.c | 259 +-
drivers/clk/qcom/clk-alpha-pll.h | 12 +
drivers/clk/qcom/clk-rpmh.c | 25 +-
drivers/clk/qcom/gcc-sm8250.c | 3720 ++++++++++++++++++++
include/dt-bindings/clock/qcom,gcc-sm8250.h | 271 ++
include/dt-bindings/clock/qcom,rpmh.h | 4 +-
13 files changed, 4731 insertions(+), 50 deletions(-)
create mode 100644 arch/arm64/boot/dts/qcom/sm8250-mtp.dts
create mode 100644 arch/arm64/boot/dts/qcom/sm8250.dtsi
create mode 100644 drivers/clk/qcom/gcc-sm8250.c
create mode 100644 include/dt-bindings/clock/qcom,gcc-sm8250.h

--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project