[U-Boot] [PATCH v2 1/3] Add a binding file for rockchip video
Jacob Chen
jacob-chen at iotwrt.com
Sun Mar 13 18:52:46 CET 2016
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