Support Boe Himax8279d 8.0" 1200x1920 TFT LCD panel, it is a MIPI DSI panel.
V5: - Add the information of the reviewer (Sam) - Delete unnecessary header files #include <linux/fb.h> (Sam) - The config DRM_PANEL_BOE_HIMAX8279D appears twice. Drop one of them (Sam) - ADD static, set_gpios function is not used outside this module (Sam)
V4: - Frefix all function maes with boe_ (Sam) - Fsed "enable_gpio" replace "reset_gpio", Make it look clearer (Sam) - Sort include lines alphabetically (Sam) - Fixed entries in the makefile must be sorted alphabetically (Sam) - Add send_mipi_cmds function to avoid duplicating the code (Sam) - Add the necessary delay(reset_delay_t5) between reset and sending the initialization command (Rock wang)
V3: - Remove unnecessary delays in sending initialization commands (Jitao Shi)
V2: - Use SPDX identifier (Sam) - Use necessary header files replace drmP.h (Sam) - Delete unnecessary header files #include <linux/err.h> (Sam) - Specifies a GPIOs array to control the reset timing, instead of reading "dsi-reset-sequence" data from DTS (Sam) - Delete backlight_disable() function when already disabled (Sam) - Use devm_of_find_backlight() replace of_find_backlight_by_node() (Sam) - Move the necessary data in the DTS to the current file, like porch, display_mode and Init code etc. (Sam) - Add compatible device "boe,himax8279d10p" (Sam)
V1: - Support Boe Himax8279d 8.0" 1200x1920 TFT LCD panel, it is a MIPI DSI panel.
Signed-off-by: Jerry Han hanxu5@huaqin.corp-partner.google.com Reviewed-by: Sam Ravnborg sam@ravnborg.org Cc: Jitao Shi jitao.shi@mediatek.com Cc: Derek Basehore dbasehore@chromium.org Cc: Rock wang rock_wang@himax.com.cn --- drivers/gpu/drm/panel/panel-boe-himax8279d.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/panel/panel-boe-himax8279d.c b/drivers/gpu/drm/panel/panel-boe-himax8279d.c index aa7d91279819..c050a48487a2 100644 --- a/drivers/gpu/drm/panel/panel-boe-himax8279d.c +++ b/drivers/gpu/drm/panel/panel-boe-himax8279d.c @@ -8,7 +8,6 @@
#include <linux/backlight.h> #include <linux/delay.h> -#include <linux/fb.h> #include <linux/kernel.h> #include <linux/module.h> #include <linux/of.h> @@ -72,7 +71,7 @@ static inline struct panel_info *to_panel_info(struct drm_panel *panel) return container_of(panel, struct panel_info, base); }
-void set_gpios(struct panel_info *pinfo, int enable) +static void set_gpios(struct panel_info *pinfo, int enable) { gpiod_set_value(pinfo->enable_gpio, enable); gpiod_set_value(pinfo->pp33_gpio, enable);
dri-devel@lists.freedesktop.org