]> git.dujemihanovic.xyz Git - linux.git/commit
mailbox: zynqmp: Enable Bufferless IPI usage on Versal-based SOC's
authorBen Levinsky <ben.levinsky@amd.com>
Wed, 10 Apr 2024 17:08:25 +0000 (10:08 -0700)
committerJassi Brar <jassisinghbrar@gmail.com>
Wed, 1 May 2024 01:13:07 +0000 (20:13 -0500)
commit0ac39d85a7415cb2e68a8d239f3d2f67175a14fe
tree9523ab245a6b543b7e467879187b7eb910552c78
parent41bcf30100c521c73f0fcf05c3dc31967e6408be
mailbox: zynqmp: Enable Bufferless IPI usage on Versal-based SOC's

On Xilinx-AMD Versal and Versal-NET, there exist both
inter-processor-interrupts with corresponding message buffers and without
such buffers.

Add a routine that, if the corresponding DT compatible
string "xlnx,versal-ipi-mailbox" is used then a Versal-based SOC
can use a mailbox Device Tree entry where both host and remote
can use either of the buffered or bufferless interrupts.

Signed-off-by: Ben Levinsky <ben.levinsky@amd.com>
Signed-off-by: Jassi Brar <jassisinghbrar@gmail.com>
drivers/mailbox/zynqmp-ipi-mailbox.c