dt-bindings: power: Add MT8195 power domains
Add power domains dt-bindings for MT8195. Signed-off-by: Chun-Jie Chen <chun-jie.chen@mediatek.com> Acked-by: Rob Herring <robh@kernel.org> Reviewed-by: Enric Balletbo i Serra <enric.balletbo@collabora.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Link: https://lore.kernel.org/r/20220130012104.5292-2-chun-jie.chen@mediatek.com Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
This commit is contained in:
parent
e783362eb5
commit
73c022e129
|
@ -27,6 +27,7 @@ properties:
|
||||||
- mediatek,mt8173-power-controller
|
- mediatek,mt8173-power-controller
|
||||||
- mediatek,mt8183-power-controller
|
- mediatek,mt8183-power-controller
|
||||||
- mediatek,mt8192-power-controller
|
- mediatek,mt8192-power-controller
|
||||||
|
- mediatek,mt8195-power-controller
|
||||||
|
|
||||||
'#power-domain-cells':
|
'#power-domain-cells':
|
||||||
const: 1
|
const: 1
|
||||||
|
@ -64,6 +65,7 @@ patternProperties:
|
||||||
"include/dt-bindings/power/mt8173-power.h" - for MT8173 type power domain.
|
"include/dt-bindings/power/mt8173-power.h" - for MT8173 type power domain.
|
||||||
"include/dt-bindings/power/mt8183-power.h" - for MT8183 type power domain.
|
"include/dt-bindings/power/mt8183-power.h" - for MT8183 type power domain.
|
||||||
"include/dt-bindings/power/mt8192-power.h" - for MT8192 type power domain.
|
"include/dt-bindings/power/mt8192-power.h" - for MT8192 type power domain.
|
||||||
|
"include/dt-bindings/power/mt8195-power.h" - for MT8195 type power domain.
|
||||||
maxItems: 1
|
maxItems: 1
|
||||||
|
|
||||||
clocks:
|
clocks:
|
||||||
|
|
|
@ -0,0 +1,46 @@
|
||||||
|
/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2021 MediaTek Inc.
|
||||||
|
* Author: Chun-Jie Chen <chun-jie.chen@mediatek.com>
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef _DT_BINDINGS_POWER_MT8195_POWER_H
|
||||||
|
#define _DT_BINDINGS_POWER_MT8195_POWER_H
|
||||||
|
|
||||||
|
#define MT8195_POWER_DOMAIN_PCIE_MAC_P0 0
|
||||||
|
#define MT8195_POWER_DOMAIN_PCIE_MAC_P1 1
|
||||||
|
#define MT8195_POWER_DOMAIN_PCIE_PHY 2
|
||||||
|
#define MT8195_POWER_DOMAIN_SSUSB_PCIE_PHY 3
|
||||||
|
#define MT8195_POWER_DOMAIN_CSI_RX_TOP 4
|
||||||
|
#define MT8195_POWER_DOMAIN_ETHER 5
|
||||||
|
#define MT8195_POWER_DOMAIN_ADSP 6
|
||||||
|
#define MT8195_POWER_DOMAIN_AUDIO 7
|
||||||
|
#define MT8195_POWER_DOMAIN_MFG0 8
|
||||||
|
#define MT8195_POWER_DOMAIN_MFG1 9
|
||||||
|
#define MT8195_POWER_DOMAIN_MFG2 10
|
||||||
|
#define MT8195_POWER_DOMAIN_MFG3 11
|
||||||
|
#define MT8195_POWER_DOMAIN_MFG4 12
|
||||||
|
#define MT8195_POWER_DOMAIN_MFG5 13
|
||||||
|
#define MT8195_POWER_DOMAIN_MFG6 14
|
||||||
|
#define MT8195_POWER_DOMAIN_VPPSYS0 15
|
||||||
|
#define MT8195_POWER_DOMAIN_VDOSYS0 16
|
||||||
|
#define MT8195_POWER_DOMAIN_VPPSYS1 17
|
||||||
|
#define MT8195_POWER_DOMAIN_VDOSYS1 18
|
||||||
|
#define MT8195_POWER_DOMAIN_DP_TX 19
|
||||||
|
#define MT8195_POWER_DOMAIN_EPD_TX 20
|
||||||
|
#define MT8195_POWER_DOMAIN_HDMI_TX 21
|
||||||
|
#define MT8195_POWER_DOMAIN_WPESYS 22
|
||||||
|
#define MT8195_POWER_DOMAIN_VDEC0 23
|
||||||
|
#define MT8195_POWER_DOMAIN_VDEC1 24
|
||||||
|
#define MT8195_POWER_DOMAIN_VDEC2 25
|
||||||
|
#define MT8195_POWER_DOMAIN_VENC 26
|
||||||
|
#define MT8195_POWER_DOMAIN_VENC_CORE1 27
|
||||||
|
#define MT8195_POWER_DOMAIN_IMG 28
|
||||||
|
#define MT8195_POWER_DOMAIN_DIP 29
|
||||||
|
#define MT8195_POWER_DOMAIN_IPE 30
|
||||||
|
#define MT8195_POWER_DOMAIN_CAM 31
|
||||||
|
#define MT8195_POWER_DOMAIN_CAM_RAWA 32
|
||||||
|
#define MT8195_POWER_DOMAIN_CAM_RAWB 33
|
||||||
|
#define MT8195_POWER_DOMAIN_CAM_MRAW 34
|
||||||
|
|
||||||
|
#endif /* _DT_BINDINGS_POWER_MT8195_POWER_H */
|
Loading…
Reference in New Issue