Home
last modified time | relevance | path

Searched full:panel (Results 1 – 25 of 1127) sorted by relevance

12345678910>>...46

/Linux-v5.15/drivers/gpu/drm/
Ddrm_panel.c36 * DOC: drm panel
38 * The DRM panel helpers allow drivers to register panel objects with a
47 * drm_panel_init - initialize a panel
48 * @panel: DRM panel
49 * @dev: parent device of the panel
50 * @funcs: panel operations
52 * the panel interface
54 * Initialize the panel structure for subsequent registration with
57 void drm_panel_init(struct drm_panel *panel, struct device *dev, in drm_panel_init() argument
60 INIT_LIST_HEAD(&panel->list); in drm_panel_init()
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/display/panel/
Dpanel-simple.yaml4 $id: http://devicetree.org/schemas/display/panel/panel-simple.yaml#
17 The panel may use an OF graph binding for the association to the display,
20 If the panel is more advanced a dedicated binding file is required.
23 - $ref: panel-common.yaml#
32 # Ampire AM-1280800N3TZQW-T00H 10.1" WQVGA TFT LCD panel
34 # Ampire AM-480272H3TMQW-T01H 4.3" WQVGA TFT LCD panel
36 # Ampire AM-800480R3TMQW-A1H 7.0" WVGA TFT LCD panel
38 # AU Optronics Corporation 10.1" WSVGA TFT LCD panel
40 # AU Optronics Corporation 10.1" WSVGA TFT LCD panel
42 # AU Optronics Corporation 10.1" WXGA TFT LCD panel
[all …]
Dpanel-simple-dsi.yaml4 $id: http://devicetree.org/schemas/display/panel/panel-simple-dsi.yaml#
17 The panel may use an OF graph binding for the association to the display,
20 If the panel is more advanced a dedicated binding file is required.
23 - $ref: panel-common.yaml#
32 # AU Optronics Corporation 8.0" WUXGA TFT LCD panel
34 # Boe Corporation 8.0" WUXGA TFT LCD panel
36 # Innolux P079ZCA 7.85" 768x1024 TFT LCD panel
38 # Khadas TS050 5" 1080x1920 LCD panel
40 # Kingdisplay KD097D04 9.7" 1536x2048 TFT LCD panel
42 # LG ACX467AKM-7 4.95" 1080×1920 LCD Panel
[all …]
Dpanel-dsi-cm.yaml4 $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 …]
Dpanel-common.yaml4 $id: http://devicetree.org/schemas/display/panel/panel-common.yaml#
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
36 The label property specifies a symbolic name for the panel as a
43 non-descriptive information. For instance an LCD panel in a system that
44 contains a single panel shall not be labelled "LCD" if that name is not
55 panel-timing:
58 require specific display timings. The panel-timing subnode expresses those
60 $ref: panel-timing.yaml#
83 This panel is supposed to communicate that it's ready via HPD
[all …]
Dpanel-dpi.yaml4 $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 {
/Linux-v5.15/drivers/gpu/drm/panel/
DMakefile2 obj-$(CONFIG_DRM_PANEL_ABT_Y030XX067A) += panel-abt-y030xx067a.o
3 obj-$(CONFIG_DRM_PANEL_ARM_VERSATILE) += panel-arm-versatile.o
4 obj-$(CONFIG_DRM_PANEL_ASUS_Z00T_TM5P5_NT35596) += panel-asus-z00t-tm5p5-n35596.o
5 obj-$(CONFIG_DRM_PANEL_BOE_HIMAX8279D) += panel-boe-himax8279d.o
6 obj-$(CONFIG_DRM_PANEL_BOE_TV101WUM_NL6) += panel-boe-tv101wum-nl6.o
7 obj-$(CONFIG_DRM_PANEL_DSI_CM) += panel-dsi-cm.o
8 obj-$(CONFIG_DRM_PANEL_LVDS) += panel-lvds.o
9 obj-$(CONFIG_DRM_PANEL_SIMPLE) += panel-simple.o
10 obj-$(CONFIG_DRM_PANEL_ELIDA_KD35T133) += panel-elida-kd35t133.o
11 obj-$(CONFIG_DRM_PANEL_FEIXIN_K101_IM2BA02) += panel-feixin-k101-im2ba02.o
[all …]
DKconfig6 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
41 tristate "Boe Himax8279d panel"
47 TFT-LCD modules. The panel has a 1200x1920 resolution and uses
52 tristate "BOE TV101WUM and AUO KD101N80 45NA 1200x1920 panel"
[all …]
Dpanel-seiko-43wvf1g.c6 * Based on Panel Simple driver by Thierry Reding <treding@nvidia.com>
31 * @width: width (in millimeters) of the panel's active display area
32 * @height: height (in millimeters) of the panel's active display area
52 static inline struct seiko_panel *to_seiko_panel(struct drm_panel *panel) in to_seiko_panel() argument
54 return container_of(panel, struct seiko_panel, base); in to_seiko_panel()
57 static int seiko_panel_get_fixed_modes(struct seiko_panel *panel, in seiko_panel_get_fixed_modes() argument
63 if (!panel->desc) in seiko_panel_get_fixed_modes()
66 for (i = 0; i < panel->desc->num_timings; i++) { in seiko_panel_get_fixed_modes()
67 const struct display_timing *dt = &panel->desc->timings[i]; in seiko_panel_get_fixed_modes()
73 dev_err(panel->base.dev, "failed to add mode %ux%u\n", in seiko_panel_get_fixed_modes()
[all …]
Dpanel-samsung-atna33xc20.c5 * Panel driver for the Samsung ATNA33XC20 panel. This panel can't be handled
41 static inline struct atana33xc20_panel *to_atana33xc20(struct drm_panel *panel) in to_atana33xc20() argument
43 return container_of(panel, struct atana33xc20_panel, base); in to_atana33xc20()
97 * preparing the panel in that case. in atana33xc20_resume()
113 static int atana33xc20_disable(struct drm_panel *panel) in atana33xc20_disable() argument
115 struct atana33xc20_panel *p = to_atana33xc20(panel); in atana33xc20_disable()
143 static int atana33xc20_enable(struct drm_panel *panel) in atana33xc20_enable() argument
145 struct atana33xc20_panel *p = to_atana33xc20(panel); in atana33xc20_enable()
174 static int atana33xc20_unprepare(struct drm_panel *panel) in atana33xc20_unprepare() argument
176 struct atana33xc20_panel *p = to_atana33xc20(panel); in atana33xc20_unprepare()
[all …]
Dpanel-novatek-nt39016.c3 * Novatek NT39016 TFT LCD panel driver
66 static inline struct nt39016 *to_nt39016(struct drm_panel *panel) in to_nt39016() argument
68 return container_of(panel, struct nt39016, drm_panel); in to_nt39016()
121 struct nt39016 *panel = to_nt39016(drm_panel); in nt39016_prepare() local
124 err = regulator_enable(panel->supply); in nt39016_prepare()
136 gpiod_set_value_cansleep(panel->reset_gpio, 1); in nt39016_prepare()
138 gpiod_set_value_cansleep(panel->reset_gpio, 0); in nt39016_prepare()
142 err = regmap_multi_reg_write(panel->map, nt39016_panel_regs, in nt39016_prepare()
152 regulator_disable(panel->supply); in nt39016_prepare()
158 struct nt39016 *panel = to_nt39016(drm_panel); in nt39016_unprepare() local
[all …]
Dpanel-visionox-rm69299.c19 struct drm_panel panel; member
27 static inline struct visionox_rm69299 *panel_to_ctx(struct drm_panel *panel) in panel_to_ctx() argument
29 return container_of(panel, struct visionox_rm69299, panel); in panel_to_ctx()
41 * Reset sequence of visionox panel requires the panel to be in visionox_rm69299_power_on()
62 static int visionox_rm69299_unprepare(struct drm_panel *panel) in visionox_rm69299_unprepare() argument
64 struct visionox_rm69299 *ctx = panel_to_ctx(panel); in visionox_rm69299_unprepare()
71 dev_err(ctx->panel.dev, "set_display_off cmd failed ret = %d\n", ret); in visionox_rm69299_unprepare()
78 dev_err(ctx->panel.dev, "enter_sleep cmd failed ret = %d\n", ret); in visionox_rm69299_unprepare()
87 static int visionox_rm69299_prepare(struct drm_panel *panel) in visionox_rm69299_prepare() argument
89 struct visionox_rm69299 *ctx = panel_to_ctx(panel); in visionox_rm69299_prepare()
[all …]
Dpanel-arm-versatile.c3 * Panel driver for the ARM Versatile family reference designs from
51 /* The Versatile can detect the connected panel type */
70 * @name: the name of this panel
78 * @mode: the DRM display mode for this panel
82 * @bus_flags: the DRM bus flags for this panel e.g. inverted clock
86 * @width_mm: the panel width in mm
90 * @height_mm: the panel height in mm
94 * @ib2: the panel may be connected on an IB2 daughterboard
108 * @panel: the DRM panel instance for this device
110 struct drm_panel panel; member
[all …]
Dpanel-widechips-ws2401.c3 * Panel driver for the WideChips WS2401 480x800 DPI RGB panel, used in
34 #define WS2401_READ_ID1 0xda /* Read panel ID 1 */
35 #define WS2401_READ_ID2 0xdb /* Read panel ID 2 */
36 #define WS2401_READ_ID3 0xdc /* Read panel ID 3 */
48 #define WS2401_PANELCTL 0xf6 /* Panel control */
58 * struct ws2401 - state container for a panel controlled by the WS2401
66 /** @panel: the DRM panel instance for this device */
67 struct drm_panel panel; member
68 /** @width: the width of this panel in mm */
70 /** @height: the height of this panel in mm */
[all …]
Dpanel-olimex-lcd-olinuxino.c3 * LCD-OLinuXino support for panel driver
62 struct drm_panel panel; member
76 static inline struct lcd_olinuxino *to_lcd_olinuxino(struct drm_panel *panel) in to_lcd_olinuxino() argument
78 return container_of(panel, struct lcd_olinuxino, panel); in to_lcd_olinuxino()
81 static int lcd_olinuxino_disable(struct drm_panel *panel) in lcd_olinuxino_disable() argument
83 struct lcd_olinuxino *lcd = to_lcd_olinuxino(panel); in lcd_olinuxino_disable()
93 static int lcd_olinuxino_unprepare(struct drm_panel *panel) in lcd_olinuxino_unprepare() argument
95 struct lcd_olinuxino *lcd = to_lcd_olinuxino(panel); in lcd_olinuxino_unprepare()
108 static int lcd_olinuxino_prepare(struct drm_panel *panel) in lcd_olinuxino_prepare() argument
110 struct lcd_olinuxino *lcd = to_lcd_olinuxino(panel); in lcd_olinuxino_prepare()
[all …]
Dpanel-samsung-s6d16d0.c3 * MIPI-DSI Samsung s6d16d0 panel driver. This is a 864x480
4 * AMOLED panel with a command-only DSI interface.
19 struct drm_panel panel; member
43 static inline struct s6d16d0 *panel_to_s6d16d0(struct drm_panel *panel) in panel_to_s6d16d0() argument
45 return container_of(panel, struct s6d16d0, panel); in panel_to_s6d16d0()
48 static int s6d16d0_unprepare(struct drm_panel *panel) in s6d16d0_unprepare() argument
50 struct s6d16d0 *s6 = panel_to_s6d16d0(panel); in s6d16d0_unprepare()
68 static int s6d16d0_prepare(struct drm_panel *panel) in s6d16d0_prepare() argument
70 struct s6d16d0 *s6 = panel_to_s6d16d0(panel); in s6d16d0_prepare()
104 static int s6d16d0_enable(struct drm_panel *panel) in s6d16d0_enable() argument
[all …]
Dpanel-ronbo-rb070d30.c7 * 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 …]
Dpanel-lvds.c3 * Generic LVDS panel driver
26 struct drm_panel panel; member
44 static inline struct panel_lvds *to_panel_lvds(struct drm_panel *panel) in to_panel_lvds() argument
46 return container_of(panel, struct panel_lvds, panel); in to_panel_lvds()
49 static int panel_lvds_unprepare(struct drm_panel *panel) in panel_lvds_unprepare() argument
51 struct panel_lvds *lvds = to_panel_lvds(panel); in panel_lvds_unprepare()
62 static int panel_lvds_prepare(struct drm_panel *panel) in panel_lvds_prepare() argument
64 struct panel_lvds *lvds = to_panel_lvds(panel); in panel_lvds_prepare()
83 static int panel_lvds_get_modes(struct drm_panel *panel, in panel_lvds_get_modes() argument
86 struct panel_lvds *lvds = to_panel_lvds(panel); in panel_lvds_get_modes()
[all …]
/Linux-v5.15/drivers/gpu/drm/i915/display/
Dintel_panel.c177 /* adjusted_mode has been preset to be the panel's fixed mode */
298 * when calculating the panel ratio. in panel_fitter_scaling()
496 struct intel_panel *panel = &connector->panel; in clamp_user_to_hw() local
499 hw_level = scale(user_level, 0, user_max, 0, panel->backlight.max); in clamp_user_to_hw()
500 hw_level = clamp(hw_level, panel->backlight.min, panel->backlight.max); in clamp_user_to_hw()
509 struct intel_panel *panel = &connector->panel; in scale_hw_to_user() local
511 return scale(hw_level, panel->backlight.min, panel->backlight.max, in scale_hw_to_user()
518 struct intel_panel *panel = &connector->panel; in intel_panel_invert_pwm_level() local
520 drm_WARN_ON(&dev_priv->drm, panel->backlight.pwm_level_max == 0); in intel_panel_invert_pwm_level()
527 return panel->backlight.pwm_level_max - val + panel->backlight.pwm_level_min; in intel_panel_invert_pwm_level()
[all …]
Dintel_dp_aux_backlight.c105 struct intel_panel *panel = &connector->panel; in intel_dp_aux_supports_hdr_backlight() local
125 panel->backlight.edp.intel.sdr_uses_aux = in intel_dp_aux_supports_hdr_backlight()
135 struct intel_panel *panel = &connector->panel; in intel_dp_aux_hdr_get_backlight() local
146 if (!panel->backlight.edp.intel.sdr_uses_aux) { in intel_dp_aux_hdr_get_backlight()
147 u32 pwm_level = panel->backlight.pwm_funcs->get(connector, pipe); in intel_dp_aux_hdr_get_backlight()
153 return panel->backlight.max; in intel_dp_aux_hdr_get_backlight()
185 struct intel_panel *panel = &connector->panel; in intel_dp_aux_hdr_set_backlight() local
187 if (panel->backlight.edp.intel.sdr_uses_aux) { in intel_dp_aux_hdr_set_backlight()
201 struct intel_panel *panel = &connector->panel; in intel_dp_aux_hdr_enable_backlight() local
214 if (panel->backlight.edp.intel.sdr_uses_aux) { in intel_dp_aux_hdr_enable_backlight()
[all …]
/Linux-v5.15/drivers/video/fbdev/mmp/
Dcore.c37 * 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-v5.15/include/drm/
Ddrm_panel.h41 * struct drm_panel_funcs - perform operations on a given panel
44 * starts to transmit video data. Panel drivers can use this to turn the panel
57 * necessary to turn off the panel to avoid visual glitches. This is done in
60 * is visible on the panel. It is then safe for the display controller to
64 * the panel. This is the job of the .unprepare() function.
74 * Turn on panel and perform set up.
78 int (*prepare)(struct drm_panel *panel);
83 * Enable panel (turn on back light, etc.).
87 int (*enable)(struct drm_panel *panel);
92 * Disable panel (turn off back light, etc.).
[all …]
/Linux-v5.15/drivers/gpu/drm/msm/dp/
Ddp_panel.c27 struct dp_panel_private *panel; in dp_panel_read_dpcd() local
34 panel = container_of(dp_panel, struct dp_panel_private, dp_panel); in dp_panel_read_dpcd()
37 rlen = drm_dp_dpcd_read(panel->aux, offset, in dp_panel_read_dpcd()
57 rlen = drm_dp_dpcd_read(panel->aux, offset, in dp_panel_read_dpcd()
98 rlen = drm_dp_dpcd_read(panel->aux, in dp_panel_read_dpcd()
159 struct dp_panel_private *panel; in dp_panel_read_sink_caps() local
166 panel = container_of(dp_panel, struct dp_panel_private, dp_panel); in dp_panel_read_sink_caps()
184 rlen = drm_dp_dpcd_read(panel->aux, DP_SINK_COUNT, in dp_panel_read_sink_caps()
190 panel->link->sink_count = 0; in dp_panel_read_sink_caps()
201 &panel->aux->ddc); in dp_panel_read_sink_caps()
[all …]
/Linux-v5.15/drivers/gpu/drm/bridge/
Dpanel.c19 struct drm_panel *panel; member
40 return drm_panel_get_modes(panel_bridge->panel, connector); in panel_bridge_connector_get_modes()
108 drm_panel_prepare(panel_bridge->panel); in panel_bridge_pre_enable()
115 drm_panel_enable(panel_bridge->panel); in panel_bridge_enable()
122 drm_panel_disable(panel_bridge->panel); in panel_bridge_disable()
129 drm_panel_unprepare(panel_bridge->panel); in panel_bridge_post_disable()
137 return drm_panel_get_modes(panel_bridge->panel, connector); in panel_bridge_get_modes()
158 * @panel: The drm_panel being wrapped. Must be non-NULL.
164 * wrap that panel in the new bridge, and the result can then be
172 * The connector type is set to @panel->connector_type, which must be set to a
[all …]
/Linux-v5.15/drivers/video/fbdev/omap2/omapfb/displays/
DKconfig2 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 …]

12345678910>>...46