Skip to content

Commit a7ba749

Browse files
apmswsre
authored andcommitted
Documentation: power: reset: Add documentation for generic SYSCON reboot driver
Add documentation for generic SYSCON reboot driver. Signed-off-by: Feng Kan <fkan@apm.com> Signed-off-by: Sebastian Reichel <sre@kernel.org>
1 parent 09fb07b commit a7ba749

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
Generic SYSCON mapped register reset driver
2+
3+
This is a generic reset driver using syscon to map the reset register.
4+
The reset is generally performed with a write to the reset register
5+
defined by the register map pointed by syscon reference plus the offset
6+
with the mask defined in the reboot node.
7+
8+
Required properties:
9+
- compatible: should contain "syscon-reboot"
10+
- regmap: this is phandle to the register map node
11+
- offset: offset in the register map for the reboot register (in bytes)
12+
- mask: the reset value written to the reboot register (32 bit access)
13+
14+
Default will be little endian mode, 32 bit access only.
15+
16+
Examples:
17+
18+
reboot {
19+
compatible = "syscon-reboot";
20+
regmap = <&regmapnode>;
21+
offset = <0x0>;
22+
mask = <0x1>;
23+
};

0 commit comments

Comments
 (0)