diff mbox

[2/5] power: reset: st: Provide DT bindings for ST's Power Reset driver

Message ID 1406040752-25229-3-git-send-email-lee.jones@linaro.org
State Accepted
Commit b08fec2262c8dbb349fe9456586cf0724407e5ee
Headers show

Commit Message

Lee Jones July 22, 2014, 2:52 p.m. UTC
Signed-off-by: Christophe Kerello <christophe.kerello@st.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
---
 Documentation/devicetree/bindings/power/reset/st-reset.txt | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/power/reset/st-reset.txt

Comments

Sebastian Reichel Sept. 26, 2014, 3:57 p.m. UTC | #1
Hi,

On Tue, Jul 22, 2014 at 03:52:29PM +0100, Lee Jones wrote:
> Signed-off-by: Christophe Kerello <christophe.kerello@st.com>
> Signed-off-by: Lee Jones <lee.jones@linaro.org>
> ---
>  Documentation/devicetree/bindings/power/reset/st-reset.txt | 11 +++++++++++
>  1 file changed, 11 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/power/reset/st-reset.txt
> 
> diff --git a/Documentation/devicetree/bindings/power/reset/st-reset.txt b/Documentation/devicetree/bindings/power/reset/st-reset.txt
> new file mode 100644
> index 0000000..809af54
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/power/reset/st-reset.txt
> @@ -0,0 +1,11 @@
> +*Device-Tree bindings for ST SW reset functionality
> +
> +Required properties:
> +- compatible: should be "st,<chip>-restart".
> +- st,syscfg: should be a phandle of the syscfg node.
> +
> +Example node:
> +	restart {
> +		compatible = "st,stih416-restart";
> +		st,syscfg = <&syscfg_sbc>;
> +	};

http://git.infradead.org/battery-2.6.git/commit/b08fec2262c8dbb349fe9456586cf0724407e5ee

-- Sebastian
diff mbox

Patch

diff --git a/Documentation/devicetree/bindings/power/reset/st-reset.txt b/Documentation/devicetree/bindings/power/reset/st-reset.txt
new file mode 100644
index 0000000..809af54
--- /dev/null
+++ b/Documentation/devicetree/bindings/power/reset/st-reset.txt
@@ -0,0 +1,11 @@ 
+*Device-Tree bindings for ST SW reset functionality
+
+Required properties:
+- compatible: should be "st,<chip>-restart".
+- st,syscfg: should be a phandle of the syscfg node.
+
+Example node:
+	restart {
+		compatible = "st,stih416-restart";
+		st,syscfg = <&syscfg_sbc>;
+	};