Searched refs:panel (Results 1 - 25 of 47) sorted by relevance

12

/u-boot/drivers/video/ti/
H A DMakefile6 obj-$(CONFIG_AM335X_LCD) += tilcdc.o tilcdc-panel.o
H A Dtilcdc.c11 #include <panel.h>
17 #include "tilcdc-panel.h"
174 struct udevice *panel, *clk_dev; local
185 err = uclass_get_device(UCLASS_PANEL, 0, &panel);
187 dev_err(dev, "failed to get panel\n");
191 err = panel_get_display_timing(panel, &timing);
209 err = tilcdc_panel_get_display_info(panel, &info);
211 dev_err(dev, "failed to get panel info\n");
377 err = panel_enable_backlight(panel);
379 dev_err(dev, "failed to enable panel backligh
[all...]
/u-boot/arch/arm/mach-imx/
H A Dvideo.c23 char const *panel = env_get("panel"); local
25 if (!panel) {
29 panel = dev->mode.name;
30 printf("auto-detected panel %s\n", panel);
34 if (!panel) {
35 panel = displays[0].mode.name;
36 printf("No panel detected: default to %s\n", panel);
[all...]
/u-boot/board/ge/mx53ppd/
H A Dmx53ppd_video.c21 #include <panel.h>
54 struct udevice *panel; local
59 ret = uclass_get_device(UCLASS_PANEL, 0, &panel);
61 printf("Could not find panel: %d\n", ret);
65 panel_set_backlight(panel, 100);
66 panel_enable_backlight(panel);
/u-boot/drivers/video/
H A Dpanel-uclass.c11 #include <panel.h>
24 * panel_set_backlight - Set brightness for the panel backlight
52 UCLASS_DRIVER(panel) = { variable
54 .name = "panel",
H A DMakefile23 obj-$(CONFIG_$(SPL_TPL_)PANEL) += panel-uclass.o
58 obj-$(CONFIG_VIDEO_LCD_ENDEAVORU) += endeavoru-panel.o
H A Dsamsung-ltl106hl02.c3 * Samsung LTL106HL02-001 DSI panel driver
12 #include <panel.h>
H A Dtdo-tl070wsh30.c10 #include <panel.h>
119 /* reset panel */
/u-boot/drivers/video/rockchip/
H A Drk_mipi.h13 struct udevice *panel; member in struct:rk_mipi_priv
H A Drk3399_mipi.c12 #include <panel.h>
113 ret = panel_enable_backlight(priv->panel);
143 * Probe function: check panel existence and readingit's timing. Then config
151 ret = uclass_get_device_by_phandle(UCLASS_PANEL, dev, "rockchip,panel",
152 &priv->panel);
154 debug("%s: Can not find panel (err=%d)\n", __func__, ret);
H A Drk3288_mipi.c12 #include <panel.h>
121 ret = panel_enable_backlight(priv->panel);
152 * Probe function: check panel existence and readingit's timing. Then config
160 ret = uclass_get_device_by_phandle(UCLASS_PANEL, dev, "rockchip,panel",
161 &priv->panel);
163 debug("%s: Can not find panel (err=%d)\n", __func__, ret);
H A Drk_lvds.c11 #include <panel.h>
30 * @panel: Panel device that is used in driver
39 struct udevice *panel; member in struct:rk_lvds_priv
60 ret = panel_enable_backlight(priv->panel);
222 ret = uclass_get_device_by_phandle(UCLASS_PANEL, dev, "rockchip,panel",
223 &priv->panel);
225 debug("%s: Cannot find panel for '%s' (ret=%d)\n", __func__,
H A Ddw_mipi_dsi_rockchip.c18 #include <panel.h>
227 struct udevice *panel; member in struct:dw_rockchip_dsi_priv
720 ret = uclass_first_device_err(UCLASS_PANEL, &priv->panel);
722 dev_err(dev, "panel device error %d\n", ret);
726 mplat = dev_get_plat(priv->panel);
732 ret = panel_get_display_timing(priv->panel, &timings);
734 ret = ofnode_decode_display_timing(dev_ofnode(priv->panel),
765 * used to simply detect a panel rather than bring one up.
767 ret = panel_enable_backlight(priv->panel);
769 dev_err(dev, "panel
[all...]
/u-boot/board/anbernic/rgxx3_rk3566/
H A Drgxx3-rk3566.c19 #include <panel.h>
162 .panel_compat[0] = "anbernic,rg353p-panel",
167 .panel_compat[0] = "anbernic,rg353v-panel-v2",
258 * Provide the bare minimum to identify the panel for the RG353
260 * need to init the panel; just identify it and provide the
317 const struct rg353_panel *panel; local
323 * Take panel out of reset status.
340 /* Probe the DSI panel. */
345 printf("Failed to probe RG353 panel: %d\n", ret);
360 * Get the panel whic
496 const struct rg353_panel *panel = NULL; local
[all...]
/u-boot/drivers/video/tegra20/
H A Dtegra-dc.c11 #include <panel.h>
44 struct udevice *panel; member in struct:tegra_lcd_priv
51 bool rotation; /* 180 degree panel turn */
396 if (!strcmp(priv->panel->name, TEGRA_DSI_A) ||
397 !strcmp(priv->panel->name, TEGRA_DSI_B)) {
398 struct tegra_dc_plat *dc_plat = dev_get_plat(priv->panel);
417 ret = panel_enable_backlight(priv->panel);
435 return panel_set_backlight(priv->panel, BACKLIGHT_DEFAULT);
476 * Sadly the panel phandle is in an rgb subnode so we cannot use
479 panel_node = fdtdec_lookup_phandle(blob, rgb, "nvidia,panel");
[all...]
/u-boot/drivers/video/stm32/
H A Dstm32_dsi.c19 #include <panel.h>
91 struct udevice *panel; member in struct:stm32_dsi_priv
350 ret = uclass_first_device_err(UCLASS_PANEL, &priv->panel);
352 dev_err(dev, "panel device error %d\n", ret);
356 mplat = dev_get_plat(priv->panel);
362 ret = panel_get_display_timing(priv->panel, &timings);
364 ret = ofnode_decode_display_timing(dev_ofnode(priv->panel),
393 ret = panel_enable_backlight(priv->panel);
395 dev_err(dev, "panel %s enable backlight error %d\n",
396 priv->panel
[all...]
H A Dstm32_ltdc.c15 #include <panel.h>
531 struct udevice *panel = NULL; local
577 ret = uclass_first_device_err(UCLASS_PANEL, &panel);
580 dev_err(dev, "panel device error %d\n", ret);
584 ret = panel_get_display_timing(panel, &timings);
586 ret = ofnode_decode_display_timing(dev_ofnode(panel),
656 ret = panel_enable_backlight(panel);
658 dev_err(dev, "panel %s enable backlight error %d\n",
659 panel->name, ret);
/u-boot/drivers/video/bridge/
H A Dssd2825.c14 #include <panel.h>
114 struct udevice *panel; member in struct:ssd2825_bridge_priv
356 /* Set panel timings */
387 /* Perform panel setup */
388 return panel_enable_backlight(priv->panel);
395 return panel_set_backlight(priv->panel, percent);
462 "panel", &priv->panel);
464 log_err("cannot get panel: ret=%d\n", ret);
468 panel_get_display_timing(priv->panel,
[all...]
H A Ddp501.c11 #include <panel.h>
203 struct udevice *panel; member in struct:dp501_priv
224 /* check for connected panel during 1 msec */
235 log_debug("%s: panel is not connected!\n", __func__);
467 /* Perform panel HW setup */
468 return panel_enable_backlight(priv->panel);
475 return panel_set_backlight(priv->panel, percent);
507 /* get panel */
509 "panel", &priv->panel);
[all...]
/u-boot/board/ge/bx50v3/
H A Dbx50v3.c45 #include <panel.h>
91 struct udevice *panel; local
94 ret = uclass_get_device(UCLASS_PANEL, 0, &panel);
96 printf("Could not find panel: %d\n", ret);
100 panel_set_backlight(panel, 100);
101 panel_enable_backlight(panel);
/u-boot/scripts/kconfig/
H A Dnconf.h19 #include <panel.h>
H A Dnconf.gui.c367 PANEL *panel; local
427 panel = new_panel(win);
534 del_panel(panel);
565 PANEL *panel; local
593 /* show the help in the help window, and show the help panel */
598 panel = new_panel(win);
661 del_panel(panel);
/u-boot/board/ge/b1x5v2/
H A Db1x5v2.c30 #include <panel.h>
132 struct udevice *panel; local
135 ret = uclass_get_device(UCLASS_PANEL, 0, &panel);
137 printf("Could not find panel: %d\n", ret);
141 panel_set_backlight(panel, percent);
142 panel_enable_backlight(panel);
/u-boot/test/dm/
H A Dpanel.c3 * Test for panel uclass
12 #include <panel.h>
21 /* Basic test of the panel uclass */
/u-boot/board/compulab/cm_fx6/
H A Dcm_fx6.c124 char const *panel = env_get("displaytype"); local
126 if (!panel) /* Also accept panel for backward compatibility */
127 panel = env_get("panel");
129 if (!panel)
132 if (!strcmp(panel, "HDMI"))

Completed in 122 milliseconds

12