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

dt-bindings: power: reset: Unrequire regmap property in syscon-reboot node

Since normally syscon-reboot block is supposed to be a part of a system
controller, lets mark the regmap property as deprecated and recommend the
syscon-reboot node to be a sub-node of SYSCON.

Signed-off-by: Serge Semin <Sergey.Semin@baikalelectronics.ru>
Reviewed-by: Rob Herring <robh@kernel.org>
Cc: Alexey Malahov <Alexey.Malahov@baikalelectronics.ru>
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>

authored by

Serge Semin and committed by
Sebastian Reichel
2140d68d eda8ffcc

+10 -5
+10 -5
Documentation/devicetree/bindings/power/reset/syscon-reboot.yaml
··· 12 12 description: |+ 13 13 This is a generic reset driver using syscon to map the reset register. 14 14 The reset is generally performed with a write to the reset register 15 - defined by the register map pointed by syscon reference plus the offset 16 - with the value and mask defined in the reboot node. 17 - Default will be little endian mode, 32 bit access only. 15 + defined by the SYSCON register map base plus the offset with the value and 16 + mask defined in the reboot node. Default will be little endian mode, 32 bit 17 + access only. The SYSCON registers map is normally retrieved from the 18 + parental dt-node. So the SYSCON reboot node should be represented as a 19 + sub-node of a "syscon", "simple-mfd" node. Though the regmap property 20 + pointing to the system controller node is also supported. 18 21 19 22 properties: 20 23 compatible: ··· 33 30 34 31 regmap: 35 32 $ref: /schemas/types.yaml#/definitions/phandle 36 - description: Phandle to the register map node. 33 + deprecated: true 34 + description: | 35 + Phandle to the register map node. This property is deprecated in favor of 36 + the syscon-reboot node been a child of a system controller node. 37 37 38 38 value: 39 39 $ref: /schemas/types.yaml#/definitions/uint32 ··· 44 38 45 39 required: 46 40 - compatible 47 - - regmap 48 41 - offset 49 42 50 43 additionalProperties: false