Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ac44940c authored by Nagireddy Annem's avatar Nagireddy Annem Committed by Chandrasekhar Mattaparthy
Browse files

ARM: dts: msm: Add linux cma alloc range for SDM429 BG



Add alloc range for linux,cma to restrict linux cma
allocation to be with in 512MB.

Change-Id: I579ae231b1e8e824259026b09a28d3867c94c210
Signed-off-by: default avatarNagireddy Annem <nannem@codeaurora.org>
parent b3a2604d
Loading
Loading
Loading
Loading
+4 −3
Original line number Original line Diff line number Diff line
/*
/*
 * Copyright (c) 2019, The Linux Foundation. All rights reserved.
 * Copyright (c) 2019 - 2020, The Linux Foundation. All rights reserved.
 *
 *
 * This program is free software; you can redistribute it and/or modify
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
 * it under the terms of the GNU General Public License version 2 and
@@ -15,10 +15,11 @@


#include "sdm429-spyro.dtsi"
#include "sdm429-spyro.dtsi"
#include "sdm429w-bg-pm660.dtsi"
#include "sdm429w-bg-pm660.dtsi"
#include "sdm429-bg-memory.dtsi"


/ {
/ {
	model = "Qualcomm Technologies, Inc. SDA429 QRD BG WDP Spyro";
	model = "Qualcomm Technologies, Inc. SDA429 BG WDP";
	compatible = "qcom,sdm429w-qrd","qcom,sdm429w","qcom,sda429w";
	compatible = "qcom,sdm429w-qrd","qcom,sda429w";
	qcom,msm-id = <437 0x0>;
	qcom,msm-id = <437 0x0>;
	qcom,board-id = <0x00010b 9>;
	qcom,board-id = <0x00010b 9>;
	qcom,pmic-id = <0x0002001b 0x0 0x0 0x0>;
	qcom,pmic-id = <0x0002001b 0x0 0x0 0x0>;
+4 −3
Original line number Original line Diff line number Diff line
/*
/*
 * Copyright (c) 2019, The Linux Foundation. All rights reserved.
 * Copyright (c) 2019 - 2020, The Linux Foundation. All rights reserved.
 *
 *
 * This program is free software; you can redistribute it and/or modify
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
 * it under the terms of the GNU General Public License version 2 and
@@ -15,10 +15,11 @@


#include "sdm429-spyro.dtsi"
#include "sdm429-spyro.dtsi"
#include "sdm429w-bg-pm660.dtsi"
#include "sdm429w-bg-pm660.dtsi"
#include "sdm429-bg-memory.dtsi"


/ {
/ {
	model = "Qualcomm Technologies, Inc. SDM429 QRD DVT Spyro";
	model = "Qualcomm Technologies, Inc. SDA429 BG WTP";
	compatible = "qcom,sdm429w-qrd", "qcom,sdm429w", "qcom,qrd";
	compatible = "qcom,sdm429w-qrd", "qcom,sda429w", "qcom,qrd";
	qcom,msm-id = <437 0x0>;
	qcom,msm-id = <437 0x0>;
	qcom,board-id = <0x00010b 8>;
	qcom,board-id = <0x00010b 8>;
	qcom,pmic-id = <0x0002001b 0x0 0x0 0x0>;
	qcom,pmic-id = <0x0002001b 0x0 0x0 0x0>;
+3 −2
Original line number Original line Diff line number Diff line
/*
/*
 * Copyright (c) 2019, The Linux Foundation. All rights reserved.
 * Copyright (c) 2019 - 2020, The Linux Foundation. All rights reserved.
 *
 *
 * This program is free software; you can redistribute it and/or modify
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
 * it under the terms of the GNU General Public License version 2 and
@@ -16,9 +16,10 @@
#include "sdm429-spyro.dtsi"
#include "sdm429-spyro.dtsi"
#include "sdm429-spyro-qrd-evt.dtsi"
#include "sdm429-spyro-qrd-evt.dtsi"
#include "sdm429w-bg-pm660.dtsi"
#include "sdm429w-bg-pm660.dtsi"
#include "sdm429-bg-memory.dtsi"


/ {
/ {
	model = "Qualcomm Technologies, Inc. SDM429W BG IOT WTP";
	model = "Qualcomm Technologies, Inc. SDM429 BG IOT WTP";
	compatible = "qcom,sdm429w-qrd", "qcom,sdm429w", "qcom,qrd";
	compatible = "qcom,sdm429w-qrd", "qcom,sdm429w", "qcom,qrd";
	qcom,msm-id = <416 0x0>;
	qcom,msm-id = <416 0x0>;
	qcom,board-id = <0x00010b 8>;
	qcom,board-id = <0x00010b 8>;
+23 −0
Original line number Original line Diff line number Diff line
/*
 * Copyright (c) 2020, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
 * only version 2 as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

&reserved_memory {
	linux,cma {
		compatible = "shared-dma-pool";
		alloc-ranges = <0 0x00000000 0 0xa0000000>;
		reusable;
		alignment = <0 0x400000>;
		size = <0 0x1000000>;
		linux,cma-default;
	};
};
+3 −2
Original line number Original line Diff line number Diff line
/*
/*
 * Copyright (c) 2019, The Linux Foundation. All rights reserved.
 * Copyright (c) 2019 - 2020, The Linux Foundation. All rights reserved.
 *
 *
 * This program is free software; you can redistribute it and/or modify
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
 * it under the terms of the GNU General Public License version 2 and
@@ -15,9 +15,10 @@


#include "sdm429-spyro.dtsi"
#include "sdm429-spyro.dtsi"
#include "sdm429w-bg-pm660.dtsi"
#include "sdm429w-bg-pm660.dtsi"
#include "sdm429-bg-memory.dtsi"


/ {
/ {
	model = "Qualcomm Technologies, Inc. SDM429 QRD BG WDP";
	model = "Qualcomm Technologies, Inc. SDM429 BG WDP";
	compatible = "qcom,sdm429w-qrd", "qcom,sdm429w", "qcom,qrd";
	compatible = "qcom,sdm429w-qrd", "qcom,sdm429w", "qcom,qrd";
	qcom,msm-id = <416 0x0>;
	qcom,msm-id = <416 0x0>;
	qcom,board-id = <0x01000b 9>;
	qcom,board-id = <0x01000b 9>;
Loading