| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/display/panel/ |
| H A D | panel-timing.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/panel/panel-timing.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: panel timing bindings 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Sam Ravnborg <sam@ravnborg.org> 14 There are different ways of describing the timing data of a panel. The 20 +----------+-------------------------------------+----------+-------+ 24 +----------#######################################----------+-------+ [all …]
|
| 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-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 …]
|
| H A D | advantech,idk-2121wr.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/panel/advantech,idk-2121wr.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Advantech IDK-2121WR 21.5" Full-HD dual-LVDS panel 10 - Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> 11 - Thierry Reding <thierry.reding@gmail.com> 14 The IDK-2121WR from Advantech is a Full-HD dual-LVDS panel. 15 A dual-LVDS interface is a dual-link connection with even pixels traveling 18 The panel expects odd pixels on the first port, and even pixels on the [all …]
|
| H A D | display-timings.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/panel/display-timings.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> 12 - Sam Ravnborg <sam@ravnborg.org> 15 A display panel may be able to handle several display timings, 17 The display-timings node makes it possible to specify the timings 18 and to specify the timing that is native for the display. [all …]
|
| H A D | sgd,gktw70sdae4se.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/display/panel/sgd,gktw70sdae4se.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Solomon Goldentek Display GKTW70SDAE4SE 7" WVGA LVDS Display Panel 10 - Neil Armstrong <narmstrong@baylibre.com> 11 - Thierry Reding <thierry.reding@gmail.com> 14 - $ref: lvds.yaml# 19 - const: sgd,gktw70sdae4se 20 - {} # panel-lvds, but not listed here to avoid false select [all …]
|
| H A D | mitsubishi,aa121td01.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/display/panel/mitsubishi,aa121td01.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Mitsubishi AA121TD01 12.1" WXGA LVDS Display Panel 10 - Laurent Pinchart <laurent.pinchart@ideasonboard.com> 11 - Thierry Reding <thierry.reding@gmail.com> 14 - $ref: lvds.yaml# 19 - const: mitsubishi,aa121td01 20 - {} # panel-lvds, but not listed here to avoid false select [all …]
|
| H A D | mitsubishi,aa104xd12.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/display/panel/mitsubishi,aa104xd12.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Mitsubishi AA104XD12 10.4" XGA LVDS Display Panel 10 - Laurent Pinchart <laurent.pinchart@ideasonboard.com> 11 - Thierry Reding <thierry.reding@gmail.com> 14 - $ref: lvds.yaml# 19 - const: mitsubishi,aa104xd12 20 - {} # panel-lvds, but not listed here to avoid false select [all …]
|
| H A D | advantech,idk-1110wr.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/panel/advantech,idk-1110wr.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Advantech IDK-1110WR 10.1" WSVGA LVDS Display Panel 10 - Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> 11 - Thierry Reding <thierry.reding@gmail.com> 14 - $ref: lvds.yaml# 19 - const: advantech,idk-1110wr 20 - {} # panel-lvds, but not listed here to avoid false select [all …]
|
| H A D | olimex,lcd-olinuxino.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/display/panel/olimex,lcd-olinuxino.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Binding for Olimex Ltd. LCD-OLinuXino bridge panel. 10 - Stefan Mavrodiev <stefan@olimex.com> 15 - LCD-OLinuXino-4.3TS 16 - LCD-OLinuXino-5 17 - LCD-OLinuXino-7 18 - LCD-OLinuXino-10 [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/panel/ |
| H A D | panel-lvds.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * 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() 53 if (lvds->enable_gpio) in panel_lvds_unprepare() 54 gpiod_set_value_cansleep(lvds->enable_gpio, 0); in panel_lvds_unprepare() 56 if (lvds->supply) in panel_lvds_unprepare() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/sti/ |
| H A D | sti_dvo.c | 1 // SPDX-License-Identifier: GPL-2.0 58 struct awg_timing *timing); 80 * @panel_node: panel node reference from device tree 81 * @panel: reference to the panel connected to the dvo 95 struct drm_panel *panel; member 114 struct drm_display_mode *mode = &dvo->mode; in dvo_awg_generate_code() 115 struct dvo_config *config = dvo->config; in dvo_awg_generate_code() 117 struct awg_timing timing; in dvo_awg_generate_code() local 122 timing.total_lines = mode->vtotal; in dvo_awg_generate_code() 123 timing.active_lines = mode->vdisplay; in dvo_awg_generate_code() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/video/rockchip/ |
| H A D | rk3288_mipi.c | 3 * Author: Eric Gao <eric.gao@rock-chips.com> 5 * SPDX-License-Identifier: GPL-2.0+ 13 #include <panel.h> 20 #include <dm/uclass-internal.h> 35 struct rk3288_grf *grf = priv->grf; in rk_mipi_dsi_source_select() 39 switch (disp_uc_plat->source_id) { in rk_mipi_dsi_source_select() 41 rk_clrsetreg(&grf->soc_con6, RK3288_DSI0_LCDC_SEL_MASK, in rk_mipi_dsi_source_select() 46 rk_clrsetreg(&grf->soc_con6, RK3288_DSI0_LCDC_SEL_MASK, in rk_mipi_dsi_source_select() 52 return -EINVAL; in rk_mipi_dsi_source_select() 62 struct rk3288_grf *grf = priv->grf; in rk_mipi_dphy_mode_set() [all …]
|
| H A D | rk3399_mipi.c | 3 * Author: Eric Gao <eric.gao@rock-chips.com> 5 * SPDX-License-Identifier: GPL-2.0+ 13 #include <panel.h> 20 #include <dm/uclass-internal.h> 33 struct rk3399_grf_regs *grf = priv->grf; in rk_mipi_dsi_source_select() 37 switch (disp_uc_plat->source_id) { in rk_mipi_dsi_source_select() 39 rk_clrsetreg(&grf->soc_con20, GRF_DSI0_VOP_SEL_MASK, in rk_mipi_dsi_source_select() 43 rk_clrsetreg(&grf->soc_con20, GRF_DSI0_VOP_SEL_MASK, in rk_mipi_dsi_source_select() 48 return -EINVAL; in rk_mipi_dsi_source_select() 58 struct rk3399_grf_regs *grf = priv->grf; in rk_mipi_dphy_mode_set() [all …]
|
| H A D | rk_lvds.c | 4 * SPDX-License-Identifier: GPL-2.0+ 11 #include <panel.h> 19 #include <dt-bindings/clock/rk3288-cru.h> 20 #include <dt-bindings/video/rk3288.h> 25 * struct rk_lvds_priv - private rockchip lvds display driver info 29 * @panel: Panel device that is used in driver 38 struct udevice *panel; member 46 writel(val, lvds->regs + offset); in lvds_writel() 48 writel(val, lvds->regs + offset + 0x100); in lvds_writel() 59 ret = panel_enable_backlight(priv->panel); in rk_lvds_enable() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/video/fbdev/ |
| H A D | amba-clcd.c | 2 * linux/drivers/video/amba-clcd.c 18 #include <linux/dma-mapping.h> 53 unsigned long ustart = fb->fb.fix.smem_start; in clcdfb_set_start() 56 ustart += fb->fb.var.yoffset * fb->fb.fix.line_length; in clcdfb_set_start() 57 lstart = ustart + fb->fb.var.yres * fb->fb.fix.line_length / 2; in clcdfb_set_start() 59 writel(ustart, fb->regs + CLCD_UBAS); in clcdfb_set_start() 60 writel(lstart, fb->regs + CLCD_LBAS); in clcdfb_set_start() 67 if (fb->board->disable) in clcdfb_disable() 68 fb->board->disable(fb); in clcdfb_disable() 70 if (fb->panel->backlight) { in clcdfb_disable() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/video/fbdev/omap2/omapfb/displays/ |
| H A D | panel-dpi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Generic MIPI DPI Panel Driver 17 #include <video/omap-panel-data.h> 28 /* used for non-DT boot, to be removed */ 39 struct omap_dss_device *in = ddata->in; in panel_dpi_connect() 45 r = in->ops.dpi->connect(in, dssdev); in panel_dpi_connect() 55 struct omap_dss_device *in = ddata->in; in panel_dpi_disconnect() 60 in->ops.dpi->disconnect(in, dssdev); in panel_dpi_disconnect() 66 struct omap_dss_device *in = ddata->in; in panel_dpi_enable() 70 return -ENODEV; in panel_dpi_enable() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/rockchip/ebc-dev/tcon/ |
| H A D | ebc_tcon.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Author: Zorro Liu <zorro.liu@rock-chips.com> 37 #define EBC_DSP_HTIMING0 0x000c //H-Timing setting register0 38 #define EBC_DSP_HTIMING1 0x0010 //H-Timing setting register1 39 #define EBC_DSP_VTIMING0 0x0014 //V-Timing setting register0 40 #define EBC_DSP_VTIMING1 0x0018 //V-Timing setting register1 141 regmap_write(tcon->regmap_base, reg, value); in tcon_write() 148 regmap_read(tcon->regmap_base, reg, &value); in tcon_read() 156 regmap_update_bits(tcon->regmap_base, reg, mask, val); in tcon_update_bits() 161 regmap_write(tcon->regmap_base, EBC_CONFIG_DONE, REG_LOAD_GLOBAL_EN); in tcon_cfg_done() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/video/ |
| H A D | tegra.c | 3 * SPDX-License-Identifier: GPL-2.0+ 9 #include <panel.h> 21 #include <asm/arch-tegra/timer.h> 30 struct display_timing timing; member 31 struct udevice *panel; member 49 val = readl(&dc->cmd.disp_win_header); in update_window() 51 writel(val, &dc->cmd.disp_win_header); in update_window() 53 writel(win->fmt, &dc->win.color_depth); in update_window() 55 clrsetbits_le32(&dc->win.byte_swap, BYTE_SWAP_MASK, in update_window() 58 val = win->out_x << H_POSITION_SHIFT; in update_window() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/display/tilcdc/ |
| H A D | panel.txt | 1 Device-Tree bindings for tilcdc DRM generic panel output driver 4 - compatible: value should be "ti,tilcdc,panel". 5 - panel-info: configuration info to configure LCDC correctly for the panel 6 - ac-bias: AC Bias Pin Frequency 7 - ac-bias-intrpt: AC Bias Pin Transitions per Interrupt 8 - dma-burst-sz: DMA burst size 9 - bpp: Bits per pixel 10 - fdd: FIFO DMA Request Delay 11 - sync-edge: Horizontal and Vertical Sync Edge: 0=rising 1=falling 12 - sync-ctrl: Horizontal and Vertical Sync: Control: 0=ignore [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/video/rk_eink/ |
| H A D | rk_ebc_tcon.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Author: Wenping Zhang <wenping.zhang@rock-chips.com> 20 #include <irq-generic.h> 43 #define EBC_DSP_HTIMING0 0x000c //H-Timing setting register0 44 #define EBC_DSP_HTIMING1 0x0010 //H-Timing setting register1 45 #define EBC_DSP_VTIMING0 0x0014 //V-Timing setting register0 46 #define EBC_DSP_VTIMING1 0x0018 //V-Timing setting register1 154 static volatile int last_frame_done = -1; 162 printf("\n 0x%p:\t", tcon->reg + i); in regs_dump() 163 printf("0x%x\t", readl(tcon->reg + i)); in regs_dump() [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm64/boot/dts/rockchip/ |
| H A D | rk3588-vehicle-maxim-serdes.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/display/media-bus-format.h> 14 compatible = "simple-bus"; 15 #address-cells = <1>; 16 #size-cells = <0>; 19 compatible = "pwm-backlight"; 22 brightness-levels = <0 4 8 16 32 64 128 255>; 23 default-brightness-level = <6>; 27 compatible = "pwm-backlight"; 30 brightness-levels = <0 4 8 16 32 64 128 255>; [all …]
|
| /OK3568_Linux_fs/u-boot/include/ |
| H A D | display.h | 4 * SPDX-License-Identifier: GPL-2.0+ 28 * display_read_timing() - Read timing information 31 * @return 0 if OK, -ve on error 33 int display_read_timing(struct udevice *dev, struct display_timing *timing); 36 * display_port_enable() - Enable a display port device 39 * @panel_bpp: Number of bits per pixel for panel 40 * @timing: Display timings 41 * @return 0 if OK, -ve on error 44 const struct display_timing *timing); 47 * display_in_use() - Check if a display is in use by any device [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/tegra/ |
| H A D | dsi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 30 #include "mipi-phy.h" 36 struct mipi_dphy_timing timing; member 81 /* for ganged-mode support */ 104 return to_dsi_state(dsi->output.connector.state); in tegra_dsi_get_state() 109 u32 value = readl(dsi->regs + (offset << 2)); in tegra_dsi_readl() 111 trace_dsi_readl(dsi->dev, offset, value); in tegra_dsi_readl() 119 trace_dsi_writel(dsi->dev, offset, value); in tegra_dsi_writel() 120 writel(value, dsi->regs + (offset << 2)); in tegra_dsi_writel() 201 struct drm_info_node *node = s->private; in tegra_dsi_show_regs() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/msm/disp/dpu1/ |
| H A D | dpu_hw_intf.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* Copyright (c) 2015-2018, The Linux Foundation. All rights reserved. 15 /* intf timing settings */ 19 u32 xres; /* Display panel width */ 20 u32 yres; /* Display panel height */ 42 u8 is_en; /* interface timing engine is enabled or not */ 43 u32 frame_count; /* frame count since timing engine enabled */ 50 * @ setup_timing_gen : programs the timing engine 52 * @ enable_timing: enable/disable timing engine 53 * @ get_status: returns if timing engine is enabled or not [all …]
|