Home
last modified time | relevance | path

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

12345678

/linux/drivers/gpu/drm/panel/ !
H A Dpanel-lvds.c1 // 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() local
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 …]
/linux/drivers/gpu/drm/sun4i/ !
H A Dsun4i_lvds.c1 // SPDX-License-Identifier: GPL-2.0+
4 * Maxime Ripard <maxime.ripard@free-electrons.com>
25 struct drm_panel *panel; member
44 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()
[all …]
/linux/drivers/gpu/drm/rockchip/ !
H A 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>
38 * struct rockchip_lvds_soc_data - rockchip lvds Soc private data
39 * @probe: LVDS platform probe function
40 * @helper_funcs: LVDS connector helper functions
43 int (*probe)(struct platform_device *pdev, struct rockchip_lvds *lvds);
54 int output; /* rgb lvds or dual lvds output */
57 struct drm_panel *panel; member
65 return (struct rockchip_lvds *)bridge->driver_private; in brige_to_lvds()
[all …]
/linux/Documentation/devicetree/bindings/display/panel/ !
H A Dadvantech,idk-2121wr.yaml1 # 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 Dpanel-simple.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/display/panel/panel-simple.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Thierry Reding <thierry.reding@gmail.com>
11 - Sam Ravnborg <sam@ravnborg.org>
15 requires only a single power-supply.
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#
[all …]
H A 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: panel-common.yaml#
15 - $ref: /schemas/display/lvds.yaml#
24 - compatible
[all …]
H A 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: panel-common.yaml#
15 - $ref: /schemas/display/lvds.yaml#
24 - compatible
[all …]
H A 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 <neil.armstrong@linaro.org>
11 - Thierry Reding <thierry.reding@gmail.com>
14 - $ref: panel-common.yaml#
15 - $ref: /schemas/display/lvds.yaml#
24 - compatible
[all …]
H A Dadvantech,idk-1110wr.yaml1 # 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: panel-common.yaml#
15 - $ref: /schemas/display/lvds.yaml#
21 const: advantech,idk-1110wr
[all …]
H A 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: panel-common.yaml#
15 - $ref: /schemas/display/lvds.yaml#
21 const: innolux,ee101ia-01d
[all …]
/linux/Documentation/devicetree/bindings/display/imx/ !
H A Dfsl,imx6q-ldb.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/display/imx/fsl,imx6q-ldb.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Freescale LVDS Display Bridge (ldb)
10 The LVDS Display Bridge device tree node contains up to two lvds-channel
11 nodes describing each of the two LVDS encoder channels of the bridge.
14 - Frank Li <Frank.Li@nxp.com>
19 - enum:
20 - fsl,imx53-ldb
[all …]
/linux/arch/arm64/boot/dts/renesas/ !
H A Dr8a774c0-ek874-idk-2121wr.dts1 // SPDX-License-Identifier: GPL-2.0
4 * connected to an Advantech IDK-2121WR 21.5" LVDS panel
9 #include "r8a774c0-ek874.dts"
13 compatible = "pwm-backlight";
16 brightness-levels = <0 4 8 16 32 64 128 255>;
17 default-brightness-level = <6>;
19 power-supply = <&reg_12p0v>;
20 enable-gpios = <&gpio6 12 GPIO_ACTIVE_HIGH>;
23 panel-lvds {
24 compatible = "advantech,idk-2121wr", "panel-lvds";
[all …]
H A Drzg2-advantech-idk-1110wr-panel.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree Source for the Advantech idk-1110wr LVDS panel connected
10 panel-lvds {
11 compatible = "advantech,idk-1110wr", "panel-lvds";
13 width-mm = <223>;
14 height-mm = <125>;
16 data-mapping = "jeida-24";
18 panel-timing {
20 clock-frequency = <51200000>;
23 hsync-len = <240>;
[all …]
/linux/drivers/gpu/drm/bridge/ !
H A Dmicrochip-lvds.c1 // SPDX-License-Identifier: GPL-2.0-only
59 struct drm_panel *panel; member
69 static inline u32 lvds_readl(struct mchp_lvds *lvds, u32 offset) in lvds_readl() argument
71 return readl_relaxed(lvds->regs + offset); in lvds_readl()
74 static inline void lvds_writel(struct mchp_lvds *lvds, u32 offset, u32 val) in lvds_writel() argument
76 writel_relaxed(val, lvds->regs + offset); in lvds_writel()
79 static void lvds_serialiser_on(struct mchp_lvds *lvds) in lvds_serialiser_on() argument
84 lvds_writel(lvds, LVDSC_WPMR, (LVDSC_WPMR_WPKEY_PSSWD & in lvds_serialiser_on()
88 while (lvds_readl(lvds, LVDSC_SR) & LVDSC_SR_CS) { in lvds_serialiser_on()
90 dev_err(lvds->dev, "%s: timeout error\n", __func__); in lvds_serialiser_on()
[all …]
H A Dlvds-codec.c1 // SPDX-License-Identifier: GPL-2.0-or-later
8 #include <linux/media-bus-format.h>
42 return drm_bridge_attach(encoder, lvds_codec->panel_bridge, in lvds_codec_attach()
51 ret = regulator_enable(lvds_codec->vcc); in lvds_codec_enable()
53 dev_err(lvds_codec->dev, in lvds_codec_enable()
58 if (lvds_codec->powerdown_gpio) in lvds_codec_enable()
59 gpiod_set_value_cansleep(lvds_codec->powerdown_gpio, 0); in lvds_codec_enable()
67 if (lvds_codec->powerdown_gpio) in lvds_codec_disable()
68 gpiod_set_value_cansleep(lvds_codec->powerdown_gpio, 1); in lvds_codec_disable()
70 ret = regulator_disable(lvds_codec->vcc); in lvds_codec_disable()
[all …]
/linux/drivers/gpu/drm/stm/ !
H A Dlvds.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2023, STMicroelectronics - All Rights Reserved
4 * Author(s): Raphaël GALLAIS-POU <raphael.gallais-pou@foss.st.com> for STMicroelectronics.
16 #include <linux/clk-provider.h>
19 #include <linux/media-bus-format.h>
25 /* LVDS Host registers */
46 /* LVDS Wrapper registers */
55 #define CR_LVDSEN BIT(0) /* LVDS PHY Enable */
62 #define CR_LK1POL GENMASK(20, 16) /* Link-1 output Polarity */
63 #define CR_LK2POL GENMASK(25, 21) /* Link-2 output Polarity */
[all …]
/linux/drivers/gpu/drm/ !
H A Ddrm_of.c1 // SPDX-License-Identifier: GPL-2.0-only
5 #include <linux/media-bus-format.h>
25 * drm_of_crtc_port_mask - find the mask of a registered CRTC by port OF node
39 if (tmp->port == port) in drm_of_crtc_port_mask()
50 * drm_of_find_possible_crtcs - find the possible CRTCs for an encoder port
83 * drm_of_component_match_add - Add a component helper OF node match rule
101 * drm_of_component_probe - Generic probe function for a component based master
121 if (!dev->of_node) in drm_of_component_probe()
122 return -EINVAL; in drm_of_component_probe()
129 port = of_parse_phandle(dev->of_node, "ports", i); in drm_of_component_probe()
[all …]
/linux/drivers/gpu/drm/i915/display/ !
H A Dintel_lvds.c2 * Copyright © 2006-2007 Intel Corporation
58 /* Private structure for the integrated LVDS support */
110 wakeref = intel_display_power_get_if_enabled(display, encoder->power_domain); in intel_lvds_get_hw_state()
114 ret = intel_lvds_port_enabled(display, lvds_encoder->reg, pipe); in intel_lvds_get_hw_state()
116 intel_display_power_put(display, encoder->power_domain, wakeref); in intel_lvds_get_hw_state()
128 crtc_state->output_types |= BIT(INTEL_OUTPUT_LVDS); in intel_lvds_get_config()
130 tmp = intel_de_read(display, lvds_encoder->reg); in intel_lvds_get_config()
140 crtc_state->hw.adjusted_mode.flags |= flags; in intel_lvds_get_config()
143 crtc_state->gmch_pfit.lvds_border_bits = in intel_lvds_get_config()
150 crtc_state->gmch_pfit.control |= tmp & PFIT_PANEL_8TO6_DITHER_ENABLE; in intel_lvds_get_config()
[all …]
/linux/drivers/gpu/drm/gma500/ !
H A Dcdv_intel_lvds.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright © 2006-2011 Intel Corporation
27 * LVDS I2C backlight control macros
72 retval = ((dev_priv->regs.saveBLC_PWM_CTL & in cdv_intel_lvds_get_max_backlight()
97 blc_pwm_ctl = dev_priv->regs.saveBLC_PWM_CTL & in cdv_intel_lvds_set_backlight()
99 dev_priv->regs.saveBLC_PWM_CTL = (blc_pwm_ctl | in cdv_intel_lvds_set_backlight()
105 * Sets the power state for the panel.
124 dev_priv->mode_dev.backlight_duty_cycle); in cdv_intel_lvds_set_power()
139 struct drm_device *dev = encoder->dev; in cdv_intel_lvds_encoder_dpms()
144 /* XXX: We never power down the LVDS pairs. */ in cdv_intel_lvds_encoder_dpms()
[all …]
H A 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 …]
H A Dpsb_intel_lvds.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright © 2006-2007 Intel Corporation
25 * LVDS I2C backlight control macros
70 ret = dev_priv->regs.saveBLC_PWM_CTL; in psb_intel_lvds_get_max_backlight()
78 dev_err(dev->dev, "BL bug: Reg %08x save %08X\n", in psb_intel_lvds_get_max_backlight()
79 REG_READ(BLC_PWM_CTL), dev_priv->regs.saveBLC_PWM_CTL); in psb_intel_lvds_get_max_backlight()
84 * Set LVDS backlight level by I2C command
94 struct gma_i2c_chan *lvds_i2c_bus = dev_priv->lvds_i2c_bus; in psb_lvds_i2c_set_brightness()
100 .addr = lvds_i2c_bus->target_addr, in psb_lvds_i2c_set_brightness()
111 if (dev_priv->lvds_bl->pol == BLC_POLARITY_INVERSE) in psb_lvds_i2c_set_brightness()
[all …]
H A Doaktrail_lvds.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright © 2006-2009 Intel Corporation
24 /* The max/min PWM frequency in BPCR[31:17] - */
26 * 15-bit field of the and then*/
27 /* shifts to the left by one bit to get the actual 16-bit
28 * value that the 15-bits correspond to.*/
33 * Sets the power state for the panel.
51 dev_priv->is_lvds_on = true; in oaktrail_lvds_set_power()
52 if (dev_priv->ops->lvds_bl_power) in oaktrail_lvds_set_power()
53 dev_priv->ops->lvds_bl_power(dev, true); in oaktrail_lvds_set_power()
[all …]
/linux/arch/arm/boot/dts/nxp/imx/ !
H A Dimx6q-var-mx6customboard.dts1 // SPDX-License-Identifier: GPL-2.0+
3 * Support for Variscite MX6 Carrier-board
9 /dts-v1/;
11 #include "imx6qdl-var-som.dtsi"
12 #include <dt-bindings/pwm/pwm.h>
15 model = "Variscite i.MX6 QUAD/DUAL VAR-SOM-MX6 Custom Board";
16 compatible = "variscite,mx6customboard", "variscite,var-som-imx6q", "fsl,imx6q";
18 panel0: lvds-panel0 {
19 compatible = "panel-lvds";
21 width-mm = <152>;
[all …]
/linux/drivers/gpu/drm/renesas/rcar-du/ !
H A Drcar_du_encoder.c1 // SPDX-License-Identifier: GPL-2.0+
3 * R-Car Display Unit Encoder
5 * Copyright (C) 2013-2014 Renesas Electronics Corporation
21 /* -----------------------------------------------------------------------------
59 * DT node has a single port, assume that it describes a panel and in rcar_du_encoder_init()
60 * create a panel bridge. in rcar_du_encoder_init()
65 struct drm_panel *panel = of_drm_find_panel(enc_node); in rcar_du_encoder_init() local
67 if (IS_ERR(panel)) in rcar_du_encoder_init()
68 return PTR_ERR(panel); in rcar_du_encoder_init()
70 bridge = devm_drm_panel_bridge_add_typed(rcdu->dev, panel, in rcar_du_encoder_init()
[all …]
/linux/arch/arm/boot/dts/nvidia/ !
H A Dtegra30-asus-lvds-display.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 /* This dtsi file describes parts common for Asus T30 devices with a LVDS panel. */
5 #include <dt-bindings/gpio/tegra-gpio.h>
15 remote-endpoint = <&bridge_input>;
16 bus-width = <24>;
23 display-panel {
24 power-supply = <&vdd_pnl>;
25 ddc-i2c-bus = <&lcd_ddc>;
30 remote-endpoint = <&bridge_output>;
35 /* Texas Instruments SN75LVDS83B LVDS Transmitter */
[all …]

12345678