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

dt-bindings: soc: bcm: Add bcm2712 compatible

Add bcm2712-pm compatible and update the bindings to satisfy it's
requirements. The PM hardware block inside bcm2712 lacks the "asb"
and "rpivid_asb" register ranges and also does not have clocks, update
the bindings accordingly.

Signed-off-by: Stanimir Varbanov <svarbanov@suse.de>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>

authored by

Stanimir Varbanov and committed by
Ulf Hansson
34194cb3 66901bc7

+32 -6
+32 -6
Documentation/devicetree/bindings/soc/bcm/brcm,bcm2835-pm.yaml
··· 13 13 maintainers: 14 14 - Nicolas Saenz Julienne <nsaenz@kernel.org> 15 15 16 - allOf: 17 - - $ref: /schemas/watchdog/watchdog.yaml# 18 - 19 16 properties: 20 17 compatible: 21 18 items: 22 19 - enum: 23 20 - brcm,bcm2835-pm 24 21 - brcm,bcm2711-pm 22 + - brcm,bcm2712-pm 25 23 - const: brcm,bcm2835-pm-wdt 26 24 27 25 reg: 28 - minItems: 2 26 + minItems: 1 29 27 maxItems: 3 30 28 31 29 reg-names: 32 - minItems: 2 30 + minItems: 1 33 31 items: 34 32 - const: pm 35 33 - const: asb ··· 60 62 - reg 61 63 - "#power-domain-cells" 62 64 - "#reset-cells" 63 - - clocks 65 + 66 + allOf: 67 + - $ref: /schemas/watchdog/watchdog.yaml# 68 + 69 + - if: 70 + properties: 71 + compatible: 72 + contains: 73 + enum: 74 + - brcm,bcm2835-pm 75 + - brcm,bcm2711-pm 76 + then: 77 + required: 78 + - clocks 79 + 80 + properties: 81 + reg: 82 + minItems: 2 83 + 84 + reg-names: 85 + minItems: 2 86 + 87 + else: 88 + properties: 89 + reg: 90 + maxItems: 1 91 + 92 + reg-names: 93 + maxItems: 1 64 94 65 95 additionalProperties: false 66 96