Skip to content

Commit 5bbe587

Browse files
Xianwei Zhaostorulf
authored andcommitted
dt-bindings: power: add Amlogic A4 power domains
Add devicetree binding document and related header file for Amlogic A4 secure power domains. Acked-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Xianwei Zhao <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ulf Hansson <[email protected]>
1 parent c3f38fa commit 5bbe587

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ properties:
2020
enum:
2121
- amlogic,meson-a1-pwrc
2222
- amlogic,meson-s4-pwrc
23+
- amlogic,a4-pwrc
2324
- amlogic,c3-pwrc
2425
- amlogic,t7-pwrc
2526

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
/* SPDX-License-Identifier: (GPL-2.0-only OR MIT) */
2+
/*
3+
* Copyright (C) 2024 Amlogic, Inc. All rights reserved
4+
*/
5+
#ifndef _DT_BINDINGS_AMLOGIC_A4_POWER_H
6+
#define _DT_BINDINGS_AMLOGIC_A4_POWER_H
7+
8+
#define PWRC_A4_AUDIO_ID 0
9+
#define PWRC_A4_SDIOA_ID 1
10+
#define PWRC_A4_EMMC_ID 2
11+
#define PWRC_A4_USB_COMB_ID 3
12+
#define PWRC_A4_ETH_ID 4
13+
#define PWRC_A4_VOUT_ID 5
14+
#define PWRC_A4_AUDIO_PDM_ID 6
15+
#define PWRC_A4_DMC_ID 7
16+
#define PWRC_A4_SYS_WRAP_ID 8
17+
#define PWRC_A4_AO_I2C_S_ID 9
18+
#define PWRC_A4_AO_UART_ID 10
19+
#define PWRC_A4_AO_IR_ID 11
20+
21+
#endif

0 commit comments

Comments
 (0)