Skip to contentSkip to conversation

drm/exynos: add phy settings for RB resolutions

PATCH In review Shirish S 3 participants 3 messages Mar 10, 2014 – Mar 13, 2014

Subsystems (3)
lore
Share & tools
lore

Shirish S

author
#0 lore raw

PATCH 1/1 drm/exynos: add phy settings for RB resolutions

below is list of pixel clocks and resoluitons
this patch adds:

71000000  - 1280x800@60Hz RB
73250000  - 800x600@120Hz RB
88750000  - 1440x900@60Hz RB

115500000 - 1024x768@120Hz RB
119000000 - 1680x1050@60Hz RB

without these pixel clocks' support the mentioned
resolutions fail to be detected in exynos5250.

---
 drivers/gpu/drm/exynos/exynos_hdmi.c |   45 ++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)
drivers/gpu/drm/exynos/exynos_hdmi.c +45 -0
index c021ddc..650ce48 100644
@@ -303,6 +303,24 @@ static const struct hdmiphy_config hdmiphy_v14_configs[] = {
 		},
 	},
 	{
+		.pixel_clock = 71000000,
+		.conf = {
+			0x01, 0x91, 0x1E, 0x15, 0x40, 0x3C, 0xCE, 0x08,
+			0x04, 0x20, 0xB2, 0xD8, 0x45, 0xA0, 0xAC, 0x80,
+			0x06, 0x80, 0x11, 0x04, 0x02, 0x22, 0x44, 0x86,
+			0x54, 0xAD, 0x24, 0x01, 0x00, 0x00, 0x01, 0x80,
+		},
+	},
+	{
+		.pixel_clock = 73250000,
+		.conf = {
+			0x01, 0xD1, 0x1F, 0x15, 0x40, 0x18, 0xE9, 0x08,
+			0x02, 0xA0, 0xB7, 0xD8, 0x45, 0xA0, 0xAC, 0x80,
+			0x06, 0x80, 0x11, 0x04, 0x02, 0x22, 0x44, 0x86,
+			0x54, 0xA8, 0x24, 0x01, 0x00, 0x00, 0x01, 0x80,
+		},
+	},
+	{
 		.pixel_clock = 74176000,
 		.conf = {
 			0x01, 0xd1, 0x3e, 0x35, 0x40, 0x5b, 0xde, 0x08,
@@ -330,6 +348,15 @@ static const struct hdmiphy_config hdmiphy_v14_configs[] = {
 		},
 	},
 	{
+		.pixel_clock = 88750000,
+		.conf = {
+			0x01, 0x91, 0x25, 0x17, 0x40, 0x30, 0xFE, 0x08,
+			0x06, 0x20, 0xDE, 0xD8, 0x45, 0xA0, 0xAC, 0x80,
+			0x06, 0x80, 0x11, 0x04, 0x02, 0x22, 0x44, 0x86,
+			0x54, 0x8A, 0x24, 0x01, 0x00, 0x00, 0x01, 0x80,
+		},
+	},
+	{
 		.pixel_clock = 106500000,
 		.conf = {
 			0x01, 0xd1, 0x2c, 0x12, 0x40, 0x0c, 0x09, 0x08,
@@ -348,6 +375,24 @@ static const struct hdmiphy_config hdmiphy_v14_configs[] = {
 		},
 	},
 	{
+		.pixel_clock = 115500000,
+		.conf = {
+			0x01, 0xD1, 0x30, 0x1A, 0x40, 0x40, 0x10, 0x04,
+			0x04, 0xA0, 0x21, 0xD9, 0x45, 0xA0, 0xAC, 0x80,
+			0x06, 0x80, 0x11, 0x04, 0x02, 0x22, 0x44, 0x86,
+			0x54, 0xAA, 0x25, 0x03, 0x00, 0x00, 0x01, 0x80,
+		},
+	},
+	{
+		.pixel_clock = 119000000,
+		.conf = {
+			0x01, 0x91, 0x32, 0x14, 0x40, 0x60, 0xD8, 0x08,
+			0x06, 0x20, 0x2A, 0xD9, 0x45, 0xA0, 0xAC, 0x80,
+			0x06, 0x80, 0x11, 0x04, 0x02, 0x22, 0x44, 0x86,
+			0x54, 0x9D, 0x25, 0x03, 0x00, 0x00, 0x01, 0x80,
+		},
+	},
+	{
 		.pixel_clock = 146250000,
 		.conf = {
 			0x01, 0xd1, 0x3d, 0x15, 0x40, 0x18, 0xfd, 0x08,
Signature · 1 line
1.7.10.4
#1 lore raw

Hi Shirish,

Quoted 11 lines · Shirish S

below is list of pixel clocks and resoluitons
this patch adds:

71000000  - 1280x800@60Hz RB
73250000  - 800x600@120Hz RB
88750000  - 1440x900@60Hz RB

115500000 - 1024x768@120Hz RB
119000000 - 1680x1050@60Hz RB

without these pixel clocks' support the mentioned
resolutions fail to be detected in exynos5250.

This commit message is poorly written. Please start sentences with capital letters and check spelling before sending.

Here follows an example of commit message for this patch:

8<---

This patch adds several new pixel clock settings for HDMI PHY v14 (Exynos5250). Without them following display modes cannot be supported:

71000000 Hz - 1280x800@60Hz RB
73250000 Hz - 800x600@120Hz RB
88750000 Hz - 1440x900@60Hz RB
115500000 Hz - 1024x768@120Hz RB
119000000 Hz - 1680x1050@60Hz RB

--->8

Quoted 11 lines
---
  drivers/gpu/drm/exynos/exynos_hdmi.c |   45 ++++++++++++++++++++++++++++++++++
  1 file changed, 45 insertions(+)
drivers/gpu/drm/exynos/exynos_hdmi.c +0 -0
index c021ddc..650ce48 100644

drivers/gpu/drm/exynos/exynos_hdmi.c static const struct hdmiphy_config hdmiphy_v14_configs[] = { · line 308

Quoted 6 lines
drivers/gpu/drm/exynos/exynos_hdmi.c +3 -0
@@ -303,6 +303,24 @@ static const struct hdmiphy_config hdmiphy_v14_configs[] = {
  		},
  	},
  	{
+		.pixel_clock = 71000000,
+		.conf = {
+			0x01, 0x91, 0x1E, 0x15, 0x40, 0x3C, 0xCE, 0x08,

Lowercase is preferred by kernel coding style for hexadecimal values.

Best regards,
Tomasz

#2 lore raw

Hi Tomasz,
Thanks for the review comments,

Quoted 27 lines · Tomasz Figa

Hi Shirish,

Quoted 4 lines · Shirish S

below is list of pixel clocks and resoluitons
this patch adds:

Quoted 8 lines
71000000  - 1280x800@60Hz RB
73250000  - 800x600@120Hz RB
88750000  - 1440x900@60Hz RB

115500000 - 1024x768@120Hz RB
119000000 - 1680x1050@60Hz RB

without these pixel clocks' support the mentioned
resolutions fail to be detected in exynos5250.

This commit message is poorly written. Please start sentences with capital letters and check spelling before sending.

Here follows an example of commit message for this patch:

8<---

This patch adds several new pixel clock settings for HDMI PHY v14 (Exynos5250). Without them following display modes cannot be supported:

Quoted 9 lines

71000000 Hz - 1280x800@60Hz RB
73250000 Hz - 800x600@120Hz RB
88750000 Hz - 1440x900@60Hz RB
115500000 Hz - 1024x768@120Hz RB
119000000 Hz - 1680x1050@60Hz RB

--->8

agreed, have updated it in the next patchset

Quoted 6 lines
Quoted 6 lines
---
  drivers/gpu/drm/exynos/exynos_hdmi.c |   45 ++++++++++++++++++++++++++++++++++
  1 file changed, 45 insertions(+)
Quoted 14 lines

drivers/gpu/drm/exynos/exynos_hdmi.c static const struct hdmiphy_config hdmiphy_v14_configs[] = { · line 308

Quoted 11 lines
drivers/gpu/drm/exynos/exynos_hdmi.c +3 -0
index c021ddc..650ce48 100644
@@ -303,6 +303,24 @@ static const struct hdmiphy_config hdmiphy_v14_configs[] = {
                },
        },
        {
+               .pixel_clock = 71000000,
+               .conf = {
+                       0x01, 0x91, 0x1E, 0x15, 0x40, 0x3C, 0xCE, 0x08,

Lowercase is preferred by kernel coding style for hexadecimal values.

Done.

Quoted 8 lines

Best regards,
Tomasz

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

Thanks & Regards,
Shirish S