Home
last modified time | relevance | path

Searched +full:panel +full:- +full:lvds (Results 1 – 25 of 169) sorted by relevance

1234567

/Linux-v5.4/drivers/gpu/drm/panel/
Dpanel-lvds.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Generic LVDS panel driver
27 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_disable(struct drm_panel *panel) in panel_lvds_disable() argument
51 struct panel_lvds *lvds = to_panel_lvds(panel); in panel_lvds_disable() local
53 if (lvds->backlight) { in panel_lvds_disable()
54 lvds->backlight->props.power = FB_BLANK_POWERDOWN; in panel_lvds_disable()
55 lvds->backlight->props.state |= BL_CORE_FBBLANK; in panel_lvds_disable()
[all …]
/Linux-v5.4/drivers/gpu/drm/sun4i/
Dsun4i_lvds.c1 // SPDX-License-Identifier: GPL-2.0+
4 * Maxime Ripard <maxime.ripard@free-electrons.com>
23 struct drm_panel *panel; member
42 struct sun4i_lvds *lvds = in sun4i_lvds_get_modes() local
45 return drm_panel_get_modes(lvds->panel); in sun4i_lvds_get_modes()
55 struct sun4i_lvds *lvds = drm_connector_to_sun4i_lvds(connector); in sun4i_lvds_connector_destroy() local
57 drm_panel_detach(lvds->panel); in sun4i_lvds_connector_destroy()
71 struct sun4i_lvds *lvds = drm_encoder_to_sun4i_lvds(encoder); in sun4i_lvds_encoder_enable() local
73 DRM_DEBUG_DRIVER("Enabling LVDS output\n"); in sun4i_lvds_encoder_enable()
75 if (lvds->panel) { in sun4i_lvds_encoder_enable()
[all …]
/Linux-v5.4/drivers/gpu/drm/rockchip/
Drockchip_lvds.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Mark Yao <mark.yao@rock-chips.com>
6 * Sandy Huang <hjc@rock-chips.com>
40 * rockchip_lvds_soc_data - rockchip lvds Soc private data
41 * @ch1_offset: lvds channel 1 registe offset
42 * grf_soc_con6: general registe offset for LVDS contrl
43 * grf_soc_con7: general registe offset for LVDS contrl
59 int output; /* rgb lvds or dual lvds output */
62 struct drm_panel *panel; member
69 static inline void lvds_writel(struct rockchip_lvds *lvds, u32 offset, u32 val) in lvds_writel() argument
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/display/panel/
Dlvds.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/display/panel/lvds.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: LVDS Display Panel
10 - Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
11 - Thierry Reding <thierry.reding@gmail.com>
14 LVDS is a physical layer specification defined in ANSI/TIA/EIA-644-A. Multiple
16 to LVDS panels. This bindings supports display panels compatible with the
19 [JEIDA] "Digital Interface Standards for Monitor", JEIDA-59-1999, February
[all …]
Dsgd,gktw70sdae4se.yaml1 # 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 …]
Dmitsubishi,aa104xd12.yaml1 # 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 …]
Dmitsubishi,aa121td01.yaml1 # 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 …]
Dinnolux,ee101ia-01d.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/display/panel/innolux,ee101ia-01d.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Innolux Corporation 10.1" EE101IA-01D WXGA (1280x800) LVDS panel
10 - Heiko Stuebner <heiko.stuebner@bq.com>
11 - Thierry Reding <thierry.reding@gmail.com>
14 - $ref: lvds.yaml#
19 - const: innolux,ee101ia-01d
20 - {} # panel-lvds, but not listed here to avoid false select
[all …]
Dkoe,tx31d200vm0baa.txt1 Kaohsiung Opto-Electronics. TX31D200VM0BAA 12.3" HSXGA LVDS panel
3 This binding is compatible with the simple-panel binding, which is specified
4 in simple-panel.txt in this directory.
7 - compatible: should be "koe,tx31d200vm0baa"
10 - backlight: phandle of the backlight device attached to the panel
13 - Video port for LVDS panel input.
16 panel {
22 remote-endpoint = <&lvds0_out>;
/Linux-v5.4/drivers/gpu/drm/rcar-du/
Drcar_lvds.c1 // SPDX-License-Identifier: GPL-2.0
3 * rcar_lvds.c -- R-Car LVDS Encoder
5 * Copyright (C) 2013-2018 Renesas Electronics Corporation
38 #define RCAR_LVDS_QUIRK_LANES BIT(0) /* LVDS lanes 1 and 3 inverted */
42 #define RCAR_LVDS_QUIRK_DUAL_LINK BIT(4) /* Supports dual-link operation */
47 void (*pll_setup)(struct rcar_lvds *lvds, unsigned int freq);
58 struct drm_panel *panel; member
80 static void rcar_lvds_write(struct rcar_lvds *lvds, u32 reg, u32 data) in rcar_lvds_write() argument
82 iowrite32(data, lvds->mmio + reg); in rcar_lvds_write()
85 /* -----------------------------------------------------------------------------
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/display/imx/
Dldb.txt1 Device-Tree bindings for LVDS Display Bridge (ldb)
3 LVDS Display Bridge
6 The LVDS Display Bridge device tree node contains up to two lvds-channel
7 nodes describing each of the two LVDS encoder channels of the bridge.
10 - #address-cells : should be <1>
11 - #size-cells : should be <0>
12 - compatible : should be "fsl,imx53-ldb" or "fsl,imx6q-ldb".
15 interfaces as input for each LVDS channel.
16 - gpr : should be <&gpr> on i.MX53 and i.MX6q.
17 The phandle points to the iomuxc-gpr region containing the LVDS
[all …]
/Linux-v5.4/drivers/gpu/drm/i915/display/
Dintel_lvds.c2 * Copyright © 2006-2007 Intel Corporation
50 /* Private structure for the integrated LVDS support */
102 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in intel_lvds_get_hw_state()
103 struct intel_lvds_encoder *lvds_encoder = to_lvds_encoder(&encoder->base); in intel_lvds_get_hw_state()
108 encoder->power_domain); in intel_lvds_get_hw_state()
112 ret = intel_lvds_port_enabled(dev_priv, lvds_encoder->reg, pipe); in intel_lvds_get_hw_state()
114 intel_display_power_put(dev_priv, encoder->power_domain, wakeref); in intel_lvds_get_hw_state()
122 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in intel_lvds_get_config()
123 struct intel_lvds_encoder *lvds_encoder = to_lvds_encoder(&encoder->base); in intel_lvds_get_config()
126 pipe_config->output_types |= BIT(INTEL_OUTPUT_LVDS); in intel_lvds_get_config()
[all …]
Ddvo_ivch.c25 * Thomas Richter <thor@math.tu-berlin.de>
28 * Thomas Richter <thor@math.tu-berlin.de>
54 * Enable the panel fitter
74 /* Enables LVDS output instead of CMOS */
76 /* Enables 18-bit LVDS output. */
78 /* Enables 24-bit LVDS or CMOS output */
80 /* Enables 2x18-bit LVDS or CMOS output. */
82 /* Enables 2x24-bit LVDS output */
98 * Panel power down status
101 /* Read only bit indicating that the panel is not in a safe poweroff state. */
[all …]
Dintel_dvo.c3 * Copyright © 2006-2007 Intel Corporation
135 struct drm_device *dev = connector->base.dev; in intel_dvo_connector_get_hw_state()
137 struct intel_dvo *intel_dvo = intel_attached_dvo(&connector->base); in intel_dvo_connector_get_hw_state()
140 tmp = I915_READ(intel_dvo->dev.dvo_reg); in intel_dvo_connector_get_hw_state()
145 return intel_dvo->dev.dev_ops->get_hw_state(&intel_dvo->dev); in intel_dvo_connector_get_hw_state()
151 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in intel_dvo_get_hw_state()
155 tmp = I915_READ(intel_dvo->dev.dvo_reg); in intel_dvo_get_hw_state()
165 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in intel_dvo_get_config()
169 pipe_config->output_types |= BIT(INTEL_OUTPUT_DVO); in intel_dvo_get_config()
171 tmp = I915_READ(intel_dvo->dev.dvo_reg); in intel_dvo_get_config()
[all …]
Dintel_vbt_defs.h2 * Copyright © 2006-2016 Intel Corporation
43 * struct vbt_header - VBT Header structure
51 * @aim_offset: Offsets of add-in data blocks from beginning of VBT
65 * struct bdb_header - BDB Header structure
121 * Block 1 - General Bit Definitions
166 * Block 2 - General Bytes Definition
169 /* pre-915 */
170 #define GPIO_PIN_DVI_LVDS 0x03 /* "DVI/LVDS DDC GPIO pins" */
343 * When we copy the child device configs to dev_priv->vbt.child_dev, we reserve
452 * LVDS will be next, either devices[0] or [1], if present.
[all …]
Ddvo_ch7017.c64 /** Powers down the TV out block, and DAC0-3 */
104 /** Enables the LVDS power down state transition */
106 /** Enables the LVDS upscaler */
119 /** Enables the LVDS panel output path */
121 /** Enables the LVDS panel backlight */
173 .addr = dvo->slave_addr, in ch7017_read()
179 .addr = dvo->slave_addr, in ch7017_read()
185 return i2c_transfer(dvo->i2c_bus, msgs, 2) == 2; in ch7017_read()
192 .addr = dvo->slave_addr, in ch7017_write()
197 return i2c_transfer(dvo->i2c_bus, &msg, 1) == 1; in ch7017_write()
[all …]
/Linux-v5.4/drivers/gpu/drm/gma500/
Doaktrail.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2007-2011, Intel Corporation.
70 u32 Panel_Port_Control; /* 1 dword, Register 0x61180 if LVDS */
78 /* Bit 0, Frequency, 15 bits,0 - 32767Hz */
82 /* if MIPI, 0x0000 if LVDS */
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 */
[all …]
Dpsb_intel_lvds.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright © 2006-2007 Intel Corporation
21 * LVDS I2C backlight control macros
60 struct drm_psb_private *dev_priv = dev->dev_private; in psb_intel_lvds_get_max_backlight()
67 ret = dev_priv->regs.saveBLC_PWM_CTL; in psb_intel_lvds_get_max_backlight()
75 dev_err(dev->dev, "BL bug: Reg %08x save %08X\n", in psb_intel_lvds_get_max_backlight()
76 REG_READ(BLC_PWM_CTL), dev_priv->regs.saveBLC_PWM_CTL); in psb_intel_lvds_get_max_backlight()
81 * Set LVDS backlight level by I2C command
90 (struct drm_psb_private *)dev->dev_private; in psb_lvds_i2c_set_brightness()
92 struct psb_intel_i2c_chan *lvds_i2c_bus = dev_priv->lvds_i2c_bus; in psb_lvds_i2c_set_brightness()
[all …]
Dcdv_intel_lvds.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright © 2006-2011 Intel Corporation
23 * LVDS I2C backlight control macros
58 struct drm_psb_private *dev_priv = dev->dev_private; in cdv_intel_lvds_get_max_backlight()
68 retval = ((dev_priv->regs.saveBLC_PWM_CTL & in cdv_intel_lvds_get_max_backlight()
77 * Set LVDS backlight level by I2C command
82 struct drm_psb_private *dev_priv = dev->dev_private;
83 struct psb_intel_i2c_chan *lvds_i2c_bus = dev_priv->lvds_i2c_bus;
89 .addr = lvds_i2c_bus->slave_addr,
100 if (dev_priv->lvds_bl->pol == BLC_POLARITY_INVERSE)
[all …]
Doaktrail_lvds.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright © 2006-2009 Intel Corporation
14 #include <asm/intel-mid.h>
22 /* The max/min PWM frequency in BPCR[31:17] - */
24 * 15-bit field of the and then*/
25 /* shifts to the left by one bit to get the actual 16-bit
26 * value that the 15-bits correspond to.*/
31 * Sets the power state for the panel.
38 struct drm_psb_private *dev_priv = dev->dev_private; in oaktrail_lvds_set_power()
49 dev_priv->is_lvds_on = true; in oaktrail_lvds_set_power()
[all …]
/Linux-v5.4/drivers/gpu/drm/msm/disp/mdp4/
Dmdp4_lcdc_encoder.c1 // SPDX-License-Identifier: GPL-2.0-only
18 struct drm_panel *panel; member
29 struct msm_drm_private *priv = encoder->dev->dev_private; in get_kms()
30 return to_mdp4_kms(to_mdp_kms(priv->kms)); in get_kms()
37 struct drm_device *dev = mdp4_lcdc_encoder->base.dev; in bs_init()
38 struct lcdc_platform_data *lcdc_pdata = mdp4_find_pdata("lvds.0"); in bs_init()
41 DRM_DEV_ERROR(dev->dev, "could not find lvds pdata\n"); in bs_init()
45 if (lcdc_pdata->bus_scale_table) { in bs_init()
46 mdp4_lcdc_encoder->bsc = msm_bus_scale_register_client( in bs_init()
47 lcdc_pdata->bus_scale_table); in bs_init()
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/display/rockchip/
Drockchip-lvds.txt1 Rockchip RK3288 LVDS interface
5 - compatible: matching the soc type, one of
6 - "rockchip,rk3288-lvds";
8 - reg: physical base address of the controller and length
10 - clocks: must include clock specifiers corresponding to entries in the
11 clock-names property.
12 - clock-names: must contain "pclk_lvds"
14 - avdd1v0-supply: regulator phandle for 1.0V analog power
15 - avdd1v8-supply: regulator phandle for 1.8V analog power
16 - avdd3v3-supply: regulator phandle for 3.3V analog power
[all …]
/Linux-v5.4/drivers/gpu/drm/bridge/
Dlvds-encoder.c1 // SPDX-License-Identifier: GPL-2.0-or-later
27 return drm_bridge_attach(bridge->encoder, lvds_encoder->panel_bridge, in lvds_encoder_attach()
37 if (lvds_encoder->powerdown_gpio) in lvds_encoder_enable()
38 gpiod_set_value_cansleep(lvds_encoder->powerdown_gpio, 0); in lvds_encoder_enable()
47 if (lvds_encoder->powerdown_gpio) in lvds_encoder_disable()
48 gpiod_set_value_cansleep(lvds_encoder->powerdown_gpio, 1); in lvds_encoder_disable()
59 struct device *dev = &pdev->dev; in lvds_encoder_probe()
63 struct drm_panel *panel; in lvds_encoder_probe() local
68 return -ENOMEM; in lvds_encoder_probe()
70 lvds_encoder->powerdown_gpio = devm_gpiod_get_optional(dev, "powerdown", in lvds_encoder_probe()
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/display/bridge/
Dlvds-transmitter.txt1 Parallel to LVDS Encoder
2 ------------------------
4 This binding supports the parallel to LVDS encoders that don't require any
7 LVDS is a physical layer specification defined in ANSI/TIA/EIA-644-A. Multiple
9 to LVDS panels. This binding targets devices compatible with the following
12 [JEIDA] "Digital Interface Standards for Monitor", JEIDA-59-1999, February
14 [LDI] "Open LVDS Display Interface", May 1999 (Version 0.95), National
16 [VESA] "VESA Notebook Panel Standard", October 2007 (Version 1.0), Video
19 Those devices have been marketed under the FPD-Link and FlatLink brand names
25 - compatible: Must be "lvds-encoder"
[all …]
/Linux-v5.4/arch/arm/boot/dts/
Dat91-nattis-2-natte-2.dts1 // SPDX-License-Identifier: GPL-2.0+
3 * at91-nattis-2-natte-2.dts - Device Tree file for the Linea/Nattis board
9 /dts-v1/;
10 #include "at91-linea.dtsi"
12 #include "at91-natte.dtsi"
15 model = "Axentia Linea-Nattis v2 Natte v2";
16 compatible = "axentia,nattis-2", "axentia,natte-2", "axentia,linea",
19 gpio-keys {
20 compatible = "gpio-keys";
25 wakeup-source;
[all …]

1234567