mbox series

[v8,0/6] soc: qcom: llcc: Add support for QDU1000/QRU1000

Message ID 20230830105654.28057-1-quic_kbajaj@quicinc.com (mailing list archive)
Headers show
Series soc: qcom: llcc: Add support for QDU1000/QRU1000 | expand

Message

Komal Bajaj Aug. 30, 2023, 10:56 a.m. UTC
This patch series does the following -
 * Refactor LLCC driver to support multiple configuration
 * Add stub function for nvmem_cell_read_u8
 * Add support for multi channel DDR configuration in LLCC
 * Add LLCC support for the Qualcomm QDU1000 and QRU1000 SoCs

Changes in v8 -
 - Removed macro DEF_NUM_CFG as suggested by Bryan.
 - Rebased on top of linux-next/master.
 - Link to v7: https://lore.kernel.org/all/20230810061140.15608-1-quic_kbajaj@quicinc.com/

Changes in v7 -
 - Changed the macro name as suggested by Mukesh.
 - Added NULL check for llcc cfgs as suggested by Mukesh.
 - Updated the num_config for qdu1000 to use ARRAY_SIZE().
 - Link to v6: https://lore.kernel.org/lkml/20230802091429.20892-1-quic_kbajaj@quicinc.com/

Changes in v6 -
 - Changed variable name from num_cfgs to num_config as suggested by Mukesh.
 - Added a check for default llcc configuration as per suggestion from Mukesh.
 - Updated the commit summary for the third and fifth patch.
 - Fixed alignment in the fourth patch.
 - Used ARRAY_SIZE() to calculate the num_config as per suggested by Konrad.
 - Link to v5: https://lore.kernel.org/lkml/20230724084155.8682-1-quic_kbajaj@quicinc.com/

Changes in v5 -
 - Separated out the secure qfprom driver changes to a separate series [1].
 - Created a wrapper struct with a pointer to qcom_llcc_config and
   length of array qcom_llcc_config.
 - Added stub function for nvmem_cell_read_u8.
 - Split commit 6/6 in the previous series into two commits.
 - Link to v4: https://lore.kernel.org/lkml/20230623141806.13388-1-quic_kbajaj@quicinc.com/

Changes in v4 -
 - Created a separate driver for reading from secure fuse region as suggested.
 - Added patch for dt-bindings of secure qfprom driver accordingly.
 - Added new properties in the dt-bindings for LLCC.
 - Implemented new logic to read the nvmem cell as suggested by Bjorn.
 - Separating the DT patches from this series as per suggestion.
 - Link to v3: https://lore.kernel.org/lkml/20230512122134.24339-1-quic_kbajaj@quicinc.com/

Changes in v3 -
 - Addressed comments from Krzysztof and Mani.
 - Using qfprom to read DDR configuration from feature register.
 - Link to v2: https://lore.kernel.org/lkml/20230313124040.9463-1-quic_kbajaj@quicinc.com/

Changes in v2:
  - Addressing comments from Konrad.
  - Link to v1: https://lore.kernel.org/lkml/20230313071325.21605-1-quic_kbajaj@quicinc.com/

[1] https://lore.kernel.org/linux-arm-msm/20230724082946.7441-1-quic_kbajaj@quicinc.com/


Komal Bajaj (6):
  dt-bindings: cache: qcom,llcc: Add LLCC compatible for QDU1000/QRU1000
  soc: qcom: llcc: Refactor llcc driver to support multiple
    configuration
  nvmem: core: Add stub for nvmem_cell_read_u8
  soc: qcom: Add LLCC support for multi channel DDR
  soc: qcom: llcc: Updating the macro name
  soc: qcom: llcc: Add QDU1000 and QRU1000 LLCC support

 .../devicetree/bindings/cache/qcom,llcc.yaml  |  10 +
 drivers/soc/qcom/llcc-qcom.c                  | 361 +++++++++++++-----
 include/linux/nvmem-consumer.h                |   6 +
 include/linux/soc/qcom/llcc-qcom.h            |   2 +-
 4 files changed, 291 insertions(+), 88 deletions(-)

--
2.41.0

Comments

Bjorn Andersson Sept. 20, 2023, 5:14 p.m. UTC | #1
On Wed, 30 Aug 2023 16:26:48 +0530, Komal Bajaj wrote:
> This patch series does the following -
>  * Refactor LLCC driver to support multiple configuration
>  * Add stub function for nvmem_cell_read_u8
>  * Add support for multi channel DDR configuration in LLCC
>  * Add LLCC support for the Qualcomm QDU1000 and QRU1000 SoCs
> 
> Changes in v8 -
>  - Removed macro DEF_NUM_CFG as suggested by Bryan.
>  - Rebased on top of linux-next/master.
>  - Link to v7: https://lore.kernel.org/all/20230810061140.15608-1-quic_kbajaj@quicinc.com/
> 
> [...]

Applied, thanks!

[1/6] dt-bindings: cache: qcom,llcc: Add LLCC compatible for QDU1000/QRU1000
      commit: 8e2506d0123149a7b7846fbabbf4295b6005faf4
[2/6] soc: qcom: llcc: Refactor llcc driver to support multiple configuration
      commit: 16fa93112f26a7a151f3d86a2a9223c564f6e3bf
[3/6] nvmem: core: Add stub for nvmem_cell_read_u8
      commit: 54e1f99d91405417b3ddb6050cfba82733c3aa41
[4/6] soc: qcom: Add LLCC support for multi channel DDR
      commit: a78502a4b2201235d93b04ac2902e01e32588bd5
[5/6] soc: qcom: llcc: Updating the macro name
      commit: 0bc76be64e80b15b975345b6957a87a1893c34f2
[6/6] soc: qcom: llcc: Add QDU1000 and QRU1000 LLCC support
      commit: db1e57928766966cd542e59789125968ac29b9da

Best regards,