diff options
author | Andreas Färber <afaerber@suse.de> | 2018-09-30 12:44:30 -0400 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2018-09-30 12:44:30 -0400 |
commit | 1a74d98e6c5426804539a549a597f609e3f00d30 (patch) | |
tree | f1ace7babb1ad95e5885b6d53e377d8dd470891b | |
parent | d3105e47b5192d7986b1af03874402aa2b2acd00 (diff) | |
parent | d1ca7c56e1617ffeff71e9ba521254b8ffdeda59 (diff) |
Merge branch 'v4.20/s900-sps-bindings' into v4.20/dt64
This adds DT bindings for the S900 SPS.
Signed-off-by: Andreas Färber <afaerber@suse.de>
-rw-r--r-- | Documentation/devicetree/bindings/power/actions,owl-sps.txt | 2 | ||||
-rw-r--r-- | include/dt-bindings/power/owl-s900-powergate.h | 23 |
2 files changed, 25 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/power/actions,owl-sps.txt b/Documentation/devicetree/bindings/power/actions,owl-sps.txt index 78edd63641e8..a3571937b019 100644 --- a/Documentation/devicetree/bindings/power/actions,owl-sps.txt +++ b/Documentation/devicetree/bindings/power/actions,owl-sps.txt | |||
@@ -3,11 +3,13 @@ Actions Semi Owl Smart Power System (SPS) | |||
3 | Required properties: | 3 | Required properties: |
4 | - compatible : "actions,s500-sps" for S500 | 4 | - compatible : "actions,s500-sps" for S500 |
5 | "actions,s700-sps" for S700 | 5 | "actions,s700-sps" for S700 |
6 | "actions,s900-sps" for S900 | ||
6 | - reg : Offset and length of the register set for the device. | 7 | - reg : Offset and length of the register set for the device. |
7 | - #power-domain-cells : Must be 1. | 8 | - #power-domain-cells : Must be 1. |
8 | See macros in: | 9 | See macros in: |
9 | include/dt-bindings/power/owl-s500-powergate.h for S500 | 10 | include/dt-bindings/power/owl-s500-powergate.h for S500 |
10 | include/dt-bindings/power/owl-s700-powergate.h for S700 | 11 | include/dt-bindings/power/owl-s700-powergate.h for S700 |
12 | include/dt-bindings/power/owl-s900-powergate.h for S900 | ||
11 | 13 | ||
12 | 14 | ||
13 | Example: | 15 | Example: |
diff --git a/include/dt-bindings/power/owl-s900-powergate.h b/include/dt-bindings/power/owl-s900-powergate.h new file mode 100644 index 000000000000..d939bd964657 --- /dev/null +++ b/include/dt-bindings/power/owl-s900-powergate.h | |||
@@ -0,0 +1,23 @@ | |||
1 | /* SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) */ | ||
2 | /* | ||
3 | * Actions Semi S900 SPS | ||
4 | * | ||
5 | * Copyright (c) 2018 Linaro Ltd. | ||
6 | */ | ||
7 | #ifndef DT_BINDINGS_POWER_OWL_S900_POWERGATE_H | ||
8 | #define DT_BINDINGS_POWER_OWL_S900_POWERGATE_H | ||
9 | |||
10 | #define S900_PD_GPU_B 0 | ||
11 | #define S900_PD_VCE 1 | ||
12 | #define S900_PD_SENSOR 2 | ||
13 | #define S900_PD_VDE 3 | ||
14 | #define S900_PD_HDE 4 | ||
15 | #define S900_PD_USB3 5 | ||
16 | #define S900_PD_DDR0 6 | ||
17 | #define S900_PD_DDR1 7 | ||
18 | #define S900_PD_DE 8 | ||
19 | #define S900_PD_NAND 9 | ||
20 | #define S900_PD_USB2_H0 10 | ||
21 | #define S900_PD_USB2_H1 11 | ||
22 | |||
23 | #endif | ||