/linux-6.12.1/Documentation/devicetree/bindings/display/panel/ |
D | panel-common.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/display/panel/panel-common.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> 18 When referenced from panel device tree bindings the properties defined in this 19 document are defined as follows. The panel device tree bindings are 24 width-mm: 29 height-mm: [all …]
|
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 …]
|
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-6.12.1/drivers/video/backlight/ |
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-6.12.1/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_encoder_phys.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright (c) 2015-2018 The Linux Foundation. All rights reserved. 31 * enum dpu_enc_split_role - Role this physical encoder will play in a 32 * split-panel configuration, where one panel is master, and others slaves. 34 * @ENC_ROLE_SOLO: This is the one and only panel. This encoder is master. 35 * @ENC_ROLE_MASTER: This encoder is the master of a split panel config. 36 * @ENC_ROLE_SLAVE: This encoder is not the master of a split panel config. 45 * enum dpu_enc_enable_state - current enabled state of the physical encoder 47 * Events bounding transition are encoder type specific 50 * Events bounding transition are encoder type specific [all …]
|
/linux-6.12.1/drivers/gpu/drm/pl111/ |
D | pl111_drv.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * (C) COPYRIGHT 2012-2013 ARM Limited. All rights reserved. 7 * Copyright (c) 2006-2008 Intel Corporation 29 * - Fix race between setting plane base address and getting IRQ for 32 * - Read back hardware state at boot to skip reprogramming the 33 * hardware when doing a no-op modeset. 35 * - Use the CLKSEL bit to support switching between the two external 40 #include <linux/dma-buf.h> 75 struct pl111_drm_dev_private *priv = dev->dev_private; in pl111_modeset_init() 76 struct device_node *np = dev->dev->of_node; in pl111_modeset_init() [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/display/hisilicon/ |
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-6.12.1/Documentation/gpu/ |
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-6.12.1/drivers/video/fbdev/omap2/omapfb/dss/ |
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-6.12.1/include/linux/ |
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-6.12.1/drivers/gpu/drm/panel/ |
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 …]
|
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 …]
|
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 …]
|
D | panel-elida-kd35t133.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Elida kd35t133 3.5" MIPI-DSI panel driver 8 * Rockteck jh057n00900 5.5" MIPI-DSI panel driver 14 #include <linux/media-bus-format.h> 26 /* Manufacturer specific Commands send via DSI */ 41 struct drm_panel panel; member 48 static inline struct kd35t133 *panel_to_kd35t133(struct drm_panel *panel) in panel_to_kd35t133() argument 50 return container_of(panel, struct kd35t133, panel); in panel_to_kd35t133() 55 struct mipi_dsi_device *dsi = to_mipi_dsi_device(ctx->dev); in kd35t133_init_sequence() 56 struct device *dev = ctx->dev; in kd35t133_init_sequence() [all …]
|
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 …]
|
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 …]
|
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 …]
|
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 …]
|
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-6.12.1/include/drm/ |
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-6.12.1/include/linux/platform_data/ |
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-6.12.1/arch/arm64/boot/dts/qcom/ |
D | sc7180-trogdor-homestar.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include "sc7180-trogdor-rt5682i-sku.dtsi" 9 #include "sc7180-trogdor-detachable.dtsi" 12 /* BOARD-SPECIFIC TOP LEVEL NODES */ 14 max98360a_1: amplifier-1 { 16 #sound-dai-cells = <0>; 19 max98360a_2: amplifier-2 { 21 #sound-dai-cells = <0>; 24 max98360a_3: amplifier-3 { 26 #sound-dai-cells = <0>; [all …]
|
D | sc7180-trogdor-coachz.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include "sc7180-trogdor.dtsi" 9 #include "sc7180-trogdor-ti-sn65dsi86.dtsi" 10 #include "sc7180-trogdor-detachable.dtsi" 12 /* Deleted nodes from sc7180-trogdor.dtsi */ 14 /delete-node/ &pp3300_codec; 17 /* BOARD-SPECIFIC TOP LEVEL NODES */ 19 adau7002: audio-codec-1 { 21 IOVDD-supply = <&pp1800_l15a>; 22 wakeup-delay-ms = <80>; [all …]
|
/linux-6.12.1/drivers/gpu/drm/exynos/ |
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-6.12.1/drivers/gpu/drm/i915/display/ |
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 …]
|