drivers: soc: Add LLCC driver
authorRishabh Bhatnagar <rishabhb@codeaurora.org>
Thu, 24 May 2018 00:35:21 +0000 (17:35 -0700)
committerAndy Gross <andy.gross@linaro.org>
Sat, 21 Jul 2018 18:31:35 +0000 (13:31 -0500)
commita3134fb09e0bc5bee76e13bf863173b86f21cf87
treee8f9aa7f9518533c3c8a2d337092697a2c7bfa38
parent7e5700ae64f6a8921c130f34946af4de4483bb7c
drivers: soc: Add LLCC driver

LLCC (Last Level Cache Controller) provides additional cache memory
in the system. LLCC is partitioned into multiple slices and each
slice gets its own priority, size, ID and other config parameters.
LLCC driver programs these parameters for each slice. Clients that
are assigned to use LLCC need to get information such size & ID of the
slice they get and activate or deactivate the slice as needed. LLCC driver
provides API for the clients to perform these operations.

Signed-off-by: Channagoud Kadabi <ckadabi@codeaurora.org>
Signed-off-by: Rishabh Bhatnagar <rishabhb@codeaurora.org>
Reviewed-by: Evan Green <evgreen@chromium.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
drivers/soc/qcom/Kconfig
drivers/soc/qcom/Makefile
drivers/soc/qcom/llcc-sdm845.c [new file with mode: 0644]
drivers/soc/qcom/llcc-slice.c [new file with mode: 0644]
include/linux/soc/qcom/llcc-qcom.h [new file with mode: 0644]