[PATCH 0/6] Add SM8150 and SM8250 interconnect drivers

Jonathan Marek
2020-07-01T13:45:05Z

Most of this is generated from downstream dts using a script.

There are a couple things I'm not sure about:
* When to set keepalive in DEFINE_QBCM macro (set to all false)
* Address/size for the reg fields - the "display" nodes have the same
address as the non-"display" nodes. For the size I just used 0x1000.
reg field is unused by the upstream driver so isn't a problem functionally.

Jonathan Marek (6):
dt-bindings: interconnect: Add Qualcomm SM8150 DT bindings
dt-bindings: interconnect: Add Qualcomm SM8250 DT bindings
interconnect: qcom: Add SM8150 interconnect provider driver
interconnect: qcom: Add SM8250 interconnect provider driver
arm64: dts: qcom: sm8150: add interconnect nodes
arm64: dts: qcom: sm8250: add interconnect nodes

.../bindings/interconnect/qcom,sm8150.yaml | 86 ++
.../bindings/interconnect/qcom,sm8250.yaml | 86 ++
arch/arm64/boot/dts/qcom/sm8150.dtsi | 118 +++
arch/arm64/boot/dts/qcom/sm8250.dtsi | 118 +++
drivers/interconnect/qcom/Kconfig | 20 +
drivers/interconnect/qcom/Makefile | 4 +
drivers/interconnect/qcom/sm8150.c | 719 +++++++++++++++++
drivers/interconnect/qcom/sm8150.h | 163 ++++
drivers/interconnect/qcom/sm8250.c | 733 ++++++++++++++++++
drivers/interconnect/qcom/sm8250.h | 173 +++++
.../dt-bindings/interconnect/qcom,sm8150.h | 176 +++++
.../dt-bindings/interconnect/qcom,sm8250.h | 186 +++++
12 files changed, 2582 insertions(+)
create mode 100644 Documentation/devicetree/bindings/interconnect/qcom,sm8150.yaml
create mode 100644 Documentation/devicetree/bindings/interconnect/qcom,sm8250.yaml
create mode 100644 drivers/interconnect/qcom/sm8150.c
create mode 100644 drivers/interconnect/qcom/sm8150.h
create mode 100644 drivers/interconnect/qcom/sm8250.c
create mode 100644 drivers/interconnect/qcom/sm8250.h
create mode 100644 include/dt-bindings/interconnect/qcom,sm8150.h
create mode 100644 include/dt-bindings/interconnect/qcom,sm8250.h

--
2.26.1