diff options
author | Hans de Goede <hdegoede@redhat.com> | 2015-01-22 21:02:42 +0100 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2015-01-23 15:15:02 +0100 |
commit | a7403ae84d15096330d6b08b11b1a4b03da38abf (patch) | |
tree | 202151d1845601f2e482164f712cbeec98368ec0 /board | |
parent | c17fb11c56629e3e293db81600d0bf7926f221ee (diff) | |
download | u-boot-imx-a7403ae84d15096330d6b08b11b1a4b03da38abf.zip u-boot-imx-a7403ae84d15096330d6b08b11b1a4b03da38abf.tar.gz u-boot-imx-a7403ae84d15096330d6b08b11b1a4b03da38abf.tar.bz2 |
sunxi: video: Make pwm polarity configurable
It turns out that there are some panels where the pwm input is not active low,
so make it configurable.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'board')
-rw-r--r-- | board/sunxi/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig index 0e3c207..738b55e 100644 --- a/board/sunxi/Kconfig +++ b/board/sunxi/Kconfig @@ -319,6 +319,13 @@ config VIDEO_LCD_BL_PWM Set the backlight pwm pin for the LCD panel. This takes a string in the format understood by sunxi_name_to_gpio, e.g. PH1 for pin 1 of port H. +config VIDEO_LCD_BL_PWM_ACTIVE_LOW + bool "LCD panel backlight pwm is inverted" + depends on VIDEO + default y + ---help--- + Set this if the backlight pwm output is active low. + # Note only one of these may be selected at a time! But hidden choices are # not supported by Kconfig |