Rename mbox according to action instead of 'mbox0' and 'mbox1'.
Signed-off-by: Tinghan Shen <tinghan.shen@mediatek.com>
---
.../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
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>;
};
--
2.18.0
On 09/06/2022 01:30, Tinghan Shen wrote: > Rename mbox according to action instead of 'mbox0' and 'mbox1'. > > Signed-off-by: Tinghan Shen <tinghan.shen@mediatek.com> > --- > .../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 > More common is rx/tx, which I proposed last time. Best regards, Krzysztof
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@mediatek.com> > --- > .../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>; > };
© 2016 - 2024 Red Hat, Inc.