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 <krzysztof.kozlowski@linaro.org>
Signed-off-by: Xianwei Zhao <xianwei.zhao@amlogic.com>
Link: https://lore.kernel.org/r/20240529-a4_secpowerdomain-v2-1-47502fc0eaf3@amlogic.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
This commit is contained in:
Xianwei Zhao 2024-05-29 11:10:33 +08:00 committed by Ulf Hansson
parent c3f38fa61a
commit 5bbe5872fe
2 changed files with 22 additions and 0 deletions

View File

@ -20,6 +20,7 @@ properties:
enum:
- amlogic,meson-a1-pwrc
- amlogic,meson-s4-pwrc
- amlogic,a4-pwrc
- amlogic,c3-pwrc
- amlogic,t7-pwrc

View File

@ -0,0 +1,21 @@
/* SPDX-License-Identifier: (GPL-2.0-only OR MIT) */
/*
* Copyright (C) 2024 Amlogic, Inc. All rights reserved
*/
#ifndef _DT_BINDINGS_AMLOGIC_A4_POWER_H
#define _DT_BINDINGS_AMLOGIC_A4_POWER_H
#define PWRC_A4_AUDIO_ID 0
#define PWRC_A4_SDIOA_ID 1
#define PWRC_A4_EMMC_ID 2
#define PWRC_A4_USB_COMB_ID 3
#define PWRC_A4_ETH_ID 4
#define PWRC_A4_VOUT_ID 5
#define PWRC_A4_AUDIO_PDM_ID 6
#define PWRC_A4_DMC_ID 7
#define PWRC_A4_SYS_WRAP_ID 8
#define PWRC_A4_AO_I2C_S_ID 9
#define PWRC_A4_AO_UART_ID 10
#define PWRC_A4_AO_IR_ID 11
#endif