[PATCH v4 0/6] soc: qcom: llcc: Add support for QDU1000/QRU1000

From: Komal Bajaj
Date: Fri Jun 23 2023 - 10:18:37 EST


From: Komal-Bajaj <quic_kbajaj@xxxxxxxxxxx>

This patch series does the following -
* Add secure qfprom driver for reading secure fuse region in qfprom driver
* Add dt-bindings for secure qfprom
* Refactor LLCC driver to support multiple configuration
* Add support for multi channel DDR configuration in LLCC
* Add LLCC support for the Qualcomm QDU1000 and QRU1000 SoCs

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.

Changes in v3-
- Addressed comments from Krzysztof and Mani.
- Using qfprom to read DDR configuration from feature register.

Changes in v2:
- Addressing comments from Konrad.

Komal Bajaj (6):
dt-bindings: nvmem: sec-qfprom: Add bindings for secure qfprom
dt-bindings: cache: qcom,llcc: Add LLCC compatible for QDU1000/QRU1000
nvmem: sec-qfprom: Add Qualcomm secure QFPROM support.
soc: qcom: llcc: Refactor llcc driver to support multiple
configuration
soc: qcom: Add LLCC support for multi channel DDR
soc: qcom: llcc: Add QDU1000 and QRU1000 LLCC support

.../devicetree/bindings/cache/qcom,llcc.yaml | 10 +
.../bindings/nvmem/qcom,sec-qfprom.yaml | 58 ++++
drivers/nvmem/Kconfig | 12 +
drivers/nvmem/Makefile | 2 +
drivers/nvmem/sec-qfprom.c | 116 +++++++
drivers/soc/qcom/Kconfig | 2 +
drivers/soc/qcom/llcc-qcom.c | 304 +++++++++++++-----
include/linux/soc/qcom/llcc-qcom.h | 2 +-
8 files changed, 416 insertions(+), 90 deletions(-)
create mode 100644 Documentation/devicetree/bindings/nvmem/qcom,sec-qfprom.yaml
create mode 100644 drivers/nvmem/sec-qfprom.c

--
2.40.1