]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
dt-bindings: power: add Amlogic A5 power domains
authorXianwei Zhao <xianwei.zhao@amlogic.com>
Thu, 27 Jun 2024 11:47:51 +0000 (19:47 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 9 Jul 2024 10:49:43 +0000 (12:49 +0200)
Add devicetree binding document and related header file for
Amlogic A5 secure power domains.

Signed-off-by: Hongyu Chen <hongyu.chen1@amlogic.com>
Signed-off-by: Xianwei Zhao <xianwei.zhao@amlogic.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20240627-a5_secpower-v1-1-1f47dde1270c@amlogic.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Documentation/devicetree/bindings/power/amlogic,meson-sec-pwrc.yaml
include/dt-bindings/power/amlogic,a5-pwrc.h [new file with mode: 0644]

index 59915f9d486031afea2d28c4fc9e7fa9ef542b05..15d74138baa343b142be48bc96701d3280fd83d0 100644 (file)
@@ -21,6 +21,7 @@ properties:
       - amlogic,meson-a1-pwrc
       - amlogic,meson-s4-pwrc
       - amlogic,a4-pwrc
+      - amlogic,a5-pwrc
       - amlogic,c3-pwrc
       - amlogic,t7-pwrc
 
diff --git a/include/dt-bindings/power/amlogic,a5-pwrc.h b/include/dt-bindings/power/amlogic,a5-pwrc.h
new file mode 100644 (file)
index 0000000..3a6f53e
--- /dev/null
@@ -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_A5_POWER_H
+#define _DT_BINDINGS_AMLOGIC_A5_POWER_H
+
+#define PWRC_A5_NNA_ID                 0
+#define PWRC_A5_AUDIO_ID               1
+#define PWRC_A5_SDIOA_ID               2
+#define PWRC_A5_EMMC_ID                        3
+#define PWRC_A5_USB_COMB_ID            4
+#define PWRC_A5_ETH_ID                 5
+#define PWRC_A5_RSA_ID                 6
+#define PWRC_A5_AUDIO_PDM_ID           7
+#define PWRC_A5_DMC_ID                 8
+#define PWRC_A5_SYS_WRAP_ID            9
+#define PWRC_A5_DSPA_ID                        10
+
+#endif