[PATCH 1/5] rockchip: vop2: Add vop2 dt-binding from Linux

Kever Yang kever.yang at rock-chips.com
Tue Jan 17 03:07:09 CET 2023


On 2023/1/5 23:34, Chris Morgan wrote:
> From: Chris Morgan <macromorgan at hotmail.com>
>
> In order to support Rockchip devices with the VOP2, import the VOP2
> dt-bindings from Linux.
>
> Signed-off-by: Chris Morgan <macromorgan at hotmail.com>
Reviewed-by: Kever Yang <kever.yang at rock-chips.com>

Thanks,
- Kever
> ---
>   include/dt-bindings/soc/rockchip,vop2.h | 14 ++++++++++++++
>   1 file changed, 14 insertions(+)
>   create mode 100644 include/dt-bindings/soc/rockchip,vop2.h
>
> diff --git a/include/dt-bindings/soc/rockchip,vop2.h b/include/dt-bindings/soc/rockchip,vop2.h
> new file mode 100644
> index 0000000000..6e66a802b9
> --- /dev/null
> +++ b/include/dt-bindings/soc/rockchip,vop2.h
> @@ -0,0 +1,14 @@
> +/* SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause */
> +
> +#ifndef __DT_BINDINGS_ROCKCHIP_VOP2_H
> +#define __DT_BINDINGS_ROCKCHIP_VOP2_H
> +
> +#define ROCKCHIP_VOP2_EP_RGB0	1
> +#define ROCKCHIP_VOP2_EP_HDMI0	2
> +#define ROCKCHIP_VOP2_EP_EDP0	3
> +#define ROCKCHIP_VOP2_EP_MIPI0	4
> +#define ROCKCHIP_VOP2_EP_LVDS0	5
> +#define ROCKCHIP_VOP2_EP_MIPI1	6
> +#define ROCKCHIP_VOP2_EP_LVDS1	7
> +
> +#endif /* __DT_BINDINGS_ROCKCHIP_VOP2_H */


More information about the U-Boot mailing list