From 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Tue, 22 Oct 2024 10:36:11 +0000
Subject: [PATCH] 修改4g拨号为QMI,需要在系统里后台执行quectel-CM
---
kernel/Documentation/devicetree/bindings/arm/mali-bifrost.txt | 28 +++++++++++++++++++++-------
1 files changed, 21 insertions(+), 7 deletions(-)
diff --git a/kernel/Documentation/devicetree/bindings/arm/mali-bifrost.txt b/kernel/Documentation/devicetree/bindings/arm/mali-bifrost.txt
index a74d569..caf2de5 100644
--- a/kernel/Documentation/devicetree/bindings/arm/mali-bifrost.txt
+++ b/kernel/Documentation/devicetree/bindings/arm/mali-bifrost.txt
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
#
-# (C) COPYRIGHT 2013-2021 ARM Limited. All rights reserved.
+# (C) COPYRIGHT 2013-2022 ARM Limited. All rights reserved.
#
# This program is free software and is provided to you under the terms of the
# GNU General Public License version 2 as published by the Free Software
@@ -41,8 +41,7 @@
- mali-supply : Phandle to the top level regulator for the Mali device.
Refer to
Documentation/devicetree/bindings/regulator/regulator.txt for details.
-- shadercores-supply : Phandle to shader cores regulator for the Mali device.
- This is optional.
+- mem-supply : Phandle to memory regulator for the Mali device. This is optional.
- operating-points-v2 : Refer to Documentation/devicetree/bindings/power/mali-opp.txt
for details.
- quirks_gpu : Used to write to the JM_CONFIG or CSF_CONFIG register.
@@ -114,6 +113,9 @@
Valid values are between 0 to 0x3F (including).
- l2-size : Override L2 cache size on GPU that supports it
- l2-hash : Override L2 hash function on GPU that supports it
+- l2-hash-values : Override L2 hash function using provided hash values, on GPUs that supports it.
+ It is mutually exclusive with 'l2-hash'. Only one or the other must be
+ used in a supported GPU.
- arbiter_if : Phandle to the arbif platform device, used to provide KBASE with an interface
to the Arbiter. This is required when using arbitration; setting to a non-NULL
value will enable arbitration.
@@ -123,10 +125,11 @@
- #cooling-cells
- operating-points-v2 (no dvfs in kbase with arbitration)
- system-coherency with a value of 1 (no full coherency with arbitration)
+- int_id_override: list of <ID Setting[7:0]> tuples defining the IDs needed to be
+ set and the setting coresponding to the SYSC_ALLOC register.
-
-Example for a Mali GPU with 1 clock and no regulators:
+Example for a Mali GPU with 1 clock and 1 regulator:
gpu@0xfc010000 {
compatible = "arm,malit602", "arm,malit60x", "arm,malit6xx", "arm,mali-midgard";
@@ -152,7 +155,7 @@
idvs-group-size = <0x7>;
l2-size = /bits/ 8 <0x10>;
- l2-hash = /bits/ 8 <0x04>;
+ l2-hash = /bits/ 8 <0x04>; /* or l2-hash-values = <0x12345678 0x8765 0xAB>; */
};
gpu_opp_table: opp_table0 {
@@ -198,7 +201,7 @@
clocks = <&clk_mali 0>, <&clk_mali 1>;
clock-names = "clk_mali", "shadercores";
mali-supply = <&supply0_3v3>;
- shadercores-supply = <&supply1_3v3>;
+ mem-supply = <&supply1_3v3>;
system-coherency = <31>;
operating-points-v2 = <&gpu_opp_table>;
};
@@ -225,3 +228,14 @@
opp-core-mask = /bits/ 64 <0x3>;
};
};
+
+Example for a Mali GPU supporting PBHA configuration via DTB (default):
+
+gpu@0xfc010000 {
+ ...
+ pbha {
+ int_id_override = <2 0x32>, <9 0x05>, <16 0x32>;
+ propagate_bits = <0x03>;
+ };
+ ...
+};
--
Gitblit v1.6.2