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

dt-bindings: mailbox: fix the mpfs' reg property

The "data" region of the PolarFire SoC's system controller mailbox is
not one continuous register space - the system controller's QSPI sits
between the control and data registers. Split the "data" reg into two
parts: "data" & "control".

Fixes: 213556235526 ("dt-bindings: soc/microchip: update syscontroller compatibles")
Fixes: ed9543d6f2c4 ("dt-bindings: add bindings for polarfire soc mailbox")
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>

authored by

Conor Dooley and committed by
Jassi Brar
6e2bdf7d 7e5cd064

+11 -4
+11 -4
Documentation/devicetree/bindings/mailbox/microchip,mpfs-mailbox.yaml
··· 14 14 const: microchip,mpfs-mailbox 15 15 16 16 reg: 17 - items: 18 - - description: mailbox data registers 19 - - description: mailbox interrupt registers 17 + oneOf: 18 + - items: 19 + - description: mailbox control & data registers 20 + - description: mailbox interrupt registers 21 + deprecated: true 22 + - items: 23 + - description: mailbox control registers 24 + - description: mailbox interrupt registers 25 + - description: mailbox data registers 20 26 21 27 interrupts: 22 28 maxItems: 1 ··· 45 39 #size-cells = <2>; 46 40 mbox: mailbox@37020000 { 47 41 compatible = "microchip,mpfs-mailbox"; 48 - reg = <0x0 0x37020000 0x0 0x1000>, <0x0 0x2000318c 0x0 0x40>; 42 + reg = <0x0 0x37020000 0x0 0x58>, <0x0 0x2000318C 0x0 0x40>, 43 + <0x0 0x37020800 0x0 0x100>; 49 44 interrupt-parent = <&L1>; 50 45 interrupts = <96>; 51 46 #mbox-cells = <1>;