u-boot-brain/arch/arm
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
..
cpu Merge branch 'rmobile' of git://git.denx.de/u-boot-sh 2016-08-20 16:40:34 -04:00
dts sun5i: Add defconfig and dts file for the Empire Electronix M712 tablet 2016-08-26 16:58:36 +02:00
imx-common mx7dsabresd_secure_defconfig: Use CONFIG_ARMV7_BOOT_SEC_DEFAULT 2016-07-28 12:08:22 +02:00
include sunxi: display: Use PWM to drive backlight where applicable 2016-08-26 16:58:37 +02:00
lib cmd: Split 'bootz' and 'booti' out from 'bootm' 2016-08-20 11:35:07 -04:00
mach-at91 gpio: atmel_pio4: Move PIO4 definitions to head file 2016-08-15 22:58:03 +02:00
mach-bcm283x rpi: remove redundant board files 2016-04-11 20:48:23 -04:00
mach-davinci common: Pass the boot device into spl_boot_mode() 2016-06-26 20:17:22 +02:00
mach-exynos ARM: Rework and correct barrier definitions 2016-08-05 07:23:57 -04:00
mach-highbank ARM: highbank: move SoC sources to mach-highbank 2015-02-21 08:23:51 -05:00
mach-integrator integrator: switch to DM serial port 2015-08-12 20:47:49 -04:00
mach-keystone keystone: k2h/e/l: Fix DMA coherency for QM PDSP 2016-07-25 12:00:05 -04:00
mach-kirkwood configs: Re-sync with cmd/Kconfig 2016-04-25 15:09:47 -04:00
mach-meson armv8: mmu: Add support of non-identical mapping 2016-07-15 09:01:43 -07:00
mach-mvebu arm: mvebu: a38x: typo fix cpabilities -> capbilities 2016-08-26 08:33:52 +02:00
mach-orion5x Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
mach-rmobile ARM: rmobile: r8a7795: Add MMU layout 2016-08-17 10:25:36 +09:00
mach-rockchip drivers/sysreset: group sysreset drivers 2016-08-12 09:22:17 -04:00
mach-s5pc1xx arm: s5pc1xx: move SoC to mach-s5pc1xx 2015-11-30 17:17:01 +09:00
mach-snapdragon drivers/sysreset: group sysreset drivers 2016-08-12 09:22:17 -04:00
mach-socfpga common: Pass the boot device into spl_boot_mode() 2016-06-26 20:17:22 +02:00
mach-stm32 Revert "stm32: Change USART port to USART6 for stm32f746 discovery board" 2016-07-21 15:38:13 -04:00
mach-sunxi ARM: Rework and correct barrier definitions 2016-08-05 07:23:57 -04:00
mach-tegra ARM: tegra: reduce CSITE clock from 204M to 136M 2016-08-15 10:26:14 -07:00
mach-uniphier ARM: uniphier: add PSCI support for UniPhier ARMv7 SoCs 2016-08-11 17:58:06 +09:00
mach-versatile arm: Remove versatileab board 2015-09-11 15:01:25 -04:00
mach-zynq zynq: Increase the early malloc() size 2016-07-27 14:15:54 -06:00
thumb1/include/asm/proc-armv arm: support Thumb-1 with CONFIG_SYS_THUMB_BUILD 2015-11-10 15:03:48 +01:00
config.mk ARM: Add secure section for initialized data 2016-07-15 15:54:58 +02:00
Kconfig Merge branch 'rmobile' of git://git.denx.de/u-boot-sh 2016-08-20 16:40:34 -04:00
Kconfig.debug arm: debug: add Kconfig entries for lowlevel debug 2014-10-26 22:23:12 +01:00
Makefile Merge branch 'rmobile' of git://git.denx.de/u-boot-sh 2016-08-20 16:40:34 -04:00