Home
last modified time | relevance | path

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

12345678910

/linux-6.15/drivers/gpu/drm/rockchip/
H A Drockchip_lvds.c250 if (lvds->pins && !IS_ERR(lvds->pins->default_state)) in rk3288_lvds_grf_config()
455 lvds->pclk = devm_clk_get_prepared(lvds->dev, "pclk_lvds"); in rk3288_lvds_probe()
457 return dev_err_probe(lvds->dev, PTR_ERR(lvds->pclk), in rk3288_lvds_probe()
460 lvds->pins = devm_kzalloc(lvds->dev, sizeof(*lvds->pins), in rk3288_lvds_probe()
465 lvds->pins->p = devm_pinctrl_get(lvds->dev); in rk3288_lvds_probe()
468 devm_kfree(lvds->dev, lvds->pins); in rk3288_lvds_probe()
475 devm_kfree(lvds->dev, lvds->pins); in rk3288_lvds_probe()
557 &lvds->panel, &lvds->bridge); in rockchip_lvds_bind()
692 lvds = devm_kzalloc(&pdev->dev, sizeof(*lvds), GFP_KERNEL); in rockchip_lvds_probe()
693 if (!lvds) in rockchip_lvds_probe()
[all …]
/linux-6.15/drivers/gpu/drm/panel/
H A Dpanel-lvds.c54 if (lvds->enable_gpio) in panel_lvds_unprepare()
57 if (lvds->supply) in panel_lvds_unprepare()
67 if (lvds->supply) { in panel_lvds_prepare()
137 ret = of_get_drm_panel_display_mode(np, &lvds->dmode, &lvds->bus_flags); in panel_lvds_parse_dt()
167 lvds = devm_kzalloc(&pdev->dev, sizeof(*lvds), GFP_KERNEL); in panel_lvds_probe()
168 if (!lvds) in panel_lvds_probe()
177 lvds->supply = devm_regulator_get_optional(lvds->dev, "power"); in panel_lvds_probe()
192 lvds->enable_gpio = devm_gpiod_get_optional(lvds->dev, "enable", in panel_lvds_probe()
201 lvds->reset_gpio = devm_gpiod_get_optional(lvds->dev, "reset", in panel_lvds_probe()
218 drm_panel_init(&lvds->panel, lvds->dev, &panel_lvds_funcs, in panel_lvds_probe()
[all …]
/linux-6.15/drivers/gpu/drm/renesas/rcar-du/
H A Drcar_lvds.c282 rcar_lvds_d3_e3_pll_calc(lvds, lvds->clocks.extal, freq, &pll, in rcar_lvds_pll_setup_d3_e3()
322 if (!lvds->panel) in rcar_lvds_get_lvds_mode()
368 if (lvds->link_type != RCAR_LVDS_SINGLE_LINK && lvds->companion) in rcar_lvds_enable()
434 lvds->info->pll_setup(lvds, mode->clock * 1000); in rcar_lvds_enable()
531 if (lvds->link_type != RCAR_LVDS_SINGLE_LINK && lvds->companion) in rcar_lvds_disable()
778 &lvds->panel, &lvds->next_bridge); in rcar_lvds_parse_dt()
783 lvds->next_bridge = devm_drm_panel_bridge_add(lvds->dev, in rcar_lvds_parse_dt()
827 lvds->clocks.mod = rcar_lvds_get_clock(lvds, NULL, false); in rcar_lvds_get_clocks()
837 lvds->clocks.extal = rcar_lvds_get_clock(lvds, "extal", true); in rcar_lvds_get_clocks()
850 if (!lvds->clocks.extal && !lvds->clocks.dotclkin[0] && in rcar_lvds_get_clocks()
[all …]
/linux-6.15/drivers/gpu/drm/stm/
H A Dlvds.c284 typeof(lvds) __lvds = (lvds); \
301 lvds_write(lvds, reg, lvds_read(lvds, reg) | mask); in lvds_set()
612 lvds_clear(lvds, lvds->primary->base + lvds->primary->ofs.GCR, in lvds_pixel_clk_disable()
614 lvds_clear(lvds, lvds->primary->base + lvds->primary->ofs.PLLCR1, in lvds_pixel_clk_disable()
616 lvds_clear(lvds, lvds->primary->base + lvds->primary->ofs.GCR, in lvds_pixel_clk_disable()
621 lvds_clear(lvds, lvds->secondary->base + lvds->secondary->ofs.GCR, in lvds_pixel_clk_disable()
623 lvds_clear(lvds, lvds->secondary->base + lvds->secondary->ofs.PLLCR1, in lvds_pixel_clk_disable()
625 lvds_clear(lvds, lvds->secondary->base + lvds->secondary->ofs.GCR, in lvds_pixel_clk_disable()
653 val = lvds_read(lvds, lvds->primary->base + lvds->primary->ofs.PLLCR2); in lvds_pixel_clk_recalc_rate()
1060 &lvds->panel, &lvds->next_bridge); in lvds_probe()
[all …]
/linux-6.15/drivers/gpu/drm/bridge/
H A Dmicrochip-lvds.c132 lvds_serialiser_on(lvds); in mchp_lvds_enable()
139 pm_runtime_put(lvds->dev); in mchp_lvds_disable()
152 struct mchp_lvds *lvds; in mchp_lvds_probe() local
159 lvds = devm_kzalloc(&pdev->dev, sizeof(*lvds), GFP_KERNEL); in mchp_lvds_probe()
160 if (!lvds) in mchp_lvds_probe()
163 lvds->dev = dev; in mchp_lvds_probe()
166 if (IS_ERR(lvds->regs)) in mchp_lvds_probe()
169 lvds->pclk = devm_clk_get(lvds->dev, "pclk"); in mchp_lvds_probe()
170 if (IS_ERR(lvds->pclk)) in mchp_lvds_probe()
171 return dev_err_probe(lvds->dev, PTR_ERR(lvds->pclk), in mchp_lvds_probe()
[all …]
/linux-6.15/drivers/gpu/drm/sun4i/
H A Dsun4i_lvds.c44 struct sun4i_lvds *lvds = in sun4i_lvds_get_modes() local
74 if (lvds->panel) { in sun4i_lvds_encoder_enable()
76 drm_panel_enable(lvds->panel); in sun4i_lvds_encoder_enable()
86 if (lvds->panel) { in sun4i_lvds_encoder_disable()
101 struct sun4i_lvds *lvds; in sun4i_lvds_init() local
104 lvds = devm_kzalloc(drm->dev, sizeof(*lvds), GFP_KERNEL); in sun4i_lvds_init()
105 if (!lvds) in sun4i_lvds_init()
107 encoder = &lvds->encoder; in sun4i_lvds_init()
110 &lvds->panel, &bridge); in sun4i_lvds_init()
128 if (lvds->panel) { in sun4i_lvds_init()
[all …]
/linux-6.15/Documentation/devicetree/bindings/display/bridge/
H A Drenesas,lvds.yaml4 $id: http://devicetree.org/schemas/display/bridge/renesas,lvds.yaml#
19 - renesas,r8a7742-lvds # for RZ/G1H compatible LVDS encoders
91 - renesas,r8a774c0-lvds
92 - renesas,r8a77990-lvds
93 - renesas,r8a77995-lvds
145 lvds@feb90000 {
146 compatible = "renesas,r8a7795-lvds";
175 lvds0: lvds@feb90000 {
176 compatible = "renesas,r8a77990-lvds";
206 lvds1: lvds@feb90100 {
[all …]
H A Dlvds-codec.yaml4 $id: http://devicetree.org/schemas/display/bridge/lvds-codec.yaml#
39 - const: lvds-encoder # Generic LVDS encoder compatible fallback
46 - const: lvds-decoder # Generic LVDS decoders compatible fallback
74 Documentation/devicetree/bindings/display/lvds.yaml
107 const: lvds-decoder
123 const: lvds-encoder
137 lvds-encoder {
138 compatible = "ti,ds90c185", "lvds-encoder";
163 lvds-decoder {
164 compatible = "ti,ds90cf384a", "lvds-decoder";
H A Dmicrochip,sam9x75-lvds.yaml4 $id: http://devicetree.org/schemas/display/bridge/microchip,sam9x75-lvds.yaml#
20 const: microchip,sam9x75-lvds
49 lvds-controller@f8060000 {
50 compatible = "microchip,sam9x75-lvds";
/linux-6.15/Documentation/devicetree/bindings/display/
H A Dlvds-dual-ports.yaml4 $id: http://devicetree.org/schemas/display/lvds-dual-ports.yaml#
14 common properties defined in lvds.yaml.
22 - $ref: lvds.yaml#
37 dual-lvds-odd-pixels:
41 dual-lvds-even-pixels:
46 - required: [dual-lvds-odd-pixels]
47 - required: [dual-lvds-even-pixels]
49 dual-lvds-odd-pixels: false
50 dual-lvds-even-pixels: false
/linux-6.15/Documentation/devicetree/bindings/display/panel/
H A Dadvantech,idk-2121wr.yaml20 dual-lvds-odd-pixels or dual-lvds-even-pixels).
23 - $ref: /schemas/display/lvds-dual-ports.yaml#
30 - {} # panel-lvds, but not listed here to avoid false select
49 - dual-lvds-odd-pixels
53 - dual-lvds-even-pixels
70 panel-lvds {
71 compatible = "advantech,idk-2121wr", "panel-lvds";
96 dual-lvds-odd-pixels;
104 dual-lvds-even-pixels;
H A Dpanel-simple-lvds-dual-ports.yaml4 $id: http://devicetree.org/schemas/display/panel/panel-simple-lvds-dual-ports.yaml#
25 - $ref: /schemas/display/lvds-dual-ports.yaml#
62 - dual-lvds-odd-pixels
66 - dual-lvds-even-pixels
80 panel: panel-lvds {
89 dual-lvds-odd-pixels;
98 dual-lvds-even-pixels;
H A Dpanel-lvds.yaml4 $id: http://devicetree.org/schemas/display/panel/panel-lvds.yaml#
15 - $ref: /schemas/display/lvds.yaml#
21 const: panel-lvds
59 - const: panel-lvds
/linux-6.15/Documentation/devicetree/bindings/display/rockchip/
H A Drockchip,lvds.yaml4 $id: http://devicetree.org/schemas/display/rockchip/rockchip,lvds.yaml#
16 - rockchip,px30-lvds
17 - rockchip,rk3288-lvds
43 enum: [rgb, lvds, duallvds]
90 const: rockchip,px30-lvds
109 const: rockchip,rk3288-lvds
130 lvds: lvds@ff96c000 {
131 compatible = "rockchip,rk3288-lvds";
/linux-6.15/drivers/gpu/drm/amd/display/dc/bios/
H A Dbios_parser.c1225 ATOM_LVDS_INFO_V12 *lvds; in get_embedded_panel_info_v1_2() local
1233 lvds = in get_embedded_panel_info_v1_2()
1236 if (!lvds) in get_embedded_panel_info_v1_2()
1250 le16_to_cpu(lvds->sLCDTiming.usHActive); in get_embedded_panel_info_v1_2()
1296 info->ss_id = lvds->ucSS_Id; in get_embedded_panel_info_v1_2()
1315 & lvds->ucLCDPanel_SpecialHandlingCap) in get_embedded_panel_info_v1_2()
1344 ATOM_LCD_INFO_V13 *lvds; in get_embedded_panel_info_v1_3() local
1354 if (!lvds) in get_embedded_panel_info_v1_3()
1377 le16_to_cpu(lvds->sLCDTiming.usVActive); in get_embedded_panel_info_v1_3()
1414 info->ss_id = lvds->ucSS_Id; in get_embedded_panel_info_v1_3()
[all …]
/linux-6.15/drivers/gpu/drm/radeon/
H A Dradeon_combios.c1095 if (!lvds) in radeon_legacy_get_lvds_info_from_regs()
1151 return lvds; in radeon_legacy_get_lvds_info_from_regs()
1170 if (!lvds) in radeon_combios_get_lvds_info()
1247 lvds->native_mode.htotal = lvds->native_mode.hdisplay + in radeon_combios_get_lvds_info()
1249 lvds->native_mode.hsync_start = lvds->native_mode.hdisplay + in radeon_combios_get_lvds_info()
1251 lvds->native_mode.hsync_end = lvds->native_mode.hsync_start + in radeon_combios_get_lvds_info()
1254 lvds->native_mode.vtotal = lvds->native_mode.vdisplay + in radeon_combios_get_lvds_info()
1256 lvds->native_mode.vsync_start = lvds->native_mode.vdisplay + in radeon_combios_get_lvds_info()
1258 lvds->native_mode.vsync_end = lvds->native_mode.vsync_start + in radeon_combios_get_lvds_info()
1273 if (lvds) in radeon_combios_get_lvds_info()
[all …]
H A Dradeon_legacy_encoders.c74 if (lvds->bl_dev) in radeon_legacy_lvds_update()
79 if (lvds->bl_dev) in radeon_legacy_lvds_update()
154 lvds->dpms_mode = mode; in radeon_legacy_lvds_dpms()
157 lvds->dpms_mode = mode; in radeon_legacy_lvds_dpms()
211 if (lvds) { in radeon_legacy_lvds_mode_set()
446 lvds->bl_dev = bd; in radeon_legacy_backlight_init()
449 lvds->bl_dev = bd; in radeon_legacy_backlight_init()
477 bd = lvds->bl_dev; in radeon_legacy_backlight_exit()
478 lvds->bl_dev = NULL; in radeon_legacy_backlight_exit()
481 bd = lvds->bl_dev; in radeon_legacy_backlight_exit()
[all …]
/linux-6.15/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-hog {
75 line-name = "lvds-connector-en-gpio";
/linux-6.15/arch/arm/boot/dts/nxp/imx/
H A Dimx6q-var-mx6customboard.dts18 panel0: lvds-panel0 {
19 compatible = "panel-lvds";
45 panel1: lvds-panel1 {
46 compatible = "panel-lvds";
70 backlight_lvds: backlight-lvds {
205 lvds-channel@0 {
219 lvds-channel@1 {
H A Dimx6ull-colibri-wifi-iris-v2.dts32 lvds-power-on-hog {
45 lvds-ch-mode-hog {
55 lvds-rgb-mode-hog {
67 lvds-color-map-hog {
H A Dimx7d-colibri-iris-v2.dts33 lvds-color-map-hog {
45 lvds-rgb-mode-hog {
56 lvds-ch-mode-hog {
64 lvds-power-on-hog {
H A Dimx7s-colibri-iris-v2.dts33 lvds-color-map-hog {
45 lvds-rgb-mode-hog {
56 lvds-ch-mode-hog {
64 lvds-power-on-hog {
H A Dimx6ull-colibri-iris-v2.dts32 lvds-power-on-hog {
45 lvds-ch-mode-hog {
55 lvds-rgb-mode-hog {
67 lvds-color-map-hog {
/linux-6.15/arch/arm64/boot/dts/freescale/
H A Dimx8mp-evk-lvds0-imx-dlvds-hdmi-channel0.dtso6 #include "imx8mp-evk-lvds0-imx-lvds-hdmi-common.dtsi"
12 dual-lvds-odd-pixels;
21 dual-lvds-even-pixels;
H A Dimx8mp-evk-lvds1-imx-dlvds-hdmi-channel0.dtso6 #include "imx8mp-evk-lvds1-imx-lvds-hdmi-common.dtsi"
12 dual-lvds-even-pixels;
21 dual-lvds-odd-pixels;

12345678910