diff options
author | 2018-09-30 16:42:04 +0200 | |
---|---|---|
committer | 2018-09-30 16:42:04 +0200 | |
commit | dba84571a3a32e6356a01bad43651f9da8e1238b (patch) | |
tree | 480d124090a43526bbc3e397780317e694bc4ddc | |
parent | soc: actions: Update SPS help text for S700 (diff) | |
parent | dt-bindings: power: Add Actions Semi S900 SPS (diff) | |
download | linux-dev-dba84571a3a32e6356a01bad43651f9da8e1238b.tar.xz linux-dev-dba84571a3a32e6356a01bad43651f9da8e1238b.zip |
Merge branch 'v4.20/s900-sps-bindings' into v4.20/drivers+s900-sps
This merges the DT binding header for S900 SPS driver.
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) Required properties: - compatible : "actions,s500-sps" for S500 "actions,s700-sps" for S700 + "actions,s900-sps" for S900 - reg : Offset and length of the register set for the device. - #power-domain-cells : Must be 1. See macros in: 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-s900-powergate.h for S900 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 @@ +/* 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 |