diff options
| author | Ajay Kumar <ajaykumar.rs@samsung.com> | 2014-09-13 13:16:35 -0400 |
|---|---|---|
| committer | Kukjin Kim <kgene.kim@samsung.com> | 2014-09-13 13:16:35 -0400 |
| commit | a98c3c23868fbb5eda3fd321cab89c6e34cc5b47 (patch) | |
| tree | ad390fd661ad1f9be3280bc690eab5904da31eca | |
| parent | 132fd5be706f3d91a3589f493e1ec3ec85adba6c (diff) | |
ARM: dts: update display related nodes for exynos5250-snow
Add DT nodes for ptn3460 bridge chip and panel.
Add backlight enable pin and backlight power supply for pwm-backlight.
Also add bridge phandle needed by dp to enable display on snow.
Signed-off-by: Ajay Kumar <ajaykumar.rs@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
| -rw-r--r-- | arch/arm/boot/dts/exynos5250-snow.dts | 41 |
1 files changed, 22 insertions, 19 deletions
diff --git a/arch/arm/boot/dts/exynos5250-snow.dts b/arch/arm/boot/dts/exynos5250-snow.dts index 2a6245934c8d..e51fcef884a4 100644 --- a/arch/arm/boot/dts/exynos5250-snow.dts +++ b/arch/arm/boot/dts/exynos5250-snow.dts | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | */ | 9 | */ |
| 10 | 10 | ||
| 11 | /dts-v1/; | 11 | /dts-v1/; |
| 12 | #include <dt-bindings/gpio/gpio.h> | ||
| 12 | #include "exynos5250.dtsi" | 13 | #include "exynos5250.dtsi" |
| 13 | 14 | ||
| 14 | / { | 15 | / { |
| @@ -194,7 +195,7 @@ | |||
| 194 | dcdc3 { | 195 | dcdc3 { |
| 195 | ti,enable-ext-control; | 196 | ti,enable-ext-control; |
| 196 | }; | 197 | }; |
| 197 | fet1 { | 198 | fet1: fet1 { |
| 198 | regulator-name = "vcd_led"; | 199 | regulator-name = "vcd_led"; |
| 199 | ti,overcurrent-wait = <3>; | 200 | ti,overcurrent-wait = <3>; |
| 200 | }; | 201 | }; |
| @@ -217,7 +218,7 @@ | |||
| 217 | regulator-always-on; | 218 | regulator-always-on; |
| 218 | ti,overcurrent-wait = <3>; | 219 | ti,overcurrent-wait = <3>; |
| 219 | }; | 220 | }; |
| 220 | fet6 { | 221 | fet6: fet6 { |
| 221 | regulator-name = "lcd_vdd"; | 222 | regulator-name = "lcd_vdd"; |
| 222 | ti,overcurrent-wait = <3>; | 223 | ti,overcurrent-wait = <3>; |
| 223 | }; | 224 | }; |
| @@ -246,6 +247,15 @@ | |||
| 246 | pinctrl-0 = <&max98095_en>; | 247 | pinctrl-0 = <&max98095_en>; |
| 247 | pinctrl-names = "default"; | 248 | pinctrl-names = "default"; |
| 248 | }; | 249 | }; |
| 250 | |||
| 251 | ptn3460: lvds-bridge@20 { | ||
| 252 | compatible = "nxp,ptn3460"; | ||
| 253 | reg = <0x20>; | ||
| 254 | powerdown-gpios = <&gpy2 5 GPIO_ACTIVE_HIGH>; | ||
| 255 | reset-gpios = <&gpx1 5 GPIO_ACTIVE_HIGH>; | ||
| 256 | edid-emulation = <5>; | ||
| 257 | panel = <&panel>; | ||
| 258 | }; | ||
| 249 | }; | 259 | }; |
| 250 | 260 | ||
| 251 | i2s0: i2s@03830000 { | 261 | i2s0: i2s@03830000 { |
| @@ -298,11 +308,13 @@ | |||
| 298 | vdd_pll-supply = <&ldo8_reg>; | 308 | vdd_pll-supply = <&ldo8_reg>; |
| 299 | }; | 309 | }; |
| 300 | 310 | ||
| 301 | backlight { | 311 | backlight: backlight { |
| 302 | compatible = "pwm-backlight"; | 312 | compatible = "pwm-backlight"; |
| 303 | pwms = <&pwm 0 1000000 0>; | 313 | pwms = <&pwm 0 1000000 0>; |
| 304 | brightness-levels = <0 100 500 1000 1500 2000 2500 2800>; | 314 | brightness-levels = <0 100 500 1000 1500 2000 2500 2800>; |
| 305 | default-brightness-level = <7>; | 315 | default-brightness-level = <7>; |
| 316 | enable-gpios = <&gpx3 0 GPIO_ACTIVE_HIGH>; | ||
| 317 | power-supply = <&fet1>; | ||
| 306 | pinctrl-0 = <&pwm0_out>; | 318 | pinctrl-0 = <&pwm0_out>; |
| 307 | pinctrl-names = "default"; | 319 | pinctrl-names = "default"; |
| 308 | }; | 320 | }; |
| @@ -312,6 +324,12 @@ | |||
| 312 | samsung,invert-vclk; | 324 | samsung,invert-vclk; |
| 313 | }; | 325 | }; |
| 314 | 326 | ||
| 327 | panel: panel { | ||
| 328 | compatible = "auo,b116xw03"; | ||
| 329 | power-supply = <&fet6>; | ||
| 330 | backlight = <&backlight>; | ||
| 331 | }; | ||
| 332 | |||
| 315 | dp-controller@145B0000 { | 333 | dp-controller@145B0000 { |
| 316 | status = "okay"; | 334 | status = "okay"; |
| 317 | pinctrl-names = "default"; | 335 | pinctrl-names = "default"; |
| @@ -323,22 +341,7 @@ | |||
| 323 | samsung,link-rate = <0x0a>; | 341 | samsung,link-rate = <0x0a>; |
| 324 | samsung,lane-count = <2>; | 342 | samsung,lane-count = <2>; |
| 325 | samsung,hpd-gpio = <&gpx0 7 0>; | 343 | samsung,hpd-gpio = <&gpx0 7 0>; |
| 326 | 344 | bridge = <&ptn3460>; | |
| 327 | display-timings { | ||
| 328 | native-mode = <&timing1>; | ||
| 329 | |||
| 330 | timing1: timing@1 { | ||
| 331 | clock-frequency = <70589280>; | ||
| 332 | hactive = <1366>; | ||
| 333 | vactive = <768>; | ||
| 334 | hfront-porch = <40>; | ||
| 335 | hback-porch = <40>; | ||
| 336 | hsync-len = <32>; | ||
| 337 | vback-porch = <10>; | ||
| 338 | vfront-porch = <12>; | ||
| 339 | vsync-len = <6>; | ||
| 340 | }; | ||
| 341 | }; | ||
| 342 | }; | 345 | }; |
| 343 | }; | 346 | }; |
| 344 | 347 | ||
