Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Xianwei Zhao and committed by
Ulf Hansson
5bbe5872 c3f38fa6

+22
+1
Documentation/devicetree/bindings/power/amlogic,meson-sec-pwrc.yaml
··· 20 20 enum: 21 21 - amlogic,meson-a1-pwrc 22 22 - amlogic,meson-s4-pwrc 23 + - amlogic,a4-pwrc 23 24 - amlogic,c3-pwrc 24 25 - amlogic,t7-pwrc 25 26
+21
include/dt-bindings/power/amlogic,a4-pwrc.h
··· 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