[U-Boot] [PATCH v2 1/3] Add a bingding file for rockchip video

陈豪 jacobchen110 at gmail.com
Sun Mar 13 18:51:19 CET 2016


O Oh..wrong title...

2016-03-14 1:45 GMT+08:00 Jacob Chen <jacob-chen at iotwrt.com>:
> and include it in rk3288 device tree
>
> Signed-off-by: Jacob Chen <jacob-chen at iotwrt.com>
> ---
>
>  arch/arm/dts/rk3288.dtsi           |  1 +
>  include/dt-bindings/video/rk3288.h | 11 +++++++++++
>  2 files changed, 12 insertions(+)
>  create mode 100644 include/dt-bindings/video/rk3288.h
>
> diff --git a/arch/arm/dts/rk3288.dtsi b/arch/arm/dts/rk3288.dtsi
> index ba29b38..3dab0fc 100644
> --- a/arch/arm/dts/rk3288.dtsi
> +++ b/arch/arm/dts/rk3288.dtsi
> @@ -9,6 +9,7 @@
>  #include <dt-bindings/clock/rk3288-cru.h>
>  #include <dt-bindings/power-domain/rk3288.h>
>  #include <dt-bindings/thermal/thermal.h>
> +#include <dt-bindings/video/rk3288.h>
>  #include "skeleton.dtsi"
>
>  / {
> diff --git a/include/dt-bindings/video/rk3288.h b/include/dt-bindings/video/rk3288.h
> new file mode 100644
> index 0000000..7bfd247
> --- /dev/null
> +++ b/include/dt-bindings/video/rk3288.h
> @@ -0,0 +1,11 @@
> +#ifndef __DT_BINDINGS_VIDEO_RK3288_H__
> +#define __DT_BINDINGS_VIDEO_RK3288_H__
> +
> +#define LVDS_OUTPUT_RGB     0
> +#define LVDS_OUTPUT_SINGLE  1
> +#define LVDS_OUTPUT_DUAL    2
> +
> +#define LVDS_FORMAT_VESA    0
> +#define LVDS_FORMAT_JEIDA   1
> +
> +#endif
> --
> 2.3.5
>


More information about the U-Boot mailing list