dt-bindings: soc: qcom: Add non-early mapping to bwmon bindings

Update bwmon bindings to include support for non-early memory
mapping.

Change-Id: I4f45ea0fd3f219325463d832c958ebd900f15f1c
Signed-off-by: Amir Vajid <quic_avajid@quicinc.com>
Signed-off-by: Shivnandan Kumar <quic_kshivnan@quicinc.com>
This commit is contained in:
Amir Vajid
2023-12-12 12:52:50 -08:00
committed by Shivnandan Kumar
parent 7647e0467b
commit c831e5e8c5

View File

@@ -8,7 +8,7 @@ title: Qualcomm Technologies, Inc. (QTI) BWMON Driver
maintainers: maintainers:
- avajid@quicinc.com <quic_avajid@quicinc.com> - avajid@quicinc.com <quic_avajid@quicinc.com>
- gurbaror@quicinc.com <quic_gurbaror@quicinc.com> - Shivnandan Kumar <quic_kshivnan@quicinc.com>
description: | description: |
The Qualcomm Technologies, Inc. BWMON Driver monitors bandwidth counters that The Qualcomm Technologies, Inc. BWMON Driver monitors bandwidth counters that
@@ -31,9 +31,16 @@ properties:
maxItems: 2 maxItems: 2
reg-names: reg-names:
items:
- const: base - const: base
- const: global_base - const: global_base
"#address-cells":
enum: [1, 2]
"#size-cells":
enum: [1, 2]
interrupts: interrupts:
description: Lists the threshold IRQ. description: Lists the threshold IRQ.
@@ -49,7 +56,6 @@ properties:
node will be using for voting in the SLOW path. node will be using for voting in the SLOW path.
qcom,hw-timer-hz: qcom,hw-timer-hz:
$ref: /schemas/types.yaml#/definitions/uint32
description: description:
Hardware sampling rate in Hz. This field must be Hardware sampling rate in Hz. This field must be
specified for "qcom,bwmon4" specified for "qcom,bwmon4"
@@ -69,19 +75,34 @@ properties:
description: description:
Number of bytes monitor counts in Number of bytes monitor counts in
qcom,map-ne:
type: boolean
description: |
Specify if the bwmon memory region should be mapped as nE (non-Early).
required: required:
- compatible - compatible
- reg - reg
- reg-names - reg-names
- interrupts - interrupts
- qcom,target-dev - qcom,mport
- qcom,hw-timer-hz - qcom,hw-timer-hz
- qcom,count-unit
- qcom,target-dev
- '#address-cells'
- '#size-cells'
additionalProperties: true
examples: examples:
- | - |
#include <dt-bindings/interrupt-controller/arm-gic.h>
bwmon_llcc: qcom,bwmon-llcc@90b6400 { bwmon_llcc: qcom,bwmon-llcc@90b6400 {
compatible = "qcom,bwmon4"; compatible = "qcom,bwmon4";
reg = <0x90b6400 0x300>, <0x90b6300 0x200>; #address-cells = <1>;
#size-cells = <1>;
reg = <0x90b6400 0x300>,
<0x90b6300 0x200>;
reg-names = "base", "global_base"; reg-names = "base", "global_base";
interrupts = <GIC_SPI 581 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 581 IRQ_TYPE_LEVEL_HIGH>;
qcom,mport = <0>; qcom,mport = <0>;