u-boot-brain/drivers/video
Hans de Goede 421c98d7d2 sunxi: display: Use PWM to drive backlight where applicable
When the backlight's pwm input is connected to a pwm output of the SoC,
actually use pwm to drive the backlight.

The mean reason for doing this is to fix the backlight turning off
for aprox. 1 second while the kernel is booting. This is caused by
the kernel actually using pwm to drive the backlight, so that it
can dim the backlight. First the pwm driver loads and switches the
pinmux for the pin driving the backlight's pwm input to the pwm
controller. Then about 1s later the actual backlight driver loads
and tells the pwm driver to actually update the pwm settings, which
have a power-on-reset value of "off".

An additional advantage is that this allows us to initatiate the
backlight at 80%, which is the kernel default, avoiding a brightness
change while the kernel loads.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed by: Peter Korsgaard <peter@korsgaard.com>
2016-08-26 16:58:37 +02:00
..
bridge video: bridge: Allow GPIOs to be optional 2016-01-21 20:42:36 -07:00
exynos exynos: video: Drop old unused code 2016-05-25 13:25:19 +09:00
fonts video: Add the Cantoraone decorative font 2016-01-30 10:56:34 +01:00
rockchip rockchip: Use rockchip_get_clk() to obtain the SoC clock 2016-07-25 20:46:45 -06:00
tegra124 tegra: nyan-big: Move the LCD driver to driver model 2016-02-16 09:17:51 -07:00
am335x-fb.c drivers/video/am335x-fb: Properly point framebuffer behind palette 2016-04-28 16:51:17 +02:00
am335x-fb.h cosmetic: change Author/MAINTAINER Name from Petermaier to Schmelzer 2015-05-28 11:17:48 -04:00
anx9804.c bitops: introduce BIT() definition 2015-09-11 17:15:32 -04:00
anx9804.h video: Add support for the ANX9804 parallel lcd to dp bridge chip 2015-08-14 08:37:39 +02:00
ati_ids.h drivers/video : move video drivers to drivers/video 2007-11-25 18:35:11 +01:00
ati_radeon_fb.c Introduce a header file for the BIOS emulator 2014-11-25 06:34:14 -07:00
ati_radeon_fb.h Coding Style cleanup: replace leading SPACEs by TABs 2013-10-14 16:06:54 -04:00
atmel_hlcdfb.c lcd: atmel: Add 32bpp support for HLCDC 2015-11-01 22:02:16 +01:00
atmel_lcdfb.c at91: video: Support driver-model for the LCD driver 2016-06-12 23:49:38 +02:00
backlight-uclass.c dm: backlight: Add a backlight uclass 2016-01-21 20:42:36 -07:00
bcm2835.c bcm2835 video: Map fb as cached 2016-03-27 09:12:19 -04:00
broadwell_igd.c x86: broadwell: Add video support 2016-03-17 10:27:26 +08:00
bus_vcxk.c Remove typedefs from bmp_layout.h 2015-06-10 19:26:54 -06:00
cfb_console.c video: allow version string to be optional when using LOGO 2016-07-11 22:26:40 +02:00
console_normal.c video: Use fractional units for X coordinates 2016-01-30 10:53:26 +01:00
console_rotate.c video: Use fractional units for X coordinates 2016-01-30 10:53:26 +01:00
console_truetype.c video: truetype: Fix a memory leak on error 2016-02-22 14:41:02 +01:00
coreboot_fb.c x86: Move asm/arch-coreboot/tables.h to a common place 2016-03-17 10:27:21 +08:00
ct69000.c video: ct69000: Remove unused codes 2015-08-26 07:54:17 -07:00
da8xx-fb.c video: Typo cleanup in drivers/video/da8xx-fb.c 2015-12-16 21:02:03 +01:00
da8xx-fb.h video, da8xx-fb: changes for am335x usage 2013-08-10 10:38:28 +02:00
display-uclass.c dm: video: Add a operation to display uclass 2016-03-14 22:01:26 +01:00
formike.c video, formike: change tag/val write 2013-10-30 10:48:41 +01:00
fsl_dcu_fb.c video: dcu: Add DCU driver support 2014-09-08 10:30:35 -07:00
fsl_diu_fb.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
hitachi_tx18d42vm_lcd.c video: Add support for Hitachi tx18d42vm LVDS LCD panels 2015-01-22 20:44:33 +01:00
hitachi_tx18d42vm_lcd.h video: Add support for Hitachi tx18d42vm LVDS LCD panels 2015-01-22 20:44:33 +01:00
i915_reg.h x86: broadwell: Add video support 2016-03-17 10:27:26 +08:00
imx25lcdc.c video: Add support for imx25 lcd controller 2014-05-09 15:10:53 +02:00
ipu_common.c video: ipu_common: fix build error 2016-04-28 16:28:45 +02:00
ipu_disp.c Merge branch 'master' of git://www.denx.de/git/u-boot-imx 2015-12-04 08:21:28 -05:00
ipu_regs.h video: ipu: fix out of bounds access 2015-11-30 09:18:36 +01:00
ipu.h video, ipu: make ldb clock frequency overwritable through board code 2015-04-20 09:36:59 +02:00
Kconfig x86: broadwell: Add video support 2016-03-17 10:27:26 +08:00
l5f31188.c video: add L5F31188 TFT-LCD panel driver 2013-08-10 09:31:04 +02:00
ld9040.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
lg4573.c video, lg4573: make spi bus and cs configurable 2015-09-02 15:38:16 +02:00
Makefile exynos: video: Move driver files into their own directory 2016-05-25 13:25:17 +09:00
mb862xx.c Revert "powerpc: ppc4xx: remove lwmon5 support" 2015-10-11 17:12:09 -04:00
mpc8xx_lcd.c remove unnecessary version.h includes 2015-03-24 10:50:50 -04:00
mvebu_lcd.c video: Add support for Armada XP LCD controller 2016-01-23 22:58:07 +01:00
mx3fb.c video: discard empty video_set_lut implementation 2015-08-30 23:57:07 +02:00
mxc_ipuv3_fb.c video: discard empty video_set_lut implementation 2015-08-30 23:57:07 +02:00
mxcfb.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mxsfb.c video: mxsfb: introduce lcdif_power_down 2015-11-12 17:40:53 +01:00
omap3_dss.c omap3: allow dynamic selection of gfx_format 2013-03-08 16:41:13 -05:00
panel-uclass.c dm: panel: Add a panel uclass 2016-01-21 20:42:36 -07:00
pwm_backlight.c dm: backlight: Add a driver for a PWM backlight 2016-01-21 20:42:36 -07:00
pxa_lcd.c Revert "pxa_lcd: make driver cache-aware" 2016-03-27 20:58:08 -04:00
s3c-fb.c video: Add S3C24xx framebuffer support 2016-02-22 18:07:17 +01:00
s6e8ax0.c exynos: video: Move driver files into their own directory 2016-05-25 13:25:17 +09:00
s6e63d6.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
sandbox_sdl.c video: sandbox: Allow selection of font size and console name 2016-01-30 10:57:30 +01:00
scf0403_lcd.c lcd: add DataImage SCF0403x LCD panel support 2013-11-12 10:08:48 +01:00
sed156x.c Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
sed13806.c powerpc: mpc5xxx: remove Total5200 board support 2015-01-23 16:53:52 -05:00
simple_panel.c exynos: video: Convert several boards to driver model for video 2016-05-25 13:25:19 +09:00
sm501.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
smiLynxEM.c powerpc: manroland: remove uc100, uc101, mucmc52, hmi1001 support 2015-01-05 12:08:51 -05:00
ssd2828.c video: ssd2828: Allow using 'pclk' as the PLL clock source 2015-01-22 12:34:56 +01:00
ssd2828.h video: ssd2828: Allow using 'pclk' as the PLL clock source 2015-01-22 12:34:56 +01:00
stb_truetype.h video: freetype: Fix a memory leak with a bad parameter 2016-02-22 14:41:22 +01:00
sunxi_display.c sunxi: display: Use PWM to drive backlight where applicable 2016-08-26 16:58:37 +02:00
tegra.c Various, unrelated tree-wide typo fixes. 2016-07-16 09:43:12 -04:00
vesa_fb.c dm: pci: video: Convert video and pci_rom to use DM PCI API 2016-01-12 10:19:09 -07:00
vidconsole-uclass.c dm: Use uclass_first_device_err() where it is useful 2016-03-14 15:34:50 -06:00
video_bmp.c video: Use 'int' for loop variables instead of short 2016-02-06 13:55:49 +01:00
video-uclass.c video: Allow selection of the driver and font size 2016-01-30 10:57:20 +01:00
videomodes.c videomodes: Add video_edid_dtd_to_ctfb_res_modes helper function 2015-01-14 14:56:38 +01:00
videomodes.h videomodes: Add video_edid_dtd_to_ctfb_res_modes helper function 2015-01-14 14:56:38 +01:00