/openbmc/linux/drivers/gpu/drm/rockchip/ |
H A D | rockchip_lvds.c | 45 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 …]
|
/openbmc/linux/drivers/gpu/drm/renesas/rcar-du/ |
H A D | rcar_lvds.c | 59 void (*pll_setup)(struct rcar_lvds *lvds, unsigned int freq); 86 static u32 rcar_lvds_read(struct rcar_lvds *lvds, u32 reg) in rcar_lvds_read() argument 88 return ioread32(lvds->mmio + reg); in rcar_lvds_read() 91 static void rcar_lvds_write(struct rcar_lvds *lvds, u32 reg, u32 data) in rcar_lvds_write() argument 93 iowrite32(data, lvds->mmio + reg); in rcar_lvds_write() 100 static void rcar_lvds_pll_setup_gen2(struct rcar_lvds *lvds, unsigned int freq) in rcar_lvds_pll_setup_gen2() argument 113 rcar_lvds_write(lvds, LVDPLLCR, val); in rcar_lvds_pll_setup_gen2() 116 static void rcar_lvds_pll_setup_gen3(struct rcar_lvds *lvds, unsigned int freq) in rcar_lvds_pll_setup_gen3() argument 129 rcar_lvds_write(lvds, LVDPLLCR, val); in rcar_lvds_pll_setup_gen3() 141 static void rcar_lvds_d3_e3_pll_calc(struct rcar_lvds *lvds, struct clk *clk, in rcar_lvds_d3_e3_pll_calc() argument [all …]
|
/openbmc/linux/drivers/gpu/drm/panel/ |
H A D | panel-lvds.c | 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() 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 …]
|
/openbmc/linux/drivers/gpu/drm/sun4i/ |
H A D | sun4i_lvds.c | 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 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 …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/bios/ |
H A D | bios_parser.c | 1227 ATOM_LVDS_INFO_V12 *lvds; in get_embedded_panel_info_v1_2() local 1235 lvds = in get_embedded_panel_info_v1_2() 1238 if (!lvds) in get_embedded_panel_info_v1_2() 1241 if (1 != lvds->sHeader.ucTableFormatRevision in get_embedded_panel_info_v1_2() 1242 || 2 > lvds->sHeader.ucTableContentRevision) in get_embedded_panel_info_v1_2() 1249 le16_to_cpu(lvds->sLCDTiming.usPixClk) * 10; in get_embedded_panel_info_v1_2() 1252 le16_to_cpu(lvds->sLCDTiming.usHActive); in get_embedded_panel_info_v1_2() 1258 le16_to_cpu(lvds->sLCDTiming.usHBlanking_Time); in get_embedded_panel_info_v1_2() 1261 le16_to_cpu(lvds->sLCDTiming.usVActive); in get_embedded_panel_info_v1_2() 1267 le16_to_cpu(lvds->sLCDTiming.usVBlanking_Time); in get_embedded_panel_info_v1_2() [all …]
|
/openbmc/linux/drivers/gpu/drm/radeon/ |
H A D | radeon_combios.c | 1103 struct radeon_encoder_lvds *lvds; 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 …]
|
H A D | radeon_legacy_encoders.c | 72 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 …]
|
H A D | radeon_atombios.c | 1626 struct radeon_encoder_atom_dig *lvds = NULL; in radeon_atombios_get_lvds_info() local 1633 lvds = in radeon_atombios_get_lvds_info() 1636 if (!lvds) in radeon_atombios_get_lvds_info() 1639 lvds->native_mode.clock = in radeon_atombios_get_lvds_info() 1641 lvds->native_mode.hdisplay = in radeon_atombios_get_lvds_info() 1643 lvds->native_mode.vdisplay = in radeon_atombios_get_lvds_info() 1645 lvds->native_mode.htotal = lvds->native_mode.hdisplay + in radeon_atombios_get_lvds_info() 1647 lvds->native_mode.hsync_start = lvds->native_mode.hdisplay + in radeon_atombios_get_lvds_info() 1649 lvds->native_mode.hsync_end = lvds->native_mode.hsync_start + in radeon_atombios_get_lvds_info() 1651 lvds->native_mode.vtotal = lvds->native_mode.vdisplay + in radeon_atombios_get_lvds_info() [all …]
|
/openbmc/linux/arch/arm64/boot/dts/renesas/ |
H A D | r8a774c0-ek874-idk-2121wr.dts | 23 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";
|
H A D | rzg2-advantech-idk-1110wr-panel.dtsi | 10 panel-lvds { 11 compatible = "advantech,idk-1110wr", "panel-lvds";
|
H A D | hihope-rzg2-ex-lvds.dtsi | 23 lvds-connector-en-hog { 27 line-name = "lvds-connector-en-gpio";
|
/openbmc/u-boot/doc/device-tree-bindings/video/ |
H A D | rockchip-lvds.txt | 5 - compatible: "rockchip,rk3288-lvds"; 26 lvds: lvds@ff96c000 { 27 compatible = "rockchip,rk3288-lvds"; 57 &lvds {
|
/openbmc/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx7d-colibri-iris-v2.dts | 33 lvds-color-map-hog { 45 lvds-rgb-mode-hog { 56 lvds-ch-mode-hog { 64 lvds-power-on-hog {
|
H A D | imx6ull-colibri-wifi-iris-v2.dts | 32 lvds-power-on-hog { 45 lvds-ch-mode-hog { 55 lvds-rgb-mode-hog { 67 lvds-color-map-hog {
|
H A D | imx7s-colibri-iris-v2.dts | 33 lvds-color-map-hog { 45 lvds-rgb-mode-hog { 56 lvds-ch-mode-hog { 64 lvds-power-on-hog {
|
H A D | imx6ull-colibri-iris-v2.dts | 32 lvds-power-on-hog { 45 lvds-ch-mode-hog { 55 lvds-rgb-mode-hog { 67 lvds-color-map-hog {
|
H A D | imx6q-var-dt6customboard.dts | 73 panel1: lvds-panel { 74 compatible = "sgd,gktw70sdae4se", "panel-lvds"; 192 lvds-channel@1 {
|
H A D | imx6q-logicpd.dts | 14 backlight: backlight-lvds { 89 lvds-channel@0 {
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | atombios_encoders.c | 1975 struct amdgpu_encoder_atom_dig *lvds = NULL; in amdgpu_atombios_encoder_get_lcd_info() local 1982 lvds = in amdgpu_atombios_encoder_get_lcd_info() 1985 if (!lvds) in amdgpu_atombios_encoder_get_lcd_info() 1988 lvds->native_mode.clock = in amdgpu_atombios_encoder_get_lcd_info() 1990 lvds->native_mode.hdisplay = in amdgpu_atombios_encoder_get_lcd_info() 1992 lvds->native_mode.vdisplay = in amdgpu_atombios_encoder_get_lcd_info() 1994 lvds->native_mode.htotal = lvds->native_mode.hdisplay + in amdgpu_atombios_encoder_get_lcd_info() 1996 lvds->native_mode.hsync_start = lvds->native_mode.hdisplay + in amdgpu_atombios_encoder_get_lcd_info() 1998 lvds->native_mode.hsync_end = lvds->native_mode.hsync_start + in amdgpu_atombios_encoder_get_lcd_info() 2000 lvds->native_mode.vtotal = lvds->native_mode.vdisplay + in amdgpu_atombios_encoder_get_lcd_info() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/display/imx/ |
H A D | ldb.txt | 6 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 {
|
/openbmc/linux/drivers/gpu/drm/gma500/ |
H A D | psb_intel_display.c | 230 u32 lvds = REG_READ(LVDS); in psb_intel_crtc_mode_set() local 232 lvds &= ~LVDS_PIPEB_SELECT; in psb_intel_crtc_mode_set() 234 lvds |= LVDS_PIPEB_SELECT; in psb_intel_crtc_mode_set() 236 lvds |= LVDS_PORT_EN | LVDS_A0A2_CLKA_POWER_UP; in psb_intel_crtc_mode_set() 241 lvds &= ~(LVDS_B0B3_POWER_UP | LVDS_CLKB_POWER_UP); in psb_intel_crtc_mode_set() 243 lvds |= LVDS_B0B3_POWER_UP | LVDS_CLKB_POWER_UP; in psb_intel_crtc_mode_set() 250 REG_WRITE(LVDS, lvds); in psb_intel_crtc_mode_set()
|
/openbmc/linux/arch/arm/boot/dts/nvidia/ |
H A D | tegra30-asus-lvds-display.dtsi | 36 lvds-encoder { 37 compatible = "ti,sn75lvds83", "lvds-encoder";
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvif/ |
H A D | outp.c | 155 args.lvds.dual = dual; in nvif_outp_acquire_lvds() 156 args.lvds.bpc8 = bpc8; in nvif_outp_acquire_lvds() 161 args.lvds.dual, args.lvds.bpc8, args.or, args.link); in nvif_outp_acquire_lvds()
|
/openbmc/u-boot/drivers/video/rockchip/ |
H A D | rk_lvds.c | 43 static inline void lvds_writel(struct rk_lvds_priv *lvds, u32 offset, u32 val) in lvds_writel() argument 45 writel(val, lvds->regs + offset); in lvds_writel() 47 writel(val, lvds->regs + offset + 0x100); in lvds_writel()
|
/openbmc/linux/arch/arm/boot/dts/microchip/ |
H A D | at91-nattis-2-natte-2.dts | 67 compatible = "sharp,lq150x1lg11", "panel-lvds"; 97 lvds-encoder { 98 compatible = "ti,ds90c185", "lvds-encoder";
|