1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * File: drivers/video/omap/lcd-htcherald.c
5 * LCD panel support for the HTC Herald
7 * Copyright (C) 2009 Cory Maccarrone <darkstar6262@gmail.com>
8 * Copyright (C) 2009 Wing Linux
10 * Based on the lcd_htcwizard.c file from the linwizard project:
11 * Copyright (C) linwizard.sourceforge.net
12 * Author: Angelo Arrifano <miknix@gmail.com>
13 * Based on lcd_h4 by Imre Deak <imre.deak@nokia.com>
16 #include <linux/module.h>
17 #include <linux/platform_device.h>
21 /* Found on WIZ200 (miknix) and some HERA110 models (darkstar62) */
22 static struct lcd_panel htcherald_panel_1
= {
24 .config
= OMAP_LCDC_PANEL_TFT
|
27 OMAP_LCDC_INV_PIX_CLOCK
,
42 static int htcherald_panel_probe(struct platform_device
*pdev
)
44 omapfb_register_panel(&htcherald_panel_1
);
48 static struct platform_driver htcherald_panel_driver
= {
49 .probe
= htcherald_panel_probe
,
51 .name
= "lcd_htcherald",
55 module_platform_driver(htcherald_panel_driver
);
57 MODULE_AUTHOR("Cory Maccarrone");
58 MODULE_LICENSE("GPL");
59 MODULE_DESCRIPTION("LCD panel support for the HTC Herald");