Message ID | 4992eacd883cbc54519ffea5bd35f80463cf504a.1713972897.git.robin.murphy@arm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | perf: Add Arm Network-on-Chip PMU driver | expand |
Oh fiddle, I forgot the DT list, apologies! On 25/04/2024 1:29 pm, Robin Murphy wrote: > Add an initial binding for the Arm NI-700 interconnect PMU. As with the > Arm CMN family, there are already future NI products on the roadmap, so > the overall binding is named generically just in case any > non-discoverable incompatibility between generations crops up. > > Signed-off-by: Robin Murphy <robin.murphy@arm.com> > --- > .../devicetree/bindings/perf/arm,ni.yaml | 30 +++++++++++++++++++ > 1 file changed, 30 insertions(+) > create mode 100644 Documentation/devicetree/bindings/perf/arm,ni.yaml > > diff --git a/Documentation/devicetree/bindings/perf/arm,ni.yaml b/Documentation/devicetree/bindings/perf/arm,ni.yaml > new file mode 100644 > index 000000000000..d66fffa256d5 > --- /dev/null > +++ b/Documentation/devicetree/bindings/perf/arm,ni.yaml > @@ -0,0 +1,30 @@ > +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/perf/arm,ni.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Arm NI (Network-on-Chip Interconnect) Performance Monitors > + > +maintainers: > + - Robin Murphy <robin.murphy@arm.com> > + > +properties: > + compatible: > + const: arm,ni-700 > + > + reg: > + items: > + - description: Complete configuration register space > + > + interrupts: > + minItems: 1 > + maxItems: 32 > + description: Overflow interrupts, one per clock domain, in order of domain ID > + > +required: > + - compatible > + - reg > + - interrupts > + > +additionalProperties: false
diff --git a/Documentation/devicetree/bindings/perf/arm,ni.yaml b/Documentation/devicetree/bindings/perf/arm,ni.yaml new file mode 100644 index 000000000000..d66fffa256d5 --- /dev/null +++ b/Documentation/devicetree/bindings/perf/arm,ni.yaml @@ -0,0 +1,30 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/perf/arm,ni.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Arm NI (Network-on-Chip Interconnect) Performance Monitors + +maintainers: + - Robin Murphy <robin.murphy@arm.com> + +properties: + compatible: + const: arm,ni-700 + + reg: + items: + - description: Complete configuration register space + + interrupts: + minItems: 1 + maxItems: 32 + description: Overflow interrupts, one per clock domain, in order of domain ID + +required: + - compatible + - reg + - interrupts + +additionalProperties: false
Add an initial binding for the Arm NI-700 interconnect PMU. As with the Arm CMN family, there are already future NI products on the roadmap, so the overall binding is named generically just in case any non-discoverable incompatibility between generations crops up. Signed-off-by: Robin Murphy <robin.murphy@arm.com> --- .../devicetree/bindings/perf/arm,ni.yaml | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 Documentation/devicetree/bindings/perf/arm,ni.yaml