dt-bindings: mailbox: add doorbell support to ARM MHU
authorSudeep Holla <sudeep.holla@arm.com>
Thu, 8 Oct 2020 19:14:50 +0000 (20:14 +0100)
committerJassi Brar <jaswinder.singh@linaro.org>
Tue, 13 Oct 2020 02:10:34 +0000 (21:10 -0500)
commit471de2c027422b372b1bb2578aa3123ee56b7125
treec6c657b1ed400221922f645f2f51e4047422e18a
parent9070f35d25ce1781e3b5a3c6f68287ce3b8f937d
dt-bindings: mailbox: add doorbell support to ARM MHU

The ARM MHU's reference manual states following:

"The MHU drives the signal using a 32-bit register, with all 32 bits
logically ORed together. The MHU provides a set of registers to enable
software to set, clear, and check the status of each of the bits of this
register independently.  The use of 32 bits for each interrupt line
enables software to provide more information about the source of the
interrupt. For example, each bit of the register can be associated with
a type of event that can contribute to raising the interrupt."

This patch thus extends the MHU controller's DT binding to add support
for doorbell mode.

Though the same MHU hardware controller is used in the two modes, A new
compatible string is added here to represent the combination of the MHU
hardware and the firmware sitting on the other side (which expects each
bit to represent a different signal now).

Reviewed-by: Rob Herring <robh@kernel.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Co-developed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Documentation/devicetree/bindings/mailbox/arm,mhu.yaml