Commit 1a74d98e authored by Andreas Färber's avatar Andreas Färber

Merge branch 'v4.20/s900-sps-bindings' into v4.20/dt64

This adds DT bindings for the S900 SPS.
Signed-off-by: default avatarAndreas Färber <afaerber@suse.de>
parents d3105e47 d1ca7c56
...@@ -3,11 +3,13 @@ Actions Semi Owl Smart Power System (SPS) ...@@ -3,11 +3,13 @@ Actions Semi Owl Smart Power System (SPS)
Required properties: Required properties:
- compatible : "actions,s500-sps" for S500 - compatible : "actions,s500-sps" for S500
"actions,s700-sps" for S700 "actions,s700-sps" for S700
"actions,s900-sps" for S900
- reg : Offset and length of the register set for the device. - reg : Offset and length of the register set for the device.
- #power-domain-cells : Must be 1. - #power-domain-cells : Must be 1.
See macros in: See macros in:
include/dt-bindings/power/owl-s500-powergate.h for S500 include/dt-bindings/power/owl-s500-powergate.h for S500
include/dt-bindings/power/owl-s700-powergate.h for S700 include/dt-bindings/power/owl-s700-powergate.h for S700
include/dt-bindings/power/owl-s900-powergate.h for S900
Example: Example:
......
/* SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) */
/*
* Actions Semi S900 SPS
*
* Copyright (c) 2018 Linaro Ltd.
*/
#ifndef DT_BINDINGS_POWER_OWL_S900_POWERGATE_H
#define DT_BINDINGS_POWER_OWL_S900_POWERGATE_H
#define S900_PD_GPU_B 0
#define S900_PD_VCE 1
#define S900_PD_SENSOR 2
#define S900_PD_VDE 3
#define S900_PD_HDE 4
#define S900_PD_USB3 5
#define S900_PD_DDR0 6
#define S900_PD_DDR1 7
#define S900_PD_DE 8
#define S900_PD_NAND 9
#define S900_PD_USB2_H0 10
#define S900_PD_USB2_H1 11
#endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment