diff options
author | Philippe Schenker <philippe.schenker@toradex.com> | 2019-08-19 14:24:50 +0200 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2020-02-12 11:06:02 +0100 |
commit | c8b9a4cb5035c454f93b0a5f35540d03443b8343 (patch) | |
tree | 7df4f4d5c5b1ee6c96bacdf6653a2ba299548aac /arch/arm64/boot/dts/freescale/fsl-imx8qxp-colibri-lvds-single-eval-v3.dts | |
parent | 7dc5d66b65105d1a873d3c9e04fa44938455f53c (diff) |
ARM: dts: (apalis|colibri): unify backlight settings
This commit unifys the backlight settings. All displays sold by Toradex
are now supporting 150Hz as a PWM backlight typical frequency.
Use this value for all SoM's and put also some better default values
for different brightness.
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
Diffstat (limited to 'arch/arm64/boot/dts/freescale/fsl-imx8qxp-colibri-lvds-single-eval-v3.dts')
-rw-r--r-- | arch/arm64/boot/dts/freescale/fsl-imx8qxp-colibri-lvds-single-eval-v3.dts | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8qxp-colibri-lvds-single-eval-v3.dts b/arch/arm64/boot/dts/freescale/fsl-imx8qxp-colibri-lvds-single-eval-v3.dts index dbdeac9550fb..274547cf9dc4 100644 --- a/arch/arm64/boot/dts/freescale/fsl-imx8qxp-colibri-lvds-single-eval-v3.dts +++ b/arch/arm64/boot/dts/freescale/fsl-imx8qxp-colibri-lvds-single-eval-v3.dts @@ -13,17 +13,6 @@ model = "Toradex Colibri iMX8QXP/DX with single channel lvds"; compatible = "toradex,colibri-imx8qxp-lvds-single-eval-v3", "toradex,colibri-imx8qxp", "fsl,imx8qxp"; - backlight: backlight { - compatible = "pwm-backlight"; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_gpio_bklght_on>; - enable-gpios = <&gpio1 31 GPIO_ACTIVE_HIGH>; /* Ext.Conn 25: LVDS1_GPIO0_00 */ - pwms = <&pwm_adma_lcdif 0 5000000>; /* PWM freq. 200Hz */ - brightness-levels = <255 192 128 64 32 16 8 0>; - default-brightness-level = <6>; - status = "okay"; - }; - lvds1_panel { compatible = "toradex,captouch-101-lvds"; backlight = <&backlight>; @@ -42,7 +31,11 @@ }; &backlight { - status = "disabled"; + brightness-levels = <0 45 63 88 119 158 203 255>; + default-brightness-level = <4>; + enable-gpios = <&gpio1 31 GPIO_ACTIVE_HIGH>; /* Ext.Conn 25: LVDS1_GPIO0_00 */ + pwms = <&pwm_adma_lcdif 0 6666667 PWM_POLARITY_INVERTED>; + status = "okay"; }; /* Display Prefetch Resolve, (Tiling) */ |