No need to specify the interrupts for the clock domains without a
PMU instance.
Signed-off-by: Baisheng Gao <baisheng.gao@unisoc.com>
---
Documentation/devicetree/bindings/perf/arm,ni.yaml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/perf/arm,ni.yaml b/Documentation/devicetree/bindings/perf/arm,ni.yaml
index d66fffa256d5..40a5b8929ef2 100644
--- a/Documentation/devicetree/bindings/perf/arm,ni.yaml
+++ b/Documentation/devicetree/bindings/perf/arm,ni.yaml
@@ -20,7 +20,8 @@ properties:
interrupts:
minItems: 1
maxItems: 32
- description: Overflow interrupts, one per clock domain, in order of domain ID
+ description: Overflow interrupts, one per clock domain which has a PMU
+ instance, in order of domain ID.
required:
- compatible
--
2.34.1
On 2026-01-26 3:30 am, Baisheng Gao wrote: > No need to specify the interrupts for the clock domains without a > PMU instance. Yes there is a need, because it's what the binding has already defined and systems are already implementing, so breaking compatibility at this point more than a year after its introduction is not really acceptable. And although there's no strict requirement for the DT and ACPI bindings to be equivalent, in this case they currently are, and it doesn't seem like you've accounted for ACPI here either. Fact is, the Arm NI-700, NI-710AE, NoC S3 and SI L1 designs do all define <CLKNAME>_nPMUINTERRUPT outputs for each <CLKNAME> domain, and the intent of the binding was always to describe the hardware. If it's the case that one or more of those interrupts are not wired up at all (and presumably the corresponding PMU is never exposed to Non-Secure, since it's unlikely to be useful), then at worst it's reasonable to use dummy entries to pad the array. If on the other hand you really have got something that is mangled to the point of not being compatible with the stock Arm designs, then it most likely warrants its own binding. Thanks, Robin. > Signed-off-by: Baisheng Gao <baisheng.gao@unisoc.com> > --- > Documentation/devicetree/bindings/perf/arm,ni.yaml | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/perf/arm,ni.yaml b/Documentation/devicetree/bindings/perf/arm,ni.yaml > index d66fffa256d5..40a5b8929ef2 100644 > --- a/Documentation/devicetree/bindings/perf/arm,ni.yaml > +++ b/Documentation/devicetree/bindings/perf/arm,ni.yaml > @@ -20,7 +20,8 @@ properties: > interrupts: > minItems: 1 > maxItems: 32 > - description: Overflow interrupts, one per clock domain, in order of domain ID > + description: Overflow interrupts, one per clock domain which has a PMU > + instance, in order of domain ID. > > required: > - compatible
© 2016 - 2026 Red Hat, Inc.