Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: mailbox : arm,mhuv2: Use example with matching schema

Currently the example provided in arm,mhuv2 schema complains as below:

Documentation/devicetree/bindings/mailbox/arm,mhuv2.example.dt.yaml :0:0:
/example-0/soc/scb@2e000000: failed to match any schema with compatible:
['fujitsu,mb86s70-scb-1.0']

Fix it by using an example with a matching schema that makes use of 4
mailboxes that is well suited to demonstrate Rx and Tx channels with both
doorbell and data transfer protocols.

Cc: Rob Herring <robh+dt@kernel.org>
Cc: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Link: https://lore.kernel.org/r/20210604205710.1944363-7-sudeep.holla@arm.com
Signed-off-by: Rob Herring <robh@kernel.org>

authored by

Sudeep Holla and committed by
Rob Herring
0daa6056 3a32f22c

+12 -13
+12 -13
Documentation/devicetree/bindings/mailbox/arm,mhuv2.yaml
··· 192 192 arm,mhuv2-protocols = <1 1>, <1 7>, <0 2>; 193 193 }; 194 194 195 - mhu_client: scb@2e000000 { 196 - compatible = "fujitsu,mb86s70-scb-1.0"; 197 - reg = <0 0x2e000000 0 0x4000>; 198 - 199 - mboxes = 200 - //data-transfer protocol with 5 windows, mhu-tx 201 - <&mhu_tx 2 0>, 202 - //data-transfer protocol with 7 windows, mhu-tx 203 - <&mhu_tx 3 0>, 204 - //doorbell protocol channel 4, doorbell 27, mhu-tx 205 - <&mhu_tx 4 27>, 206 - //data-transfer protocol with 1 window, mhu-rx 207 - <&mhu_rx 0 0>; 195 + mhu_client: dsp@596e8000 { 196 + compatible = "fsl,imx8qxp-dsp"; 197 + reg = <0 0x596e8000 0 0x88000>; 198 + clocks = <&adma_lpcg 0>, <&adma_lpcg 1>, <&adma_lpcg 2>; 199 + clock-names = "ipg", "ocram", "core"; 200 + power-domains = <&pd 0>, <&pd 1>, <&pd 2>, <&pd 3>; 201 + mbox-names = "txdb0", "txdb1", "rxdb0", "rxdb1"; 202 + mboxes = <&mhu_tx 2 0>, //data-transfer protocol with 5 windows, mhu-tx 203 + <&mhu_tx 3 0>, //data-transfer protocol with 7 windows, mhu-tx 204 + <&mhu_rx 2 27>, //doorbell protocol channel 2, doorbell 27, mhu-rx 205 + <&mhu_rx 0 0>; //data-transfer protocol with 1 window, mhu-rx 206 + memory-region = <&dsp_reserved>; 208 207 }; 209 208 };