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

dt-bindings: firmware: arm,scpi: Add missing maxItems to mboxes/shmem

"make dt_binding_check":

Documentation/devicetree/bindings/firmware/arm,scpi.example.dt.yaml: scpi: shmem: [[2], [1]] is too long

Fix this by adding a proper maxItems value to the shmem property,
and to the related mboxes property.

Fix the grouping of the "mboxes" property in the example.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/58b7c706f259f88a61bfe82d9106fe0a93a9838d.1646761693.git.geert+renesas@glider.be

authored by

Geert Uytterhoeven and committed by
Rob Herring
17bf6b7c f3e00820

+3 -1
+3 -1
Documentation/devicetree/bindings/firmware/arm,scpi.yaml
··· 43 43 by remote SCP firmware for use by SCPI message protocol should be 44 44 specified in any order. 45 45 minItems: 1 46 + maxItems: 4 46 47 47 48 shmem: 48 49 description: ··· 52 51 be any memory reserved for the purpose of this communication between the 53 52 processors. 54 53 minItems: 1 54 + maxItems: 4 55 55 56 56 power-controller: 57 57 type: object ··· 237 235 firmware { 238 236 scpi { 239 237 compatible = "amlogic,meson-gxbb-scpi", "arm,scpi-pre-1.0"; 240 - mboxes = <&mailbox 1 &mailbox 2>; 238 + mboxes = <&mailbox 1>, <&mailbox 2>; 241 239 shmem = <&cpu_scp_lpri>, <&cpu_scp_hpri>; 242 240 243 241 scpi_sensors1: sensors {