Home
last modified time | relevance | path

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

123456789

/OK3568_Linux_fs/kernel/drivers/gpu/drm/rockchip/
H A Drockchip_lvds.c95 int (*probe)(struct rockchip_lvds *lvds);
96 void (*enable)(struct rockchip_lvds *lvds);
97 void (*disable)(struct rockchip_lvds *lvds);
139 struct rockchip_lvds *lvds = connector_to_lvds(connector); in rockchip_lvds_atomic_connector_get_property() local
143 *val = lvds->id; in rockchip_lvds_atomic_connector_get_property()
162 struct rockchip_lvds *lvds = connector_to_lvds(connector); in rockchip_lvds_connector_get_modes() local
163 struct drm_panel *panel = lvds->panel; in rockchip_lvds_connector_get_modes()
178 struct rockchip_lvds *lvds = encoder_to_lvds(encoder); in rockchip_lvds_encoder_atomic_mode_set() local
179 struct drm_connector *connector = &lvds->connector; in rockchip_lvds_encoder_atomic_mode_set()
188 lvds->format = LVDS_8BIT_MODE_FORMAT_2; in rockchip_lvds_encoder_atomic_mode_set()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/panel/
H A Dpanel-lvds.c51 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()
77 if (lvds->enable_gpio) in panel_lvds_prepare()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/rcar-du/
H A Drcar_lvds.c56 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
167 rcar_lvds_write(lvds, LVDPLLCR, val); in rcar_lvds_pll_setup_gen2()
170 static void rcar_lvds_pll_setup_gen3(struct rcar_lvds *lvds, unsigned int freq) in rcar_lvds_pll_setup_gen3() argument
[all …]
H A Drcar_du_of.c105 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),
116 RCAR_DU_OF_OVERLAY(lvds, r8a7796),
[all …]
H A Drcar_du_of_lvds_r8a7790.dts15 lvds@feb90000 {
16 compatible = "renesas,r8a7790-lvds";
36 lvds@feb94000 {
37 compatible = "renesas,r8a7790-lvds";
H A Drcar_du_of_lvds_r8a7791.dts15 lvds@feb90000 {
16 compatible = "renesas,r8a7791-lvds";
H A Drcar_du_of_lvds_r8a7793.dts15 lvds@feb90000 {
16 compatible = "renesas,r8a7793-lvds";
/OK3568_Linux_fs/u-boot/drivers/video/drm/
H A Drockchip_lvds.c93 void (*enable)(struct rockchip_lvds *lvds, int pipe);
94 void (*disable)(struct rockchip_lvds *lvds);
113 struct rockchip_lvds *lvds = dev_get_priv(conn->dev); in rockchip_lvds_connector_init() local
117 lvds->mode = &conn_state->mode; in rockchip_lvds_connector_init()
118 lvds->phy = conn->phy; in rockchip_lvds_connector_init()
119 conn_state->disp_info = rockchip_get_disp_info(conn_state->type, lvds->id); in rockchip_lvds_connector_init()
123 lvds->format = LVDS_6BIT_MODE; in rockchip_lvds_connector_init()
126 lvds->format = LVDS_8BIT_MODE_FORMAT_2; in rockchip_lvds_connector_init()
129 lvds->format = LVDS_10BIT_MODE_FORMAT_1; in rockchip_lvds_connector_init()
131 lvds->format = LVDS_8BIT_MODE_FORMAT_3; in rockchip_lvds_connector_init()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/rockchip/rk618/
H A Drk618_lvds.c62 struct rk618_lvds *lvds = connector_to_lvds(connector); in rk618_lvds_connector_best_encoder() local
64 return lvds->base.encoder; in rk618_lvds_connector_best_encoder()
69 struct rk618_lvds *lvds = connector_to_lvds(connector); in rk618_lvds_connector_get_modes() local
74 num_modes = drm_panel_get_modes(lvds->panel, connector); in rk618_lvds_connector_get_modes()
77 lvds->bus_format = info->bus_formats[0]; in rk618_lvds_connector_get_modes()
79 lvds->bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG; in rk618_lvds_connector_get_modes()
115 struct rk618_lvds *lvds = bridge_to_lvds(bridge); in rk618_lvds_bridge_enable() local
119 clk_prepare_enable(lvds->clock); in rk618_lvds_bridge_enable()
121 rk618_frc_dclk_invert(lvds->parent); in rk618_lvds_bridge_enable()
122 rk618_frc_dither_init(lvds->parent, lvds->bus_format); in rk618_lvds_bridge_enable()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/rockchip/rk628/
H A Drk628_lvds.c76 static enum lvds_link_type rk628_lvds_get_link_type(struct rk628_lvds *lvds) in rk628_lvds_get_link_type() argument
78 struct device *dev = lvds->dev; in rk628_lvds_get_link_type()
101 struct rk628_lvds *lvds = connector_to_lvds(connector); in rk628_lvds_connector_best_encoder() local
103 return lvds->base.encoder; in rk628_lvds_connector_best_encoder()
108 struct rk628_lvds *lvds = connector_to_lvds(connector); in rk628_lvds_connector_get_modes() local
112 num_modes = drm_panel_get_modes(lvds->panel, connector); in rk628_lvds_connector_get_modes()
115 lvds->format = rk628_lvds_get_format(info->bus_formats[0]); in rk628_lvds_connector_get_modes()
117 lvds->format = LVDS_FORMAT_VESA_24BIT; in rk628_lvds_connector_get_modes()
143 struct rk628_lvds *lvds = bridge_to_lvds(bridge); in rk628_lvds_bridge_enable() local
144 const struct drm_display_mode *mode = &lvds->mode; in rk628_lvds_bridge_enable()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/sun4i/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/misc/rk628/
H A Drk628_lvds.c37 rk628->lvds.format = LVDS_FORMAT_JEIDA_24BIT; in rk628_lvds_parse()
39 rk628->lvds.format = LVDS_FORMAT_JEIDA_18BIT; in rk628_lvds_parse()
41 rk628->lvds.format = LVDS_FORMAT_VESA_18BIT; in rk628_lvds_parse()
43 rk628->lvds.format = LVDS_FORMAT_VESA_24BIT; in rk628_lvds_parse()
48 rk628->lvds.link_type = LVDS_DUAL_LINK_ODD_EVEN_PIXELS; in rk628_lvds_parse()
50 rk628->lvds.link_type = LVDS_DUAL_LINK_EVEN_ODD_PIXELS; in rk628_lvds_parse()
52 rk628->lvds.link_type = LVDS_DUAL_LINK_LEFT_RIGHT_PIXELS; in rk628_lvds_parse()
54 rk628->lvds.link_type = LVDS_DUAL_LINK_RIGHT_LEFT_PIXELS; in rk628_lvds_parse()
56 rk628->lvds.link_type = LVDS_SINGLE_LINK; in rk628_lvds_parse()
68 enum lvds_link_type link_type = rk628->lvds.link_type; in rk628_lvds_enable()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/bios/
H A Dbios_parser.c1212 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()
1243 le16_to_cpu(lvds->sLCDTiming.usHBlanking_Time); in get_embedded_panel_info_v1_2()
1246 le16_to_cpu(lvds->sLCDTiming.usVActive); in get_embedded_panel_info_v1_2()
1252 le16_to_cpu(lvds->sLCDTiming.usVBlanking_Time); in get_embedded_panel_info_v1_2()
[all …]
H A Dbios_parser2.c921 struct lcd_info_v2_1 *lvds; in get_embedded_panel_info_v2_1() local
929 lvds = GET_IMAGE(struct lcd_info_v2_1, DATA_TABLES(lcd_info)); in get_embedded_panel_info_v2_1()
931 if (!lvds) in get_embedded_panel_info_v2_1()
935 if (!((lvds->table_header.format_revision == 2) in get_embedded_panel_info_v2_1()
936 && (lvds->table_header.content_revision >= 1))) in get_embedded_panel_info_v2_1()
942 info->lcd_timing.pixel_clk = le16_to_cpu(lvds->lcd_timing.pixclk) * 10; in get_embedded_panel_info_v2_1()
944 info->lcd_timing.horizontal_addressable = le16_to_cpu(lvds->lcd_timing.h_active); in get_embedded_panel_info_v2_1()
950 info->lcd_timing.horizontal_blanking_time = le16_to_cpu(lvds->lcd_timing.h_blanking_time); in get_embedded_panel_info_v2_1()
952 info->lcd_timing.vertical_addressable = le16_to_cpu(lvds->lcd_timing.v_active); in get_embedded_panel_info_v2_1()
958 info->lcd_timing.vertical_blanking_time = le16_to_cpu(lvds->lcd_timing.v_blanking_time); in get_embedded_panel_info_v2_1()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/radeon/
H A 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 …]
H A 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()
150 struct radeon_encoder_atom_dig *lvds = radeon_encoder->enc_priv; in radeon_legacy_lvds_dpms() local
151 lvds->dpms_mode = mode; in radeon_legacy_lvds_dpms()
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/display/rockchip/
H A 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";
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/renesas/
H A 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-gpio{
75 line-name = "lvds-connector-en-gpio";
/OK3568_Linux_fs/u-boot/doc/device-tree-bindings/video/
H A Drockchip-lvds.txt5 - compatible: "rockchip,rk3288-lvds";
26 lvds: lvds@ff96c000 {
27 compatible = "rockchip,rk3288-lvds";
57 &lvds {
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/video/
H A Drockchip_lvds.txt5 - compatible: value should be "rockchip,rk32-lvds".
16 lvds: lvds@ff96c000 {
17 compatible = "rockchip,rk32-lvds";
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/amdgpu/
H A Datombios_encoders.c2008 struct amdgpu_encoder_atom_dig *lvds = NULL; in amdgpu_atombios_encoder_get_lcd_info() local
2015 lvds = in amdgpu_atombios_encoder_get_lcd_info()
2018 if (!lvds) in amdgpu_atombios_encoder_get_lcd_info()
2021 lvds->native_mode.clock = in amdgpu_atombios_encoder_get_lcd_info()
2023 lvds->native_mode.hdisplay = in amdgpu_atombios_encoder_get_lcd_info()
2025 lvds->native_mode.vdisplay = in amdgpu_atombios_encoder_get_lcd_info()
2027 lvds->native_mode.htotal = lvds->native_mode.hdisplay + in amdgpu_atombios_encoder_get_lcd_info()
2029 lvds->native_mode.hsync_start = lvds->native_mode.hdisplay + in amdgpu_atombios_encoder_get_lcd_info()
2031 lvds->native_mode.hsync_end = lvds->native_mode.hsync_start + in amdgpu_atombios_encoder_get_lcd_info()
2033 lvds->native_mode.vtotal = lvds->native_mode.vdisplay + in amdgpu_atombios_encoder_get_lcd_info()
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/display/imx/
H A Dldb.txt6 The LVDS Display Bridge device tree node contains up to two lvds-channel
57 (lvds-channel@[0,1], respectively).
95 lvds-channel@0 {
118 lvds-channel@1 {
139 panel: lvds-panel {
/OK3568_Linux_fs/kernel/drivers/gpu/drm/gma500/
H A Dpsb_intel_display.c224 u32 lvds = REG_READ(LVDS); in psb_intel_crtc_mode_set() local
226 lvds &= ~LVDS_PIPEB_SELECT; in psb_intel_crtc_mode_set()
228 lvds |= LVDS_PIPEB_SELECT; in psb_intel_crtc_mode_set()
230 lvds |= LVDS_PORT_EN | LVDS_A0A2_CLKA_POWER_UP; in psb_intel_crtc_mode_set()
235 lvds &= ~(LVDS_B0B3_POWER_UP | LVDS_CLKB_POWER_UP); in psb_intel_crtc_mode_set()
237 lvds |= LVDS_B0B3_POWER_UP | LVDS_CLKB_POWER_UP; in psb_intel_crtc_mode_set()
244 REG_WRITE(LVDS, lvds); in psb_intel_crtc_mode_set()
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/rockchip/
H A Dpx30-ad-r35-mb-rk618-lvds.dts91 lvds {
92 compatible = "rockchip,rk618-lvds";
94 clock-names = "lvds";
H A Dpx30-ad-r35-mb-rk618-dual-lvds.dts91 lvds {
92 compatible = "rockchip,rk618-lvds";
94 clock-names = "lvds";

123456789