diff options
author | Dario Binacchi | 2020-12-30 00:16:27 +0100 |
---|---|---|
committer | Lokesh Vutla | 2021-01-12 10:58:27 +0530 |
commit | ff94c15a3cf1ded3b851c65bb86168f6428e0d06 (patch) | |
tree | 868de165c7c2e1e971bbcaae983de1150aac82cf /drivers/video/tilcdc-panel.h | |
parent | 15daa4860bf3c49f53ae76812e0033e4d5faa0a2 (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.h | 14 |
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 */ |