diff options
author | Samuel Holland <samuel@sholland.org> | 2023-01-26 07:34:17 +0100 |
---|---|---|
committer | Jernej Skrabec <jernej.skrabec@gmail.com> | 2023-01-27 23:20:30 +0100 |
commit | 84def5abbb5252681bb5aa7e3e253c37b75ed9e7 (patch) | |
tree | 1645f2bd19f159757aac7299573609a5b6ae24d4 /include/dt-bindings | |
parent | soc: sunxi: sram: Only iterate over SRAM children (diff) | |
download | linux-84def5abbb5252681bb5aa7e3e253c37b75ed9e7.tar.xz linux-84def5abbb5252681bb5aa7e3e253c37b75ed9e7.zip |
dt-bindings: power: Add Allwinner D1 PPU
The Allwinner D1 family of SoCs contain a PPU power domain controller
separate from the PRCM. It can power down the video engine and DSP, and
it contains special logic for hardware-assisted CPU idle. Other recent
Allwinner SoCs (e.g. TV303) have a PPU with a different set of domains.
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Samuel Holland <samuel@sholland.org>
Link: https://lore.kernel.org/r/20230126063419.15971-2-samuel@sholland.org
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Diffstat (limited to 'include/dt-bindings')
-rw-r--r-- | include/dt-bindings/power/allwinner,sun20i-d1-ppu.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/dt-bindings/power/allwinner,sun20i-d1-ppu.h b/include/dt-bindings/power/allwinner,sun20i-d1-ppu.h new file mode 100644 index 000000000000..23cfb57256d6 --- /dev/null +++ b/include/dt-bindings/power/allwinner,sun20i-d1-ppu.h @@ -0,0 +1,10 @@ +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ + +#ifndef _DT_BINDINGS_POWER_SUN20I_D1_PPU_H_ +#define _DT_BINDINGS_POWER_SUN20I_D1_PPU_H_ + +#define PD_CPU 0 +#define PD_VE 1 +#define PD_DSP 2 + +#endif /* _DT_BINDINGS_POWER_SUN20I_D1_PPU_H_ */ |