^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) /* SPDX-License-Identifier: GPL-2.0-only */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) * Header containing platform_data structs for omap panels
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) * Copyright (C) 2013 Texas Instruments
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) * Author: Tomi Valkeinen <tomi.valkeinen@ti.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) * Archit Taneja <archit@ti.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) * Copyright (C) 2011 Texas Instruments
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) * Author: Mayuresh Janorkar <mayur@ti.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) * Copyright (C) 2010 Canonical Ltd.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) * Author: Bryan Wu <bryan.wu@canonical.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) #ifndef __OMAP_PANEL_DATA_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) #define __OMAP_PANEL_DATA_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) #include <video/display_timing.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) /**
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) * connector_atv platform data
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) * @name: name for this display entity
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) * @source: name of the display entity used as a video source
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) * @invert_polarity: invert signal polarity
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) struct connector_atv_platform_data {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) const char *name;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) const char *source;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) bool invert_polarity;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) /**
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) * panel_dpi platform data
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) * @name: name for this display entity
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) * @source: name of the display entity used as a video source
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) * @data_lines: number of DPI datalines
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) * @display_timing: timings for this panel
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) * @backlight_gpio: gpio to enable/disable the backlight (or -1)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) * @enable_gpio: gpio to enable/disable the panel (or -1)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) struct panel_dpi_platform_data {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) const char *name;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) const char *source;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) int data_lines;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) const struct display_timing *display_timing;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) int backlight_gpio;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) int enable_gpio;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) /**
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) * panel_acx565akm platform data
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) * @name: name for this display entity
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) * @source: name of the display entity used as a video source
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) * @reset_gpio: gpio to reset the panel (or -1)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) * @datapairs: number of SDI datapairs
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) struct panel_acx565akm_platform_data {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) const char *name;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) const char *source;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) int reset_gpio;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) int datapairs;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) #endif /* __OMAP_PANEL_DATA_H */