diff mbox series

[V1,3/3] arm64: dts: qcom: sm8150: Add LLC support for sm8150

Message ID 8f0e818485941076d62a8dc9f711b0fb868ba080.1601452132.git.schowdhu@codeaurora.org (mailing list archive)
State New, archived
Headers show
Series Add LLCC support for SM8150 SoC | expand

Commit Message

Souradeep Chowdhury Sept. 30, 2020, 8:14 a.m. UTC
Add LLCC system cache controller entry for sm8150 to support sm8150
for LLCC.

Signed-off-by: Souradeep Chowdhury <schowdhu@codeaurora.org>
---
 arch/arm64/boot/dts/qcom/sm8150.dtsi | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

Comments

Bjorn Andersson Nov. 20, 2020, 4:24 a.m. UTC | #1
On Wed 30 Sep 03:14 CDT 2020, Souradeep Chowdhury wrote:

> Add LLCC system cache controller entry for sm8150 to support sm8150
> for LLCC.
> 

Thank you for your patches Souradeep, unfortunately there where some
indentation issues that you would have seen if you ran
./scripts/checkpatch.pl --strict.

I fixed these issues up and applied the patches towards v5.11.

Thank you,
Bjorn

> Signed-off-by: Souradeep Chowdhury <schowdhu@codeaurora.org>
> ---
>  arch/arm64/boot/dts/qcom/sm8150.dtsi | 9 ++++++++-
>  1 file changed, 8 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi
> index f0a872e02686..71037a1bb217 100644
> --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi
> @@ -490,7 +490,14 @@
>  			qcom,bcm-voters = <&apps_bcm_voter>;
>  		};
>  
> -		ufs_mem_hc: ufshc@1d84000 {
> +	        system-cache-controller@9200000 {
> +                        compatible = "qcom,sm8150-llcc";
> +                        reg = <0 0x09200000 0 0x200000>, <0 0x09600000 0 0x50000>;
> +                        reg-names = "llcc_base", "llcc_broadcast_base";
> +                        interrupts = <GIC_SPI 582 IRQ_TYPE_LEVEL_HIGH>;
> +                 };
> +
> +        	ufs_mem_hc: ufshc@1d84000 {
>  			compatible = "qcom,sm8150-ufshc", "qcom,ufshc",
>  				     "jedec,ufs-2.0";
>  			reg = <0 0x01d84000 0 0x2500>;
> -- 
> QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
> of Code Aurora Forum, hosted by The Linux Foundation
>
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi
index f0a872e02686..71037a1bb217 100644
--- a/arch/arm64/boot/dts/qcom/sm8150.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi
@@ -490,7 +490,14 @@ 
 			qcom,bcm-voters = <&apps_bcm_voter>;
 		};
 
-		ufs_mem_hc: ufshc@1d84000 {
+	        system-cache-controller@9200000 {
+                        compatible = "qcom,sm8150-llcc";
+                        reg = <0 0x09200000 0 0x200000>, <0 0x09600000 0 0x50000>;
+                        reg-names = "llcc_base", "llcc_broadcast_base";
+                        interrupts = <GIC_SPI 582 IRQ_TYPE_LEVEL_HIGH>;
+                 };
+
+        	ufs_mem_hc: ufshc@1d84000 {
 			compatible = "qcom,sm8150-ufshc", "qcom,ufshc",
 				     "jedec,ufs-2.0";
 			reg = <0 0x01d84000 0 0x2500>;