diff mbox series

drm/exynos/hdmi: add support for 1920x1200@60Hz mode

Message ID 20201009130524.30828-1-m.szyprowski@samsung.com
State New
Headers show
Series drm/exynos/hdmi: add support for 1920x1200@60Hz mode | expand

Commit Message

Marek Szyprowski Oct. 9, 2020, 1:05 p.m. UTC
Add clock configuration for 154MHz pixelclock to Exynos542x HDMIPHY,
which is required for 1920x1200@60Hz mode. The PLL configuration data
has been taken from the vendor's kernel tree for the Odroid XU4 board.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
---
 drivers/gpu/drm/exynos/exynos_hdmi.c | 9 +++++++++
 1 file changed, 9 insertions(+)

Comments

대인기/Tizen Platform Lab(SR)/삼성전자 Oct. 19, 2020, 5:37 a.m. UTC | #1
20. 10. 9. 오후 10:05에 Marek Szyprowski 이(가) 쓴 글:
> Add clock configuration for 154MHz pixelclock to Exynos542x HDMIPHY,
> which is required for 1920x1200@60Hz mode. The PLL configuration data
> has been taken from the vendor's kernel tree for the Odroid XU4 board.

Merged.

Thanks,
Inki Dae

> 
> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
> ---
>  drivers/gpu/drm/exynos/exynos_hdmi.c | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hdmi.c
> index dc01c188c0e0..39fa5d3b01ef 100644
> --- a/drivers/gpu/drm/exynos/exynos_hdmi.c
> +++ b/drivers/gpu/drm/exynos/exynos_hdmi.c
> @@ -522,6 +522,15 @@ static const struct hdmiphy_config hdmiphy_5420_configs[] = {
>  			0x54, 0x4B, 0x25, 0x03, 0x00, 0x80, 0x01, 0x80,
>  		},
>  	},
> +	{
> +		.pixel_clock = 154000000,
> +		.conf = {
> +			0x01, 0xD1, 0x20, 0x01, 0x40, 0x30, 0x08, 0xCC,
> +			0x8C, 0xE8, 0xC1, 0xD8, 0x45, 0xA0, 0xAC, 0x80,
> +			0x08, 0x80, 0x09, 0x84, 0x05, 0x02, 0x24, 0x86,
> +			0x54, 0x3F, 0x25, 0x03, 0x00, 0x00, 0x01, 0x80,
> +		},
> +	},
>  };
>  
>  static const struct hdmiphy_config hdmiphy_5433_configs[] = {
>
diff mbox series

Patch

diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hdmi.c
index dc01c188c0e0..39fa5d3b01ef 100644
--- a/drivers/gpu/drm/exynos/exynos_hdmi.c
+++ b/drivers/gpu/drm/exynos/exynos_hdmi.c
@@ -522,6 +522,15 @@  static const struct hdmiphy_config hdmiphy_5420_configs[] = {
 			0x54, 0x4B, 0x25, 0x03, 0x00, 0x80, 0x01, 0x80,
 		},
 	},
+	{
+		.pixel_clock = 154000000,
+		.conf = {
+			0x01, 0xD1, 0x20, 0x01, 0x40, 0x30, 0x08, 0xCC,
+			0x8C, 0xE8, 0xC1, 0xD8, 0x45, 0xA0, 0xAC, 0x80,
+			0x08, 0x80, 0x09, 0x84, 0x05, 0x02, 0x24, 0x86,
+			0x54, 0x3F, 0x25, 0x03, 0x00, 0x00, 0x01, 0x80,
+		},
+	},
 };
 
 static const struct hdmiphy_config hdmiphy_5433_configs[] = {