Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: imx6-tx6: move display configuration to .dtsi file

Currently the display (LCD or LVDS) configuration is duplicated with
slight variations in each TX6 module specific file.

Move it to an include file for simplification and consistency.

Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>

authored by

Lothar Waßmann and committed by
Shawn Guo
1a9aae6f 038ab100

+616 -1902
+10 -64
arch/arm/boot/dts/imx6dl-tx6dl-comtft.dts
··· 1 1 /* 2 - * Copyright 2014-2016 Lothar Waßmann <LW@KARO-electronics.de> 2 + * Copyright 2014-2017 Lothar Waßmann <LW@KARO-electronics.de> 3 3 * 4 4 * This file is dual-licensed: you can use it either under the terms 5 5 * of the GPL or the X11 license, at your option. Note that this dual ··· 42 42 /dts-v1/; 43 43 #include "imx6dl.dtsi" 44 44 #include "imx6qdl-tx6.dtsi" 45 + #include "imx6qdl-tx6-lcd.dtsi" 45 46 46 47 / { 47 48 model = "Ka-Ro electronics TX6DL Module on CoMpact TFT"; 48 49 compatible = "karo,imx6dl-tx6dl", "fsl,imx6dl"; 50 + }; 49 51 50 - aliases { 51 - display = &display; 52 - }; 53 - 54 - backlight: backlight { 55 - compatible = "pwm-backlight"; 56 - pwms = <&pwm2 0 500000 0>; 57 - power-supply = <&reg_3v3>; 58 - /* 59 - * a poor man's way to create a 1:1 relationship between 60 - * the PWM value and the actual duty cycle 61 - */ 62 - brightness-levels = < 0 1 2 3 4 5 6 7 8 9 63 - 10 11 12 13 14 15 16 17 18 19 64 - 20 21 22 23 24 25 26 27 28 29 65 - 30 31 32 33 34 35 36 37 38 39 66 - 40 41 42 43 44 45 46 47 48 49 67 - 50 51 52 53 54 55 56 57 58 59 68 - 60 61 62 63 64 65 66 67 68 69 69 - 70 71 72 73 74 75 76 77 78 79 70 - 80 81 82 83 84 85 86 87 88 89 71 - 90 91 92 93 94 95 96 97 98 99 72 - 100>; 73 - default-brightness-level = <50>; 74 - }; 75 - 76 - display: disp0 { 77 - compatible = "fsl,imx-parallel-display"; 78 - interface-pix-fmt = "rgb24"; 79 - pinctrl-names = "default"; 80 - pinctrl-0 = <&pinctrl_disp0_1>; 81 - status = "okay"; 82 - 83 - port { 84 - display0_in: endpoint { 85 - remote-endpoint = <&ipu1_di0_disp0>; 86 - }; 87 - }; 88 - 89 - display-timings { 90 - native-mode = <&ET070001DM6>; 91 - 92 - ET070001DM6: CoMTFT { /* same as ET0700 but with inverted pixel clock */ 93 - clock-frequency = <33264000>; 94 - hactive = <800>; 95 - vactive = <480>; 96 - hback-porch = <88>; 97 - hsync-len = <128>; 98 - hfront-porch = <40>; 99 - vback-porch = <33>; 100 - vsync-len = <2>; 101 - vfront-porch = <10>; 102 - hsync-active = <0>; 103 - vsync-active = <0>; 104 - de-active = <1>; 105 - pixelclk-active = <1>; 106 - }; 107 - }; 108 - }; 52 + &backlight { 53 + pwms = <&pwm2 0 500000 0>; 54 + /delete-property/ turn-on-delay-ms; 109 55 }; 110 56 111 57 &can1 { ··· 62 116 xceiver-supply = <&reg_3v3>; 63 117 }; 64 118 65 - &ipu1_di0_disp0 { 66 - remote-endpoint = <&display0_in>; 67 - }; 68 - 69 119 &kpp { 70 120 status = "disabled"; 121 + }; 122 + 123 + &lcd_panel { 124 + compatible = "edt,etm0700g0edh6"; 71 125 }; 72 126 73 127 &reg_can_xcvr {
+2 -169
arch/arm/boot/dts/imx6dl-tx6s-8034.dts
··· 1 1 /* 2 - * Copyright 2015-2016 Lothar Waßmann <LW@KARO-electronics.de> 2 + * Copyright 2015-2017 Lothar Waßmann <LW@KARO-electronics.de> 3 3 * 4 4 * This file is dual-licensed: you can use it either under the terms 5 5 * of the GPL or the X11 license, at your option. Note that this dual ··· 42 42 /dts-v1/; 43 43 #include "imx6dl.dtsi" 44 44 #include "imx6qdl-tx6.dtsi" 45 + #include "imx6qdl-tx6-lcd.dtsi" 45 46 46 47 / { 47 48 model = "Ka-Ro electronics TX6S-8034 Module"; 48 49 compatible = "karo,imx6dl-tx6dl", "fsl,imx6dl"; 49 50 50 - aliases { 51 - display = &display; 52 - ipu1 = &ipu1; 53 - }; 54 - 55 51 cpus { 56 52 /delete-node/ cpu@1; 57 - }; 58 - 59 - backlight: backlight { 60 - compatible = "pwm-backlight"; 61 - pwms = <&pwm2 0 500000 PWM_POLARITY_INVERTED>; 62 - pinctrl-names = "default"; 63 - pinctrl-0 = <&pinctrl_lcd0_pwr>; 64 - enable-gpios = <&gpio3 29 GPIO_ACTIVE_HIGH>; 65 - power-supply = <&reg_lcd1_pwr>; 66 - /* 67 - * a poor man's way to create a 1:1 relationship between 68 - * the PWM value and the actual duty cycle 69 - */ 70 - brightness-levels = < 0 1 2 3 4 5 6 7 8 9 71 - 10 11 12 13 14 15 16 17 18 19 72 - 20 21 22 23 24 25 26 27 28 29 73 - 30 31 32 33 34 35 36 37 38 39 74 - 40 41 42 43 44 45 46 47 48 49 75 - 50 51 52 53 54 55 56 57 58 59 76 - 60 61 62 63 64 65 66 67 68 69 77 - 70 71 72 73 74 75 76 77 78 79 78 - 80 81 82 83 84 85 86 87 88 89 79 - 90 91 92 93 94 95 96 97 98 99 80 - 100>; 81 - default-brightness-level = <50>; 82 - }; 83 - 84 - display: disp0 { 85 - compatible = "fsl,imx-parallel-display"; 86 - pinctrl-names = "default"; 87 - pinctrl-0 = <&pinctrl_disp0_2>; 88 - interface-pix-fmt = "rgb24"; 89 - status = "okay"; 90 - 91 - port { 92 - display0_in: endpoint { 93 - remote-endpoint = <&ipu1_di0_disp0>; 94 - }; 95 - }; 96 - 97 - display-timings { 98 - native-mode = <&vga>; 99 - 100 - vga: VGA { 101 - clock-frequency = <25200000>; 102 - hactive = <640>; 103 - vactive = <480>; 104 - hback-porch = <48>; 105 - hsync-len = <96>; 106 - hfront-porch = <16>; 107 - vback-porch = <31>; 108 - vsync-len = <2>; 109 - vfront-porch = <12>; 110 - hsync-active = <0>; 111 - vsync-active = <0>; 112 - de-active = <1>; 113 - pixelclk-active = <0>; 114 - }; 115 - 116 - ETV570 { 117 - clock-frequency = <25200000>; 118 - hactive = <640>; 119 - vactive = <480>; 120 - hback-porch = <114>; 121 - hsync-len = <30>; 122 - hfront-porch = <16>; 123 - vback-porch = <32>; 124 - vsync-len = <3>; 125 - vfront-porch = <10>; 126 - hsync-active = <0>; 127 - vsync-active = <0>; 128 - de-active = <1>; 129 - pixelclk-active = <0>; 130 - }; 131 - 132 - ET0350 { 133 - clock-frequency = <6413760>; 134 - hactive = <320>; 135 - vactive = <240>; 136 - hback-porch = <34>; 137 - hsync-len = <34>; 138 - hfront-porch = <20>; 139 - vback-porch = <15>; 140 - vsync-len = <3>; 141 - vfront-porch = <4>; 142 - hsync-active = <0>; 143 - vsync-active = <0>; 144 - de-active = <1>; 145 - pixelclk-active = <0>; 146 - }; 147 - 148 - ET0430 { 149 - clock-frequency = <9009000>; 150 - hactive = <480>; 151 - vactive = <272>; 152 - hback-porch = <2>; 153 - hsync-len = <41>; 154 - hfront-porch = <2>; 155 - vback-porch = <2>; 156 - vsync-len = <10>; 157 - vfront-porch = <2>; 158 - hsync-active = <0>; 159 - vsync-active = <0>; 160 - de-active = <1>; 161 - pixelclk-active = <1>; 162 - }; 163 - 164 - ET0500 { 165 - clock-frequency = <33264000>; 166 - hactive = <800>; 167 - vactive = <480>; 168 - hback-porch = <88>; 169 - hsync-len = <128>; 170 - hfront-porch = <40>; 171 - vback-porch = <33>; 172 - vsync-len = <2>; 173 - vfront-porch = <10>; 174 - hsync-active = <0>; 175 - vsync-active = <0>; 176 - de-active = <1>; 177 - pixelclk-active = <0>; 178 - }; 179 - 180 - ET0700 { /* same as ET0500 */ 181 - clock-frequency = <33264000>; 182 - hactive = <800>; 183 - vactive = <480>; 184 - hback-porch = <88>; 185 - hsync-len = <128>; 186 - hfront-porch = <40>; 187 - vback-porch = <33>; 188 - vsync-len = <2>; 189 - vfront-porch = <10>; 190 - hsync-active = <0>; 191 - vsync-active = <0>; 192 - de-active = <1>; 193 - pixelclk-active = <0>; 194 - }; 195 - 196 - ETQ570 { 197 - clock-frequency = <6596040>; 198 - hactive = <320>; 199 - vactive = <240>; 200 - hback-porch = <38>; 201 - hsync-len = <30>; 202 - hfront-porch = <30>; 203 - vback-porch = <16>; 204 - vsync-len = <3>; 205 - vfront-porch = <4>; 206 - hsync-active = <0>; 207 - vsync-active = <0>; 208 - de-active = <1>; 209 - pixelclk-active = <0>; 210 - }; 211 - }; 212 53 }; 213 54 }; 214 55 ··· 67 226 MX6QDL_PAD_SD1_DAT3__SD1_DATA3 0x070b1 68 227 MX6QDL_PAD_SD3_CMD__GPIO7_IO02 0x170b0 /* SD1 CD */ 69 228 >; 70 - }; 71 - 72 - &ipu1_di0_disp0 { 73 - remote-endpoint = <&display0_in>; 74 - }; 75 - 76 - &reg_lcd0_pwr { 77 - status = "disabled"; 78 229 };
+2 -169
arch/arm/boot/dts/imx6dl-tx6s-8035.dts
··· 1 1 /* 2 - * Copyright 2015-2016 Lothar Waßmann <LW@KARO-electronics.de> 2 + * Copyright 2015-2017 Lothar Waßmann <LW@KARO-electronics.de> 3 3 * 4 4 * This file is dual-licensed: you can use it either under the terms 5 5 * of the GPL or the X11 license, at your option. Note that this dual ··· 42 42 /dts-v1/; 43 43 #include "imx6dl.dtsi" 44 44 #include "imx6qdl-tx6.dtsi" 45 + #include "imx6qdl-tx6-lcd.dtsi" 45 46 46 47 / { 47 48 model = "Ka-Ro electronics TX6S-8035 Module"; 48 49 compatible = "karo,imx6dl-tx6dl", "fsl,imx6dl"; 49 50 50 - aliases { 51 - display = &display; 52 - ipu1 = &ipu1; 53 - }; 54 - 55 51 cpus { 56 52 /delete-node/ cpu@1; 57 - }; 58 - 59 - backlight: backlight { 60 - compatible = "pwm-backlight"; 61 - pwms = <&pwm2 0 500000 PWM_POLARITY_INVERTED>; 62 - pinctrl-names = "default"; 63 - pinctrl-0 = <&pinctrl_lcd0_pwr>; 64 - enable-gpios = <&gpio3 29 GPIO_ACTIVE_HIGH>; 65 - power-supply = <&reg_lcd1_pwr>; 66 - /* 67 - * a poor man's way to create a 1:1 relationship between 68 - * the PWM value and the actual duty cycle 69 - */ 70 - brightness-levels = < 0 1 2 3 4 5 6 7 8 9 71 - 10 11 12 13 14 15 16 17 18 19 72 - 20 21 22 23 24 25 26 27 28 29 73 - 30 31 32 33 34 35 36 37 38 39 74 - 40 41 42 43 44 45 46 47 48 49 75 - 50 51 52 53 54 55 56 57 58 59 76 - 60 61 62 63 64 65 66 67 68 69 77 - 70 71 72 73 74 75 76 77 78 79 78 - 80 81 82 83 84 85 86 87 88 89 79 - 90 91 92 93 94 95 96 97 98 99 80 - 100>; 81 - default-brightness-level = <50>; 82 - }; 83 - 84 - display: disp0 { 85 - compatible = "fsl,imx-parallel-display"; 86 - pinctrl-names = "default"; 87 - pinctrl-0 = <&pinctrl_disp0_2>; 88 - interface-pix-fmt = "rgb24"; 89 - status = "okay"; 90 - 91 - port { 92 - display0_in: endpoint { 93 - remote-endpoint = <&ipu1_di0_disp0>; 94 - }; 95 - }; 96 - 97 - display-timings { 98 - native-mode = <&vga>; 99 - 100 - vga: VGA { 101 - clock-frequency = <25200000>; 102 - hactive = <640>; 103 - vactive = <480>; 104 - hback-porch = <48>; 105 - hsync-len = <96>; 106 - hfront-porch = <16>; 107 - vback-porch = <31>; 108 - vsync-len = <2>; 109 - vfront-porch = <12>; 110 - hsync-active = <0>; 111 - vsync-active = <0>; 112 - de-active = <1>; 113 - pixelclk-active = <0>; 114 - }; 115 - 116 - ETV570 { 117 - clock-frequency = <25200000>; 118 - hactive = <640>; 119 - vactive = <480>; 120 - hback-porch = <114>; 121 - hsync-len = <30>; 122 - hfront-porch = <16>; 123 - vback-porch = <32>; 124 - vsync-len = <3>; 125 - vfront-porch = <10>; 126 - hsync-active = <0>; 127 - vsync-active = <0>; 128 - de-active = <1>; 129 - pixelclk-active = <0>; 130 - }; 131 - 132 - ET0350 { 133 - clock-frequency = <6413760>; 134 - hactive = <320>; 135 - vactive = <240>; 136 - hback-porch = <34>; 137 - hsync-len = <34>; 138 - hfront-porch = <20>; 139 - vback-porch = <15>; 140 - vsync-len = <3>; 141 - vfront-porch = <4>; 142 - hsync-active = <0>; 143 - vsync-active = <0>; 144 - de-active = <1>; 145 - pixelclk-active = <0>; 146 - }; 147 - 148 - ET0430 { 149 - clock-frequency = <9009000>; 150 - hactive = <480>; 151 - vactive = <272>; 152 - hback-porch = <2>; 153 - hsync-len = <41>; 154 - hfront-porch = <2>; 155 - vback-porch = <2>; 156 - vsync-len = <10>; 157 - vfront-porch = <2>; 158 - hsync-active = <0>; 159 - vsync-active = <0>; 160 - de-active = <1>; 161 - pixelclk-active = <1>; 162 - }; 163 - 164 - ET0500 { 165 - clock-frequency = <33264000>; 166 - hactive = <800>; 167 - vactive = <480>; 168 - hback-porch = <88>; 169 - hsync-len = <128>; 170 - hfront-porch = <40>; 171 - vback-porch = <33>; 172 - vsync-len = <2>; 173 - vfront-porch = <10>; 174 - hsync-active = <0>; 175 - vsync-active = <0>; 176 - de-active = <1>; 177 - pixelclk-active = <0>; 178 - }; 179 - 180 - ET0700 { /* same as ET0500 */ 181 - clock-frequency = <33264000>; 182 - hactive = <800>; 183 - vactive = <480>; 184 - hback-porch = <88>; 185 - hsync-len = <128>; 186 - hfront-porch = <40>; 187 - vback-porch = <33>; 188 - vsync-len = <2>; 189 - vfront-porch = <10>; 190 - hsync-active = <0>; 191 - vsync-active = <0>; 192 - de-active = <1>; 193 - pixelclk-active = <0>; 194 - }; 195 - 196 - ETQ570 { 197 - clock-frequency = <6596040>; 198 - hactive = <320>; 199 - vactive = <240>; 200 - hback-porch = <38>; 201 - hsync-len = <30>; 202 - hfront-porch = <30>; 203 - vback-porch = <16>; 204 - vsync-len = <3>; 205 - vfront-porch = <4>; 206 - hsync-active = <0>; 207 - vsync-active = <0>; 208 - de-active = <1>; 209 - pixelclk-active = <0>; 210 - }; 211 - }; 212 53 }; 213 54 }; 214 55 ··· 58 217 }; 59 218 60 219 &gpmi { 61 - status = "disabled"; 62 - }; 63 - 64 - &ipu1_di0_disp0 { 65 - remote-endpoint = <&display0_in>; 66 - }; 67 - 68 - &reg_lcd0_pwr { 69 220 status = "disabled"; 70 221 }; 71 222
+2 -159
arch/arm/boot/dts/imx6dl-tx6u-801x.dts
··· 1 1 /* 2 - * Copyright 2014-2016 Lothar Waßmann <LW@KARO-electronics.de> 2 + * Copyright 2014-2017 Lothar Waßmann <LW@KARO-electronics.de> 3 3 * 4 4 * This file is dual-licensed: you can use it either under the terms 5 5 * of the GPL or the X11 license, at your option. Note that this dual ··· 42 42 /dts-v1/; 43 43 #include "imx6dl.dtsi" 44 44 #include "imx6qdl-tx6.dtsi" 45 + #include "imx6qdl-tx6-lcd.dtsi" 45 46 46 47 / { 47 48 model = "Ka-Ro electronics TX6U-801x Module"; 48 49 compatible = "karo,imx6dl-tx6dl", "fsl,imx6dl"; 49 - 50 - aliases { 51 - display = &display; 52 - }; 53 - 54 - backlight: backlight { 55 - compatible = "pwm-backlight"; 56 - pwms = <&pwm2 0 500000 PWM_POLARITY_INVERTED>; 57 - power-supply = <&reg_3v3>; 58 - /* 59 - * a poor man's way to create a 1:1 relationship between 60 - * the PWM value and the actual duty cycle 61 - */ 62 - brightness-levels = < 0 1 2 3 4 5 6 7 8 9 63 - 10 11 12 13 14 15 16 17 18 19 64 - 20 21 22 23 24 25 26 27 28 29 65 - 30 31 32 33 34 35 36 37 38 39 66 - 40 41 42 43 44 45 46 47 48 49 67 - 50 51 52 53 54 55 56 57 58 59 68 - 60 61 62 63 64 65 66 67 68 69 69 - 70 71 72 73 74 75 76 77 78 79 70 - 80 81 82 83 84 85 86 87 88 89 71 - 90 91 92 93 94 95 96 97 98 99 72 - 100>; 73 - default-brightness-level = <50>; 74 - }; 75 - 76 - display: disp0 { 77 - compatible = "fsl,imx-parallel-display"; 78 - interface-pix-fmt = "rgb24"; 79 - pinctrl-names = "default"; 80 - pinctrl-0 = <&pinctrl_disp0_1>; 81 - status = "okay"; 82 - 83 - port { 84 - display0_in: endpoint { 85 - remote-endpoint = <&ipu1_di0_disp0>; 86 - }; 87 - }; 88 - 89 - display-timings { 90 - VGA { 91 - clock-frequency = <25200000>; 92 - hactive = <640>; 93 - vactive = <480>; 94 - hback-porch = <48>; 95 - hsync-len = <96>; 96 - hfront-porch = <16>; 97 - vback-porch = <31>; 98 - vsync-len = <2>; 99 - vfront-porch = <12>; 100 - hsync-active = <0>; 101 - vsync-active = <0>; 102 - de-active = <1>; 103 - pixelclk-active = <0>; 104 - }; 105 - 106 - ETV570 { 107 - clock-frequency = <25200000>; 108 - hactive = <640>; 109 - vactive = <480>; 110 - hback-porch = <114>; 111 - hsync-len = <30>; 112 - hfront-porch = <16>; 113 - vback-porch = <32>; 114 - vsync-len = <3>; 115 - vfront-porch = <10>; 116 - hsync-active = <0>; 117 - vsync-active = <0>; 118 - de-active = <1>; 119 - pixelclk-active = <0>; 120 - }; 121 - 122 - ET0350 { 123 - clock-frequency = <6413760>; 124 - hactive = <320>; 125 - vactive = <240>; 126 - hback-porch = <34>; 127 - hsync-len = <34>; 128 - hfront-porch = <20>; 129 - vback-porch = <15>; 130 - vsync-len = <3>; 131 - vfront-porch = <4>; 132 - hsync-active = <0>; 133 - vsync-active = <0>; 134 - de-active = <1>; 135 - pixelclk-active = <0>; 136 - }; 137 - 138 - ET0430 { 139 - clock-frequency = <9009000>; 140 - hactive = <480>; 141 - vactive = <272>; 142 - hback-porch = <2>; 143 - hsync-len = <41>; 144 - hfront-porch = <2>; 145 - vback-porch = <2>; 146 - vsync-len = <10>; 147 - vfront-porch = <2>; 148 - hsync-active = <0>; 149 - vsync-active = <0>; 150 - de-active = <1>; 151 - pixelclk-active = <1>; 152 - }; 153 - 154 - ET0500 { 155 - clock-frequency = <33264000>; 156 - hactive = <800>; 157 - vactive = <480>; 158 - hback-porch = <88>; 159 - hsync-len = <128>; 160 - hfront-porch = <40>; 161 - vback-porch = <33>; 162 - vsync-len = <2>; 163 - vfront-porch = <10>; 164 - hsync-active = <0>; 165 - vsync-active = <0>; 166 - de-active = <1>; 167 - pixelclk-active = <0>; 168 - }; 169 - 170 - ET0700 { /* same as ET0500 */ 171 - clock-frequency = <33264000>; 172 - hactive = <800>; 173 - vactive = <480>; 174 - hback-porch = <88>; 175 - hsync-len = <128>; 176 - hfront-porch = <40>; 177 - vback-porch = <33>; 178 - vsync-len = <2>; 179 - vfront-porch = <10>; 180 - hsync-active = <0>; 181 - vsync-active = <0>; 182 - de-active = <1>; 183 - pixelclk-active = <0>; 184 - }; 185 - 186 - ETQ570 { 187 - clock-frequency = <6596040>; 188 - hactive = <320>; 189 - vactive = <240>; 190 - hback-porch = <38>; 191 - hsync-len = <30>; 192 - hfront-porch = <30>; 193 - vback-porch = <16>; 194 - vsync-len = <3>; 195 - vfront-porch = <4>; 196 - hsync-active = <0>; 197 - vsync-active = <0>; 198 - de-active = <1>; 199 - pixelclk-active = <0>; 200 - }; 201 - }; 202 - }; 203 - }; 204 - 205 - &ipu1_di0_disp0 { 206 - remote-endpoint = <&display0_in>; 207 50 };
+2 -168
arch/arm/boot/dts/imx6dl-tx6u-8033.dts
··· 1 1 /* 2 - * Copyright 2014-2016 Lothar Waßmann <LW@KARO-electronics.de> 2 + * Copyright 2014-2017 Lothar Waßmann <LW@KARO-electronics.de> 3 3 * 4 4 * This file is dual-licensed: you can use it either under the terms 5 5 * of the GPL or the X11 license, at your option. Note that this dual ··· 42 42 /dts-v1/; 43 43 #include "imx6dl.dtsi" 44 44 #include "imx6qdl-tx6.dtsi" 45 + #include "imx6qdl-tx6-lcd.dtsi" 45 46 46 47 / { 47 48 model = "Ka-Ro electronics TX6U-8033 Module"; 48 49 compatible = "karo,imx6dl-tx6dl", "fsl,imx6dl"; 49 - 50 - aliases { 51 - display = &display; 52 - }; 53 - 54 - backlight: backlight { 55 - compatible = "pwm-backlight"; 56 - pwms = <&pwm2 0 500000 PWM_POLARITY_INVERTED>; 57 - pinctrl-names = "default"; 58 - pinctrl-0 = <&pinctrl_lcd0_pwr>; 59 - enable-gpios = <&gpio3 29 GPIO_ACTIVE_HIGH>; 60 - power-supply = <&reg_lcd1_pwr>; 61 - /* 62 - * a poor man's way to create a 1:1 relationship between 63 - * the PWM value and the actual duty cycle 64 - */ 65 - brightness-levels = < 0 1 2 3 4 5 6 7 8 9 66 - 10 11 12 13 14 15 16 17 18 19 67 - 20 21 22 23 24 25 26 27 28 29 68 - 30 31 32 33 34 35 36 37 38 39 69 - 40 41 42 43 44 45 46 47 48 49 70 - 50 51 52 53 54 55 56 57 58 59 71 - 60 61 62 63 64 65 66 67 68 69 72 - 70 71 72 73 74 75 76 77 78 79 73 - 80 81 82 83 84 85 86 87 88 89 74 - 90 91 92 93 94 95 96 97 98 99 75 - 100>; 76 - default-brightness-level = <50>; 77 - }; 78 - 79 - display: disp0 { 80 - compatible = "fsl,imx-parallel-display"; 81 - pinctrl-names = "default"; 82 - pinctrl-0 = <&pinctrl_disp0_2>; 83 - interface-pix-fmt = "rgb24"; 84 - status = "okay"; 85 - 86 - port { 87 - display0_in: endpoint { 88 - remote-endpoint = <&ipu1_di0_disp0>; 89 - }; 90 - }; 91 - 92 - display-timings { 93 - native-mode = <&vga>; 94 - 95 - vga: VGA { 96 - clock-frequency = <25200000>; 97 - hactive = <640>; 98 - vactive = <480>; 99 - hback-porch = <48>; 100 - hsync-len = <96>; 101 - hfront-porch = <16>; 102 - vback-porch = <31>; 103 - vsync-len = <2>; 104 - vfront-porch = <12>; 105 - hsync-active = <0>; 106 - vsync-active = <0>; 107 - de-active = <1>; 108 - pixelclk-active = <0>; 109 - }; 110 - 111 - ETV570 { 112 - clock-frequency = <25200000>; 113 - hactive = <640>; 114 - vactive = <480>; 115 - hback-porch = <114>; 116 - hsync-len = <30>; 117 - hfront-porch = <16>; 118 - vback-porch = <32>; 119 - vsync-len = <3>; 120 - vfront-porch = <10>; 121 - hsync-active = <0>; 122 - vsync-active = <0>; 123 - de-active = <1>; 124 - pixelclk-active = <0>; 125 - }; 126 - 127 - ET0350 { 128 - clock-frequency = <6413760>; 129 - hactive = <320>; 130 - vactive = <240>; 131 - hback-porch = <34>; 132 - hsync-len = <34>; 133 - hfront-porch = <20>; 134 - vback-porch = <15>; 135 - vsync-len = <3>; 136 - vfront-porch = <4>; 137 - hsync-active = <0>; 138 - vsync-active = <0>; 139 - de-active = <1>; 140 - pixelclk-active = <0>; 141 - }; 142 - 143 - ET0430 { 144 - clock-frequency = <9009000>; 145 - hactive = <480>; 146 - vactive = <272>; 147 - hback-porch = <2>; 148 - hsync-len = <41>; 149 - hfront-porch = <2>; 150 - vback-porch = <2>; 151 - vsync-len = <10>; 152 - vfront-porch = <2>; 153 - hsync-active = <0>; 154 - vsync-active = <0>; 155 - de-active = <1>; 156 - pixelclk-active = <1>; 157 - }; 158 - 159 - ET0500 { 160 - clock-frequency = <33264000>; 161 - hactive = <800>; 162 - vactive = <480>; 163 - hback-porch = <88>; 164 - hsync-len = <128>; 165 - hfront-porch = <40>; 166 - vback-porch = <33>; 167 - vsync-len = <2>; 168 - vfront-porch = <10>; 169 - hsync-active = <0>; 170 - vsync-active = <0>; 171 - de-active = <1>; 172 - pixelclk-active = <0>; 173 - }; 174 - 175 - ET0700 { /* same as ET0500 */ 176 - clock-frequency = <33264000>; 177 - hactive = <800>; 178 - vactive = <480>; 179 - hback-porch = <88>; 180 - hsync-len = <128>; 181 - hfront-porch = <40>; 182 - vback-porch = <33>; 183 - vsync-len = <2>; 184 - vfront-porch = <10>; 185 - hsync-active = <0>; 186 - vsync-active = <0>; 187 - de-active = <1>; 188 - pixelclk-active = <0>; 189 - }; 190 - 191 - ETQ570 { 192 - clock-frequency = <6596040>; 193 - hactive = <320>; 194 - vactive = <240>; 195 - hback-porch = <38>; 196 - hsync-len = <30>; 197 - hfront-porch = <30>; 198 - vback-porch = <16>; 199 - vsync-len = <3>; 200 - vfront-porch = <4>; 201 - hsync-active = <0>; 202 - vsync-active = <0>; 203 - de-active = <1>; 204 - pixelclk-active = <0>; 205 - }; 206 - }; 207 - }; 208 50 }; 209 51 210 52 &ds1339 { ··· 54 212 }; 55 213 56 214 &gpmi { 57 - status = "disabled"; 58 - }; 59 - 60 - &ipu1_di0_disp0 { 61 - remote-endpoint = <&display0_in>; 62 - }; 63 - 64 - &reg_lcd0_pwr { 65 215 status = "disabled"; 66 216 }; 67 217
+1 -108
arch/arm/boot/dts/imx6dl-tx6u-811x.dts
··· 42 42 /dts-v1/; 43 43 #include "imx6dl.dtsi" 44 44 #include "imx6qdl-tx6.dtsi" 45 + #include "imx6qdl-tx6-lvds.dtsi" 45 46 46 47 / { 47 48 model = "Ka-Ro electronics TX6U-811x Module"; 48 49 compatible = "karo,imx6dl-tx6dl", "fsl,imx6dl"; 49 - 50 - aliases { 51 - display = &lvds0; 52 - lvds0 = &lvds0; 53 - lvds1 = &lvds1; 54 - }; 55 - 56 - backlight0: backlight0 { 57 - compatible = "pwm-backlight"; 58 - pwms = <&pwm2 0 500000 0>; 59 - power-supply = <&reg_lcd0_pwr>; 60 - /* 61 - * a poor man's way to create a 1:1 relationship between 62 - * the PWM value and the actual duty cycle 63 - */ 64 - brightness-levels = < 0 1 2 3 4 5 6 7 8 9 65 - 10 11 12 13 14 15 16 17 18 19 66 - 20 21 22 23 24 25 26 27 28 29 67 - 30 31 32 33 34 35 36 37 38 39 68 - 40 41 42 43 44 45 46 47 48 49 69 - 50 51 52 53 54 55 56 57 58 59 70 - 60 61 62 63 64 65 66 67 68 69 71 - 70 71 72 73 74 75 76 77 78 79 72 - 80 81 82 83 84 85 86 87 88 89 73 - 90 91 92 93 94 95 96 97 98 99 74 - 100>; 75 - default-brightness-level = <50>; 76 - }; 77 - 78 - backlight1: backlight1 { 79 - compatible = "pwm-backlight"; 80 - pwms = <&pwm1 0 500000 0>; 81 - power-supply = <&reg_lcd1_pwr>; 82 - /* 83 - * a poor man's way to create a 1:1 relationship between 84 - * the PWM value and the actual duty cycle 85 - */ 86 - brightness-levels = < 0 1 2 3 4 5 6 7 8 9 87 - 10 11 12 13 14 15 16 17 18 19 88 - 20 21 22 23 24 25 26 27 28 29 89 - 30 31 32 33 34 35 36 37 38 39 90 - 40 41 42 43 44 45 46 47 48 49 91 - 50 51 52 53 54 55 56 57 58 59 92 - 60 61 62 63 64 65 66 67 68 69 93 - 70 71 72 73 74 75 76 77 78 79 94 - 80 81 82 83 84 85 86 87 88 89 95 - 90 91 92 93 94 95 96 97 98 99 96 - 100>; 97 - default-brightness-level = <50>; 98 - }; 99 - }; 100 - 101 - &kpp { 102 - status = "disabled"; /* pad conflict with backlight1 PWM */ 103 - }; 104 - 105 - &ldb { 106 - status = "okay"; 107 - 108 - lvds0: lvds-channel@0 { 109 - fsl,data-mapping = "spwg"; 110 - fsl,data-width = <18>; 111 - status = "okay"; 112 - 113 - display-timings { 114 - native-mode = <&lvds_timing0>; 115 - lvds_timing0: hsd100pxn1 { 116 - clock-frequency = <65000000>; 117 - hactive = <1024>; 118 - vactive = <768>; 119 - hback-porch = <220>; 120 - hfront-porch = <40>; 121 - vback-porch = <21>; 122 - vfront-porch = <7>; 123 - hsync-len = <60>; 124 - vsync-len = <10>; 125 - de-active = <1>; 126 - pixelclk-active = <1>; 127 - }; 128 - }; 129 - }; 130 - 131 - lvds1: lvds-channel@1 { 132 - fsl,data-mapping = "spwg"; 133 - fsl,data-width = <18>; 134 - status = "disabled"; 135 - 136 - display-timings { 137 - native-mode = <&lvds_timing1>; 138 - lvds_timing1: hsd100pxn1 { 139 - clock-frequency = <65000000>; 140 - hactive = <1024>; 141 - vactive = <768>; 142 - hback-porch = <220>; 143 - hfront-porch = <40>; 144 - vback-porch = <21>; 145 - vfront-porch = <7>; 146 - hsync-len = <60>; 147 - vsync-len = <10>; 148 - de-active = <1>; 149 - pixelclk-active = <1>; 150 - }; 151 - }; 152 - }; 153 - }; 154 - 155 - &pwm1 { 156 - status = "okay"; 157 50 };
+9 -176
arch/arm/boot/dts/imx6dl-tx6u-81xx-mb7.dts
··· 42 42 /dts-v1/; 43 43 #include "imx6dl.dtsi" 44 44 #include "imx6qdl-tx6.dtsi" 45 + #include "imx6qdl-tx6-lvds.dtsi" 45 46 46 47 / { 47 48 model = "Ka-Ro electronics TX6U-81xx Module on MB7 baseboard"; 48 49 compatible = "karo,imx6dl-tx6dl", "fsl,imx6dl"; 50 + }; 49 51 50 - aliases { 51 - display = &lvds0; 52 - lvds0 = &lvds0; 53 - lvds1 = &lvds1; 54 - }; 52 + &backlight0 { 53 + pwms = <&pwm2 0 500000 PWM_POLARITY_INVERTED>; 54 + turn-on-delay-ms = <35>; 55 + }; 55 56 56 - backlight0: backlight0 { 57 - compatible = "pwm-backlight"; 58 - pwms = <&pwm2 0 500000 PWM_POLARITY_INVERTED>; 59 - power-supply = <&reg_lcd0_pwr>; 60 - /* 61 - * a poor man's way to create a 1:1 relationship between 62 - * the PWM value and the actual duty cycle 63 - */ 64 - brightness-levels = < 0 1 2 3 4 5 6 7 8 9 65 - 10 11 12 13 14 15 16 17 18 19 66 - 20 21 22 23 24 25 26 27 28 29 67 - 30 31 32 33 34 35 36 37 38 39 68 - 40 41 42 43 44 45 46 47 48 49 69 - 50 51 52 53 54 55 56 57 58 59 70 - 60 61 62 63 64 65 66 67 68 69 71 - 70 71 72 73 74 75 76 77 78 79 72 - 80 81 82 83 84 85 86 87 88 89 73 - 90 91 92 93 94 95 96 97 98 99 74 - 100>; 75 - default-brightness-level = <50>; 76 - }; 77 - 78 - backlight1: backlight1 { 79 - compatible = "pwm-backlight"; 80 - pwms = <&pwm1 0 500000 PWM_POLARITY_INVERTED>; 81 - power-supply = <&reg_lcd1_pwr>; 82 - /* 83 - * a poor man's way to create a 1:1 relationship between 84 - * the PWM value and the actual duty cycle 85 - */ 86 - brightness-levels = < 0 1 2 3 4 5 6 7 8 9 87 - 10 11 12 13 14 15 16 17 18 19 88 - 20 21 22 23 24 25 26 27 28 29 89 - 30 31 32 33 34 35 36 37 38 39 90 - 40 41 42 43 44 45 46 47 48 49 91 - 50 51 52 53 54 55 56 57 58 59 92 - 60 61 62 63 64 65 66 67 68 69 93 - 70 71 72 73 74 75 76 77 78 79 94 - 80 81 82 83 84 85 86 87 88 89 95 - 90 91 92 93 94 95 96 97 98 99 96 - 100>; 97 - default-brightness-level = <50>; 98 - }; 57 + &backlight1 { 58 + pwms = <&pwm1 0 500000 PWM_POLARITY_INVERTED>; 59 + turn-on-delay-ms = <35>; 99 60 }; 100 61 101 62 &can1 { ··· 65 104 66 105 &can2 { 67 106 xceiver-supply = <&reg_3v3>; 68 - }; 69 - 70 - &kpp { 71 - status = "disabled"; /* pads partially clash with backlight1 PWM */ 72 - }; 73 - 74 - &ldb { 75 - status = "okay"; 76 - 77 - lvds0: lvds-channel@0 { 78 - fsl,data-mapping = "spwg"; 79 - fsl,data-width = <18>; 80 - status = "okay"; 81 - 82 - display-timings { 83 - native-mode = <&lvds0_timing1>; 84 - 85 - lvds0_timing0: hsd100pxn1 { 86 - clock-frequency = <65000000>; 87 - hactive = <1024>; 88 - vactive = <768>; 89 - hback-porch = <220>; 90 - hfront-porch = <40>; 91 - vback-porch = <21>; 92 - vfront-porch = <7>; 93 - hsync-len = <60>; 94 - vsync-len = <10>; 95 - hsync-active = <0>; 96 - vsync-active = <0>; 97 - de-active = <1>; 98 - pixelclk-active = <1>; 99 - }; 100 - 101 - lvds0_timing1: VGA { 102 - clock-frequency = <25200000>; 103 - hactive = <640>; 104 - vactive = <480>; 105 - hback-porch = <48>; 106 - hfront-porch = <16>; 107 - vback-porch = <31>; 108 - vfront-porch = <12>; 109 - hsync-len = <96>; 110 - vsync-len = <2>; 111 - hsync-active = <0>; 112 - vsync-active = <0>; 113 - de-active = <1>; 114 - pixelclk-active = <0>; 115 - }; 116 - 117 - lvds0_timing2: nl12880bc20 { 118 - clock-frequency = <71000000>; 119 - hactive = <1280>; 120 - vactive = <800>; 121 - hback-porch = <50>; 122 - hfront-porch = <50>; 123 - vback-porch = <5>; 124 - vfront-porch = <5>; 125 - hsync-len = <60>; 126 - vsync-len = <13>; 127 - hsync-active = <0>; 128 - vsync-active = <0>; 129 - de-active = <1>; 130 - pixelclk-active = <1>; 131 - }; 132 - }; 133 - }; 134 - 135 - lvds1: lvds-channel@1 { 136 - fsl,data-mapping = "spwg"; 137 - fsl,data-width = <18>; 138 - status = "okay"; 139 - 140 - display-timings { 141 - native-mode = <&lvds1_timing2>; 142 - 143 - lvds1_timing0: hsd100pxn1 { 144 - clock-frequency = <65000000>; 145 - hactive = <1024>; 146 - vactive = <768>; 147 - hback-porch = <220>; 148 - hfront-porch = <40>; 149 - vback-porch = <21>; 150 - vfront-porch = <7>; 151 - hsync-len = <60>; 152 - vsync-len = <10>; 153 - hsync-active = <0>; 154 - vsync-active = <0>; 155 - de-active = <1>; 156 - pixelclk-active = <1>; 157 - }; 158 - 159 - lvds1_timing1: VGA { 160 - clock-frequency = <25200000>; 161 - hactive = <640>; 162 - vactive = <480>; 163 - hback-porch = <48>; 164 - hfront-porch = <16>; 165 - vback-porch = <31>; 166 - vfront-porch = <12>; 167 - hsync-len = <96>; 168 - vsync-len = <2>; 169 - hsync-active = <0>; 170 - vsync-active = <0>; 171 - de-active = <1>; 172 - pixelclk-active = <0>; 173 - }; 174 - 175 - lvds1_timing2: nl12880bc20 { 176 - clock-frequency = <71000000>; 177 - hactive = <1280>; 178 - vactive = <800>; 179 - hback-porch = <50>; 180 - hfront-porch = <50>; 181 - vback-porch = <5>; 182 - vfront-porch = <5>; 183 - hsync-len = <60>; 184 - vsync-len = <13>; 185 - hsync-active = <0>; 186 - vsync-active = <0>; 187 - de-active = <1>; 188 - pixelclk-active = <1>; 189 - }; 190 - }; 191 - }; 192 - }; 193 - 194 - &pwm1 { 195 - status = "okay"; 196 107 };
+10 -64
arch/arm/boot/dts/imx6q-tx6q-1010-comtft.dts
··· 1 1 /* 2 - * Copyright 2014-2016 Lothar Waßmann <LW@KARO-electronics.de> 2 + * Copyright 2014-2017 Lothar Waßmann <LW@KARO-electronics.de> 3 3 * 4 4 * This file is dual-licensed: you can use it either under the terms 5 5 * of the GPL or the X11 license, at your option. Note that this dual ··· 42 42 /dts-v1/; 43 43 #include "imx6q.dtsi" 44 44 #include "imx6qdl-tx6.dtsi" 45 + #include "imx6qdl-tx6-lcd.dtsi" 45 46 46 47 / { 47 48 model = "Ka-Ro electronics TX6Q-1010 Module on CoMpact TFT"; 48 49 compatible = "karo,imx6q-tx6q", "fsl,imx6q"; 50 + }; 49 51 50 - aliases { 51 - display = &display; 52 - }; 53 - 54 - backlight: backlight { 55 - compatible = "pwm-backlight"; 56 - pwms = <&pwm2 0 500000 0>; 57 - power-supply = <&reg_3v3>; 58 - /* 59 - * a poor man's way to create a 1:1 relationship between 60 - * the PWM value and the actual duty cycle 61 - */ 62 - brightness-levels = < 0 1 2 3 4 5 6 7 8 9 63 - 10 11 12 13 14 15 16 17 18 19 64 - 20 21 22 23 24 25 26 27 28 29 65 - 30 31 32 33 34 35 36 37 38 39 66 - 40 41 42 43 44 45 46 47 48 49 67 - 50 51 52 53 54 55 56 57 58 59 68 - 60 61 62 63 64 65 66 67 68 69 69 - 70 71 72 73 74 75 76 77 78 79 70 - 80 81 82 83 84 85 86 87 88 89 71 - 90 91 92 93 94 95 96 97 98 99 72 - 100>; 73 - default-brightness-level = <50>; 74 - }; 75 - 76 - display: disp0 { 77 - compatible = "fsl,imx-parallel-display"; 78 - interface-pix-fmt = "rgb24"; 79 - pinctrl-names = "default"; 80 - pinctrl-0 = <&pinctrl_disp0_1>; 81 - status = "okay"; 82 - 83 - port { 84 - display0_in: endpoint { 85 - remote-endpoint = <&ipu1_di0_disp0>; 86 - }; 87 - }; 88 - 89 - display-timings { 90 - native-mode = <&ET070001DM6>; 91 - 92 - ET070001DM6: CoMTFT { /* same as ET0700 but with inverted pixel clock */ 93 - clock-frequency = <33264000>; 94 - hactive = <800>; 95 - vactive = <480>; 96 - hback-porch = <88>; 97 - hsync-len = <128>; 98 - hfront-porch = <40>; 99 - vback-porch = <33>; 100 - vsync-len = <2>; 101 - vfront-porch = <10>; 102 - hsync-active = <0>; 103 - vsync-active = <0>; 104 - de-active = <1>; 105 - pixelclk-active = <1>; 106 - }; 107 - }; 108 - }; 52 + &backlight { 53 + pwms = <&pwm2 0 500000 0>; 54 + /delete-property/ turn-on-delay-ms; 109 55 }; 110 56 111 57 &can1 { ··· 62 116 xceiver-supply = <&reg_3v3>; 63 117 }; 64 118 65 - &ipu1_di0_disp0 { 66 - remote-endpoint = <&display0_in>; 67 - }; 68 - 69 119 &kpp { 70 120 status = "disabled"; 121 + }; 122 + 123 + &lcd_panel { 124 + compatible = "edt,etm0700g0edh6"; 71 125 }; 72 126 73 127 &reg_can_xcvr {
+3 -156
arch/arm/boot/dts/imx6q-tx6q-1010.dts
··· 42 42 /dts-v1/; 43 43 #include "imx6q.dtsi" 44 44 #include "imx6qdl-tx6.dtsi" 45 + #include "imx6qdl-tx6-lcd.dtsi" 45 46 46 47 / { 47 48 model = "Ka-Ro electronics TX6Q-1010/-1030 Module"; 48 49 compatible = "karo,imx6q-tx6q", "fsl,imx6q"; 49 - 50 - aliases { 51 - display = &display; 52 - }; 53 - 54 - backlight: backlight { 55 - compatible = "pwm-backlight"; 56 - pwms = <&pwm2 0 500000 PWM_POLARITY_INVERTED>; 57 - power-supply = <&reg_3v3>; 58 - /* 59 - * a poor man's way to create a 1:1 relationship between 60 - * the PWM value and the actual duty cycle 61 - */ 62 - brightness-levels = < 0 1 2 3 4 5 6 7 8 9 63 - 10 11 12 13 14 15 16 17 18 19 64 - 20 21 22 23 24 25 26 27 28 29 65 - 30 31 32 33 34 35 36 37 38 39 66 - 40 41 42 43 44 45 46 47 48 49 67 - 50 51 52 53 54 55 56 57 58 59 68 - 60 61 62 63 64 65 66 67 68 69 69 - 70 71 72 73 74 75 76 77 78 79 70 - 80 81 82 83 84 85 86 87 88 89 71 - 90 91 92 93 94 95 96 97 98 99 72 - 100>; 73 - default-brightness-level = <50>; 74 - }; 75 - 76 - display: disp0 { 77 - compatible = "fsl,imx-parallel-display"; 78 - interface-pix-fmt = "rgb24"; 79 - pinctrl-names = "default"; 80 - pinctrl-0 = <&pinctrl_disp0_1>; 81 - status = "okay"; 82 - 83 - port { 84 - display0_in: endpoint { 85 - remote-endpoint = <&ipu1_di0_disp0>; 86 - }; 87 - }; 88 - 89 - display-timings { 90 - VGA { 91 - clock-frequency = <25200000>; 92 - hactive = <640>; 93 - vactive = <480>; 94 - hback-porch = <48>; 95 - hsync-len = <96>; 96 - hfront-porch = <16>; 97 - vback-porch = <31>; 98 - vsync-len = <2>; 99 - vfront-porch = <12>; 100 - hsync-active = <0>; 101 - vsync-active = <0>; 102 - de-active = <1>; 103 - pixelclk-active = <0>; 104 - }; 105 - 106 - ETV570 { 107 - clock-frequency = <25200000>; 108 - hactive = <640>; 109 - vactive = <480>; 110 - hback-porch = <114>; 111 - hsync-len = <30>; 112 - hfront-porch = <16>; 113 - vback-porch = <32>; 114 - vsync-len = <3>; 115 - vfront-porch = <10>; 116 - hsync-active = <0>; 117 - vsync-active = <0>; 118 - de-active = <1>; 119 - pixelclk-active = <0>; 120 - }; 121 - 122 - ET0350 { 123 - clock-frequency = <6413760>; 124 - hactive = <320>; 125 - vactive = <240>; 126 - hback-porch = <34>; 127 - hsync-len = <34>; 128 - hfront-porch = <20>; 129 - vback-porch = <15>; 130 - vsync-len = <3>; 131 - vfront-porch = <4>; 132 - hsync-active = <0>; 133 - vsync-active = <0>; 134 - de-active = <1>; 135 - pixelclk-active = <0>; 136 - }; 137 - 138 - ET0430 { 139 - clock-frequency = <9009000>; 140 - hactive = <480>; 141 - vactive = <272>; 142 - hback-porch = <2>; 143 - hsync-len = <41>; 144 - hfront-porch = <2>; 145 - vback-porch = <2>; 146 - vsync-len = <10>; 147 - vfront-porch = <2>; 148 - hsync-active = <0>; 149 - vsync-active = <0>; 150 - de-active = <1>; 151 - pixelclk-active = <1>; 152 - }; 153 - 154 - ET0500 { 155 - clock-frequency = <33264000>; 156 - hactive = <800>; 157 - vactive = <480>; 158 - hback-porch = <88>; 159 - hsync-len = <128>; 160 - hfront-porch = <40>; 161 - vback-porch = <33>; 162 - vsync-len = <2>; 163 - vfront-porch = <10>; 164 - hsync-active = <0>; 165 - vsync-active = <0>; 166 - de-active = <1>; 167 - pixelclk-active = <0>; 168 - }; 169 - 170 - ET0700 { /* same as ET0500 */ 171 - clock-frequency = <33264000>; 172 - hactive = <800>; 173 - vactive = <480>; 174 - hback-porch = <88>; 175 - hsync-len = <128>; 176 - hfront-porch = <40>; 177 - vback-porch = <33>; 178 - vsync-len = <2>; 179 - vfront-porch = <10>; 180 - hsync-active = <0>; 181 - vsync-active = <0>; 182 - de-active = <1>; 183 - pixelclk-active = <0>; 184 - }; 185 - 186 - ETQ570 { 187 - clock-frequency = <6596040>; 188 - hactive = <320>; 189 - vactive = <240>; 190 - hback-porch = <38>; 191 - hsync-len = <30>; 192 - hfront-porch = <30>; 193 - vback-porch = <16>; 194 - vsync-len = <3>; 195 - vfront-porch = <4>; 196 - hsync-active = <0>; 197 - vsync-active = <0>; 198 - de-active = <1>; 199 - pixelclk-active = <0>; 200 - }; 201 - }; 202 - }; 203 50 }; 204 51 205 - &ipu1_di0_disp0 { 206 - remote-endpoint = <&display0_in>; 52 + &ipu2 { 53 + status = "disabled"; 207 54 };
+10 -64
arch/arm/boot/dts/imx6q-tx6q-1020-comtft.dts
··· 1 1 /* 2 - * Copyright 2014-2016 Lothar Waßmann <LW@KARO-electronics.de> 2 + * Copyright 2014-2017 Lothar Waßmann <LW@KARO-electronics.de> 3 3 * 4 4 * This file is dual-licensed: you can use it either under the terms 5 5 * of the GPL or the X11 license, at your option. Note that this dual ··· 42 42 /dts-v1/; 43 43 #include "imx6q.dtsi" 44 44 #include "imx6qdl-tx6.dtsi" 45 + #include "imx6qdl-tx6-lcd.dtsi" 45 46 46 47 / { 47 48 model = "Ka-Ro electronics TX6Q-1020 Module on CoMpact TFT"; 48 49 compatible = "karo,imx6q-tx6q", "fsl,imx6q"; 50 + }; 49 51 50 - aliases { 51 - display = &display; 52 - }; 53 - 54 - backlight: backlight { 55 - compatible = "pwm-backlight"; 56 - pwms = <&pwm2 0 500000 0>; 57 - power-supply = <&reg_3v3>; 58 - /* 59 - * a poor man's way to create a 1:1 relationship between 60 - * the PWM value and the actual duty cycle 61 - */ 62 - brightness-levels = < 0 1 2 3 4 5 6 7 8 9 63 - 10 11 12 13 14 15 16 17 18 19 64 - 20 21 22 23 24 25 26 27 28 29 65 - 30 31 32 33 34 35 36 37 38 39 66 - 40 41 42 43 44 45 46 47 48 49 67 - 50 51 52 53 54 55 56 57 58 59 68 - 60 61 62 63 64 65 66 67 68 69 69 - 70 71 72 73 74 75 76 77 78 79 70 - 80 81 82 83 84 85 86 87 88 89 71 - 90 91 92 93 94 95 96 97 98 99 72 - 100>; 73 - default-brightness-level = <50>; 74 - }; 75 - 76 - display: disp0 { 77 - compatible = "fsl,imx-parallel-display"; 78 - interface-pix-fmt = "rgb24"; 79 - pinctrl-names = "default"; 80 - pinctrl-0 = <&pinctrl_disp0_1>; 81 - status = "okay"; 82 - 83 - port { 84 - display0_in: endpoint { 85 - remote-endpoint = <&ipu1_di0_disp0>; 86 - }; 87 - }; 88 - 89 - display-timings { 90 - native-mode = <&ET070001DM6>; 91 - 92 - ET070001DM6: CoMTFT { /* same as ET0700 but with inverted pixel clock */ 93 - clock-frequency = <33264000>; 94 - hactive = <800>; 95 - vactive = <480>; 96 - hback-porch = <88>; 97 - hsync-len = <128>; 98 - hfront-porch = <40>; 99 - vback-porch = <33>; 100 - vsync-len = <2>; 101 - vfront-porch = <10>; 102 - hsync-active = <0>; 103 - vsync-active = <0>; 104 - de-active = <1>; 105 - pixelclk-active = <1>; 106 - }; 107 - }; 108 - }; 52 + &backlight { 53 + pwms = <&pwm2 0 500000 0>; 54 + /delete-property/ turn-on-delay-ms; 109 55 }; 110 56 111 57 &can1 { ··· 70 124 status = "disabled"; 71 125 }; 72 126 73 - &ipu1_di0_disp0 { 74 - remote-endpoint = <&display0_in>; 75 - }; 76 - 77 127 &kpp { 78 128 status = "disabled"; 129 + }; 130 + 131 + &lcd_panel { 132 + compatible = "edt,etm0700g0edh6"; 79 133 }; 80 134 81 135 &reg_can_xcvr {
+5 -157
arch/arm/boot/dts/imx6q-tx6q-1020.dts
··· 1 1 /* 2 - * Copyright 2014-2016 Lothar Waßmann <LW@KARO-electronics.de> 2 + * Copyright 2014-2017 Lothar Waßmann <LW@KARO-electronics.de> 3 3 * 4 4 * This file is dual-licensed: you can use it either under the terms 5 5 * of the GPL or the X11 license, at your option. Note that this dual ··· 42 42 /dts-v1/; 43 43 #include "imx6q.dtsi" 44 44 #include "imx6qdl-tx6.dtsi" 45 + #include "imx6qdl-tx6-lcd.dtsi" 45 46 46 47 / { 47 48 model = "Ka-Ro electronics TX6Q-1020 Module"; 48 49 compatible = "karo,imx6q-tx6q", "fsl,imx6q"; 49 - 50 - aliases { 51 - display = &display; 52 - }; 53 - 54 - backlight: backlight { 55 - compatible = "pwm-backlight"; 56 - pwms = <&pwm2 0 500000 PWM_POLARITY_INVERTED>; 57 - power-supply = <&reg_3v3>; 58 - /* 59 - * a poor man's way to create a 1:1 relationship between 60 - * the PWM value and the actual duty cycle 61 - */ 62 - brightness-levels = < 0 1 2 3 4 5 6 7 8 9 63 - 10 11 12 13 14 15 16 17 18 19 64 - 20 21 22 23 24 25 26 27 28 29 65 - 30 31 32 33 34 35 36 37 38 39 66 - 40 41 42 43 44 45 46 47 48 49 67 - 50 51 52 53 54 55 56 57 58 59 68 - 60 61 62 63 64 65 66 67 68 69 69 - 70 71 72 73 74 75 76 77 78 79 70 - 80 81 82 83 84 85 86 87 88 89 71 - 90 91 92 93 94 95 96 97 98 99 72 - 100>; 73 - default-brightness-level = <50>; 74 - }; 75 - 76 - display: disp0 { 77 - compatible = "fsl,imx-parallel-display"; 78 - interface-pix-fmt = "rgb24"; 79 - pinctrl-names = "default"; 80 - pinctrl-0 = <&pinctrl_disp0_1>; 81 - status = "okay"; 82 - 83 - port { 84 - display0_in: endpoint { 85 - remote-endpoint = <&ipu1_di0_disp0>; 86 - }; 87 - }; 88 - 89 - display-timings { 90 - VGA { 91 - clock-frequency = <25200000>; 92 - hactive = <640>; 93 - vactive = <480>; 94 - hback-porch = <48>; 95 - hsync-len = <96>; 96 - hfront-porch = <16>; 97 - vback-porch = <31>; 98 - vsync-len = <2>; 99 - vfront-porch = <12>; 100 - hsync-active = <0>; 101 - vsync-active = <0>; 102 - de-active = <1>; 103 - pixelclk-active = <0>; 104 - }; 105 - 106 - ETV570 { 107 - clock-frequency = <25200000>; 108 - hactive = <640>; 109 - vactive = <480>; 110 - hback-porch = <114>; 111 - hsync-len = <30>; 112 - hfront-porch = <16>; 113 - vback-porch = <32>; 114 - vsync-len = <3>; 115 - vfront-porch = <10>; 116 - hsync-active = <0>; 117 - vsync-active = <0>; 118 - de-active = <1>; 119 - pixelclk-active = <0>; 120 - }; 121 - 122 - ET0350 { 123 - clock-frequency = <6413760>; 124 - hactive = <320>; 125 - vactive = <240>; 126 - hback-porch = <34>; 127 - hsync-len = <34>; 128 - hfront-porch = <20>; 129 - vback-porch = <15>; 130 - vsync-len = <3>; 131 - vfront-porch = <4>; 132 - hsync-active = <0>; 133 - vsync-active = <0>; 134 - de-active = <1>; 135 - pixelclk-active = <0>; 136 - }; 137 - 138 - ET0430 { 139 - clock-frequency = <9009000>; 140 - hactive = <480>; 141 - vactive = <272>; 142 - hback-porch = <2>; 143 - hsync-len = <41>; 144 - hfront-porch = <2>; 145 - vback-porch = <2>; 146 - vsync-len = <10>; 147 - vfront-porch = <2>; 148 - hsync-active = <0>; 149 - vsync-active = <0>; 150 - de-active = <1>; 151 - pixelclk-active = <1>; 152 - }; 153 - 154 - ET0500 { 155 - clock-frequency = <33264000>; 156 - hactive = <800>; 157 - vactive = <480>; 158 - hback-porch = <88>; 159 - hsync-len = <128>; 160 - hfront-porch = <40>; 161 - vback-porch = <33>; 162 - vsync-len = <2>; 163 - vfront-porch = <10>; 164 - hsync-active = <0>; 165 - vsync-active = <0>; 166 - de-active = <1>; 167 - pixelclk-active = <0>; 168 - }; 169 - 170 - ET0700 { /* same as ET0500 */ 171 - clock-frequency = <33264000>; 172 - hactive = <800>; 173 - vactive = <480>; 174 - hback-porch = <88>; 175 - hsync-len = <128>; 176 - hfront-porch = <40>; 177 - vback-porch = <33>; 178 - vsync-len = <2>; 179 - vfront-porch = <10>; 180 - hsync-active = <0>; 181 - vsync-active = <0>; 182 - de-active = <1>; 183 - pixelclk-active = <0>; 184 - }; 185 - 186 - ETQ570 { 187 - clock-frequency = <6596040>; 188 - hactive = <320>; 189 - vactive = <240>; 190 - hback-porch = <38>; 191 - hsync-len = <30>; 192 - hfront-porch = <30>; 193 - vback-porch = <16>; 194 - vsync-len = <3>; 195 - vfront-porch = <4>; 196 - hsync-active = <0>; 197 - vsync-active = <0>; 198 - de-active = <1>; 199 - pixelclk-active = <0>; 200 - }; 201 - }; 202 - }; 203 50 }; 204 51 205 52 &ds1339 { ··· 57 210 status = "disabled"; 58 211 }; 59 212 60 - &ipu1_di0_disp0 { 61 - remote-endpoint = <&display0_in>; 213 + &ipu2 { 214 + status = "disabled"; 62 215 }; 63 216 64 217 &usdhc4 { 65 218 pinctrl-names = "default"; 66 219 pinctrl-0 = <&pinctrl_usdhc4>; 67 220 bus-width = <4>; 221 + non-removable; 68 222 no-1-8-v; 69 223 fsl,wp-controller; 70 224 status = "okay";
+2 -168
arch/arm/boot/dts/imx6q-tx6q-1036.dts
··· 1 1 /* 2 - * Copyright 2014-2016 Lothar Waßmann <LW@KARO-electronics.de> 2 + * Copyright 2014-2017 Lothar Waßmann <LW@KARO-electronics.de> 3 3 * 4 4 * This file is dual-licensed: you can use it either under the terms 5 5 * of the GPL or the X11 license, at your option. Note that this dual ··· 42 42 /dts-v1/; 43 43 #include "imx6q.dtsi" 44 44 #include "imx6qdl-tx6.dtsi" 45 + #include "imx6qdl-tx6-lcd.dtsi" 45 46 46 47 / { 47 48 model = "Ka-Ro electronics TX6Q-1036 Module"; 48 49 compatible = "karo,imx6q-tx6q", "fsl,imx6q"; 49 - 50 - aliases { 51 - display = &display; 52 - }; 53 - 54 - backlight: backlight { 55 - compatible = "pwm-backlight"; 56 - pwms = <&pwm2 0 500000 PWM_POLARITY_INVERTED>; 57 - pinctrl-names = "default"; 58 - pinctrl-0 = <&pinctrl_lcd0_pwr>; 59 - enable-gpios = <&gpio3 29 GPIO_ACTIVE_HIGH>; 60 - power-supply = <&reg_lcd1_pwr>; 61 - /* 62 - * a poor man's way to create a 1:1 relationship between 63 - * the PWM value and the actual duty cycle 64 - */ 65 - brightness-levels = < 0 1 2 3 4 5 6 7 8 9 66 - 10 11 12 13 14 15 16 17 18 19 67 - 20 21 22 23 24 25 26 27 28 29 68 - 30 31 32 33 34 35 36 37 38 39 69 - 40 41 42 43 44 45 46 47 48 49 70 - 50 51 52 53 54 55 56 57 58 59 71 - 60 61 62 63 64 65 66 67 68 69 72 - 70 71 72 73 74 75 76 77 78 79 73 - 80 81 82 83 84 85 86 87 88 89 74 - 90 91 92 93 94 95 96 97 98 99 75 - 100>; 76 - default-brightness-level = <50>; 77 - }; 78 - 79 - display: disp0 { 80 - compatible = "fsl,imx-parallel-display"; 81 - pinctrl-names = "default"; 82 - pinctrl-0 = <&pinctrl_disp0_2>; 83 - interface-pix-fmt = "rgb24"; 84 - status = "okay"; 85 - 86 - port { 87 - display0_in: endpoint { 88 - remote-endpoint = <&ipu1_di0_disp0>; 89 - }; 90 - }; 91 - 92 - display-timings { 93 - native-mode = <&vga>; 94 - 95 - vga: VGA { 96 - clock-frequency = <25200000>; 97 - hactive = <640>; 98 - vactive = <480>; 99 - hback-porch = <48>; 100 - hsync-len = <96>; 101 - hfront-porch = <16>; 102 - vback-porch = <31>; 103 - vsync-len = <2>; 104 - vfront-porch = <12>; 105 - hsync-active = <0>; 106 - vsync-active = <0>; 107 - de-active = <1>; 108 - pixelclk-active = <0>; 109 - }; 110 - 111 - ETV570 { 112 - clock-frequency = <25200000>; 113 - hactive = <640>; 114 - vactive = <480>; 115 - hback-porch = <114>; 116 - hsync-len = <30>; 117 - hfront-porch = <16>; 118 - vback-porch = <32>; 119 - vsync-len = <3>; 120 - vfront-porch = <10>; 121 - hsync-active = <0>; 122 - vsync-active = <0>; 123 - de-active = <1>; 124 - pixelclk-active = <0>; 125 - }; 126 - 127 - ET0350 { 128 - clock-frequency = <6413760>; 129 - hactive = <320>; 130 - vactive = <240>; 131 - hback-porch = <34>; 132 - hsync-len = <34>; 133 - hfront-porch = <20>; 134 - vback-porch = <15>; 135 - vsync-len = <3>; 136 - vfront-porch = <4>; 137 - hsync-active = <0>; 138 - vsync-active = <0>; 139 - de-active = <1>; 140 - pixelclk-active = <0>; 141 - }; 142 - 143 - ET0430 { 144 - clock-frequency = <9009000>; 145 - hactive = <480>; 146 - vactive = <272>; 147 - hback-porch = <2>; 148 - hsync-len = <41>; 149 - hfront-porch = <2>; 150 - vback-porch = <2>; 151 - vsync-len = <10>; 152 - vfront-porch = <2>; 153 - hsync-active = <0>; 154 - vsync-active = <0>; 155 - de-active = <1>; 156 - pixelclk-active = <1>; 157 - }; 158 - 159 - ET0500 { 160 - clock-frequency = <33264000>; 161 - hactive = <800>; 162 - vactive = <480>; 163 - hback-porch = <88>; 164 - hsync-len = <128>; 165 - hfront-porch = <40>; 166 - vback-porch = <33>; 167 - vsync-len = <2>; 168 - vfront-porch = <10>; 169 - hsync-active = <0>; 170 - vsync-active = <0>; 171 - de-active = <1>; 172 - pixelclk-active = <0>; 173 - }; 174 - 175 - ET0700 { /* same as ET0500 */ 176 - clock-frequency = <33264000>; 177 - hactive = <800>; 178 - vactive = <480>; 179 - hback-porch = <88>; 180 - hsync-len = <128>; 181 - hfront-porch = <40>; 182 - vback-porch = <33>; 183 - vsync-len = <2>; 184 - vfront-porch = <10>; 185 - hsync-active = <0>; 186 - vsync-active = <0>; 187 - de-active = <1>; 188 - pixelclk-active = <0>; 189 - }; 190 - 191 - ETQ570 { 192 - clock-frequency = <6596040>; 193 - hactive = <320>; 194 - vactive = <240>; 195 - hback-porch = <38>; 196 - hsync-len = <30>; 197 - hfront-porch = <30>; 198 - vback-porch = <16>; 199 - vsync-len = <3>; 200 - vfront-porch = <4>; 201 - hsync-active = <0>; 202 - vsync-active = <0>; 203 - de-active = <1>; 204 - pixelclk-active = <0>; 205 - }; 206 - }; 207 - }; 208 50 }; 209 51 210 52 &ds1339 { ··· 57 215 status = "disabled"; 58 216 }; 59 217 60 - &ipu1_di0_disp0 { 61 - remote-endpoint = <&display0_in>; 62 - }; 63 - 64 218 &ipu2 { 65 - status = "disabled"; 66 - }; 67 - 68 - &reg_lcd0_pwr { 69 219 status = "disabled"; 70 220 }; 71 221
+3 -106
arch/arm/boot/dts/imx6q-tx6q-1110.dts
··· 42 42 /dts-v1/; 43 43 #include "imx6q.dtsi" 44 44 #include "imx6qdl-tx6.dtsi" 45 + #include "imx6qdl-tx6-lvds.dtsi" 45 46 46 47 / { 47 48 model = "Ka-Ro electronics TX6Q-1110/-1130 Module"; 48 49 compatible = "karo,imx6q-tx6q", "fsl,imx6q"; 49 - 50 - aliases { 51 - display = &lvds0; 52 - lvds0 = &lvds0; 53 - lvds1 = &lvds1; 54 - }; 55 - 56 - backlight0: backlight0 { 57 - compatible = "pwm-backlight"; 58 - pwms = <&pwm2 0 500000 0>; 59 - power-supply = <&reg_lcd0_pwr>; 60 - /* 61 - * a poor man's way to create a 1:1 relationship between 62 - * the PWM value and the actual duty cycle 63 - */ 64 - brightness-levels = < 0 1 2 3 4 5 6 7 8 9 65 - 10 11 12 13 14 15 16 17 18 19 66 - 20 21 22 23 24 25 26 27 28 29 67 - 30 31 32 33 34 35 36 37 38 39 68 - 40 41 42 43 44 45 46 47 48 49 69 - 50 51 52 53 54 55 56 57 58 59 70 - 60 61 62 63 64 65 66 67 68 69 71 - 70 71 72 73 74 75 76 77 78 79 72 - 80 81 82 83 84 85 86 87 88 89 73 - 90 91 92 93 94 95 96 97 98 99 74 - 100>; 75 - default-brightness-level = <50>; 76 - }; 77 - 78 - backlight1: backlight1 { 79 - compatible = "pwm-backlight"; 80 - pwms = <&pwm1 0 500000 0>; 81 - power-supply = <&reg_lcd1_pwr>; 82 - /* 83 - * a poor man's way to create a 1:1 relationship between 84 - * the PWM value and the actual duty cycle 85 - */ 86 - brightness-levels = < 0 1 2 3 4 5 6 7 8 9 87 - 10 11 12 13 14 15 16 17 18 19 88 - 20 21 22 23 24 25 26 27 28 29 89 - 30 31 32 33 34 35 36 37 38 39 90 - 40 41 42 43 44 45 46 47 48 49 91 - 50 51 52 53 54 55 56 57 58 59 92 - 60 61 62 63 64 65 66 67 68 69 93 - 70 71 72 73 74 75 76 77 78 79 94 - 80 81 82 83 84 85 86 87 88 89 95 - 90 91 92 93 94 95 96 97 98 99 96 - 100>; 97 - default-brightness-level = <50>; 98 - }; 99 50 }; 100 51 101 - &kpp { 102 - status = "disabled"; /* pad conflict with backlight1 PWM */ 103 - }; 104 - 105 - &ldb { 106 - status = "okay"; 107 - 108 - lvds0: lvds-channel@0 { 109 - fsl,data-mapping = "spwg"; 110 - fsl,data-width = <18>; 111 - status = "okay"; 112 - 113 - display-timings { 114 - native-mode = <&lvds_timing0>; 115 - lvds_timing0: hsd100pxn1 { 116 - clock-frequency = <65000000>; 117 - hactive = <1024>; 118 - vactive = <768>; 119 - hback-porch = <220>; 120 - hfront-porch = <40>; 121 - vback-porch = <21>; 122 - vfront-porch = <7>; 123 - hsync-len = <60>; 124 - vsync-len = <10>; 125 - de-active = <1>; 126 - pixelclk-active = <1>; 127 - }; 128 - }; 129 - }; 130 - 131 - lvds1: lvds-channel@1 { 132 - fsl,data-mapping = "spwg"; 133 - fsl,data-width = <18>; 134 - status = "disabled"; 135 - 136 - display-timings { 137 - native-mode = <&lvds_timing1>; 138 - lvds_timing1: hsd100pxn1 { 139 - clock-frequency = <65000000>; 140 - hactive = <1024>; 141 - vactive = <768>; 142 - hback-porch = <220>; 143 - hfront-porch = <40>; 144 - vback-porch = <21>; 145 - vfront-porch = <7>; 146 - hsync-len = <60>; 147 - vsync-len = <10>; 148 - de-active = <1>; 149 - pixelclk-active = <1>; 150 - }; 151 - }; 152 - }; 153 - }; 154 - 155 - &pwm1 { 156 - status = "okay"; 52 + &ipu2 { 53 + status = "disabled"; 157 54 }; 158 55 159 56 &sata {
+15 -172
arch/arm/boot/dts/imx6q-tx6q-11x0-mb7.dts
··· 42 42 /dts-v1/; 43 43 #include "imx6q.dtsi" 44 44 #include "imx6qdl-tx6.dtsi" 45 + #include "imx6qdl-tx6-lvds.dtsi" 45 46 46 47 / { 47 48 model = "Ka-Ro electronics TX6Q-1110/-1130 Module on MB7 baseboard"; 48 49 compatible = "karo,imx6q-tx6q", "fsl,imx6q"; 50 + }; 49 51 50 - aliases { 51 - display = &lvds0; 52 - lvds0 = &lvds0; 53 - lvds1 = &lvds1; 54 - }; 52 + &backlight0 { 53 + pwms = <&pwm2 0 500000 PWM_POLARITY_INVERTED>; 54 + turn-on-delay-ms = <35>; 55 + power-supply = <&reg_lcd1_pwr>; 56 + }; 55 57 56 - backlight0: backlight0 { 57 - compatible = "pwm-backlight"; 58 - pwms = <&pwm2 0 500000 PWM_POLARITY_INVERTED>; 59 - power-supply = <&reg_lcd0_pwr>; 60 - /* 61 - * a poor man's way to create a 1:1 relationship between 62 - * the PWM value and the actual duty cycle 63 - */ 64 - brightness-levels = < 0 1 2 3 4 5 6 7 8 9 65 - 10 11 12 13 14 15 16 17 18 19 66 - 20 21 22 23 24 25 26 27 28 29 67 - 30 31 32 33 34 35 36 37 38 39 68 - 40 41 42 43 44 45 46 47 48 49 69 - 50 51 52 53 54 55 56 57 58 59 70 - 60 61 62 63 64 65 66 67 68 69 71 - 70 71 72 73 74 75 76 77 78 79 72 - 80 81 82 83 84 85 86 87 88 89 73 - 90 91 92 93 94 95 96 97 98 99 74 - 100>; 75 - default-brightness-level = <50>; 76 - }; 77 - 78 - backlight1: backlight1 { 79 - compatible = "pwm-backlight"; 80 - pwms = <&pwm1 0 500000 PWM_POLARITY_INVERTED>; 81 - power-supply = <&reg_lcd1_pwr>; 82 - /* 83 - * a poor man's way to create a 1:1 relationship between 84 - * the PWM value and the actual duty cycle 85 - */ 86 - brightness-levels = < 0 1 2 3 4 5 6 7 8 9 87 - 10 11 12 13 14 15 16 17 18 19 88 - 20 21 22 23 24 25 26 27 28 29 89 - 30 31 32 33 34 35 36 37 38 39 90 - 40 41 42 43 44 45 46 47 48 49 91 - 50 51 52 53 54 55 56 57 58 59 92 - 60 61 62 63 64 65 66 67 68 69 93 - 70 71 72 73 74 75 76 77 78 79 94 - 80 81 82 83 84 85 86 87 88 89 95 - 90 91 92 93 94 95 96 97 98 99 96 - 100>; 97 - default-brightness-level = <50>; 98 - }; 58 + &backlight1 { 59 + pwms = <&pwm1 0 500000 PWM_POLARITY_INVERTED>; 60 + turn-on-delay-ms = <35>; 61 + power-supply = <&reg_lcd1_pwr>; 99 62 }; 100 63 101 64 &can1 { ··· 73 110 status = "disabled"; 74 111 }; 75 112 76 - &kpp { 77 - status = "disabled"; /* pads partially clash with backlight1 PWM */ 113 + &lvds0_panel { 114 + compatible = "edt,et057090dhu"; 78 115 }; 79 116 80 - &ldb { 81 - status = "okay"; 82 - 83 - lvds0: lvds-channel@0 { 84 - fsl,data-mapping = "spwg"; 85 - fsl,data-width = <18>; 86 - status = "okay"; 87 - 88 - display-timings { 89 - native-mode = <&lvds0_timing1>; 90 - 91 - lvds0_timing0: hsd100pxn1 { 92 - clock-frequency = <65000000>; 93 - hactive = <1024>; 94 - vactive = <768>; 95 - hback-porch = <220>; 96 - hfront-porch = <40>; 97 - vback-porch = <21>; 98 - vfront-porch = <7>; 99 - hsync-len = <60>; 100 - vsync-len = <10>; 101 - hsync-active = <0>; 102 - vsync-active = <0>; 103 - de-active = <1>; 104 - pixelclk-active = <1>; 105 - }; 106 - 107 - lvds0_timing1: VGA { 108 - clock-frequency = <25200000>; 109 - hactive = <640>; 110 - vactive = <480>; 111 - hback-porch = <48>; 112 - hfront-porch = <16>; 113 - vback-porch = <31>; 114 - vfront-porch = <12>; 115 - hsync-len = <96>; 116 - vsync-len = <2>; 117 - hsync-active = <0>; 118 - vsync-active = <0>; 119 - de-active = <1>; 120 - pixelclk-active = <0>; 121 - }; 122 - 123 - lvds0_timing2: nl12880bc20 { 124 - clock-frequency = <71000000>; 125 - hactive = <1280>; 126 - vactive = <800>; 127 - hback-porch = <50>; 128 - hfront-porch = <50>; 129 - vback-porch = <5>; 130 - vfront-porch = <5>; 131 - hsync-len = <60>; 132 - vsync-len = <13>; 133 - hsync-active = <0>; 134 - vsync-active = <0>; 135 - de-active = <1>; 136 - pixelclk-active = <1>; 137 - }; 138 - }; 139 - }; 140 - 141 - lvds1: lvds-channel@1 { 142 - fsl,data-mapping = "spwg"; 143 - fsl,data-width = <18>; 144 - status = "okay"; 145 - 146 - display-timings { 147 - native-mode = <&lvds1_timing2>; 148 - 149 - lvds1_timing0: hsd100pxn1 { 150 - clock-frequency = <65000000>; 151 - hactive = <1024>; 152 - vactive = <768>; 153 - hback-porch = <220>; 154 - hfront-porch = <40>; 155 - vback-porch = <21>; 156 - vfront-porch = <7>; 157 - hsync-len = <60>; 158 - vsync-len = <10>; 159 - hsync-active = <0>; 160 - vsync-active = <0>; 161 - de-active = <1>; 162 - pixelclk-active = <1>; 163 - }; 164 - 165 - lvds1_timing1: VGA { 166 - clock-frequency = <25200000>; 167 - hactive = <640>; 168 - vactive = <480>; 169 - hback-porch = <48>; 170 - hfront-porch = <16>; 171 - vback-porch = <31>; 172 - vfront-porch = <12>; 173 - hsync-len = <96>; 174 - vsync-len = <2>; 175 - hsync-active = <0>; 176 - vsync-active = <0>; 177 - de-active = <1>; 178 - pixelclk-active = <0>; 179 - }; 180 - 181 - lvds1_timing2: nl12880bc20 { 182 - clock-frequency = <71000000>; 183 - hactive = <1280>; 184 - vactive = <800>; 185 - hback-porch = <50>; 186 - hfront-porch = <50>; 187 - vback-porch = <5>; 188 - vfront-porch = <5>; 189 - hsync-len = <60>; 190 - vsync-len = <13>; 191 - hsync-active = <0>; 192 - vsync-active = <0>; 193 - de-active = <1>; 194 - pixelclk-active = <1>; 195 - }; 196 - }; 197 - }; 198 - }; 199 - 200 - &pwm1 { 201 - status = "okay"; 117 + &lvds1_panel { 118 + compatible = "edt,et057090dhu"; 202 119 }; 203 120 204 121 &sata {
+252
arch/arm/boot/dts/imx6qdl-tx6-lcd.dtsi
··· 1 + /* 2 + * Copyright 2017 Lothar Waßmann <LW@KARO-electronics.de> 3 + * 4 + * This file is dual-licensed: you can use it either under the terms 5 + * of the GPL or the X11 license, at your option. Note that this dual 6 + * licensing only applies to this file, and not this project as a 7 + * whole. 8 + * 9 + * a) This file is free software; you can redistribute it and/or 10 + * modify it under the terms of the GNU General Public License 11 + * version 2 as published by the Free Software Foundation. 12 + * 13 + * This file is distributed in the hope that it will be useful, 14 + * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 + * GNU General Public License for more details. 17 + * 18 + * Or, alternatively, 19 + * 20 + * b) Permission is hereby granted, free of charge, to any person 21 + * obtaining a copy of this software and associated documentation 22 + * files (the "Software"), to deal in the Software without 23 + * restriction, including without limitation the rights to use, 24 + * copy, modify, merge, publish, distribute, sublicense, and/or 25 + * sell copies of the Software, and to permit persons to whom the 26 + * Software is furnished to do so, subject to the following 27 + * conditions: 28 + * 29 + * The above copyright notice and this permission notice shall be 30 + * included in all copies or substantial portions of the Software. 31 + * 32 + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 33 + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 34 + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 35 + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 36 + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 37 + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 38 + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 39 + * OTHER DEALINGS IN THE SOFTWARE. 40 + */ 41 + 42 + / { 43 + aliases { 44 + display = &display; 45 + }; 46 + 47 + backlight: backlight { 48 + compatible = "pwm-backlight"; 49 + pwms = <&pwm2 0 500000 PWM_POLARITY_INVERTED>; 50 + pinctrl-names = "default"; 51 + pinctrl-0 = <&pinctrl_lcd1_pwr>; 52 + enable-gpios = <&gpio2 31 GPIO_ACTIVE_HIGH>; 53 + power-supply = <&reg_3v3>; 54 + turn-on-delay-ms = <35>; 55 + /* 56 + * a poor man's way to create a 1:1 relationship between 57 + * the PWM value and the actual duty cycle 58 + */ 59 + brightness-levels = < 0 1 2 3 4 5 6 7 8 9 60 + 10 11 12 13 14 15 16 17 18 19 61 + 20 21 22 23 24 25 26 27 28 29 62 + 30 31 32 33 34 35 36 37 38 39 63 + 40 41 42 43 44 45 46 47 48 49 64 + 50 51 52 53 54 55 56 57 58 59 65 + 60 61 62 63 64 65 66 67 68 69 66 + 70 71 72 73 74 75 76 77 78 79 67 + 80 81 82 83 84 85 86 87 88 89 68 + 90 91 92 93 94 95 96 97 98 99 69 + 100>; 70 + default-brightness-level = <50>; 71 + }; 72 + 73 + lcd_panel: lcd-panel { 74 + compatible = "edt,etm0700g0dh6"; 75 + pinctrl-names = "default"; 76 + pinctrl-0 = <&pinctrl_lcd0_pwr>; 77 + enable-gpios = <&gpio3 29 GPIO_ACTIVE_HIGH>; 78 + power-supply = <&reg_3v3>; 79 + backlight = <&backlight>; 80 + bus-format-override = "rgb24"; 81 + 82 + port { 83 + lcd_panel_in: endpoint { 84 + remote-endpoint = <&lcd_out>; 85 + }; 86 + }; 87 + }; 88 + 89 + display: disp0 { 90 + compatible = "fsl,imx-parallel-display"; 91 + #address-cells = <1>; 92 + #size-cells = <0>; 93 + pinctrl-names = "default"; 94 + pinctrl-0 = <&pinctrl_disp0_1>; 95 + status = "okay"; 96 + 97 + port@0 { 98 + reg = <0>; 99 + 100 + lcd_in: endpoint { 101 + remote-endpoint = <&ipu1_di0_disp0>; 102 + }; 103 + }; 104 + 105 + port@1 { 106 + reg = <1>; 107 + 108 + lcd_out: endpoint { 109 + remote-endpoint = <&lcd_panel_in>; 110 + }; 111 + }; 112 + 113 + display-timings { 114 + VGA { 115 + clock-frequency = <25200000>; 116 + hactive = <640>; 117 + vactive = <480>; 118 + hback-porch = <48>; 119 + hsync-len = <96>; 120 + hfront-porch = <16>; 121 + vback-porch = <31>; 122 + vsync-len = <2>; 123 + vfront-porch = <12>; 124 + hsync-active = <0>; 125 + vsync-active = <0>; 126 + de-active = <1>; 127 + pixelclk-active = <0>; 128 + }; 129 + 130 + ETV570 { 131 + u-boot,panel-name = "edt,et057090dhu"; 132 + clock-frequency = <25200000>; 133 + hactive = <640>; 134 + vactive = <480>; 135 + hback-porch = <114>; 136 + hsync-len = <30>; 137 + hfront-porch = <16>; 138 + vback-porch = <32>; 139 + vsync-len = <3>; 140 + vfront-porch = <10>; 141 + hsync-active = <0>; 142 + vsync-active = <0>; 143 + de-active = <1>; 144 + pixelclk-active = <0>; 145 + }; 146 + 147 + ET0350 { 148 + u-boot,panel-name = "edt,et0350g0dh6"; 149 + clock-frequency = <6413760>; 150 + hactive = <320>; 151 + vactive = <240>; 152 + hback-porch = <34>; 153 + hsync-len = <34>; 154 + hfront-porch = <20>; 155 + vback-porch = <15>; 156 + vsync-len = <3>; 157 + vfront-porch = <4>; 158 + hsync-active = <0>; 159 + vsync-active = <0>; 160 + de-active = <1>; 161 + pixelclk-active = <0>; 162 + }; 163 + 164 + ET0430 { 165 + u-boot,panel-name = "edt,et0430g0dh6"; 166 + clock-frequency = <9009000>; 167 + hactive = <480>; 168 + vactive = <272>; 169 + hback-porch = <2>; 170 + hsync-len = <41>; 171 + hfront-porch = <2>; 172 + vback-porch = <2>; 173 + vsync-len = <10>; 174 + vfront-porch = <2>; 175 + hsync-active = <0>; 176 + vsync-active = <0>; 177 + de-active = <1>; 178 + pixelclk-active = <1>; 179 + }; 180 + 181 + ET0500 { 182 + clock-frequency = <33264000>; 183 + hactive = <800>; 184 + vactive = <480>; 185 + hback-porch = <88>; 186 + hsync-len = <128>; 187 + hfront-porch = <40>; 188 + vback-porch = <33>; 189 + vsync-len = <2>; 190 + vfront-porch = <10>; 191 + hsync-active = <0>; 192 + vsync-active = <0>; 193 + de-active = <1>; 194 + pixelclk-active = <0>; 195 + }; 196 + 197 + ET0700 { /* same as ET0500 */ 198 + u-boot,panel-name = "edt,etm0700g0dh6"; 199 + clock-frequency = <33264000>; 200 + hactive = <800>; 201 + vactive = <480>; 202 + hback-porch = <88>; 203 + hsync-len = <128>; 204 + hfront-porch = <40>; 205 + vback-porch = <33>; 206 + vsync-len = <2>; 207 + vfront-porch = <10>; 208 + hsync-active = <0>; 209 + vsync-active = <0>; 210 + de-active = <1>; 211 + pixelclk-active = <0>; 212 + }; 213 + 214 + ETQ570 { 215 + clock-frequency = <6596040>; 216 + hactive = <320>; 217 + vactive = <240>; 218 + hback-porch = <38>; 219 + hsync-len = <30>; 220 + hfront-porch = <30>; 221 + vback-porch = <16>; 222 + vsync-len = <3>; 223 + vfront-porch = <4>; 224 + hsync-active = <0>; 225 + vsync-active = <0>; 226 + de-active = <1>; 227 + pixelclk-active = <0>; 228 + }; 229 + 230 + CoMTFT { /* same as ET0700 but with inverted pixel clock */ 231 + u-boot,panel-name = "edt,etm0700g0edh6"; 232 + clock-frequency = <33264000>; 233 + hactive = <800>; 234 + vactive = <480>; 235 + hback-porch = <88>; 236 + hsync-len = <128>; 237 + hfront-porch = <40>; 238 + vback-porch = <33>; 239 + vsync-len = <2>; 240 + vfront-porch = <10>; 241 + hsync-active = <0>; 242 + vsync-active = <0>; 243 + de-active = <1>; 244 + pixelclk-active = <1>; 245 + }; 246 + }; 247 + }; 248 + }; 249 + 250 + &ipu1_di0_disp0 { 251 + remote-endpoint = <&lcd_in>; 252 + };
+286
arch/arm/boot/dts/imx6qdl-tx6-lvds.dtsi
··· 1 + /* 2 + * Copyright 2017 Lothar Waßmann <LW@KARO-electronics.de> 3 + * 4 + * This file is dual-licensed: you can use it either under the terms 5 + * of the GPL or the X11 license, at your option. Note that this dual 6 + * licensing only applies to this file, and not this project as a 7 + * whole. 8 + * 9 + * a) This file is free software; you can redistribute it and/or 10 + * modify it under the terms of the GNU General Public License 11 + * version 2 as published by the Free Software Foundation. 12 + * 13 + * This file is distributed in the hope that it will be useful, 14 + * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 + * GNU General Public License for more details. 17 + * 18 + * Or, alternatively, 19 + * 20 + * b) Permission is hereby granted, free of charge, to any person 21 + * obtaining a copy of this software and associated documentation 22 + * files (the "Software"), to deal in the Software without 23 + * restriction, including without limitation the rights to use, 24 + * copy, modify, merge, publish, distribute, sublicense, and/or 25 + * sell copies of the Software, and to permit persons to whom the 26 + * Software is furnished to do so, subject to the following 27 + * conditions: 28 + * 29 + * The above copyright notice and this permission notice shall be 30 + * included in all copies or substantial portions of the Software. 31 + * 32 + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 33 + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 34 + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 35 + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 36 + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 37 + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 38 + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 39 + * OTHER DEALINGS IN THE SOFTWARE. 40 + */ 41 + 42 + / { 43 + aliases { 44 + display = &lvds0; 45 + lvds0 = &lvds0; 46 + lvds1 = &lvds1; 47 + }; 48 + 49 + backlight0: backlight0 { 50 + compatible = "pwm-backlight"; 51 + pwms = <&pwm2 0 500000 0>; 52 + power-supply = <&reg_lcd0_pwr>; 53 + brightness-levels = < 0 1 2 3 4 5 6 7 8 9 54 + 10 11 12 13 14 15 16 17 18 19 55 + 20 21 22 23 24 25 26 27 28 29 56 + 30 31 32 33 34 35 36 37 38 39 57 + 40 41 42 43 44 45 46 47 48 49 58 + 50 51 52 53 54 55 56 57 58 59 59 + 60 61 62 63 64 65 66 67 68 69 60 + 70 71 72 73 74 75 76 77 78 79 61 + 80 81 82 83 84 85 86 87 88 89 62 + 90 91 92 93 94 95 96 97 98 99 63 + 100>; 64 + default-brightness-level = <50>; 65 + }; 66 + 67 + backlight1: backlight1 { 68 + compatible = "pwm-backlight"; 69 + pwms = <&pwm1 0 500000 0>; 70 + power-supply = <&reg_lcd1_pwr>; 71 + brightness-levels = < 0 1 2 3 4 5 6 7 8 9 72 + 10 11 12 13 14 15 16 17 18 19 73 + 20 21 22 23 24 25 26 27 28 29 74 + 30 31 32 33 34 35 36 37 38 39 75 + 40 41 42 43 44 45 46 47 48 49 76 + 50 51 52 53 54 55 56 57 58 59 77 + 60 61 62 63 64 65 66 67 68 69 78 + 70 71 72 73 74 75 76 77 78 79 79 + 80 81 82 83 84 85 86 87 88 89 80 + 90 91 92 93 94 95 96 97 98 99 81 + 100>; 82 + default-brightness-level = <50>; 83 + }; 84 + 85 + lvds0_panel: lvds0-panel { 86 + compatible = "nlt,nl12880bc20-spwg-24"; 87 + backlight = <&backlight0>; 88 + power-supply = <&reg_3v3>; 89 + 90 + port { 91 + panel_in_lvds0: endpoint { 92 + remote-endpoint = <&lvds0_out>; 93 + }; 94 + }; 95 + }; 96 + 97 + lvds1_panel: lvds1-panel { 98 + compatible = "nlt,nl12880bc20-spwg-24"; 99 + backlight = <&backlight1>; 100 + power-supply = <&reg_3v3>; 101 + 102 + port { 103 + panel_in_lvds1: endpoint { 104 + remote-endpoint = <&lvds1_out>; 105 + }; 106 + }; 107 + }; 108 + }; 109 + 110 + &kpp { 111 + status = "disabled"; /* pad conflict with backlight1 PWM */ 112 + }; 113 + 114 + &ldb { 115 + status = "okay"; 116 + 117 + lvds0: lvds-channel@0 { 118 + fsl,data-width = <18>; 119 + status = "okay"; 120 + 121 + port@4 { 122 + reg = <4>; 123 + 124 + lvds0_out: endpoint { 125 + remote-endpoint = <&panel_in_lvds0>; 126 + }; 127 + }; 128 + 129 + display-timings { 130 + hsd100pxn1 { 131 + u-boot,panel-name = "hannstar,hsd100pxn1"; 132 + clock-frequency = <65000000>; 133 + hactive = <1024>; 134 + vactive = <768>; 135 + hback-porch = <220>; 136 + hfront-porch = <40>; 137 + vback-porch = <21>; 138 + vfront-porch = <7>; 139 + hsync-len = <60>; 140 + vsync-len = <10>; 141 + de-active = <1>; 142 + pixelclk-active = <1>; 143 + }; 144 + 145 + VGA { 146 + clock-frequency = <25200000>; 147 + hactive = <640>; 148 + vactive = <480>; 149 + hback-porch = <48>; 150 + hfront-porch = <16>; 151 + vback-porch = <31>; 152 + vfront-porch = <12>; 153 + hsync-len = <96>; 154 + vsync-len = <2>; 155 + hsync-active = <0>; 156 + vsync-active = <0>; 157 + de-active = <1>; 158 + pixelclk-active = <0>; 159 + }; 160 + 161 + nl12880bc20 { 162 + u-boot,panel-name = "nlt,nl12880bc20-spwg-24"; 163 + clock-frequency = <71000000>; 164 + hactive = <1280>; 165 + vactive = <800>; 166 + hback-porch = <50>; 167 + hfront-porch = <50>; 168 + vback-porch = <5>; 169 + vfront-porch = <5>; 170 + hsync-len = <60>; 171 + vsync-len = <13>; 172 + hsync-active = <0>; 173 + vsync-active = <0>; 174 + de-active = <1>; 175 + pixelclk-active = <1>; 176 + }; 177 + 178 + ET0700 { 179 + u-boot,panel-name = "edt,etm0700g0dh6"; 180 + clock-frequency = <33264000>; 181 + hactive = <800>; 182 + vactive = <480>; 183 + hback-porch = <88>; 184 + hsync-len = <128>; 185 + hfront-porch = <40>; 186 + vback-porch = <33>; 187 + vsync-len = <2>; 188 + vfront-porch = <10>; 189 + hsync-active = <0>; 190 + vsync-active = <0>; 191 + de-active = <1>; 192 + pixelclk-active = <0>; 193 + }; 194 + 195 + ETV570 { 196 + u-boot,panel-name = "edt,et057090dhu"; 197 + clock-frequency = <25200000>; 198 + hactive = <640>; 199 + vactive = <480>; 200 + hback-porch = <114>; 201 + hsync-len = <30>; 202 + hfront-porch = <16>; 203 + vback-porch = <32>; 204 + vsync-len = <3>; 205 + vfront-porch = <10>; 206 + hsync-active = <0>; 207 + vsync-active = <0>; 208 + de-active = <1>; 209 + pixelclk-active = <0>; 210 + }; 211 + }; 212 + }; 213 + 214 + lvds1: lvds-channel@1 { 215 + fsl,data-width = <18>; 216 + status = "okay"; 217 + 218 + port@4 { 219 + reg = <4>; 220 + 221 + lvds1_out: endpoint { 222 + remote-endpoint = <&panel_in_lvds1>; 223 + }; 224 + }; 225 + 226 + display-timings { 227 + hsd100pxn1 { 228 + clock-frequency = <65000000>; 229 + hactive = <1024>; 230 + vactive = <768>; 231 + hback-porch = <220>; 232 + hfront-porch = <40>; 233 + vback-porch = <21>; 234 + vfront-porch = <7>; 235 + hsync-len = <60>; 236 + vsync-len = <10>; 237 + de-active = <1>; 238 + pixelclk-active = <1>; 239 + }; 240 + 241 + VGA { 242 + clock-frequency = <25200000>; 243 + hactive = <640>; 244 + vactive = <480>; 245 + hback-porch = <48>; 246 + hfront-porch = <16>; 247 + vback-porch = <31>; 248 + vfront-porch = <12>; 249 + hsync-len = <96>; 250 + vsync-len = <2>; 251 + hsync-active = <0>; 252 + vsync-active = <0>; 253 + de-active = <1>; 254 + pixelclk-active = <0>; 255 + }; 256 + 257 + nl12880bc20 { 258 + clock-frequency = <71000000>; 259 + hactive = <1280>; 260 + vactive = <800>; 261 + hback-porch = <50>; 262 + hfront-porch = <50>; 263 + vback-porch = <5>; 264 + vfront-porch = <5>; 265 + hsync-len = <60>; 266 + vsync-len = <13>; 267 + hsync-active = <0>; 268 + vsync-active = <0>; 269 + de-active = <1>; 270 + pixelclk-active = <1>; 271 + }; 272 + }; 273 + }; 274 + }; 275 + 276 + &pwm1 { 277 + status = "okay"; 278 + }; 279 + 280 + &reg_lcd0_pwr { 281 + status = "okay"; 282 + }; 283 + 284 + &reg_lcd1_pwr { 285 + status = "okay"; 286 + };
+2 -2
arch/arm/boot/dts/imx6qdl-tx6.dtsi
··· 146 146 pinctrl-0 = <&pinctrl_lcd0_pwr>; 147 147 gpio = <&gpio3 29 GPIO_ACTIVE_HIGH>; 148 148 enable-active-high; 149 - regulator-boot-on; 149 + status = "disabled"; 150 150 }; 151 151 152 152 reg_lcd1_pwr: regulator-lcd1-pwr { ··· 158 158 pinctrl-0 = <&pinctrl_lcd1_pwr>; 159 159 gpio = <&gpio2 31 GPIO_ACTIVE_HIGH>; 160 160 enable-active-high; 161 - regulator-boot-on; 161 + status = "disabled"; 162 162 }; 163 163 164 164 reg_usbh1_vbus: regulator-usbh1-vbus {