Home
last modified time | relevance | path

Searched refs:lvds (Results 1 – 25 of 187) sorted by relevance

12345678

/linux-6.1.9/drivers/gpu/drm/rockchip/
Drockchip_lvds.c45 int (*probe)(struct platform_device *pdev, struct rockchip_lvds *lvds);
78 static inline void rk3288_writel(struct rockchip_lvds *lvds, u32 offset, in rk3288_writel() argument
81 writel_relaxed(val, lvds->regs + offset); in rk3288_writel()
82 if (lvds->output == DISPLAY_OUTPUT_LVDS) in rk3288_writel()
84 writel_relaxed(val, lvds->regs + offset + RK3288_LVDS_CH1_OFFSET); in rk3288_writel()
121 struct rockchip_lvds *lvds = connector_to_lvds(connector); in rockchip_lvds_connector_get_modes() local
122 struct drm_panel *panel = lvds->panel; in rockchip_lvds_connector_get_modes()
145 static int rk3288_lvds_poweron(struct rockchip_lvds *lvds) in rk3288_lvds_poweron() argument
150 ret = clk_enable(lvds->pclk); in rk3288_lvds_poweron()
152 DRM_DEV_ERROR(lvds->dev, "failed to enable lvds pclk %d\n", ret); in rk3288_lvds_poweron()
[all …]
/linux-6.1.9/drivers/gpu/drm/panel/
Dpanel-lvds.c52 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()
58 regulator_disable(lvds->supply); in panel_lvds_unprepare()
65 struct panel_lvds *lvds = to_panel_lvds(panel); in panel_lvds_prepare() local
67 if (lvds->supply) { in panel_lvds_prepare()
70 err = regulator_enable(lvds->supply); in panel_lvds_prepare()
72 dev_err(lvds->dev, "failed to enable supply: %d\n", in panel_lvds_prepare()
78 if (lvds->enable_gpio) in panel_lvds_prepare()
[all …]
/linux-6.1.9/drivers/gpu/drm/rcar-du/
Drcar_lvds.c57 void (*pll_setup)(struct rcar_lvds *lvds, unsigned int freq);
83 static void rcar_lvds_write(struct rcar_lvds *lvds, u32 reg, u32 data) in rcar_lvds_write() argument
85 iowrite32(data, lvds->mmio + reg); in rcar_lvds_write()
92 static void rcar_lvds_pll_setup_gen2(struct rcar_lvds *lvds, unsigned int freq) in rcar_lvds_pll_setup_gen2() argument
105 rcar_lvds_write(lvds, LVDPLLCR, val); in rcar_lvds_pll_setup_gen2()
108 static void rcar_lvds_pll_setup_gen3(struct rcar_lvds *lvds, unsigned int freq) in rcar_lvds_pll_setup_gen3() argument
121 rcar_lvds_write(lvds, LVDPLLCR, val); in rcar_lvds_pll_setup_gen3()
133 static void rcar_lvds_d3_e3_pll_calc(struct rcar_lvds *lvds, struct clk *clk, in rcar_lvds_d3_e3_pll_calc() argument
257 dev_dbg(lvds->dev, in rcar_lvds_d3_e3_pll_calc()
264 static void __rcar_lvds_pll_setup_d3_e3(struct rcar_lvds *lvds, in __rcar_lvds_pll_setup_d3_e3() argument
[all …]
/linux-6.1.9/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
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
86 if (lvds->panel) { in sun4i_lvds_encoder_disable()
87 drm_panel_disable(lvds->panel); in sun4i_lvds_encoder_disable()
88 drm_panel_unprepare(lvds->panel); in sun4i_lvds_encoder_disable()
[all …]
/linux-6.1.9/Documentation/devicetree/bindings/display/bridge/
Drenesas,lvds.yaml4 $id: http://devicetree.org/schemas/display/bridge/renesas,lvds.yaml#
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
26 - renesas,r8a7790-lvds # for R-Car H2 compatible LVDS encoders
27 - renesas,r8a7791-lvds # for R-Car M2-W compatible LVDS encoders
[all …]
Dlvds-codec.yaml4 $id: http://devicetree.org/schemas/display/bridge/lvds-codec.yaml#
39 - const: lvds-encoder # Generic LVDS encoder compatible fallback
44 - const: lvds-decoder # Generic LVDS decoders compatible fallback
72 Documentation/devicetree/bindings/display/lvds.yaml
105 const: lvds-decoder
121 const: lvds-encoder
135 lvds-encoder {
136 compatible = "ti,ds90c185", "lvds-encoder";
161 lvds-decoder {
162 compatible = "ti,ds90cf384a", "lvds-decoder";
/linux-6.1.9/Documentation/devicetree/bindings/display/panel/
Dadvantech,idk-2121wr.yaml20 dual-lvds-odd-pixels or dual-lvds-even-pixels).
26 - {} # panel-lvds, but not listed here to avoid false select
48 dual-lvds-odd-pixels: true
51 - dual-lvds-odd-pixels
58 dual-lvds-even-pixels: true
61 - dual-lvds-even-pixels
79 panel-lvds {
80 compatible = "advantech,idk-2121wr", "panel-lvds";
105 dual-lvds-odd-pixels;
113 dual-lvds-even-pixels;
Dpanel-lvds.yaml4 $id: http://devicetree.org/schemas/display/panel/panel-lvds.yaml#
15 - $ref: /schemas/display/lvds.yaml/#
21 const: panel-lvds
45 - const: panel-lvds
Dsgd,gktw70sdae4se.yaml15 - $ref: /schemas/display/lvds.yaml/#
30 - const: panel-lvds
57 compatible = "sgd,gktw70sdae4se", "panel-lvds";
Dadvantech,idk-1110wr.yaml15 - $ref: /schemas/display/lvds.yaml/#
30 - const: panel-lvds
57 compatible = "advantech,idk-1110wr", "panel-lvds";
Dmitsubishi,aa104xd12.yaml15 - $ref: /schemas/display/lvds.yaml/#
30 - const: panel-lvds
62 compatible = "mitsubishi,aa104xd12", "panel-lvds";
Dmitsubishi,aa121td01.yaml15 - $ref: /schemas/display/lvds.yaml/#
30 - const: panel-lvds
61 compatible = "mitsubishi,aa121td01", "panel-lvds";
/linux-6.1.9/Documentation/devicetree/bindings/display/rockchip/
Drockchip-lvds.txt6 - "rockchip,rk3288-lvds";
7 - "rockchip,px30-lvds";
20 - rockchip,output: "rgb", "lvds" or "duallvds", This describes the output interface
31 The lvds has two video ports as described by
41 lvds_panel: lvds-panel {
55 lvds: lvds@ff96c000 {
56 compatible = "rockchip,rk3288-lvds";
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/bios/
Dbios_parser.c1215 ATOM_LVDS_INFO_V12 *lvds; in get_embedded_panel_info_v1_2() local
1223 lvds = in get_embedded_panel_info_v1_2()
1226 if (!lvds) in get_embedded_panel_info_v1_2()
1229 if (1 != lvds->sHeader.ucTableFormatRevision in get_embedded_panel_info_v1_2()
1230 || 2 > lvds->sHeader.ucTableContentRevision) in get_embedded_panel_info_v1_2()
1237 le16_to_cpu(lvds->sLCDTiming.usPixClk) * 10; in get_embedded_panel_info_v1_2()
1240 le16_to_cpu(lvds->sLCDTiming.usHActive); in get_embedded_panel_info_v1_2()
1246 le16_to_cpu(lvds->sLCDTiming.usHBlanking_Time); in get_embedded_panel_info_v1_2()
1249 le16_to_cpu(lvds->sLCDTiming.usVActive); in get_embedded_panel_info_v1_2()
1255 le16_to_cpu(lvds->sLCDTiming.usVBlanking_Time); in get_embedded_panel_info_v1_2()
[all …]
/linux-6.1.9/arch/arm64/boot/dts/renesas/
Dr8a774c0-ek874-idk-2121wr.dts23 panel-lvds {
24 compatible = "advantech,idk-2121wr", "panel-lvds";
49 dual-lvds-odd-pixels;
57 dual-lvds-even-pixels;
71 lvds-connector-en-hog {
75 line-name = "lvds-connector-en-gpio";
Drzg2-advantech-idk-1110wr-panel.dtsi10 panel-lvds {
11 compatible = "advantech,idk-1110wr", "panel-lvds";
/linux-6.1.9/drivers/gpu/drm/radeon/
Dradeon_combios.c1103 struct radeon_encoder_lvds *lvds = NULL; in radeon_legacy_get_lvds_info_from_regs() local
1108 lvds = kzalloc(sizeof(struct radeon_encoder_lvds), GFP_KERNEL); in radeon_legacy_get_lvds_info_from_regs()
1110 if (!lvds) in radeon_legacy_get_lvds_info_from_regs()
1117 lvds->panel_pwr_delay = 200; in radeon_legacy_get_lvds_info_from_regs()
1118 lvds->panel_vcc_delay = 2000; in radeon_legacy_get_lvds_info_from_regs()
1120 lvds->lvds_gen_cntl = RREG32(RADEON_LVDS_GEN_CNTL); in radeon_legacy_get_lvds_info_from_regs()
1121 lvds->panel_digon_delay = (lvds_ss_gen_cntl >> RADEON_LVDS_PWRSEQ_DELAY1_SHIFT) & 0xf; in radeon_legacy_get_lvds_info_from_regs()
1122 lvds->panel_blon_delay = (lvds_ss_gen_cntl >> RADEON_LVDS_PWRSEQ_DELAY2_SHIFT) & 0xf; in radeon_legacy_get_lvds_info_from_regs()
1125 lvds->native_mode.vdisplay = in radeon_legacy_get_lvds_info_from_regs()
1129 lvds->native_mode.vdisplay = in radeon_legacy_get_lvds_info_from_regs()
[all …]
Dradeon_legacy_encoders.c72 struct radeon_encoder_atom_dig *lvds = radeon_encoder->enc_priv; in radeon_legacy_lvds_update() local
73 panel_pwr_delay = lvds->panel_pwr_delay; in radeon_legacy_lvds_update()
74 if (lvds->bl_dev) in radeon_legacy_lvds_update()
75 backlight_level = lvds->backlight_level; in radeon_legacy_lvds_update()
77 struct radeon_encoder_lvds *lvds = radeon_encoder->enc_priv; in radeon_legacy_lvds_update() local
78 panel_pwr_delay = lvds->panel_pwr_delay; in radeon_legacy_lvds_update()
79 if (lvds->bl_dev) in radeon_legacy_lvds_update()
80 backlight_level = lvds->backlight_level; in radeon_legacy_lvds_update()
153 struct radeon_encoder_atom_dig *lvds = radeon_encoder->enc_priv; in radeon_legacy_lvds_dpms() local
154 lvds->dpms_mode = mode; in radeon_legacy_lvds_dpms()
[all …]
/linux-6.1.9/arch/arm/boot/dts/
Dimx6ull-colibri-iris-v2.dts24 lvds-power-on {
37 lvds-ch-mode {
47 lvds-rgb-mode {
59 lvds-color-map {
Dimx6ull-colibri-wifi-iris-v2.dts24 lvds-power-on {
37 lvds-ch-mode {
47 lvds-rgb-mode {
59 lvds-color-map {
Dimx7s-colibri-iris-v2.dts33 lvds-color-map-hog {
45 lvds-rgb-mode-hog {
56 lvds-ch-mode-hog {
64 lvds-power-on-hog {
Dimx7d-colibri-iris-v2.dts33 lvds-color-map-hog {
45 lvds-rgb-mode-hog {
56 lvds-ch-mode-hog {
64 lvds-power-on-hog {
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Datombios_encoders.c1976 struct amdgpu_encoder_atom_dig *lvds = NULL; in amdgpu_atombios_encoder_get_lcd_info() local
1983 lvds = in amdgpu_atombios_encoder_get_lcd_info()
1986 if (!lvds) in amdgpu_atombios_encoder_get_lcd_info()
1989 lvds->native_mode.clock = in amdgpu_atombios_encoder_get_lcd_info()
1991 lvds->native_mode.hdisplay = in amdgpu_atombios_encoder_get_lcd_info()
1993 lvds->native_mode.vdisplay = in amdgpu_atombios_encoder_get_lcd_info()
1995 lvds->native_mode.htotal = lvds->native_mode.hdisplay + in amdgpu_atombios_encoder_get_lcd_info()
1997 lvds->native_mode.hsync_start = lvds->native_mode.hdisplay + in amdgpu_atombios_encoder_get_lcd_info()
1999 lvds->native_mode.hsync_end = lvds->native_mode.hsync_start + in amdgpu_atombios_encoder_get_lcd_info()
2001 lvds->native_mode.vtotal = lvds->native_mode.vdisplay + in amdgpu_atombios_encoder_get_lcd_info()
[all …]
/linux-6.1.9/Documentation/devicetree/bindings/phy/
Dfsl,imx8qm-lvds-phy.yaml4 $id: http://devicetree.org/schemas/phy/fsl,imx8qm-lvds-phy.yaml#
30 - fsl,imx8qm-lvds-phy
31 - mixel,28fdsoi-lvds-1250-8ch-tx-pll
57 compatible = "fsl,imx8qm-lvds-phy";
/linux-6.1.9/Documentation/devicetree/bindings/mfd/
Dfsl,imx8qxp-csr.yaml28 - fsl,imx8qxp-mipi-lvds-csr
29 - fsl,imx8qm-lvds-csr
58 const: fsl,imx8qxp-mipi-lvds-csr
68 const: fsl,imx8qm-lvds-csr
81 compatible = "fsl,imx8qxp-mipi-lvds-csr", "syscon", "simple-mfd";

12345678