Home
last modified time | relevance | path

Searched full:lvds (Results 1 – 25 of 391) sorted by relevance

12345678910>>...16

/kernel/linux/linux-5.10/drivers/gpu/drm/rockchip/
Drockchip_lvds.c45 * rockchip_lvds_soc_data - rockchip lvds Soc private data
46 * @probe: LVDS platform probe function
47 * @helper_funcs: LVDS connector helper functions
50 int (*probe)(struct platform_device *pdev, struct rockchip_lvds *lvds);
61 int output; /* rgb lvds or dual lvds output */
71 static inline void rk3288_writel(struct rockchip_lvds *lvds, u32 offset, in rk3288_writel() argument
74 writel_relaxed(val, lvds->regs + offset); in rk3288_writel()
75 if (lvds->output == DISPLAY_OUTPUT_LVDS) in rk3288_writel()
77 writel_relaxed(val, lvds->regs + offset + RK3288_LVDS_CH1_OFFSET); in rk3288_writel()
96 else if (strncmp(s, "lvds", 4) == 0) in rockchip_lvds_name_to_output()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/panel/
Dpanel-lvds.c3 * Generic LVDS panel driver
51 struct panel_lvds *lvds = to_panel_lvds(panel); in panel_lvds_unprepare() local
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()
57 regulator_disable(lvds->supply); in panel_lvds_unprepare()
64 struct panel_lvds *lvds = to_panel_lvds(panel); in panel_lvds_prepare() local
66 if (lvds->supply) { in panel_lvds_prepare()
69 err = regulator_enable(lvds->supply); in panel_lvds_prepare()
71 dev_err(lvds->dev, "failed to enable supply: %d\n", in panel_lvds_prepare()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/rcar-du/
Drcar_lvds.c3 * rcar_lvds.c -- R-Car LVDS Encoder
47 #define RCAR_LVDS_QUIRK_LANES BIT(0) /* LVDS lanes 1 and 3 inverted */
56 void (*pll_setup)(struct rcar_lvds *lvds, unsigned int freq);
86 static void rcar_lvds_write(struct rcar_lvds *lvds, u32 reg, u32 data) in rcar_lvds_write() argument
88 iowrite32(data, lvds->mmio + reg); in rcar_lvds_write()
97 struct rcar_lvds *lvds = connector_to_rcar_lvds(connector); in rcar_lvds_connector_get_modes() local
99 return drm_panel_get_modes(lvds->panel, connector); in rcar_lvds_connector_get_modes()
105 struct rcar_lvds *lvds = connector_to_rcar_lvds(connector); in rcar_lvds_connector_atomic_check() local
115 dev_dbg(lvds->dev, "connector: empty modes list\n"); in rcar_lvds_connector_atomic_check()
154 static void rcar_lvds_pll_setup_gen2(struct rcar_lvds *lvds, unsigned int freq) in rcar_lvds_pll_setup_gen2() argument
[all …]
Drcar_du_of.c102 * LVDS Overlays
105 RCAR_DU_OF_DTB(lvds, r8a7790);
106 RCAR_DU_OF_DTB(lvds, r8a7791);
107 RCAR_DU_OF_DTB(lvds, r8a7793);
108 RCAR_DU_OF_DTB(lvds, r8a7795);
109 RCAR_DU_OF_DTB(lvds, r8a7796);
112 RCAR_DU_OF_OVERLAY(lvds, r8a7790),
113 RCAR_DU_OF_OVERLAY(lvds, r8a7791),
114 RCAR_DU_OF_OVERLAY(lvds, r8a7793),
115 RCAR_DU_OF_OVERLAY(lvds, r8a7795),
[all …]
Drcar_du_of_lvds_r8a7790.dts3 * rcar_du_of_lvds_r8a7790.dts - Legacy LVDS DT bindings conversion for R8A7790
15 lvds@feb90000 {
16 compatible = "renesas,r8a7790-lvds";
36 lvds@feb94000 {
37 compatible = "renesas,r8a7790-lvds";
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/bridge/
Drenesas,lvds.yaml4 $id: http://devicetree.org/schemas/display/bridge/renesas,lvds.yaml#
7 title: Renesas R-Car LVDS Encoder
13 These DT bindings describe the LVDS encoder embedded in the Renesas R-Car
19 - renesas,r8a7742-lvds # for RZ/G1H compatible LVDS encoders
20 - renesas,r8a7743-lvds # for RZ/G1M compatible LVDS encoders
21 - renesas,r8a7744-lvds # for RZ/G1N compatible LVDS encoders
22 - renesas,r8a774a1-lvds # for RZ/G2M compatible LVDS encoders
23 - renesas,r8a774b1-lvds # for RZ/G2N compatible LVDS encoders
24 - renesas,r8a774c0-lvds # for RZ/G2E compatible LVDS encoders
25 - renesas,r8a774e1-lvds # for RZ/G2H compatible LVDS encoders
[all …]
Dlvds-codec.yaml4 $id: http://devicetree.org/schemas/display/bridge/lvds-codec.yaml#
7 title: Transparent LVDS encoders and decoders
13 This binding supports transparent LVDS encoders and decoders that don't
16 LVDS is a physical layer specification defined in ANSI/TIA/EIA-644-A. Multiple
18 to LVDS panels. This binding targets devices compatible with the following
23 [LDI] "Open LVDS Display Interface", May 1999 (Version 0.95), National
39 - const: lvds-encoder # Generic LVDS encoder compatible fallback
42 - ti,ds90cf384a # For the DS90CF384A FPD-Link LVDS Receiver
43 - const: lvds-decoder # Generic LVDS decoders compatible fallback
45 - thine,thc63lvdm83d # For the THC63LVDM83D LVDS serializer
[all …]
Dtoshiba,tc358775.yaml7 title: Toshiba TC358775 DSI to LVDS bridge bindings
13 This binding supports DSI to LVDS bridge TC358775
17 Up to 1600x1200 24-bit/pixel resolution for single-link LVDS display panel
18 limited by 135 MHz LVDS speed
19 Up to WUXGA (1920x1200 24-bit pixels) resolution for dual-link LVDS display
20 panel, limited by 270 MHz LVDS speed.
32 description: 1.2V LVDS Power Supply
68 Video port for LVDS output (panel or connector).
73 Video port for Dual link LVDS output (panel or connector).
94 /* For single-link LVDS display panel */
[all …]
Dthine,thc63lvd1024.yaml7 title: Thine Electronics THC63LVD1024 LVDS Decoder
14 The THC63LVD1024 is a dual link LVDS receiver designed to convert LVDS
16 modes, handling up to two LVDS input streams and up to two digital CMOS/TTL
48 description: First LVDS input port
52 description: Second LVDS input port
79 Power supply for the TTL output, TTL CLOCKOUT signal, LVDS input, PLL and
93 lvds-decoder {
/kernel/linux/linux-5.10/drivers/gpu/drm/sun4i/
Dsun4i_lvds.c44 struct sun4i_lvds *lvds = in sun4i_lvds_get_modes() local
47 return drm_panel_get_modes(lvds->panel, connector); in sun4i_lvds_get_modes()
70 struct sun4i_lvds *lvds = drm_encoder_to_sun4i_lvds(encoder); in sun4i_lvds_encoder_enable() local
72 DRM_DEBUG_DRIVER("Enabling LVDS output\n"); in sun4i_lvds_encoder_enable()
74 if (lvds->panel) { in sun4i_lvds_encoder_enable()
75 drm_panel_prepare(lvds->panel); in sun4i_lvds_encoder_enable()
76 drm_panel_enable(lvds->panel); in sun4i_lvds_encoder_enable()
82 struct sun4i_lvds *lvds = drm_encoder_to_sun4i_lvds(encoder); in sun4i_lvds_encoder_disable() local
84 DRM_DEBUG_DRIVER("Disabling LVDS output\n"); in sun4i_lvds_encoder_disable()
86 if (lvds->panel) { in sun4i_lvds_encoder_disable()
[all …]
/kernel/linux/linux-5.10/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.
15 interfaces as input for each LVDS channel.
17 The phandle points to the iomuxc-gpr region containing the LVDS
23 "di0_pll" - LDB LVDS channel 0 mux
24 "di1_pll" - LDB LVDS channel 1 mux
25 "di0" - LDB LVDS channel 0 gate
26 "di1" - LDB LVDS channel 1 gate
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/
Drenesas,du.txt74 R8A7742 (RZ/G1H) DPAD 0 LVDS 0 LVDS 1 -
75 R8A7743 (RZ/G1M) DPAD 0 LVDS 0 - -
76 R8A7744 (RZ/G1N) DPAD 0 LVDS 0 - -
78 R8A77470 (RZ/G1C) DPAD 0 DPAD 1 LVDS 0 -
79 R8A774A1 (RZ/G2M) DPAD 0 HDMI 0 LVDS 0 -
80 R8A774B1 (RZ/G2N) DPAD 0 HDMI 0 LVDS 0 -
81 R8A774C0 (RZ/G2E) DPAD 0 LVDS 0 LVDS 1 -
82 R8A774E1 (RZ/G2H) DPAD 0 HDMI 0 LVDS 0 -
84 R8A7790 (R-Car H2) DPAD 0 LVDS 0 LVDS 1 -
85 R8A7791 (R-Car M2-W) DPAD 0 LVDS 0 - -
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/panel/
Dadvantech,idk-2121wr.yaml7 title: Advantech IDK-2121WR 21.5" Full-HD dual-LVDS panel
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
20 dual-lvds-odd-pixels or dual-lvds-even-pixels).
26 - {} # panel-lvds, but not listed here to avoid false select
49 dual-lvds-odd-pixels: true
53 - dual-lvds-odd-pixels
62 dual-lvds-even-pixels: true
66 - dual-lvds-even-pixels
80 panel-lvds {
[all …]
Dlvds.yaml4 $id: http://devicetree.org/schemas/display/panel/lvds.yaml#
7 title: LVDS Display Panel
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
21 [LDI] "Open LVDS Display Interface", May 1999 (Version 0.95), National
35 const: panel-lvds
37 Shall contain "panel-lvds" in addition to a mandatory panel-specific
38 compatible string defined in individual panel bindings. The "panel-lvds"
49 LVDS data mappings are defined as follows.
52 [VESA] specifications. Data are transferred as follows on 3 LVDS lanes.
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/
DKconfig66 tristate "Transparent LVDS encoders and decoders support"
71 Support for transparent LVDS encoders and decoders that don't
81 GE B850v3 that convert dual channel LVDS
102 tristate "NXP PTN3460 DP/LVDS bridge"
107 NXP PTN3460 eDP-LVDS bridge chip driver.
110 tristate "Parade eDP/LVDS bridge"
116 Parade eDP-LVDS bridge chip driver.
166 tristate "Thine THC63LVD1024 LVDS decoder bridge"
169 Thine THC63LVD1024 LVDS/parallel converter driver.
180 tristate "TC358764 DSI/LVDS bridge"
[all …]
/kernel/linux/linux-5.10/arch/arm64/boot/dts/renesas/
Dr8a774c0-ek874-idk-2121wr.dts4 * connected to an Advantech IDK-2121WR 21.5" LVDS panel
23 panel-lvds {
24 compatible = "advantech,idk-2121wr", "panel-lvds";
49 dual-lvds-odd-pixels;
57 dual-lvds-even-pixels;
68 * When GP0_17 is low LVDS[01] are connected to the LVDS connector
69 * When GP0_17 is high LVDS[01] are connected to the LT8918L
71 lvds-connector-en-gpio{
75 line-name = "lvds-connector-en-gpio";
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/rockchip/
Drockchip-lvds.txt1 Rockchip RK3288 LVDS interface
6 - "rockchip,rk3288-lvds";
7 - "rockchip,px30-lvds";
20 - rockchip,output: "rgb", "lvds" or "duallvds", This describes the output interface
22 - phys: LVDS/DSI DPHY (px30 only)
31 The lvds has two video ports as described by
41 lvds_panel: lvds-panel {
55 lvds: lvds@ff96c000 {
56 compatible = "rockchip,rk3288-lvds";
/kernel/linux/linux-5.10/drivers/gpu/drm/gma500/
Dcdv_intel_lvds.c25 * LVDS I2C backlight control macros
142 /* XXX: We never power down the LVDS pairs. */ in cdv_intel_lvds_encoder_dpms()
193 pr_err("Can't enable LVDS and another encoder on the same pipe\n"); in cdv_intel_lvds_mode_fixup()
268 * The LVDS pin pair will already have been turned on in the in cdv_intel_lvds_mode_set()
321 * cdv_intel_lvds_destroy - unregister and free LVDS structures
423 * the LVDS is present.
426 * If no child dev is parsed from VBT, it assumes that the LVDS is present.
452 * the VBT correctly. Since LVDS requires additional in lvds_is_present_in_vbt()
454 * a good indicator that the LVDS is actually present. in lvds_is_present_in_vbt()
462 * the OpRegion then they have validated the LVDS's existence. in lvds_is_present_in_vbt()
[all …]
Dpsb_intel_lvds.c23 * LVDS I2C backlight control macros
83 * Set LVDS backlight level by I2C command
152 dev_info(dev->dev, "Backlight lvds set brightness %08x\n", in psb_lvds_pwm_set_brightness()
160 * Set LVDS backlight level either by I2C or PWM
169 dev_err(dev->dev, "NO LVDS backlight info\n"); in psb_intel_lvds_set_brightness()
251 /* XXX: We never power down the LVDS pairs. */ in psb_intel_lvds_encoder_dpms()
265 lvds_priv->saveLVDS = REG_READ(LVDS); in psb_intel_lvds_save()
318 REG_WRITE(LVDS, lvds_priv->saveLVDS); in psb_intel_lvds_restore()
378 /* PSB requires the LVDS is on pipe B, MRST has only one pipe anyway */ in psb_intel_lvds_mode_fixup()
380 pr_err("Can't support LVDS on pipe A\n"); in psb_intel_lvds_mode_fixup()
[all …]
Doaktrail_lvds.c78 /* XXX: We never power down the LVDS pairs. */ in oaktrail_lvds_dpms()
98 * The LVDS pin pair will already have been turned on in the in oaktrail_lvds_mode_set()
102 lvds_port = (REG_READ(LVDS) & in oaktrail_lvds_mode_set()
112 REG_WRITE(LVDS, lvds_port); in oaktrail_lvds_mode_set()
267 /* Then try the LVDS VBT mode */ in oaktrail_lvds_get_configuration_mode()
283 * oaktrail_lvds_init - setup LVDS connectors on this device
286 * Create the connector, register the LVDS DDC bus, and try to figure out what
287 * modes we can display on the LVDS panel (if present).
343 * LVDS discovery: in oaktrail_lvds_init()
346 * 3) check to see if LVDS is already on in oaktrail_lvds_init()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
Dintel_lvds.c49 /* Private structure for the integrated LVDS support */
195 drm_dbg(&dev_priv->drm, "LVDS PPS:t1+t2 %d t3 %d t4 %d t5 %d tx %d " in intel_lvds_pps_get_hw_state()
279 * Set the dithering flag on LVDS as needed, note that there is no in intel_pre_enable_lvds()
280 * special lvds dither control bit on pch-split platforms, dithering is in intel_pre_enable_lvds()
285 * Bspec wording suggests that LVDS port dithering only exists in intel_pre_enable_lvds()
410 drm_err(&dev_priv->drm, "Can't support LVDS on pipe A\n"); in intel_lvds_compute_config()
421 "forcing display bpp (was %d) to LVDS (%d)\n", in intel_lvds_compute_config()
504 DRM_INFO("Skipping LVDS initialization for %s\n", id->ident); in intel_no_lvds_dmi_callback()
508 /* These systems claim to have LVDS, but really don't */
723 DRM_INFO("Forcing lvds to dual link mode on %s\n", id->ident); in intel_dual_link_lvds_callback()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_of.c295 of_property_read_bool(port_node, "dual-lvds-even-pixels"); in drm_of_lvds_get_port_pixels_type()
297 of_property_read_bool(port_node, "dual-lvds-odd-pixels"); in drm_of_lvds_get_port_pixels_type()
344 * drm_of_lvds_get_dual_link_pixel_order - Get LVDS dual-link pixel order
345 * @port1: First DT port node of the Dual-link LVDS source
346 * @port2: Second DT port node of the Dual-link LVDS source
348 * An LVDS dual-link connection is made of two links, with even pixels
350 * returns, for two ports of an LVDS dual-link source, which port shall transmit
353 * The pixel order is determined from the dual-lvds-even-pixels and
354 * dual-lvds-odd-pixels properties in the sink's DT port nodes. If those
361 * parents when, for instance, two separate LVDS encoders carry the even and odd
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/bios/
Dbios_parser.c1000 /* for SS_Info table only support DP and LVDS */ in get_ss_info_from_tbl()
1212 ATOM_LVDS_INFO_V12 *lvds; in get_embedded_panel_info_v1_2() local
1220 lvds = in get_embedded_panel_info_v1_2()
1223 if (!lvds) in get_embedded_panel_info_v1_2()
1226 if (1 != lvds->sHeader.ucTableFormatRevision in get_embedded_panel_info_v1_2()
1227 || 2 > lvds->sHeader.ucTableContentRevision) in get_embedded_panel_info_v1_2()
1234 le16_to_cpu(lvds->sLCDTiming.usPixClk) * 10; in get_embedded_panel_info_v1_2()
1237 le16_to_cpu(lvds->sLCDTiming.usHActive); in get_embedded_panel_info_v1_2()
1239 * borders duing this translation, but LVDS generally*/ in get_embedded_panel_info_v1_2()
1241 * now. May need to revisit if we ever have LVDS with borders*/ in get_embedded_panel_info_v1_2()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dradeon_combios.c1107 struct radeon_encoder_lvds *lvds = NULL; in radeon_legacy_get_lvds_info_from_regs() local
1112 lvds = kzalloc(sizeof(struct radeon_encoder_lvds), GFP_KERNEL); in radeon_legacy_get_lvds_info_from_regs()
1114 if (!lvds) in radeon_legacy_get_lvds_info_from_regs()
1121 lvds->panel_pwr_delay = 200; in radeon_legacy_get_lvds_info_from_regs()
1122 lvds->panel_vcc_delay = 2000; in radeon_legacy_get_lvds_info_from_regs()
1124 lvds->lvds_gen_cntl = RREG32(RADEON_LVDS_GEN_CNTL); in radeon_legacy_get_lvds_info_from_regs()
1125 lvds->panel_digon_delay = (lvds_ss_gen_cntl >> RADEON_LVDS_PWRSEQ_DELAY1_SHIFT) & 0xf; in radeon_legacy_get_lvds_info_from_regs()
1126 lvds->panel_blon_delay = (lvds_ss_gen_cntl >> RADEON_LVDS_PWRSEQ_DELAY2_SHIFT) & 0xf; in radeon_legacy_get_lvds_info_from_regs()
1129 lvds->native_mode.vdisplay = in radeon_legacy_get_lvds_info_from_regs()
1133 lvds->native_mode.vdisplay = in radeon_legacy_get_lvds_info_from_regs()
[all …]
Dradeon_legacy_encoders.c69 struct radeon_encoder_atom_dig *lvds = radeon_encoder->enc_priv; in radeon_legacy_lvds_update() local
70 panel_pwr_delay = lvds->panel_pwr_delay; in radeon_legacy_lvds_update()
71 if (lvds->bl_dev) in radeon_legacy_lvds_update()
72 backlight_level = lvds->backlight_level; in radeon_legacy_lvds_update()
74 struct radeon_encoder_lvds *lvds = radeon_encoder->enc_priv; in radeon_legacy_lvds_update() local
75 panel_pwr_delay = lvds->panel_pwr_delay; in radeon_legacy_lvds_update()
76 if (lvds->bl_dev) in radeon_legacy_lvds_update()
77 backlight_level = lvds->backlight_level; in radeon_legacy_lvds_update()
81 /* macs (and possibly some x86 oem systems?) wire up LVDS strangely in radeon_legacy_lvds_update()
150 struct radeon_encoder_atom_dig *lvds = radeon_encoder->enc_priv; in radeon_legacy_lvds_dpms() local
[all …]

12345678910>>...16