/linux/drivers/video/backlight/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 14 This framework adds support for low-level control of LCD. 15 Some framebuffer devices connect to platform-specific LCD modules 16 in order to have a platform-specific way to control the flat panel 19 To have support for your specific LCD panel you will have to 25 tristate "LCD Panel support for SHARP corgi/spitz model" 48 tristate "Samsung LTV350QV LCD Panel" 51 If you have a Samsung LTV350QV LCD panel, say y to include a 52 power control driver for it. The panel starts up in power 56 The LTV350QV panel is present on all ATSTK1000 boards. [all …]
|
/linux/Documentation/devicetree/bindings/display/panel/ |
H A D | panel-dpi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/panel/panel-dpi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Generic MIPI DPI Panel 10 - Sam Ravnborg <sam@ravnborg.org> 13 - $ref: panel-common.yaml# 18 Shall contain a panel specific compatible and "panel-dpi" 21 - {} 22 - const: panel-dpi [all …]
|
H A D | panel-dsi-cm.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/panel/panel-dsi-cm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Tomi Valkeinen <tomi.valkeinen@ti.com> 11 - Sebastian Reichel <sre@kernel.org> 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# 29 - enum: [all …]
|
/linux/include/linux/ |
H A D | device.h | 1 // SPDX-License-Identifier: GPL-2.0 3 * device.h - generic, centralized driver model 5 * Copyright (c) 2001-2003 Patrick Mochel <mochel@osdl.org> 6 * Copyright (c) 2004-2009 Greg Kroah-Hartman <gregkh@suse.de> 7 * Copyright (c) 2008-2009 Novell Inc. 9 * See Documentation/driver-api/driver-model/ for more information. 51 * struct subsys_interface - interfaces to device functions 61 * a specific functionality of a subsystem/class of devices. 83 * This identifies the device type and carries type-specific 100 * struct device_attribute - Interface for exporting device attributes. [all …]
|
/linux/drivers/video/fbdev/omap2/omapfb/dss/ |
H A D | omapdss-boot-init.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * As omapdss panel drivers are omapdss specific, but we want to define the 9 * DT-data in generic manner, we convert the compatible strings of the panel and 10 * encoder nodes from "panel-foo" to "omapdss,panel-foo". This way we can have 11 * both correct DT data and omapdss specific drivers. 13 * When we get generic panel drivers to the kernel, this file will be removed. 34 const char *p = prop->value; in omapdss_count_strings() 38 for (i = 0; total < prop->length; total += l, p += l, i++) in omapdss_count_strings() 53 prop->name = "compatible"; in omapdss_update_prop() 54 prop->value = compat; in omapdss_update_prop() [all …]
|
/linux/Documentation/devicetree/bindings/display/hisilicon/ |
H A D | dw-dsi.txt | 1 Device-Tree bindings for DesignWare DSI Host Controller v1.20a driver 4 HDMI converter or panel. 7 - compatible: value should be "hisilicon,hi6220-dsi". 8 - reg: physical base address and length of dsi controller's registers. 9 - clocks: contains APB clock phandle + clock-specifier pair. 10 - clock-names: should be "pclk". 11 - ports: contains DSI controller input and output sub port. 13 The output port with the reg value "1", it could connect to panel or 17 A example of HiKey board hi6220 SoC and board specific DT entry: 20 SoC specific: [all …]
|
/linux/Documentation/gpu/ |
H A D | todo.rst | 11 ---------- 18 subsystem, or some specific GPU/display graphics knowledge. For debugging issue 27 refactorings already and are an expert in the specific area 29 Subsystem-wide refactorings 33 --------------------------------------------- 45 -------------------------------------------------- 53 non-converted driver. The "Atomic mode setting design overview" series [2]_ 60 .. [1] https://blog.ffwll.ch/2014/11/atomic-modeset-support-for-kms-drivers.html 69 --------------------------------------------------------- 75 avoid confusion - the other helpers in that file are all deprecated legacy [all …]
|
/linux/drivers/gpu/drm/panel/ |
H A D | panel-lvds.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Generic LVDS panel driver 27 struct drm_panel panel; member 45 static inline struct panel_lvds *to_panel_lvds(struct drm_panel *panel) in to_panel_lvds() argument 47 return container_of(panel, struct panel_lvds, panel); in to_panel_lvds() 50 static int panel_lvds_unprepare(struct drm_panel *panel) in panel_lvds_unprepare() argument 52 struct panel_lvds *lvds = to_panel_lvds(panel); in panel_lvds_unprepare() 54 if (lvds->enable_gpio) in panel_lvds_unprepare() 55 gpiod_set_value_cansleep(lvds->enable_gpio, 0); in panel_lvds_unprepare() 57 if (lvds->supply) in panel_lvds_unprepare() [all …]
|
H A D | panel-sharp-ls037v7dw01.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Sharp LS037V7DW01 LCD Panel Driver 7 * Based on the omapdrm-specific panel-sharp-ls037v7dw01 driver 25 struct drm_panel panel; member 37 container_of(p, struct ls037v7dw01_panel, panel) 39 static int ls037v7dw01_disable(struct drm_panel *panel) in ls037v7dw01_disable() argument 41 struct ls037v7dw01_panel *lcd = to_ls037v7dw01_device(panel); in ls037v7dw01_disable() 43 gpiod_set_value_cansleep(lcd->ini_gpio, 0); in ls037v7dw01_disable() 44 gpiod_set_value_cansleep(lcd->resb_gpio, 0); in ls037v7dw01_disable() 52 static int ls037v7dw01_unprepare(struct drm_panel *panel) in ls037v7dw01_unprepare() argument [all …]
|
H A D | panel-lg-lb035q02.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * LG.Philips LB035Q02 LCD Panel Driver 7 * Based on the omapdrm-specific panel-lgphilips-lb035q02 driver 24 struct drm_panel panel; member 30 #define to_lb035q02_device(p) container_of(p, struct lb035q02_device, panel) 60 return spi_sync(lcd->spi, &msg); in lb035q02_write() 109 static int lb035q02_disable(struct drm_panel *panel) in lb035q02_disable() argument 111 struct lb035q02_device *lcd = to_lb035q02_device(panel); in lb035q02_disable() 113 gpiod_set_value_cansleep(lcd->enable_gpio, 0); in lb035q02_disable() 118 static int lb035q02_enable(struct drm_panel *panel) in lb035q02_enable() argument [all …]
|
H A D | panel-mantix-mlaf057we51.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Mantix MLAF057WE51 5.7" MIPI-DSI panel driver 11 #include <linux/media-bus-format.h> 22 #define DRV_NAME "panel-mantix-mlaf057we51" 24 /* Manufacturer specific Commands send via DSI */ 31 struct drm_panel panel; member 43 static inline struct mantix *panel_to_mantix(struct drm_panel *panel) in panel_to_mantix() argument 45 return container_of(panel, struct mantix, panel); in panel_to_mantix() 51 * Init sequence was supplied by the panel vendor. in mantix_init_sequence() 68 static int mantix_enable(struct drm_panel *panel) in mantix_enable() argument [all …]
|
H A D | panel-sitronix-st7701.c | 1 // SPDX-License-Identifier: GPL-2.0+ 94 (((typeof(_mask))(_val) << (__builtin_ffsll(_mask) - 1)) & (_mask)) 111 /* TFT matrix driver configuration, panel specific. */ 133 struct drm_panel panel; member 147 static inline struct st7701 *panel_to_st7701(struct drm_panel *panel) in panel_to_st7701() argument 149 return container_of(panel, struct st7701, panel); in panel_to_st7701() 155 return mipi_dsi_dcs_write(st7701->dsi, cmd, seq, len); in st7701_dsi_write() 161 return mipi_dbi_command_stackbuf(&st7701->dbi, cmd, seq, len); in st7701_dbi_write() 167 st7701->write_command(st7701, cmd, d, ARRAY_SIZE(d)); \ 172 const struct st7701_panel_desc *desc = st7701->desc; in st7701_vgls_map() [all …]
|
H A D | panel-nec-nl8048hl11.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * NEC NL8048HL11 Panel Driver 7 * Based on the omapdrm-specific panel-nec-nl8048hl11 driver 24 struct drm_panel panel; member 30 #define to_nl8048_device(p) container_of(p, struct nl8048_panel, panel) 38 ret = spi_write(lcd->spi, data, sizeof(data)); in nl8048_write() 40 dev_err(&lcd->spi->dev, "SPI write to %u failed: %d\n", in nl8048_write() 90 static int nl8048_disable(struct drm_panel *panel) in nl8048_disable() argument 92 struct nl8048_panel *lcd = to_nl8048_device(panel); in nl8048_disable() 94 gpiod_set_value_cansleep(lcd->reset_gpio, 0); in nl8048_disable() [all …]
|
H A D | panel-tpo-td028ttec1.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Toppoly TD028TTEC1 Panel Driver 7 * Based on the omapdrm-specific panel-tpo-td028ttec1 driver 13 * Copyright (C) 2006-2007 OpenMoko, Inc. 16 * Ported and adapted from Neo 1973 U-Boot by: 82 struct drm_panel panel; member 87 #define to_td028ttec1_device(p) container_of(p, struct td028ttec1_panel, panel) 91 * on the stack in case of gcc-plugin-structleak 96 struct spi_device *spi = lcd->spi; in jbt_ret_write_0() 105 dev_err(&spi->dev, "%s: SPI write failed: %d\n", __func__, ret); in jbt_ret_write_0() [all …]
|
H A D | panel-xinpeng-xpp055c272.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Xinpeng xpp055c272 5.5" MIPI-DSI panel driver 8 * Rockteck jh057n00900 5.5" MIPI-DSI panel driver 21 #include <linux/media-bus-format.h> 26 /* Manufacturer specific Commands send via DSI */ 51 struct drm_panel panel; member 57 static inline struct xpp055c272 *panel_to_xpp055c272(struct drm_panel *panel) in panel_to_xpp055c272() argument 59 return container_of(panel, struct xpp055c272, panel); in panel_to_xpp055c272() 64 struct mipi_dsi_device *dsi = to_mipi_dsi_device(ctx->dev); in xpp055c272_init_sequence() 65 struct device *dev = ctx->dev; in xpp055c272_init_sequence() [all …]
|
/linux/include/drm/ |
H A D | drm_panel.h | 17 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 44 * struct drm_panel_funcs - perform operations on a given panel 47 * starts to transmit video data. Panel drivers can use this to turn the panel 60 * necessary to turn off the panel to avoid visual glitches. This is done in 63 * is visible on the panel. It is then safe for the display controller to 67 * the panel. This is the job of the .unprepare() function. 77 * Turn on panel and perform set up. 81 int (*prepare)(struct drm_panel *panel); 86 * Enable panel (turn on back light, etc.). 90 int (*enable)(struct drm_panel *panel); [all …]
|
/linux/include/linux/platform_data/ |
H A D | video_s3c.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 13 * struct s3c_fb_pd_win - per window setup data 29 * struct s3c_fb_platdata - S3C driver platform specific information 33 * @vidcon0: The base vidcon0 values to control the panel data format. 34 * @vidcon1: The base vidcon1 values to control the panel data output. 35 * @vtiming: Video timing when connected to a RGB type panel.
|
/linux/drivers/gpu/drm/exynos/ |
H A D | exynos_dp.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 52 struct drm_encoder *encoder = &dp->encoder; in exynos_dp_crtc_clock_enable() 54 if (!encoder->crtc) in exynos_dp_crtc_clock_enable() 55 return -EPERM; in exynos_dp_crtc_clock_enable() 57 exynos_drm_pipe_clk_enable(to_exynos_crtc(encoder->crtc), enable); in exynos_dp_crtc_clock_enable() 78 if (dp->plat_data.panel) in exynos_dp_get_modes() 81 mode = drm_mode_create(connector->dev); in exynos_dp_get_modes() 83 DRM_DEV_ERROR(dp->dev, in exynos_dp_get_modes() 88 drm_display_mode_from_videomode(&dp->vm, mode); in exynos_dp_get_modes() 89 connector->display_info.width_mm = mode->width_mm; in exynos_dp_get_modes() [all …]
|
/linux/include/drm/display/ |
H A D | drm_dp_helper.h | 9 * publicity pertaining to distribution of the software without specific, 75 * struct drm_dp_vsc_sdp - drm DP VSC SDP 78 * It is based on DP 1.4 spec [Table 2-116: VSC SDP Header Bytes] and 79 * [Table 2-117: VSC SDP Payload for DB16 through DB18] 81 * @sdp_type: secondary-data packet type 88 * @content_type: CTA-861-G defines content types and expected processing by a sink device 102 * struct drm_dp_as_sdp - drm DP Adaptive Sync SDP 105 * It is based on DP 2.1 spec [Table 2-126: Adaptive-Sync SDP Header Bytes] and 106 * [Table 2-127: Adaptive-Sync SDP Payload for DB0 through DB8] 108 * @sdp_type: Secondary-data packet type [all …]
|
/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_acpi.c | 1 // SPDX-License-Identifier: GPL-2.0 94 if (!pkg->package.count) { in intel_dsm_platform_mux_info() 99 connector_count = &pkg->package.elements[0]; in intel_dsm_platform_mux_info() 101 (unsigned long long)connector_count->integer.value); in intel_dsm_platform_mux_info() 102 for (i = 1; i < pkg->package.count; i++) { in intel_dsm_platform_mux_info() 103 union acpi_object *obj = &pkg->package.elements[i]; in intel_dsm_platform_mux_info() 107 if (obj->type != ACPI_TYPE_PACKAGE || obj->package.count < 2) { in intel_dsm_platform_mux_info() 112 connector_id = &obj->package.elements[0]; in intel_dsm_platform_mux_info() 113 info = &obj->package.elements[1]; in intel_dsm_platform_mux_info() 114 if (info->type != ACPI_TYPE_BUFFER || info->buffer.length < 4) { in intel_dsm_platform_mux_info() [all …]
|
/linux/Documentation/devicetree/bindings/display/ |
H A D | simple-framebuffer.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/display/simple-framebuffer.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Hans de Goede <hdegoede@redhat.com> 13 A simple frame-buffer describes a frame-buffer setup by firmware or 19 sub-nodes of the chosen node (*). Simplefb nodes must be named 29 If a panel node is given, then the driver uses this to configure the 30 physical width and height of the display. If no panel node is given, 41 interaction, then the chosen node stdout-path property should point [all …]
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | sc7180-trogdor-lazor.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include "sc7180-trogdor-clamshell.dtsi" 11 semtech,cs0-ground; 12 semtech,combined-sensors = <3>; 14 semtech,startup-sensor = <0>; 15 semtech,proxraw-strength = <8>; 16 semtech,avg-pos-strength = <64>; 34 clock-frequency = <400000>; 37 compatible = "hid-over-i2c"; 39 pinctrl-names = "default"; [all …]
|
/linux/drivers/gpu/drm/gma500/ |
H A D | oaktrail.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2007-2011, Intel Corporation. 10 /* MID device specific descriptors */ 78 /* Bit 0, Frequency, 15 bits,0 - 32767Hz */ 84 /* 0: Type-1, */ 85 /* 1: Type-2, */ 86 /* 2: Type-3, */ 87 /* 3: Type-4 */ 94 /* Bit 8, Minimum Supported Frame Rate, 6 bits, 0 - 63Hz */ 107 /*Bit 0, Frequency, 16 bits, 0 - 32767Hz*/ [all …]
|
/linux/drivers/staging/sm750fb/ |
H A D | sm750.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 25 sm750_dual_normal, /* primary => panel head and secondary => crt */ 26 sm750_dual_swap, /* primary => crt head and secondary => panel */ 38 sm750_pnc = 3, /* panel and crt */ 142 /* below attributes belong to info->fix, their value depends on specific adaptor*/ 159 * paths=1:means output for panel paths 161 * paths=3:means output for both panel and crt paths 169 * output->channel ==> &crtc->channel
|
/linux/Documentation/fb/ |
H A D | sa1100fb.rst | 8 This is a driver for a graphic framebuffer for the SA-1100 LCD 20 16. LCCR values are display-specific and should be computed as 21 documented in the SA-1100 Developer's Manual, Section 11.7. Dual-panel 23 are used for the lower panel.
|