public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Johan Jonker <jbx6244@gmail.com>
To: kever.yang@rock-chips.com
Cc: sjg@chromium.org, philipp.tomsich@vrull.eu, u-boot@lists.denx.de,
	w.egorov@phytec.de, hl@rock-chips.com,
	jagan@amarulasolutions.com, heiko@sntech.de
Subject: [PATCH v3 06/12] rockchip: rk3288-power: sync power domain dt-binding header from Linux
Date: Fri,  4 Mar 2022 00:52:33 +0100	[thread overview]
Message-ID: <20220303235239.28630-6-jbx6244@gmail.com> (raw)
In-Reply-To: <20220303235239.28630-1-jbx6244@gmail.com>

In order to update the DT for rk3288
sync the power domain dt-binding header.
This is the state as of v5.17 in Linux.
Change location to be more in line with other SoCs.

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
---

Changed V2:
  changed include rk3288.dtsi
---
 arch/arm/dts/rk3288.dtsi                  |  2 +-
 include/dt-bindings/power-domain/rk3288.h | 11 --------
 include/dt-bindings/power/rk3288-power.h  | 32 +++++++++++++++++++++++
 3 files changed, 33 insertions(+), 12 deletions(-)
 delete mode 100644 include/dt-bindings/power-domain/rk3288.h
 create mode 100644 include/dt-bindings/power/rk3288-power.h

diff --git a/arch/arm/dts/rk3288.dtsi b/arch/arm/dts/rk3288.dtsi
index 22bb06ce..2086dbfd 100644
--- a/arch/arm/dts/rk3288.dtsi
+++ b/arch/arm/dts/rk3288.dtsi
@@ -5,7 +5,7 @@
 #include <dt-bindings/interrupt-controller/arm-gic.h>
 #include <dt-bindings/pinctrl/rockchip.h>
 #include <dt-bindings/clock/rk3288-cru.h>
-#include <dt-bindings/power-domain/rk3288.h>
+#include <dt-bindings/power/rk3288-power.h>
 #include <dt-bindings/thermal/thermal.h>
 #include <dt-bindings/video/rk3288.h>
 #include "skeleton.dtsi"
diff --git a/include/dt-bindings/power-domain/rk3288.h b/include/dt-bindings/power-domain/rk3288.h
deleted file mode 100644
index ca68c114..00000000
--- a/include/dt-bindings/power-domain/rk3288.h
+++ /dev/null
@@ -1,11 +0,0 @@
-#ifndef __DT_BINDINGS_POWER_DOMAIN_RK3288_H__
-#define __DT_BINDINGS_POWER_DOMAIN_RK3288_H__
-
-/* RK3288 power domain index */
-#define RK3288_PD_GPU          0
-#define RK3288_PD_VIO          1
-#define RK3288_PD_VIDEO        2
-#define RK3288_PD_HEVC         3
-#define RK3288_PD_PERI         4
-
-#endif
diff --git a/include/dt-bindings/power/rk3288-power.h b/include/dt-bindings/power/rk3288-power.h
new file mode 100644
index 00000000..f710b56c
--- /dev/null
+++ b/include/dt-bindings/power/rk3288-power.h
@@ -0,0 +1,32 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef __DT_BINDINGS_POWER_RK3288_POWER_H__
+#define __DT_BINDINGS_POWER_RK3288_POWER_H__
+
+/**
+ * RK3288 Power Domain and Voltage Domain Summary.
+ */
+
+/* VD_CORE */
+#define RK3288_PD_A17_0		0
+#define RK3288_PD_A17_1		1
+#define RK3288_PD_A17_2		2
+#define RK3288_PD_A17_3		3
+#define RK3288_PD_SCU		4
+#define RK3288_PD_DEBUG		5
+#define RK3288_PD_MEM		6
+
+/* VD_LOGIC */
+#define RK3288_PD_BUS		7
+#define RK3288_PD_PERI		8
+#define RK3288_PD_VIO		9
+#define RK3288_PD_ALIVE		10
+#define RK3288_PD_HEVC		11
+#define RK3288_PD_VIDEO		12
+
+/* VD_GPU */
+#define RK3288_PD_GPU		13
+
+/* VD_PMU */
+#define RK3288_PD_PMU		14
+
+#endif
-- 
2.20.1


  parent reply	other threads:[~2022-03-03 23:53 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-03 23:52 [PATCH v3 01/12] rockchip: rk3228-power: sync power domain dt-binding header from Linux Johan Jonker
2022-03-03 23:52 ` [PATCH v3 02/12] rockchip: rk3228-cru: sync the clock " Johan Jonker
2022-03-28 12:40   ` Kever Yang
2022-03-03 23:52 ` [PATCH v3 03/12] arm: dts: rockchip: move all rk322x u-boot specific properties in separate dtsi files Johan Jonker
2022-03-28 12:40   ` Kever Yang
2022-03-03 23:52 ` [PATCH v3 04/12] arm: dts: rockchip: sync rk322x.dtsi from Linux Johan Jonker
2022-03-28 12:43   ` Kever Yang
2022-03-03 23:52 ` [PATCH v3 05/12] arm: dts: rockchip: sync rk3229-evb.dts " Johan Jonker
2022-03-28 12:46   ` Kever Yang
2022-03-03 23:52 ` Johan Jonker [this message]
2022-03-28 12:46   ` [PATCH v3 06/12] rockchip: rk3288-power: sync power domain dt-binding header " Kever Yang
2022-03-03 23:52 ` [PATCH v3 07/12] rockchip: rk3288-cru: sync the clock " Johan Jonker
2022-03-28 12:46   ` Kever Yang
2022-03-03 23:52 ` [PATCH v3 08/12] arm: dts: rockchip: move all rk3288 u-boot specific properties in separate dtsi files Johan Jonker
2022-03-28 12:48   ` Kever Yang
2022-03-03 23:52 ` [PATCH v3 09/12] arm: dts: rockchip: sync rk3288.dtsi from Linux Johan Jonker
2022-03-28 12:49   ` Kever Yang
2022-04-15  0:40   ` Kever Yang
2022-04-15 10:19     ` Johan Jonker
2022-03-03 23:52 ` [PATCH v3 10/12] arm: dts: rockchip: sync rk3288 DT boards " Johan Jonker
2022-03-28 12:50   ` Kever Yang
2022-03-03 23:52 ` [PATCH v3 11/12] arm: dts: rockchip: sync rk3288-veyron DT " Johan Jonker
2022-03-28 12:50   ` Kever Yang
2022-03-03 23:52 ` [PATCH v3 12/12] rockchip: fix boot_devices constants Johan Jonker
2022-03-12  2:24   ` Simon Glass
2022-03-18 15:17     ` Johan Jonker
2022-03-28  6:35       ` Simon Glass
2022-03-28 12:51   ` Kever Yang
2022-03-11 19:20 ` [PATCH v3 01/12] rockchip: rk3228-power: sync power domain dt-binding header from Linux Jagan Teki
2022-03-28 12:40 ` Kever Yang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220303235239.28630-6-jbx6244@gmail.com \
    --to=jbx6244@gmail.com \
    --cc=heiko@sntech.de \
    --cc=hl@rock-chips.com \
    --cc=jagan@amarulasolutions.com \
    --cc=kever.yang@rock-chips.com \
    --cc=philipp.tomsich@vrull.eu \
    --cc=sjg@chromium.org \
    --cc=u-boot@lists.denx.de \
    --cc=w.egorov@phytec.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox