diff mbox series

[4/6] dt-bindings: power: rk3328-power: sync from upstream Linux kernel

Message ID 20200327044130.8763-5-wens@kernel.org
State New
Headers show
Series rockchip: rk3328: sync dts and add ROC-RK3328-CC board | expand

Commit Message

Chen-Yu Tsai March 27, 2020, 4:41 a.m. UTC
From: Chen-Yu Tsai <wens at csie.org>

This syncs the rk3328 power domain header file from Linux kernel
next-20200324, to support newer hardware blocks when syncing the
device tree files.

The last non-merge commit to touch it was

    b24413180f56 ("License cleanup: add SPDX GPL-2.0 license identifier to files with no license")

Signed-off-by: Chen-Yu Tsai <wens at csie.org>
---
 include/dt-bindings/power/rk3328-power.h | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 include/dt-bindings/power/rk3328-power.h

Comments

Kever Yang March 27, 2020, 6:39 a.m. UTC | #1
On 2020/3/27 ??12:41, Chen-Yu Tsai wrote:
> From: Chen-Yu Tsai <wens at csie.org>
>
> This syncs the rk3328 power domain header file from Linux kernel
> next-20200324, to support newer hardware blocks when syncing the
> device tree files.
>
> The last non-merge commit to touch it was
>
>      b24413180f56 ("License cleanup: add SPDX GPL-2.0 license identifier to files with no license")
>
> Signed-off-by: Chen-Yu Tsai <wens at csie.org>


Reviewed-by: Kever Yang <kever.yang at rock-chips.com>

Thanks,
- Kever
> ---
>   include/dt-bindings/power/rk3328-power.h | 19 +++++++++++++++++++
>   1 file changed, 19 insertions(+)
>   create mode 100644 include/dt-bindings/power/rk3328-power.h
>
> diff --git a/include/dt-bindings/power/rk3328-power.h b/include/dt-bindings/power/rk3328-power.h
> new file mode 100644
> index 000000000000..02e3d7fc1cce
> --- /dev/null
> +++ b/include/dt-bindings/power/rk3328-power.h
> @@ -0,0 +1,19 @@
> +/* SPDX-License-Identifier: GPL-2.0 */
> +#ifndef __DT_BINDINGS_POWER_RK3328_POWER_H__
> +#define __DT_BINDINGS_POWER_RK3328_POWER_H__
> +
> +/**
> + * RK3328 idle id Summary.
> + */
> +#define RK3328_PD_CORE		0
> +#define RK3328_PD_GPU		1
> +#define RK3328_PD_BUS		2
> +#define RK3328_PD_MSCH		3
> +#define RK3328_PD_PERI		4
> +#define RK3328_PD_VIDEO		5
> +#define RK3328_PD_HEVC		6
> +#define RK3328_PD_SYS		7
> +#define RK3328_PD_VPU		8
> +#define RK3328_PD_VIO		9
> +
> +#endif
diff mbox series

Patch

diff --git a/include/dt-bindings/power/rk3328-power.h b/include/dt-bindings/power/rk3328-power.h
new file mode 100644
index 000000000000..02e3d7fc1cce
--- /dev/null
+++ b/include/dt-bindings/power/rk3328-power.h
@@ -0,0 +1,19 @@ 
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef __DT_BINDINGS_POWER_RK3328_POWER_H__
+#define __DT_BINDINGS_POWER_RK3328_POWER_H__
+
+/**
+ * RK3328 idle id Summary.
+ */
+#define RK3328_PD_CORE		0
+#define RK3328_PD_GPU		1
+#define RK3328_PD_BUS		2
+#define RK3328_PD_MSCH		3
+#define RK3328_PD_PERI		4
+#define RK3328_PD_VIDEO		5
+#define RK3328_PD_HEVC		6
+#define RK3328_PD_SYS		7
+#define RK3328_PD_VPU		8
+#define RK3328_PD_VIO		9
+
+#endif