* [PATCH 1/2] dt-bindings: Add E Ink to vendor bindings
@ 2021-04-18 21:09 Alistair Francis
2021-04-18 21:09 ` [PATCH 2/2] drm/panel: Add support for E Ink VB3300-KCA Alistair Francis
2021-04-21 22:57 ` [PATCH 1/2] dt-bindings: Add E Ink to vendor bindings Rob Herring
0 siblings, 2 replies; 4+ messages in thread
From: Alistair Francis @ 2021-04-18 21:09 UTC (permalink / raw)
To: robh+dt, thierry.reding, sam, krzk, shawnguo, daniel, linux,
kuninori.morimoto.gx, Max.Merchel, geert+renesas, airlied,
daniel
Cc: devicetree, linux-kernel, dri-devel, Alistair Francis
Add the E Ink Corporation to the vendor bindings.
Signed-off-by: Alistair Francis <alistair@alistair23.me>
---
Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml
index 996f4de2fff5..6c9323dc9b78 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.yaml
+++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml
@@ -329,6 +329,8 @@ patternProperties:
description: eGalax_eMPIA Technology Inc
"^einfochips,.*":
description: Einfochips
+ "^eink,.*":
+ description: E Ink Corporation
"^elan,.*":
description: Elan Microelectronic Corp.
"^element14,.*":
--
2.31.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] drm/panel: Add support for E Ink VB3300-KCA
2021-04-18 21:09 [PATCH 1/2] dt-bindings: Add E Ink to vendor bindings Alistair Francis
@ 2021-04-18 21:09 ` Alistair Francis
2021-04-21 22:57 ` Rob Herring
2021-04-21 22:57 ` [PATCH 1/2] dt-bindings: Add E Ink to vendor bindings Rob Herring
1 sibling, 1 reply; 4+ messages in thread
From: Alistair Francis @ 2021-04-18 21:09 UTC (permalink / raw)
To: robh+dt, thierry.reding, sam, krzk, shawnguo, daniel, linux,
kuninori.morimoto.gx, Max.Merchel, geert+renesas, airlied,
daniel
Cc: devicetree, linux-kernel, dri-devel, Alistair Francis
Add support for the 10.3" E Ink panel described at:
https://www.eink.com/product.html?type=productdetail&id=7
Signed-off-by: Alistair Francis <alistair@alistair23.me>
---
drivers/gpu/drm/panel/panel-simple.c | 29 ++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index 4e2dad314c79..f1f6fd2517f6 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -1964,6 +1964,32 @@ static const struct panel_desc edt_etm0700g0bdh6 = {
.bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_DRIVE_POSEDGE,
};
+static const struct display_timing eink_vb3300_kca_timing = {
+ .pixelclock = { 40000000, 40000000, 40000000 },
+ .hactive = { 334, 334, 334 },
+ .hfront_porch = { 1, 1, 1 },
+ .hback_porch = { 1, 1, 1 },
+ .hsync_len = { 1, 1, 1 },
+ .vactive = { 1405, 1405, 1405 },
+ .vfront_porch = { 1, 1, 1 },
+ .vback_porch = { 1, 1, 1 },
+ .vsync_len = { 1, 1, 1 },
+ .flags = DISPLAY_FLAGS_HSYNC_LOW | DISPLAY_FLAGS_VSYNC_LOW |
+ DISPLAY_FLAGS_DE_HIGH | DISPLAY_FLAGS_PIXDATA_POSEDGE,
+};
+
+static const struct panel_desc eink_vb3300_kca = {
+ .modes = &edt_etm0700g0dh6_mode,
+ .num_modes = 1,
+ .bpc = 6,
+ .size = {
+ .width = 157,
+ .height = 209,
+ },
+ .bus_format = MEDIA_BUS_FMT_RGB888_1X24,
+ .bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_DRIVE_POSEDGE,
+};
+
static const struct display_timing evervision_vgg804821_timing = {
.pixelclock = { 27600000, 33300000, 50000000 },
.hactive = { 800, 800, 800 },
@@ -4232,6 +4258,9 @@ static const struct of_device_id platform_of_match[] = {
}, {
.compatible = "edt,etm0700g0dh6",
.data = &edt_etm0700g0dh6,
+ }, {
+ .compatible = "eink,vb3300-kca",
+ .data = &eink_vb3300_kca,
}, {
.compatible = "edt,etm0700g0bdh6",
.data = &edt_etm0700g0bdh6,
--
2.31.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 2/2] drm/panel: Add support for E Ink VB3300-KCA
2021-04-18 21:09 ` [PATCH 2/2] drm/panel: Add support for E Ink VB3300-KCA Alistair Francis
@ 2021-04-21 22:57 ` Rob Herring
0 siblings, 0 replies; 4+ messages in thread
From: Rob Herring @ 2021-04-21 22:57 UTC (permalink / raw)
To: Alistair Francis
Cc: thierry.reding, sam, krzk, shawnguo, daniel, linux,
kuninori.morimoto.gx, Max.Merchel, geert+renesas, airlied,
daniel, devicetree, linux-kernel, dri-devel
On Mon, Apr 19, 2021 at 07:09:56AM +1000, Alistair Francis wrote:
> Add support for the 10.3" E Ink panel described at:
> https://www.eink.com/product.html?type=productdetail&id=7
>
> Signed-off-by: Alistair Francis <alistair@alistair23.me>
> ---
> drivers/gpu/drm/panel/panel-simple.c | 29 ++++++++++++++++++++++++++++
> 1 file changed, 29 insertions(+)
>
> diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
> index 4e2dad314c79..f1f6fd2517f6 100644
> --- a/drivers/gpu/drm/panel/panel-simple.c
> +++ b/drivers/gpu/drm/panel/panel-simple.c
> @@ -1964,6 +1964,32 @@ static const struct panel_desc edt_etm0700g0bdh6 = {
> .bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_DRIVE_POSEDGE,
> };
>
> +static const struct display_timing eink_vb3300_kca_timing = {
> + .pixelclock = { 40000000, 40000000, 40000000 },
> + .hactive = { 334, 334, 334 },
> + .hfront_porch = { 1, 1, 1 },
> + .hback_porch = { 1, 1, 1 },
> + .hsync_len = { 1, 1, 1 },
> + .vactive = { 1405, 1405, 1405 },
> + .vfront_porch = { 1, 1, 1 },
> + .vback_porch = { 1, 1, 1 },
> + .vsync_len = { 1, 1, 1 },
> + .flags = DISPLAY_FLAGS_HSYNC_LOW | DISPLAY_FLAGS_VSYNC_LOW |
> + DISPLAY_FLAGS_DE_HIGH | DISPLAY_FLAGS_PIXDATA_POSEDGE,
> +};
> +
> +static const struct panel_desc eink_vb3300_kca = {
> + .modes = &edt_etm0700g0dh6_mode,
> + .num_modes = 1,
> + .bpc = 6,
> + .size = {
> + .width = 157,
> + .height = 209,
> + },
> + .bus_format = MEDIA_BUS_FMT_RGB888_1X24,
> + .bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_DRIVE_POSEDGE,
> +};
> +
> static const struct display_timing evervision_vgg804821_timing = {
> .pixelclock = { 27600000, 33300000, 50000000 },
> .hactive = { 800, 800, 800 },
> @@ -4232,6 +4258,9 @@ static const struct of_device_id platform_of_match[] = {
> }, {
> .compatible = "edt,etm0700g0dh6",
> .data = &edt_etm0700g0dh6,
> + }, {
> + .compatible = "eink,vb3300-kca",
You have to document this string too.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 1/2] dt-bindings: Add E Ink to vendor bindings
2021-04-18 21:09 [PATCH 1/2] dt-bindings: Add E Ink to vendor bindings Alistair Francis
2021-04-18 21:09 ` [PATCH 2/2] drm/panel: Add support for E Ink VB3300-KCA Alistair Francis
@ 2021-04-21 22:57 ` Rob Herring
1 sibling, 0 replies; 4+ messages in thread
From: Rob Herring @ 2021-04-21 22:57 UTC (permalink / raw)
To: Alistair Francis
Cc: kuninori.morimoto.gx, devicetree, daniel, linux, linux-kernel,
shawnguo, Max.Merchel, dri-devel, geert+renesas, daniel, krzk,
sam, robh+dt, thierry.reding, airlied
On Mon, 19 Apr 2021 07:09:55 +1000, Alistair Francis wrote:
> Add the E Ink Corporation to the vendor bindings.
>
> Signed-off-by: Alistair Francis <alistair@alistair23.me>
> ---
> Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
> 1 file changed, 2 insertions(+)
>
Acked-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-04-21 22:57 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-18 21:09 [PATCH 1/2] dt-bindings: Add E Ink to vendor bindings Alistair Francis
2021-04-18 21:09 ` [PATCH 2/2] drm/panel: Add support for E Ink VB3300-KCA Alistair Francis
2021-04-21 22:57 ` Rob Herring
2021-04-21 22:57 ` [PATCH 1/2] dt-bindings: Add E Ink to vendor bindings Rob Herring
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).