* [PATCH v4 1/2] dt-bindings: display: simple: Add Mitsubishi AA084XE01 panel
@ 2023-08-07 12:31 Miquel Raynal
2023-08-07 12:31 ` [PATCH v4 2/2] drm/panel: simple: Add support for Mitsubishi AA084XE01 Miquel Raynal
2023-08-14 12:46 ` [PATCH v4 1/2] dt-bindings: display: simple: Add Mitsubishi AA084XE01 panel Neil Armstrong
0 siblings, 2 replies; 4+ messages in thread
From: Miquel Raynal @ 2023-08-07 12:31 UTC (permalink / raw)
To: Neil Armstrong, Sam Ravnborg
Cc: David Airlie, Daniel Vetter, dri-devel, Thomas Petazzoni,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, devicetree,
Miquel Raynal, Krzysztof Kozlowski
Add Mitsubishi AA084XE01 8.4" XGA TFT LCD panel compatible string.
Link: https://www.mouser.fr/datasheet/2/274/aa084xe01_e-364171.pdf
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
Changes in v4:
* Add datasheet link.
* Supplement Cc: list.
Changes in v3:
* None.
Changes in v2:
* Collected tag.
.../devicetree/bindings/display/panel/panel-simple.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml
index 1d4936fc5182..2c6be20bafc9 100644
--- a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml
+++ b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml
@@ -240,6 +240,8 @@ properties:
- logictechno,lttd800480070-l6wh-rt
# Mitsubishi "AA070MC01 7.0" WVGA TFT LCD panel
- mitsubishi,aa070mc01-ca1
+ # Mitsubishi AA084XE01 8.4" XGA TFT LCD panel
+ - mitsubishi,aa084xe01
# Multi-Inno Technology Co.,Ltd MI0700S4T-6 7" 800x480 TFT Resistive Touch Module
- multi-inno,mi0700s4t-6
# Multi-Inno Technology Co.,Ltd MI0800FT-9 8" 800x600 TFT Resistive Touch Module
--
2.34.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH v4 2/2] drm/panel: simple: Add support for Mitsubishi AA084XE01
2023-08-07 12:31 [PATCH v4 1/2] dt-bindings: display: simple: Add Mitsubishi AA084XE01 panel Miquel Raynal
@ 2023-08-07 12:31 ` Miquel Raynal
2023-08-14 12:39 ` Neil Armstrong
2023-08-14 12:46 ` [PATCH v4 1/2] dt-bindings: display: simple: Add Mitsubishi AA084XE01 panel Neil Armstrong
1 sibling, 1 reply; 4+ messages in thread
From: Miquel Raynal @ 2023-08-07 12:31 UTC (permalink / raw)
To: Neil Armstrong, Sam Ravnborg
Cc: David Airlie, Daniel Vetter, dri-devel, Thomas Petazzoni,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, devicetree,
Thomas Weber, Miquel Raynal
From: Thomas Weber <thomas.weber@corscience.de>
Add support for the Mitsubishi AA084XE01 panel which is an 8.4 inch XGA
TFT-LCD module for industrial use.
Link: https://www.mouser.fr/datasheet/2/274/aa084xe01_e-364171.pdf
Signed-off-by: Thomas Weber <thomas.weber@corscience.de>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
---
Changes in v4:
* None.
Changes in v3:
* Fix connector type.
Changes in v2:
* Add connector type and bus flags.
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 a247a0e7c799..e498a40e1f78 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -2763,6 +2763,32 @@ static const struct panel_desc mitsubishi_aa070mc01 = {
.bus_flags = DRM_BUS_FLAG_DE_HIGH,
};
+static const struct drm_display_mode mitsubishi_aa084xe01_mode = {
+ .clock = 56234,
+ .hdisplay = 1024,
+ .hsync_start = 1024 + 24,
+ .hsync_end = 1024 + 24 + 63,
+ .htotal = 1024 + 24 + 63 + 1,
+ .vdisplay = 768,
+ .vsync_start = 768 + 3,
+ .vsync_end = 768 + 3 + 6,
+ .vtotal = 768 + 3 + 6 + 1,
+ .flags = DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_PVSYNC,
+};
+
+static const struct panel_desc mitsubishi_aa084xe01 = {
+ .modes = &mitsubishi_aa084xe01_mode,
+ .num_modes = 1,
+ .bpc = 8,
+ .size = {
+ .width = 1024,
+ .height = 768,
+ },
+ .bus_format = MEDIA_BUS_FMT_RGB565_1X16,
+ .connector_type = DRM_MODE_CONNECTOR_DPI,
+ .bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_SAMPLE_NEGEDGE,
+};
+
static const struct display_timing multi_inno_mi0700s4t_6_timing = {
.pixelclock = { 29000000, 33000000, 38000000 },
.hactive = { 800, 800, 800 },
@@ -4286,6 +4312,9 @@ static const struct of_device_id platform_of_match[] = {
}, {
.compatible = "mitsubishi,aa070mc01-ca1",
.data = &mitsubishi_aa070mc01,
+ }, {
+ .compatible = "mitsubishi,aa084xe01",
+ .data = &mitsubishi_aa084xe01,
}, {
.compatible = "multi-inno,mi0700s4t-6",
.data = &multi_inno_mi0700s4t_6,
--
2.34.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH v4 2/2] drm/panel: simple: Add support for Mitsubishi AA084XE01
2023-08-07 12:31 ` [PATCH v4 2/2] drm/panel: simple: Add support for Mitsubishi AA084XE01 Miquel Raynal
@ 2023-08-14 12:39 ` Neil Armstrong
0 siblings, 0 replies; 4+ messages in thread
From: Neil Armstrong @ 2023-08-14 12:39 UTC (permalink / raw)
To: Miquel Raynal, Sam Ravnborg
Cc: David Airlie, Daniel Vetter, dri-devel, Thomas Petazzoni,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, devicetree,
Thomas Weber
On 07/08/2023 14:31, Miquel Raynal wrote:
> From: Thomas Weber <thomas.weber@corscience.de>
>
> Add support for the Mitsubishi AA084XE01 panel which is an 8.4 inch XGA
> TFT-LCD module for industrial use.
>
> Link: https://www.mouser.fr/datasheet/2/274/aa084xe01_e-364171.pdf
> Signed-off-by: Thomas Weber <thomas.weber@corscience.de>
> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
> ---
>
> Changes in v4:
> * None.
>
> Changes in v3:
> * Fix connector type.
>
> Changes in v2:
> * Add connector type and bus flags.
>
> 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 a247a0e7c799..e498a40e1f78 100644
> --- a/drivers/gpu/drm/panel/panel-simple.c
> +++ b/drivers/gpu/drm/panel/panel-simple.c
> @@ -2763,6 +2763,32 @@ static const struct panel_desc mitsubishi_aa070mc01 = {
> .bus_flags = DRM_BUS_FLAG_DE_HIGH,
> };
>
> +static const struct drm_display_mode mitsubishi_aa084xe01_mode = {
> + .clock = 56234,
> + .hdisplay = 1024,
> + .hsync_start = 1024 + 24,
> + .hsync_end = 1024 + 24 + 63,
> + .htotal = 1024 + 24 + 63 + 1,
> + .vdisplay = 768,
> + .vsync_start = 768 + 3,
> + .vsync_end = 768 + 3 + 6,
> + .vtotal = 768 + 3 + 6 + 1,
> + .flags = DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_PVSYNC,
> +};
> +
> +static const struct panel_desc mitsubishi_aa084xe01 = {
> + .modes = &mitsubishi_aa084xe01_mode,
> + .num_modes = 1,
> + .bpc = 8,
> + .size = {
> + .width = 1024,
> + .height = 768,
> + },
> + .bus_format = MEDIA_BUS_FMT_RGB565_1X16,
> + .connector_type = DRM_MODE_CONNECTOR_DPI,
> + .bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_SAMPLE_NEGEDGE,
> +};
> +
> static const struct display_timing multi_inno_mi0700s4t_6_timing = {
> .pixelclock = { 29000000, 33000000, 38000000 },
> .hactive = { 800, 800, 800 },
> @@ -4286,6 +4312,9 @@ static const struct of_device_id platform_of_match[] = {
> }, {
> .compatible = "mitsubishi,aa070mc01-ca1",
> .data = &mitsubishi_aa070mc01,
> + }, {
> + .compatible = "mitsubishi,aa084xe01",
> + .data = &mitsubishi_aa084xe01,
> }, {
> .compatible = "multi-inno,mi0700s4t-6",
> .data = &multi_inno_mi0700s4t_6,
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v4 1/2] dt-bindings: display: simple: Add Mitsubishi AA084XE01 panel
2023-08-07 12:31 [PATCH v4 1/2] dt-bindings: display: simple: Add Mitsubishi AA084XE01 panel Miquel Raynal
2023-08-07 12:31 ` [PATCH v4 2/2] drm/panel: simple: Add support for Mitsubishi AA084XE01 Miquel Raynal
@ 2023-08-14 12:46 ` Neil Armstrong
1 sibling, 0 replies; 4+ messages in thread
From: Neil Armstrong @ 2023-08-14 12:46 UTC (permalink / raw)
To: Sam Ravnborg, Miquel Raynal
Cc: David Airlie, Daniel Vetter, dri-devel, Thomas Petazzoni,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, devicetree,
Krzysztof Kozlowski
Hi,
On Mon, 07 Aug 2023 14:31:37 +0200, Miquel Raynal wrote:
> Add Mitsubishi AA084XE01 8.4" XGA TFT LCD panel compatible string.
>
>
Thanks, Applied to https://anongit.freedesktop.org/git/drm/drm-misc.git (drm-misc-next)
[1/2] dt-bindings: display: simple: Add Mitsubishi AA084XE01 panel
https://cgit.freedesktop.org/drm/drm-misc/commit/?id=50b0cd7d3ac3e6cbd8873434eafc3076957bbdf7
[2/2] drm/panel: simple: Add support for Mitsubishi AA084XE01
https://cgit.freedesktop.org/drm/drm-misc/commit/?id=637d3fdc109a63ed3d3864b9ffe1ae50ef57d03e
--
Neil
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-08-14 12:47 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-07 12:31 [PATCH v4 1/2] dt-bindings: display: simple: Add Mitsubishi AA084XE01 panel Miquel Raynal
2023-08-07 12:31 ` [PATCH v4 2/2] drm/panel: simple: Add support for Mitsubishi AA084XE01 Miquel Raynal
2023-08-14 12:39 ` Neil Armstrong
2023-08-14 12:46 ` [PATCH v4 1/2] dt-bindings: display: simple: Add Mitsubishi AA084XE01 panel Neil Armstrong
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).