aboutsummaryrefslogtreecommitdiff
path: root/drivers/video/tilcdc-panel.h
diff options
context:
space:
mode:
authorDario Binacchi2020-12-30 00:16:27 +0100
committerLokesh Vutla2021-01-12 10:58:27 +0530
commitff94c15a3cf1ded3b851c65bb86168f6428e0d06 (patch)
tree868de165c7c2e1e971bbcaae983de1150aac82cf /drivers/video/tilcdc-panel.h
parent15daa4860bf3c49f53ae76812e0033e4d5faa0a2 (diff)
video: omap: add panel driver
The previous version of am335x-fb.c contained the functionalities of two drivers that this patch has split. It was a video type driver that used the same registration compatible string that now registers a panel type driver. The proof of this is that two compatible strings were referred to within the same driver. There are now two drivers, each with its own compatible string, functions and API. Furthermore, the panel driver, in addition to decoding the display timings, is now also able to manage the backlight. Signed-off-by: Dario Binacchi <dariobin@libero.it> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/video/tilcdc-panel.h')
-rw-r--r--drivers/video/tilcdc-panel.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/video/tilcdc-panel.h b/drivers/video/tilcdc-panel.h
new file mode 100644
index 00000000000..6b40731304c
--- /dev/null
+++ b/drivers/video/tilcdc-panel.h
@@ -0,0 +1,14 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright (C) 2020 Dario Binacchi <dariobin@libero.it>
+ */
+
+#ifndef _TILCDC_PANEL_H
+#define _TILCDC_PANEL_H
+
+#include "am335x-fb.h"
+
+int tilcdc_panel_get_display_info(struct udevice *dev,
+ struct tilcdc_panel_info *info);
+
+#endif /* _TILCDC_PANEL_H */