mbox series

[v3,RESEND,0/5] Add QCM2290 interconnect support

Message ID 20211214093011.19775-1-shawn.guo@linaro.org (mailing list archive)
Headers show
Series Add QCM2290 interconnect support | expand

Message

Shawn Guo Dec. 14, 2021, 9:30 a.m. UTC
Changes for v3 resend:
- Rebase on linux-next
- Drop NOC_QOS_MODE_INVALID patch which has been applied by Georgi
- Pick up Rob's Reviewed-by on the binding patch

Changes for v3:
- Update bindings to define child interconnect provider nodes

Changes for v2:
- Drop unneeded include of <dt-bindings/clock/qcom,gcc-qcm2290.h> from
  bindings.

Shawn Guo (5):
  interconnect: icc-rpm: Define ICC device type
  interconnect: icc-rpm: Add QNOC type QoS support
  interconnect: icc-rpm: Support child NoC device probe
  dt-bindings: interconnect: Add Qualcomm QCM2290 NoC support
  interconnect: qcom: Add QCM2290 driver support

 .../bindings/interconnect/qcom,qcm2290.yaml   |  137 ++
 drivers/interconnect/qcom/Kconfig             |    9 +
 drivers/interconnect/qcom/Makefile            |    2 +
 drivers/interconnect/qcom/icc-rpm.c           |   52 +-
 drivers/interconnect/qcom/icc-rpm.h           |   14 +-
 drivers/interconnect/qcom/msm8916.c           |    4 +-
 drivers/interconnect/qcom/msm8939.c           |    5 +-
 drivers/interconnect/qcom/qcm2290.c           | 1363 +++++++++++++++++
 drivers/interconnect/qcom/sdm660.c            |    7 +-
 .../dt-bindings/interconnect/qcom,qcm2290.h   |   94 ++
 10 files changed, 1676 insertions(+), 11 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/interconnect/qcom,qcm2290.yaml
 create mode 100644 drivers/interconnect/qcom/qcm2290.c
 create mode 100644 include/dt-bindings/interconnect/qcom,qcm2290.h

Comments

Georgi Djakov Dec. 14, 2021, 11:24 a.m. UTC | #1
Hi Shawn,

On 14.12.21 11:30, Shawn Guo wrote:
> Changes for v3 resend:
> - Rebase on linux-next

Did you try compiling it? There is one more driver where we need to
add the QoS type, otherwise I see this error:

drivers/interconnect/qcom/msm8996.c:1884:3: error: ‘const struct 
qcom_icc_desc’ has no member named ‘is_bimc_node’
  1884 |  .is_bimc_node = true,

Thanks,
Georgi

> - Drop NOC_QOS_MODE_INVALID patch which has been applied by Georgi
> - Pick up Rob's Reviewed-by on the binding patch
> 
> Changes for v3:
> - Update bindings to define child interconnect provider nodes
> 
> Changes for v2:
> - Drop unneeded include of <dt-bindings/clock/qcom,gcc-qcm2290.h> from
>    bindings.
> 
> Shawn Guo (5):
>    interconnect: icc-rpm: Define ICC device type
>    interconnect: icc-rpm: Add QNOC type QoS support
>    interconnect: icc-rpm: Support child NoC device probe
>    dt-bindings: interconnect: Add Qualcomm QCM2290 NoC support
>    interconnect: qcom: Add QCM2290 driver support
> 
>   .../bindings/interconnect/qcom,qcm2290.yaml   |  137 ++
>   drivers/interconnect/qcom/Kconfig             |    9 +
>   drivers/interconnect/qcom/Makefile            |    2 +
>   drivers/interconnect/qcom/icc-rpm.c           |   52 +-
>   drivers/interconnect/qcom/icc-rpm.h           |   14 +-
>   drivers/interconnect/qcom/msm8916.c           |    4 +-
>   drivers/interconnect/qcom/msm8939.c           |    5 +-
>   drivers/interconnect/qcom/qcm2290.c           | 1363 +++++++++++++++++
>   drivers/interconnect/qcom/sdm660.c            |    7 +-
>   .../dt-bindings/interconnect/qcom,qcm2290.h   |   94 ++
>   10 files changed, 1676 insertions(+), 11 deletions(-)
>   create mode 100644 Documentation/devicetree/bindings/interconnect/qcom,qcm2290.yaml
>   create mode 100644 drivers/interconnect/qcom/qcm2290.c
>   create mode 100644 include/dt-bindings/interconnect/qcom,qcm2290.h
>
Shawn Guo Dec. 15, 2021, 12:17 a.m. UTC | #2
On Tue, Dec 14, 2021 at 01:24:37PM +0200, Georgi Djakov wrote:
> Hi Shawn,
> 
> On 14.12.21 11:30, Shawn Guo wrote:
> > Changes for v3 resend:
> > - Rebase on linux-next
> 
> Did you try compiling it? There is one more driver where we need to
> add the QoS type, otherwise I see this error:
> 
> drivers/interconnect/qcom/msm8996.c:1884:3: error: ‘const struct
> qcom_icc_desc’ has no member named ‘is_bimc_node’
>  1884 |  .is_bimc_node = true,

Oops! I did compile, but just noticed that INTERCONNECT_QCOM_MSM8996 was
not enabled in my defconfig.  I will fix it with v4.  Sorry about that,
and thanks for spotting the error, Georgi!

Shawn