From 79014c4f836b6a391216943e2185db9b42d9cfea Mon Sep 17 00:00:00 2001 From: Maria Yu Date: Sat, 13 Jul 2024 10:26:15 +0800 Subject: [PATCH] dt-bindings: Update dt-binding for cpu mpam and platform mpam Add support for cpu mpam and platform mpam. Change-Id: I5ca021b39c3878061f2bde1fe1481fb2cc56f478 Signed-off-by: Maria Yu --- bindings/soc/qcom/qcom,mpam.yaml | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/bindings/soc/qcom/qcom,mpam.yaml b/bindings/soc/qcom/qcom,mpam.yaml index 733b4c4a..540f1579 100644 --- a/bindings/soc/qcom/qcom,mpam.yaml +++ b/bindings/soc/qcom/qcom,mpam.yaml @@ -18,7 +18,10 @@ description: | properties: compatible: - const: qcom,mpam + enum: + - qcom,cpu-mpam + - qcom,platform-mpam + - qcom,mpam reg: items: @@ -39,6 +42,19 @@ examples: - | qcom_mpam: qcom,mpam { compatible = "qcom,mpam"; - reg = <0x17b6f000 0x1000>; + reg = <0x17b6f000 0x400>; reg-names = "mon-base"; }; + + cpu_mpam: qcom,cpu_mpam { + compatible = "qcom,cpu-mpam"; + reg = <0x17b6f400 0x400>; + reg-names = "mon-base"; + }; + + noc_bw_mpam: qcom,noc_bw_mpam { + compatible = "qcom,platform-mpam"; + reg = <0x17b6f800 0x400>; + reg-names = "mon-base"; + }; +...