Merge pull request #1693 from loki666/sm8550-cma

sm8550/linux: add 384Mb cma memory
This commit is contained in:
Philippe Simons
2025-07-23 22:55:14 +02:00
committed by GitHub
2 changed files with 16 additions and 2 deletions
@@ -3,7 +3,7 @@ new file mode 100644
index 000000000000..58d9ab342fe9 index 000000000000..58d9ab342fe9
--- /dev/null --- /dev/null
+++ b/arch/arm64/boot/dts/qcom/qcs8550-ayn-common.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs8550-ayn-common.dtsi
@@ -0,0 +1,2088 @@ @@ -0,0 +1,2095 @@
+// SPDX-License-Identifier: BSD-3-Clause +// SPDX-License-Identifier: BSD-3-Clause
+/* +/*
+ * Copyright (c) 2025, Teguh Sobirin. + * Copyright (c) 2025, Teguh Sobirin.
@@ -203,6 +203,13 @@ index 000000000000..58d9ab342fe9
+ reg = <0 0xfce00000 0 0x2900000>; + reg = <0 0xfce00000 0 0x2900000>;
+ no-map; + no-map;
+ }; + };
+
+ linux,cma {
+ compatible = "shared-dma-pool";
+ size = <0x0 0x18000000>;
+ reusable;
+ linux,cma-default;
+ };
+ }; + };
+ +
+ thermal-zones { + thermal-zones {
@@ -3,7 +3,7 @@ new file mode 100644
index 000000000000..58d9ab342fe9 index 000000000000..58d9ab342fe9
--- /dev/null --- /dev/null
+++ b/arch/arm64/boot/dts/qcom/qcs8550-ayaneo-pocket-common.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs8550-ayaneo-pocket-common.dtsi
@@ -0,0 +1,1915 @@ @@ -0,0 +1,1922 @@
+// SPDX-License-Identifier: BSD-3-Clause +// SPDX-License-Identifier: BSD-3-Clause
+/* +/*
+ * Copyright (c) 2025, Teguh Sobirin. + * Copyright (c) 2025, Teguh Sobirin.
@@ -178,6 +178,13 @@ index 000000000000..58d9ab342fe9
+ reg = <0 0xfce00000 0 0x2900000>; + reg = <0 0xfce00000 0 0x2900000>;
+ no-map; + no-map;
+ }; + };
+
+ linux,cma {
+ compatible = "shared-dma-pool";
+ size = <0x0 0x18000000>;
+ reusable;
+ linux,cma-default;
+ };
+ }; + };
+ +
+ sound { + sound {