Re: [PATCH v3 4/4] ARM: dts: enable dp-controller for exynos5420 based peach-pit board

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Friday, May 09, 2014 7:10 PM, Rahul Sharma wrote:
> 
> From: Rahul Sharma <Rahul.Sharma@xxxxxxxxxxx>
> 
> Enable dp-controller for peach-pit board.
> 
> Signed-off-by: Rahul Sharma <Rahul.Sharma@xxxxxxxxxxx>

Reviewed-by: Jingoo Han <jg1.han@xxxxxxxxxxx>

Best regards,
Jingoo Han

> ---
>  arch/arm/boot/dts/exynos5420-peach-pit.dts |   36 ++++++++++++++++++++++++++++
>  1 file changed, 36 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/exynos5420-peach-pit.dts b/arch/arm/boot/dts/exynos5420-peach-pit.dts
> index f75da5b..0e79479 100644
> --- a/arch/arm/boot/dts/exynos5420-peach-pit.dts
> +++ b/arch/arm/boot/dts/exynos5420-peach-pit.dts
> @@ -74,6 +74,13 @@
>  		samsung,pin-pud = <0>;
>  		samsung,pin-drv = <0>;
>  	};
> +
> +	dp_hpd_gpio: dp_hpd_gpio {
> +		samsung,pins = "gpx2-6";
> +		samsung,pin-function = <0>;
> +		samsung,pin-pud = <3>;
> +		samsung,pin-drv = <0>;
> +	};
>  };
> 
>  &rtc {
> @@ -150,3 +157,32 @@
>  	status = "okay";
>  	samsung,invert-vclk;
>  };
> +
> +&dp {
> +	status = "okay";
> +	pinctrl-names = "default";
> +	pinctrl-0 = <&dp_hpd_gpio>;
> +	samsung,color-space = <0>;
> +	samsung,dynamic-range = <0>;
> +	samsung,ycbcr-coeff = <0>;
> +	samsung,color-depth = <1>;
> +	samsung,link-rate = <0x06>;
> +	samsung,lane-count = <2>;
> +	samsung,hpd-gpio = <&gpx2 6 0>;
> +
> +	display-timings {
> +		native-mode = <&timing1>;
> +
> +		timing1: timing@1 {
> +			clock-frequency = <70589280>;
> +			hactive = <1366>;
> +			vactive = <768>;
> +			hfront-porch = <40>;
> +			hback-porch = <40>;
> +			hsync-len = <32>;
> +			vback-porch = <10>;
> +			vfront-porch = <12>;
> +			vsync-len = <6>;
> +		};
> +	};
> +};
> --
> 1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux