Skip to content

Commit 0c5453b

Browse files
Marek VasutSudeep Holla
authored andcommitted
dt-bindings: firmware: arm,scmi: Document arm,no-completion-irq property
Document new property arm,no-completion-irq . This optional property is intended for hardware that does not generate completion interrupts and can be used to unconditionally enable forced polling mode of operation. With this property set, such implementations which do not generate interrupts can be interacted with, until they are fixed to generate interrupts properly. Note that, because the original base protocol exchange also requires some sort of completion mechanism, it is not possible to query SCMI itself for this property and it must be described in DT. While this does look a bit like policy, the SCMI provider is part of the hardware, hence DT. Reviewed-by: Rob Herring (Arm) <robh@kernel.org> Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> Reviewed-by: Cristian Marussi <cristian.marussi@arm.com> Message-Id: <20260117010241.186685-1-marek.vasut+renesas@mailbox.org> Signed-off-by: Sudeep Holla <sudeep.holla@kernel.org>
1 parent 6de23f8 commit 0c5453b

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

Documentation/devicetree/bindings/firmware/arm,scmi.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,13 @@ properties:
146146
this platform. If set, the value should be non-zero.
147147
minimum: 1
148148

149+
arm,no-completion-irq:
150+
type: boolean
151+
description:
152+
This optional property is intended for hardware that does not generate
153+
completion interrupts and can be used to unconditionally enable forced
154+
polling mode of operation.
155+
149156
arm,smc-id:
150157
$ref: /schemas/types.yaml#/definitions/uint32
151158
description:
@@ -379,6 +386,9 @@ then:
379386
- shmem
380387

381388
else:
389+
properties:
390+
arm,no-completion-irq: false
391+
382392
if:
383393
properties:
384394
compatible:

0 commit comments

Comments
 (0)