Re: [PATCH v2 1/3] dt-bindings: dsp: mediatek: Use meaningful names for mbox

From: AngeloGioacchino Del Regno
Date: Mon Jun 13 2022 - 13:26:37 EST


Il 09/06/22 10:30, Tinghan Shen ha scritto:
Rename mbox according to action instead of 'mbox0' and 'mbox1'.

Signed-off-by: Tinghan Shen <tinghan.shen@xxxxxxxxxxxx>
---
.../devicetree/bindings/dsp/mediatek,mt8195-dsp.yaml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Documentation/devicetree/bindings/dsp/mediatek,mt8195-dsp.yaml b/Documentation/devicetree/bindings/dsp/mediatek,mt8195-dsp.yaml
index b7e68b0dfa13..6cedd6868cc5 100644
--- a/Documentation/devicetree/bindings/dsp/mediatek,mt8195-dsp.yaml
+++ b/Documentation/devicetree/bindings/dsp/mediatek,mt8195-dsp.yaml
@@ -55,8 +55,8 @@ properties:
mbox-names:
items:
- - const: mbox0
- - const: mbox1
+ - const: rep
+ - const: req

"reply", "request" - as said on patch [2/3]....

P.S.: Adding context for anyone else reading this patch, mt8195 devicetrees didn't
get any dsp node yet.

memory-region:
items:
@@ -100,6 +100,6 @@ examples:
memory-region = <&adsp_dma_mem_reserved>,
<&adsp_mem_reserved>;
power-domains = <&spm 6>; //MT8195_POWER_DOMAIN_ADSP
- mbox-names = "mbox0", "mbox1";
+ mbox-names = "rep", "req";
mboxes = <&adsp_mailbox0>, <&adsp_mailbox1>;
};