Skip to content

Commit 4055758

Browse files
committed
Merge remote-tracking branch 'ulfh/genpd_dt' into v6.6-next/dts64.3
2 parents 73a2a31 + a1571f1 commit 4055758

5 files changed

Lines changed: 91 additions & 1 deletion

File tree

Documentation/devicetree/bindings/power/amlogic,meson-sec-pwrc.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ maintainers:
1212
- Jianxin Pan <jianxin.pan@amlogic.com>
1313

1414
description: |+
15-
Secure Power Domains used in Meson A1/C1/S4 & C3 SoCs, and should be the child node
15+
Secure Power Domains used in Meson A1/C1/S4 & C3/T7 SoCs, and should be the child node
1616
of secure-monitor.
1717
1818
properties:
@@ -21,6 +21,7 @@ properties:
2121
- amlogic,meson-a1-pwrc
2222
- amlogic,meson-s4-pwrc
2323
- amlogic,c3-pwrc
24+
- amlogic,t7-pwrc
2425

2526
"#power-domain-cells":
2627
const: 1

Documentation/devicetree/bindings/power/mediatek,power-controller.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ properties:
3131
- mediatek,mt8188-power-controller
3232
- mediatek,mt8192-power-controller
3333
- mediatek,mt8195-power-controller
34+
- mediatek,mt8365-power-controller
3435

3536
'#power-domain-cells':
3637
const: 1
@@ -88,6 +89,7 @@ $defs:
8889
"include/dt-bindings/power/mediatek,mt8188-power.h" - for MT8188 type power domain.
8990
"include/dt-bindings/power/mt8192-power.h" - for MT8192 type power domain.
9091
"include/dt-bindings/power/mt8195-power.h" - for MT8195 type power domain.
92+
"include/dt-bindings/power/mediatek,mt8365-power.h" - for MT8365 type power domain.
9193
maxItems: 1
9294

9395
clocks:
@@ -115,6 +117,10 @@ $defs:
115117
$ref: /schemas/types.yaml#/definitions/phandle
116118
description: phandle to the device containing the INFRACFG register range.
117119

120+
mediatek,infracfg-nao:
121+
$ref: /schemas/types.yaml#/definitions/phandle
122+
description: phandle to the device containing the INFRACFG-NAO register range.
123+
118124
mediatek,smi:
119125
$ref: /schemas/types.yaml#/definitions/phandle
120126
description: phandle to the device containing the SMI register range.

Documentation/devicetree/bindings/power/qcom,rpmpd.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ properties:
4646
- qcom,sm6125-rpmpd
4747
- qcom,sm6350-rpmhpd
4848
- qcom,sm6375-rpmpd
49+
- qcom,sm7150-rpmhpd
4950
- qcom,sm8150-rpmhpd
5051
- qcom,sm8250-rpmhpd
5152
- qcom,sm8350-rpmhpd
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
/* SPDX-License-Identifier: (GPL-2.0-only OR MIT) */
2+
/*
3+
* Copyright (c) 2023 Amlogic, Inc.
4+
* Author: Hongyu Chen <hongyu.chen1@amlogic.com>
5+
*/
6+
#ifndef _DT_BINDINGS_AMLOGIC_T7_POWER_H
7+
#define _DT_BINDINGS_AMLOGIC_T7_POWER_H
8+
9+
#define PWRC_T7_DSPA_ID 0
10+
#define PWRC_T7_DSPB_ID 1
11+
#define PWRC_T7_DOS_HCODEC_ID 2
12+
#define PWRC_T7_DOS_HEVC_ID 3
13+
#define PWRC_T7_DOS_VDEC_ID 4
14+
#define PWRC_T7_DOS_WAVE_ID 5
15+
#define PWRC_T7_VPU_HDMI_ID 6
16+
#define PWRC_T7_USB_COMB_ID 7
17+
#define PWRC_T7_PCIE_ID 8
18+
#define PWRC_T7_GE2D_ID 9
19+
#define PWRC_T7_SRAMA_ID 10
20+
#define PWRC_T7_SRAMB_ID 11
21+
#define PWRC_T7_HDMIRX_ID 12
22+
#define PWRC_T7_VI_CLK1_ID 13
23+
#define PWRC_T7_VI_CLK2_ID 14
24+
#define PWRC_T7_ETH_ID 15
25+
#define PWRC_T7_ISP_ID 16
26+
#define PWRC_T7_MIPI_ISP_ID 17
27+
#define PWRC_T7_GDC_ID 18
28+
#define PWRC_T7_CVE_ID 18
29+
#define PWRC_T7_DEWARP_ID 19
30+
#define PWRC_T7_SDIO_A_ID 20
31+
#define PWRC_T7_SDIO_B_ID 21
32+
#define PWRC_T7_EMMC_ID 22
33+
#define PWRC_T7_MALI_SC0_ID 23
34+
#define PWRC_T7_MALI_SC1_ID 24
35+
#define PWRC_T7_MALI_SC2_ID 25
36+
#define PWRC_T7_MALI_SC3_ID 26
37+
#define PWRC_T7_MALI_TOP_ID 27
38+
#define PWRC_T7_NNA_CORE0_ID 28
39+
#define PWRC_T7_NNA_CORE1_ID 29
40+
#define PWRC_T7_NNA_CORE2_ID 30
41+
#define PWRC_T7_NNA_CORE3_ID 31
42+
#define PWRC_T7_NNA_TOP_ID 32
43+
#define PWRC_T7_DDR0_ID 33
44+
#define PWRC_T7_DDR1_ID 34
45+
#define PWRC_T7_DMC0_ID 35
46+
#define PWRC_T7_DMC1_ID 36
47+
#define PWRC_T7_NOC_ID 37
48+
#define PWRC_T7_NIC2_ID 38
49+
#define PWRC_T7_NIC3_ID 39
50+
#define PWRC_T7_CCI_ID 40
51+
#define PWRC_T7_MIPI_DSI0_ID 41
52+
#define PWRC_T7_SPICC0_ID 42
53+
#define PWRC_T7_SPICC1_ID 43
54+
#define PWRC_T7_SPICC2_ID 44
55+
#define PWRC_T7_SPICC3_ID 45
56+
#define PWRC_T7_SPICC4_ID 46
57+
#define PWRC_T7_SPICC5_ID 47
58+
#define PWRC_T7_EDP0_ID 48
59+
#define PWRC_T7_EDP1_ID 49
60+
#define PWRC_T7_MIPI_DSI1_ID 50
61+
#define PWRC_T7_AUDIO_ID 51
62+
63+
#endif
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */
2+
/*
3+
* Copyright (c) 2022 MediaTek Inc.
4+
*/
5+
6+
#ifndef _DT_BINDINGS_POWER_MT8365_POWER_H
7+
#define _DT_BINDINGS_POWER_MT8365_POWER_H
8+
9+
#define MT8365_POWER_DOMAIN_MM 0
10+
#define MT8365_POWER_DOMAIN_CONN 1
11+
#define MT8365_POWER_DOMAIN_MFG 2
12+
#define MT8365_POWER_DOMAIN_AUDIO 3
13+
#define MT8365_POWER_DOMAIN_CAM 4
14+
#define MT8365_POWER_DOMAIN_DSP 5
15+
#define MT8365_POWER_DOMAIN_VDEC 6
16+
#define MT8365_POWER_DOMAIN_VENC 7
17+
#define MT8365_POWER_DOMAIN_APU 8
18+
19+
#endif /* _DT_BINDINGS_POWER_MT8365_POWER_H */

0 commit comments

Comments
 (0)