* [PATCH 1/2] drm/panel-edp: Add eDP innolux panel support
@ 2022-02-18 9:44 Rex Nie
[not found] ` <CAG+K-_+txzJ2F9LONj_i3icqXFmn9byhUjJtu7N-xeY-5UKizQ@mail.gmail.com>
0 siblings, 1 reply; 5+ messages in thread
From: Rex Nie @ 2022-02-18 9:44 UTC (permalink / raw)
To: linux-arm-kernel
Cc: Thierry Reding, Sam Ravnborg, David Airlie, Daniel Vetter,
Rob Herring, dri-devel, devicetree, linux-kernel, Daocai Nie
From: Daocai Nie <niedaocai@huaqin.corp-partner.google.com>
Add support for the 14" innolux,n140hca-eac eDP panel.
Signed-off-by: Daocai Nie <niedaocai@huaqin.corp-partner.google.com>
---
drivers/gpu/drm/panel/panel-edp.c | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/drivers/gpu/drm/panel/panel-edp.c b/drivers/gpu/drm/panel/panel-edp.c
index f7bfcf63d48e..f5f9c9cb26ba 100644
--- a/drivers/gpu/drm/panel/panel-edp.c
+++ b/drivers/gpu/drm/panel/panel-edp.c
@@ -1330,6 +1330,29 @@ static const struct panel_desc innolux_n125hce_gn1 = {
},
};
+static const struct display_timing innolux_n140hca_eac_timing = {
+ .pixelclock = { 72600000, 76420000, 80240000 },
+ .hactive = { 1920, 1920, 1920 },
+ .hfront_porch = { 80, 80, 80 },
+ .hback_porch = { 190, 190, 190 },
+ .hsync_len = { 60, 60, 60 },
+ .vactive = { 1080, 1080, 1080 },
+ .vfront_porch = { 6, 6, 6 },
+ .vback_porch = { 38, 38, 38 },
+ .vsync_len = { 8, 8, 8 },
+ .flags = DISPLAY_FLAGS_VSYNC_LOW | DISPLAY_FLAGS_HSYNC_LOW,
+};
+
+static const struct panel_desc innolux_n140hca_eac = {
+ .timings = &innolux_n140hca_eac_timing,
+ .num_timings = 1,
+ .bpc = 6,
+ .size = {
+ .width = 309,
+ .height = 174,
+ },
+};
+
static const struct drm_display_mode innolux_p120zdg_bf1_mode = {
.clock = 206016,
.hdisplay = 2160,
@@ -1750,6 +1773,9 @@ static const struct of_device_id platform_of_match[] = {
}, {
.compatible = "innolux,n125hce-gn1",
.data = &innolux_n125hce_gn1,
+ }, {
+ .compatible = "innolux,n140hca-eac",
+ .data = &innolux_n140hca_eac,
}, {
.compatible = "innolux,p120zdg-bf1",
.data = &innolux_p120zdg_bf1,
--
2.25.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 1/2] drm/panel-edp: Add eDP innolux panel support
[not found] ` <CAG+K-_+txzJ2F9LONj_i3icqXFmn9byhUjJtu7N-xeY-5UKizQ@mail.gmail.com>
@ 2022-02-21 5:52 ` Hsin-Yi Wang
0 siblings, 0 replies; 5+ messages in thread
From: Hsin-Yi Wang @ 2022-02-21 5:52 UTC (permalink / raw)
To: Rex Nie
Cc: linux-arm-kernel, Thierry Reding, Sam Ravnborg, David Airlie,
Daniel Vetter, Rob Herring, dri-devel, devicetree, linux-kernel,
Daocai Nie
On Fri, Feb 18, 2022 at 5:59 PM Rex Nie <rexnie3@gmail.com> wrote:
>
> Add hsinyi@chromium.org to cc list
>
> On Fri, 18 Feb 2022 at 17:44, Rex Nie <rexnie3@gmail.com> wrote:
>>
>> From: Daocai Nie <niedaocai@huaqin.corp-partner.google.com>
>>
>> Add support for the 14" innolux,n140hca-eac eDP panel.
>>
>> Signed-off-by: Daocai Nie <niedaocai@huaqin.corp-partner.google.com>
Acked-by: Hsin-Yi Wang <hsinyi@chromium.org>
>> ---
>> drivers/gpu/drm/panel/panel-edp.c | 26 ++++++++++++++++++++++++++
>> 1 file changed, 26 insertions(+)
>>
>> diff --git a/drivers/gpu/drm/panel/panel-edp.c b/drivers/gpu/drm/panel/panel-edp.c
>> index f7bfcf63d48e..f5f9c9cb26ba 100644
>> --- a/drivers/gpu/drm/panel/panel-edp.c
>> +++ b/drivers/gpu/drm/panel/panel-edp.c
>> @@ -1330,6 +1330,29 @@ static const struct panel_desc innolux_n125hce_gn1 = {
>> },
>> };
>>
>> +static const struct display_timing innolux_n140hca_eac_timing = {
>> + .pixelclock = { 72600000, 76420000, 80240000 },
>> + .hactive = { 1920, 1920, 1920 },
>> + .hfront_porch = { 80, 80, 80 },
>> + .hback_porch = { 190, 190, 190 },
>> + .hsync_len = { 60, 60, 60 },
>> + .vactive = { 1080, 1080, 1080 },
>> + .vfront_porch = { 6, 6, 6 },
>> + .vback_porch = { 38, 38, 38 },
>> + .vsync_len = { 8, 8, 8 },
>> + .flags = DISPLAY_FLAGS_VSYNC_LOW | DISPLAY_FLAGS_HSYNC_LOW,
>> +};
>> +
>> +static const struct panel_desc innolux_n140hca_eac = {
>> + .timings = &innolux_n140hca_eac_timing,
>> + .num_timings = 1,
>> + .bpc = 6,
>> + .size = {
>> + .width = 309,
>> + .height = 174,
>> + },
>> +};
>> +
>> static const struct drm_display_mode innolux_p120zdg_bf1_mode = {
>> .clock = 206016,
>> .hdisplay = 2160,
>> @@ -1750,6 +1773,9 @@ static const struct of_device_id platform_of_match[] = {
>> }, {
>> .compatible = "innolux,n125hce-gn1",
>> .data = &innolux_n125hce_gn1,
>> + }, {
>> + .compatible = "innolux,n140hca-eac",
>> + .data = &innolux_n140hca_eac,
>> }, {
>> .compatible = "innolux,p120zdg-bf1",
>> .data = &innolux_p120zdg_bf1,
>> --
>> 2.25.1
>>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/2] drm/panel-edp: Add eDP innolux panel support
@ 2022-06-28 8:53 Rex Nie
0 siblings, 0 replies; 5+ messages in thread
From: Rex Nie @ 2022-06-28 8:53 UTC (permalink / raw)
To: linux-arm-kernel
Cc: Thierry Reding, Sam Ravnborg, David Airlie, Daniel Vetter,
dri-devel, linux-kernel, robh+dt, spanda, dianders, devicetree,
Hsin-Yi Wang, Rob Herring, Rex Nie
Add support for the 14" innolux,n140hca-eac eDP panel.
Signed-off-by: Rex Nie <rexnie3@gmail.com>
Acked-by: Hsin-Yi Wang <hsinyi@chromium.org>
---
drivers/gpu/drm/panel/panel-edp.c | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/drivers/gpu/drm/panel/panel-edp.c b/drivers/gpu/drm/panel/panel-edp.c
index 3626469c4cc2..2a8fcdffe80c 100644
--- a/drivers/gpu/drm/panel/panel-edp.c
+++ b/drivers/gpu/drm/panel/panel-edp.c
@@ -1355,6 +1355,29 @@ static const struct panel_desc innolux_n125hce_gn1 = {
},
};
+static const struct display_timing innolux_n140hca_eac_timing = {
+ .pixelclock = { 72600000, 76420000, 80240000 },
+ .hactive = { 1920, 1920, 1920 },
+ .hfront_porch = { 80, 80, 80 },
+ .hback_porch = { 190, 190, 190 },
+ .hsync_len = { 60, 60, 60 },
+ .vactive = { 1080, 1080, 1080 },
+ .vfront_porch = { 6, 6, 6 },
+ .vback_porch = { 38, 38, 38 },
+ .vsync_len = { 8, 8, 8 },
+ .flags = DISPLAY_FLAGS_VSYNC_LOW | DISPLAY_FLAGS_HSYNC_LOW,
+};
+
+static const struct panel_desc innolux_n140hca_eac = {
+ .timings = &innolux_n140hca_eac_timing,
+ .num_timings = 1,
+ .bpc = 6,
+ .size = {
+ .width = 309,
+ .height = 174,
+ },
+};
+
static const struct drm_display_mode innolux_p120zdg_bf1_mode = {
.clock = 206016,
.hdisplay = 2160,
@@ -1775,6 +1798,9 @@ static const struct of_device_id platform_of_match[] = {
}, {
.compatible = "innolux,n125hce-gn1",
.data = &innolux_n125hce_gn1,
+ }, {
+ .compatible = "innolux,n140hca-eac",
+ .data = &innolux_n140hca_eac,
}, {
.compatible = "innolux,p120zdg-bf1",
.data = &innolux_p120zdg_bf1,
--
2.25.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 1/2] drm/panel-edp: Add eDP innolux panel support
@ 2022-06-28 7:57 Rex Nie
0 siblings, 0 replies; 5+ messages in thread
From: Rex Nie @ 2022-06-28 7:57 UTC (permalink / raw)
To: linux-arm-kernel
Cc: Thierry Reding, Sam Ravnborg, David Airlie, Daniel Vetter,
dri-devel, linux-kernel, robh+dt, spanda, dianders, devicetree,
Hsin-Yi Wang, Rex Nie
Add support for the 14" innolux,n140hca-eac eDP panel.
Signed-off-by: Rex Nie <rexnie3@gmail.com>
---
drivers/gpu/drm/panel/panel-edp.c | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/drivers/gpu/drm/panel/panel-edp.c b/drivers/gpu/drm/panel/panel-edp.c
index 3626469c4cc2..2a8fcdffe80c 100644
--- a/drivers/gpu/drm/panel/panel-edp.c
+++ b/drivers/gpu/drm/panel/panel-edp.c
@@ -1355,6 +1355,29 @@ static const struct panel_desc innolux_n125hce_gn1 = {
},
};
+static const struct display_timing innolux_n140hca_eac_timing = {
+ .pixelclock = { 72600000, 76420000, 80240000 },
+ .hactive = { 1920, 1920, 1920 },
+ .hfront_porch = { 80, 80, 80 },
+ .hback_porch = { 190, 190, 190 },
+ .hsync_len = { 60, 60, 60 },
+ .vactive = { 1080, 1080, 1080 },
+ .vfront_porch = { 6, 6, 6 },
+ .vback_porch = { 38, 38, 38 },
+ .vsync_len = { 8, 8, 8 },
+ .flags = DISPLAY_FLAGS_VSYNC_LOW | DISPLAY_FLAGS_HSYNC_LOW,
+};
+
+static const struct panel_desc innolux_n140hca_eac = {
+ .timings = &innolux_n140hca_eac_timing,
+ .num_timings = 1,
+ .bpc = 6,
+ .size = {
+ .width = 309,
+ .height = 174,
+ },
+};
+
static const struct drm_display_mode innolux_p120zdg_bf1_mode = {
.clock = 206016,
.hdisplay = 2160,
@@ -1775,6 +1798,9 @@ static const struct of_device_id platform_of_match[] = {
}, {
.compatible = "innolux,n125hce-gn1",
.data = &innolux_n125hce_gn1,
+ }, {
+ .compatible = "innolux,n140hca-eac",
+ .data = &innolux_n140hca_eac,
}, {
.compatible = "innolux,p120zdg-bf1",
.data = &innolux_p120zdg_bf1,
--
2.25.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 1/2] drm/panel-edp: Add eDP innolux panel support
@ 2022-02-18 10:26 Rex Nie
0 siblings, 0 replies; 5+ messages in thread
From: Rex Nie @ 2022-02-18 10:26 UTC (permalink / raw)
To: linux-arm-kernel
Cc: Thierry Reding, Sam Ravnborg, David Airlie, Daniel Vetter,
Rob Herring, dri-devel, devicetree, linux-kernel, hsinyi,
Rex Nie
Add support for the 14" innolux,n140hca-eac eDP panel.
Signed-off-by: Rex Nie <rexnie3@gmail.com>
---
drivers/gpu/drm/panel/panel-edp.c | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/drivers/gpu/drm/panel/panel-edp.c b/drivers/gpu/drm/panel/panel-edp.c
index f7bfcf63d48e..f5f9c9cb26ba 100644
--- a/drivers/gpu/drm/panel/panel-edp.c
+++ b/drivers/gpu/drm/panel/panel-edp.c
@@ -1330,6 +1330,29 @@ static const struct panel_desc innolux_n125hce_gn1 = {
},
};
+static const struct display_timing innolux_n140hca_eac_timing = {
+ .pixelclock = { 72600000, 76420000, 80240000 },
+ .hactive = { 1920, 1920, 1920 },
+ .hfront_porch = { 80, 80, 80 },
+ .hback_porch = { 190, 190, 190 },
+ .hsync_len = { 60, 60, 60 },
+ .vactive = { 1080, 1080, 1080 },
+ .vfront_porch = { 6, 6, 6 },
+ .vback_porch = { 38, 38, 38 },
+ .vsync_len = { 8, 8, 8 },
+ .flags = DISPLAY_FLAGS_VSYNC_LOW | DISPLAY_FLAGS_HSYNC_LOW,
+};
+
+static const struct panel_desc innolux_n140hca_eac = {
+ .timings = &innolux_n140hca_eac_timing,
+ .num_timings = 1,
+ .bpc = 6,
+ .size = {
+ .width = 309,
+ .height = 174,
+ },
+};
+
static const struct drm_display_mode innolux_p120zdg_bf1_mode = {
.clock = 206016,
.hdisplay = 2160,
@@ -1750,6 +1773,9 @@ static const struct of_device_id platform_of_match[] = {
}, {
.compatible = "innolux,n125hce-gn1",
.data = &innolux_n125hce_gn1,
+ }, {
+ .compatible = "innolux,n140hca-eac",
+ .data = &innolux_n140hca_eac,
}, {
.compatible = "innolux,p120zdg-bf1",
.data = &innolux_p120zdg_bf1,
--
2.25.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
end of thread, other threads:[~2022-06-28 8:53 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-18 9:44 [PATCH 1/2] drm/panel-edp: Add eDP innolux panel support Rex Nie
[not found] ` <CAG+K-_+txzJ2F9LONj_i3icqXFmn9byhUjJtu7N-xeY-5UKizQ@mail.gmail.com>
2022-02-21 5:52 ` Hsin-Yi Wang
2022-02-18 10:26 Rex Nie
2022-06-28 7:57 Rex Nie
2022-06-28 8:53 Rex Nie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).