| /linux/drivers/gpu/drm/panel/ |
| H A D | Kconfig | 6 Panel registration and lookup framework. 12 tristate "ABT Y030XX067A 320x480 LCD panel" 17 Y030XX067A 320x480 3.0" panel as found in the YLM RG-280M, RG-300 21 tristate "ARM Versatile panel driver" 27 reference designs. The panel is detected using special registers 31 tristate "ASUS Z00T TM5P5 NT35596 panel" 37 NT35596 1080x1920 video mode panel as found in some Asus 45 Say Y here to enable support for the AUO A030JTN01 320x480 3.0" panel 49 tristate "Boe BF060Y8M-AJ0 panel" 55 5.99" AMOLED modules. The panel has a 1080x2160 resolution and [all …]
|
| H A D | panel-ronbo-rb070d30.c | 7 * This file based on panel-ilitek-ili9881c.c 28 struct drm_panel panel; member 40 static inline struct rb070d30_panel *panel_to_rb070d30_panel(struct drm_panel *panel) in panel_to_rb070d30_panel() argument 42 return container_of(panel, struct rb070d30_panel, panel); in panel_to_rb070d30_panel() 45 static int rb070d30_panel_prepare(struct drm_panel *panel) in rb070d30_panel_prepare() argument 47 struct rb070d30_panel *ctx = panel_to_rb070d30_panel(panel); in rb070d30_panel_prepare() 64 static int rb070d30_panel_unprepare(struct drm_panel *panel) in rb070d30_panel_unprepare() argument 66 struct rb070d30_panel *ctx = panel_to_rb070d30_panel(panel); in rb070d30_panel_unprepare() 75 static int rb070d30_panel_enable(struct drm_panel *panel) in rb070d30_panel_enable() argument 77 struct rb070d30_panel *ctx = panel_to_rb070d30_panel(panel); in rb070d30_panel_enable() [all …]
|
| H A D | panel-sony-td4353-jdi.c | 5 * Generated with linux-mdss-dsi-panel-driver-generator with a 34 struct drm_panel panel; member 42 static inline struct sony_td4353_jdi *to_sony_td4353_jdi(struct drm_panel *panel) in to_sony_td4353_jdi() argument 44 return container_of(panel, struct sony_td4353_jdi, panel); in to_sony_td4353_jdi() 93 static int sony_td4353_jdi_prepare(struct drm_panel *panel) in sony_td4353_jdi_prepare() argument 95 struct sony_td4353_jdi *ctx = to_sony_td4353_jdi(panel); in sony_td4353_jdi_prepare() 116 static int sony_td4353_jdi_unprepare(struct drm_panel *panel) in sony_td4353_jdi_unprepare() argument 118 struct sony_td4353_jdi *ctx = to_sony_td4353_jdi(panel); in sony_td4353_jdi_unprepare() 142 static int sony_td4353_jdi_get_modes(struct drm_panel *panel, in sony_td4353_jdi_get_modes() argument 145 struct sony_td4353_jdi *ctx = to_sony_td4353_jdi(panel); in sony_td4353_jdi_get_modes() [all …]
|
| H A D | panel-feiyang-fy07024di26a30d.c | 20 struct drm_panel panel; member 28 static inline struct feiyang *panel_to_feiyang(struct drm_panel *panel) in panel_to_feiyang() argument 30 return container_of(panel, struct feiyang, panel); in panel_to_feiyang() 47 static int feiyang_prepare(struct drm_panel *panel) in feiyang_prepare() argument 49 struct feiyang *ctx = panel_to_feiyang(panel); in feiyang_prepare() 94 static int feiyang_enable(struct drm_panel *panel) in feiyang_enable() argument 96 struct feiyang *ctx = panel_to_feiyang(panel); in feiyang_enable() 104 static int feiyang_disable(struct drm_panel *panel) in feiyang_disable() argument 106 struct feiyang *ctx = panel_to_feiyang(panel); in feiyang_disable() 111 static int feiyang_unprepare(struct drm_panel *panel) in feiyang_unprepare() argument [all …]
|
| H A D | panel-samsung-sofef00.c | 3 * Generated with linux-mdss-dsi-panel-driver-generator from vendor device tree: 22 struct drm_panel panel; member 35 struct sofef00_panel *to_sofef00_panel(struct drm_panel *panel) in to_sofef00_panel() argument 37 return container_of(panel, struct sofef00_panel, panel); in to_sofef00_panel() 80 static int sofef00_enable(struct drm_panel *panel) in sofef00_enable() argument 82 struct sofef00_panel *ctx = to_sofef00_panel(panel); in sofef00_enable() 104 static int sofef00_panel_prepare(struct drm_panel *panel) in sofef00_panel_prepare() argument 106 struct sofef00_panel *ctx = to_sofef00_panel(panel); in sofef00_panel_prepare() 125 static int sofef00_disable(struct drm_panel *panel) in sofef00_disable() argument 127 struct sofef00_panel *ctx = to_sofef00_panel(panel); in sofef00_disable() [all …]
|
| H A D | panel-lg-ld070wx3.c | 24 struct drm_panel panel; member 30 static inline struct lg_ld070wx3 *to_lg_ld070wx3(struct drm_panel *panel) in to_lg_ld070wx3() argument 32 return container_of(panel, struct lg_ld070wx3, panel); in to_lg_ld070wx3() 35 static int lg_ld070wx3_prepare(struct drm_panel *panel) in lg_ld070wx3_prepare() argument 37 struct lg_ld070wx3 *priv = to_lg_ld070wx3(panel); in lg_ld070wx3_prepare() 39 struct device *dev = panel->dev; in lg_ld070wx3_prepare() 76 static int lg_ld070wx3_unprepare(struct drm_panel *panel) in lg_ld070wx3_unprepare() argument 78 struct lg_ld070wx3 *priv = to_lg_ld070wx3(panel); in lg_ld070wx3_unprepare() 87 /* power supply must be off for at least 1s after panel disable */ in lg_ld070wx3_unprepare() 108 static int lg_ld070wx3_get_modes(struct drm_panel *panel, in lg_ld070wx3_get_modes() argument [all …]
|
| H A D | panel-novatek-nt35560.c | 3 * MIPI-DSI Novatek NT35560-based panel controller. 6 * Sony ACX424AKM - a 480x854 AMOLED DSI panel 7 * Sony ACX424AKP - a 480x864 AMOLED DSI panel 42 * and panel 00 ... seems like default values. 53 struct drm_panel panel; member 140 static inline struct nt35560 *panel_to_nt35560(struct drm_panel *panel) in panel_to_nt35560() argument 142 return container_of(panel, struct nt35560, panel); in panel_to_nt35560() 217 u8 vendor, version, panel; in nt35560_read_id() local 222 mipi_dsi_dcs_read_multi(dsi_ctx, NT35560_DCS_READ_ID3, &panel, 1); in nt35560_read_id() 233 val = (vendor << 8) | panel; in nt35560_read_id() [all …]
|
| H A D | panel-panasonic-vvx10f034n00.c | 7 * Based on AUO panel driver by Rob Clark <robdclark@gmail.com> 23 * When power is turned off to this panel a minimum off time of 500ms has to be 40 static inline struct wuxga_nt_panel *to_wuxga_nt_panel(struct drm_panel *panel) in to_wuxga_nt_panel() argument 42 return container_of(panel, struct wuxga_nt_panel, base); in to_wuxga_nt_panel() 50 static int wuxga_nt_panel_disable(struct drm_panel *panel) in wuxga_nt_panel_disable() argument 52 struct wuxga_nt_panel *wuxga_nt = to_wuxga_nt_panel(panel); in wuxga_nt_panel_disable() 57 static int wuxga_nt_panel_unprepare(struct drm_panel *panel) in wuxga_nt_panel_unprepare() argument 59 struct wuxga_nt_panel *wuxga_nt = to_wuxga_nt_panel(panel); in wuxga_nt_panel_unprepare() 67 static int wuxga_nt_panel_prepare(struct drm_panel *panel) in wuxga_nt_panel_prepare() argument 69 struct wuxga_nt_panel *wuxga_nt = to_wuxga_nt_panel(panel); in wuxga_nt_panel_prepare() [all …]
|
| H A D | panel-osd-osd101t2587-53ts.c | 27 static inline struct osd101t2587_panel *ti_osd_panel(struct drm_panel *panel) in ti_osd_panel() argument 29 return container_of(panel, struct osd101t2587_panel, base); in ti_osd_panel() 32 static int osd101t2587_panel_disable(struct drm_panel *panel) in osd101t2587_panel_disable() argument 34 struct osd101t2587_panel *osd101t2587 = ti_osd_panel(panel); in osd101t2587_panel_disable() 42 static int osd101t2587_panel_unprepare(struct drm_panel *panel) in osd101t2587_panel_unprepare() argument 44 struct osd101t2587_panel *osd101t2587 = ti_osd_panel(panel); in osd101t2587_panel_unprepare() 51 static int osd101t2587_panel_prepare(struct drm_panel *panel) in osd101t2587_panel_prepare() argument 53 struct osd101t2587_panel *osd101t2587 = ti_osd_panel(panel); in osd101t2587_panel_prepare() 58 static int osd101t2587_panel_enable(struct drm_panel *panel) in osd101t2587_panel_enable() argument 60 struct osd101t2587_panel *osd101t2587 = ti_osd_panel(panel); in osd101t2587_panel_enable() [all …]
|
| H A D | panel-novatek-nt37801.c | 21 struct drm_panel panel; member 34 static inline struct novatek_nt37801 *to_novatek_nt37801(struct drm_panel *panel) in to_novatek_nt37801() argument 36 return container_of(panel, struct novatek_nt37801, panel); in to_novatek_nt37801() 128 static int novatek_nt37801_prepare(struct drm_panel *panel) in novatek_nt37801_prepare() argument 130 struct novatek_nt37801 *ctx = to_novatek_nt37801(panel); in novatek_nt37801_prepare() 150 dev_err(panel->dev, "failed to transmit PPS: %d\n", ret); in novatek_nt37801_prepare() 172 static int novatek_nt37801_unprepare(struct drm_panel *panel) in novatek_nt37801_unprepare() argument 174 struct novatek_nt37801 *ctx = to_novatek_nt37801(panel); in novatek_nt37801_unprepare() 180 dev_err(dev, "Failed to un-initialize panel: %d\n", ret); in novatek_nt37801_unprepare() 203 static int novatek_nt37801_get_modes(struct drm_panel *panel, in novatek_nt37801_get_modes() argument [all …]
|
| H A D | panel-sharp-lq101r1sx01.c | 30 static inline struct sharp_panel *to_sharp_panel(struct drm_panel *panel) in to_sharp_panel() argument 32 return container_of(panel, struct sharp_panel, base); in to_sharp_panel() 85 static int sharp_panel_unprepare(struct drm_panel *panel) in sharp_panel_unprepare() argument 87 struct sharp_panel *sharp = to_sharp_panel(panel); in sharp_panel_unprepare() 94 dev_err(panel->dev, "failed to set display off: %d\n", err); in sharp_panel_unprepare() 98 dev_err(panel->dev, "failed to enter sleep mode: %d\n", err); in sharp_panel_unprepare() 141 static int sharp_panel_prepare(struct drm_panel *panel) in sharp_panel_prepare() argument 143 struct sharp_panel *sharp = to_sharp_panel(panel); in sharp_panel_prepare() 152 * According to the datasheet, the panel needs around 10 ms to fully in sharp_panel_prepare() 154 * mode to make sure the panel is ready. Throw in another 20 ms for in sharp_panel_prepare() [all …]
|
| /linux/drivers/input/misc/ |
| H A D | ibm-panel.c | 15 #define DEVICE_NAME "ibm-panel" 26 static u8 ibm_panel_calculate_checksum(struct ibm_panel *panel) in ibm_panel_calculate_checksum() argument 32 for (i = 0; i < sizeof(panel->command) - 1; ++i) { in ibm_panel_calculate_checksum() 33 sum += panel->command[i]; in ibm_panel_calculate_checksum() 47 static void ibm_panel_process_command(struct ibm_panel *panel) in ibm_panel_process_command() argument 52 if (panel->command[0] != 0xff && panel->command[1] != 0xf0) { in ibm_panel_process_command() 53 dev_dbg(&panel->input->dev, "command invalid: %02x %02x\n", in ibm_panel_process_command() 54 panel->command[0], panel->command[1]); in ibm_panel_process_command() 58 chksum = ibm_panel_calculate_checksum(panel); in ibm_panel_process_command() 59 if (chksum != panel->command[sizeof(panel->command) - 1]) { in ibm_panel_process_command() [all …]
|
| /linux/drivers/video/fbdev/mmp/ |
| H A D | core.c | 37 * this function fetches modelist from phy/panel: 39 * or get from panel 46 if (path->panel && path->panel->get_modelist) in path_get_modelist() 47 return path->panel->get_modelist(path->panel, modelist); in path_get_modelist() 53 * panel list is used to pair panel/path when path/panel registered 56 * panel driver do panel register/unregister 64 * mmp_register_panel - register panel to panel_list and connect to path 65 * @p: panel to be registered 67 * this function provides interface for panel drivers to register panel 68 * to panel_list and connect to path which matchs panel->plat_path_name. [all …]
|
| /linux/drivers/gpu/drm/bridge/ |
| H A D | panel.c | 24 struct drm_panel *panel; member 45 return drm_panel_get_modes(panel_bridge->panel, connector); in panel_bridge_connector_get_modes() 129 drm_panel_prepare(panel_bridge->panel); in panel_bridge_atomic_pre_enable() 148 drm_panel_enable(panel_bridge->panel); in panel_bridge_atomic_enable() 167 drm_panel_disable(panel_bridge->panel); in panel_bridge_atomic_disable() 186 drm_panel_unprepare(panel_bridge->panel); in panel_bridge_atomic_post_disable() 194 return drm_panel_get_modes(panel_bridge->panel, connector); in panel_bridge_get_modes() 201 struct drm_panel *panel = panel_bridge->panel; in panel_bridge_debugfs_init() local 203 root = debugfs_create_dir("panel", root); in panel_bridge_debugfs_init() 204 if (panel->funcs->debugfs_init) in panel_bridge_debugfs_init() [all …]
|
| /linux/Documentation/devicetree/bindings/display/panel/ |
| H A D | panel-dsi-cm.yaml | 4 $id: http://devicetree.org/schemas/display/panel/panel-dsi-cm.yaml# 17 panel is assumed to have native backlight support. 18 The panel may use an OF graph binding for the association 23 - $ref: panel-common.yaml# 30 - motorola,droid4-panel # Panel from Motorola Droid4 phone 31 - nokia,himalaya # Panel from Nokia N950 phone 32 - tpo,taal # Panel from OMAP4 SDP board 33 - const: panel-dsi-cm # Generic DSI command mode panel compatible fallback 42 more than one power supply with panel-specific constraints governing the 44 supply is sufficient, either because the panel has a single power rail, or [all …]
|
| H A D | boe,tv101wum-nl6.yaml | 4 $id: http://devicetree.org/schemas/display/panel/boe,tv101wum-nl6.yaml# 7 title: BOE TV101WUM-NL6 DSI Display Panel 14 - $ref: panel-common.yaml# 19 # BOE TV101WUM-NL6 10.1" WUXGA TFT LCD panel 21 # AUO KD101N80-45NA 10.1" WUXGA TFT LCD panel 23 # BOE TV101WUM-N53 10.1" WUXGA TFT LCD panel 25 # AUO B101UAN08.3 10.1" WUXGA TFT LCD panel 27 # BOE TV105WUM-NW0 10.5" WUXGA TFT LCD panel 29 # BOE TV110C9M-LL3 10.95" WUXGA TFT LCD panel 31 # INX HJ110IZ-01A 10.95" WUXGA TFT LCD panel [all …]
|
| H A D | panel-dpi.yaml | 4 $id: http://devicetree.org/schemas/display/panel/panel-dpi.yaml# 7 title: Generic MIPI DPI Panel 13 - $ref: panel-common.yaml# 18 Shall contain a panel specific compatible and "panel-dpi" 22 - const: panel-dpi 28 panel-timing: true 35 - panel-timing 42 panel { 43 compatible = "startek,startek-kd050c", "panel-dpi"; 53 panel-timing {
|
| H A D | anbernic,rg35xx-plus-panel.yaml | 4 $id: http://devicetree.org/schemas/display/panel/anbernic,rg35xx-plus-panel.yaml# 7 title: Anbernic RG35XX series (WL-355608-A8) 3.5" 640x480 24-bit IPS LCD panel 13 - $ref: panel-common.yaml# 19 - const: anbernic,rg35xx-plus-panel 22 - anbernic,rg35xx-2024-panel 23 - anbernic,rg35xx-h-panel 24 - anbernic,rg35xx-sp-panel 25 - const: anbernic,rg35xx-plus-panel 49 panel@0 { 50 compatible = "anbernic,rg35xx-plus-panel";
|
| H A D | sony,td4353-jdi.yaml | 4 $id: http://devicetree.org/schemas/display/panel/sony,td4353-jdi.yaml# 7 title: Sony TD4353 JDI 5 / 5.7" 2160x1080 MIPI-DSI Panel 14 MIPI-DSI panel, used in Xperia XZ2 and XZ2 Compact smartphones. 17 - $ref: panel-common.yaml# 39 panel-reset-gpios: 40 description: Display panel reset pin 43 description: Touch panel reset pin 53 - panel-reset-gpios 67 panel: panel@0 { 75 panel-reset-gpios = <&tlmm 6 GPIO_ACTIVE_HIGH>;
|
| H A D | panel-edp.yaml | 4 $id: http://devicetree.org/schemas/display/panel/panel-edp.yaml# 13 This binding file can be used to indicate that an eDP panel is connected 15 actually specifying exactly what panel is connected. This is useful for 16 the case that more than one different panel could be connected to the 20 As per above, a requirement for using this binding is that the panel is 23 the panel. We can use this to identify display size, resolution, and 32 the operating system will lookup the panel in a table (based on EDID 37 vast majority of panel datasheets have a power sequence diagram that 38 looks the exactly the same as every other panel. Each panel datasheet 81 The above looks fairly complex but, as per above, each panel only cares [all …]
|
| /linux/drivers/video/fbdev/omap2/omapfb/displays/ |
| H A D | Kconfig | 2 menu "OMAPFB Panel and Encoder Drivers" 39 tristate "Generic DPI panel" 44 tristate "Generic DSI Command Mode Panel" 51 tristate "ACX565AKM Panel" 55 This is the LCD panel used on Nokia N900 58 tristate "LG.Philips LB035Q02 LCD Panel" 61 LCD Panel used on the Gumstix Overo Palo35 64 tristate "Sharp LS037V7DW01 LCD Panel" 68 LCD Panel used in TI's SDP3430 and EVM boards 71 tristate "TPO TD028TTEC1 LCD Panel" [all …]
|
| /linux/drivers/video/fbdev/omap/ |
| H A D | lcd_mipid.c | 36 panel) 50 struct lcd_panel panel; member 153 set_data_lines(md, md->panel.data_lines); in send_init_string() 184 * When we enable the panel, it seems we _have_ to sleep in set_sleep_mode() 186 * panel we'll sleep for the duration of 2 frames, so that the in set_sleep_mode() 201 static int mipid_set_bklight_level(struct lcd_panel *panel, unsigned int level) in mipid_set_bklight_level() argument 203 struct mipid_device *md = to_mipid_device(panel); in mipid_set_bklight_level() 219 static unsigned int mipid_get_bklight_level(struct lcd_panel *panel) in mipid_get_bklight_level() argument 221 struct mipid_device *md = to_mipid_device(panel); in mipid_get_bklight_level() 229 static unsigned int mipid_get_bklight_max(struct lcd_panel *panel) in mipid_get_bklight_max() argument [all …]
|
| H A D | omapfb_main.c | 89 * LCD panel 141 struct lcd_panel *panel = fbdev->panel; in ctrl_init() local 143 int bpp = panel->bpp; in ctrl_init() 325 if (fbdev->panel->enable) in omapfb_blank() 326 fbdev->panel->enable(fbdev->panel); in omapfb_blank() 335 if (fbdev->panel->disable) in omapfb_blank() 336 fbdev->panel->disable(fbdev->panel); in omapfb_blank() 450 if (plane->fbdev->panel->bpp == 12) in set_color_mode() 474 struct lcd_panel *panel = fbdev->panel; in set_fb_var() local 487 xres_max = panel->x_res; in set_fb_var() [all …]
|
| /linux/drivers/base/ |
| H A D | physical_location.c | 30 dev->physical_location->panel = pld->panel; in dev_add_physical_location() 43 const char *panel; in panel_show() local 45 switch (dev->physical_location->panel) { in panel_show() 47 panel = "top"; in panel_show() 50 panel = "bottom"; in panel_show() 53 panel = "left"; in panel_show() 56 panel = "right"; in panel_show() 59 panel = "front"; in panel_show() 62 panel = "back"; in panel_show() 65 panel = "unknown"; in panel_show() [all …]
|
| /linux/drivers/gpu/drm/tegra/ |
| H A D | output.c | 28 * If the panel provides one or more modes, use them exclusively and in tegra_output_connector_get_modes() 31 if (output->panel) { in tegra_output_connector_get_modes() 32 err = drm_panel_get_modes(output->panel, connector); in tegra_output_connector_get_modes() 64 if (!output->panel) in tegra_output_connector_detect() 99 struct device_node *ddc, *panel; in tegra_output_probe() local 108 &output->panel, &output->bridge); in tegra_output_probe() 112 panel = of_parse_phandle(output->of_node, "nvidia,panel", 0); in tegra_output_probe() 113 if (panel) { in tegra_output_probe() 115 * Don't mix nvidia,panel phandle with the graph in a in tegra_output_probe() 118 WARN_ON(output->panel || output->bridge); in tegra_output_probe() [all …]
|