All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthias Kaehlcke <mka@chromium.org>
To: Thierry Reding <thierry.reding@gmail.com>,
	Sam Ravnborg <sam@ravnborg.org>, David Airlie <airlied@linux.ie>,
	Daniel Vetter <daniel@ffwll.ch>, Rob Herring <robh+dt@kernel.org>
Cc: Douglas Anderson <dianders@chromium.org>,
	linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org,
	devicetree@vger.kernel.org, Matthias Kaehlcke <mka@chromium.org>
Subject: [PATCH 2/2] drm/panel-edp: Add AUO B133UAN01
Date: Thu, 24 Mar 2022 11:13:52 -0700	[thread overview]
Message-ID: <20220324111335.2.I816014b6c62da5a33af5021f3cc35cea66552c00@changeid> (raw)
In-Reply-To: <20220324111335.1.I1131d63cbefbfa9ff107a284e2e51f880c5bf7c8@changeid>

Add support for the AUO B133UAN01 13.3" WUXGA panel.

Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
---
output of edid-decode:

  Block 0, Base EDID:
    EDID Structure Version & Revision: 1.4
    Vendor & Product Identification:
      Manufacturer: AUO
      Model: 34196
      Made in: 2020
    Basic Display Parameters & Features:
      Digital display
      Bits per primary color channel: 8
      DisplayPort interface
      Maximum image size: 29 cm x 18 cm
      Gamma: 2.20
      Supported color formats: RGB 4:4:4
      First detailed timing includes the native pixel format and preferred refresh rate
    Color Characteristics:
      Red  : 0.6513, 0.3271
      Green: 0.2900, 0.6279
      Blue : 0.1503, 0.0517
      White: 0.3134, 0.3291
    Established Timings I & II: none
    Standard Timings: none
    Detailed Timing Descriptors:
      DTD 1:  1920x1200   60.026 Hz   8:5    74.192 kHz 156.100 MHz (286 mm x 178 mm)
                   Hfront   16 Hsync  16 Hback 152 Hpol N
                   Vfront    3 Vsync  14 Vback  19 Vpol N
      Manufacturer-Specified Display Descriptor (0x0f): 00 0f 00 00 00 00 00 00 00 00 00 00 00 00 00 20 '............... '
      Alphanumeric Data String: 'AUO'
      Alphanumeric Data String: 'B133UAN01.0 '

 drivers/gpu/drm/panel/panel-edp.c | 32 +++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/drivers/gpu/drm/panel/panel-edp.c b/drivers/gpu/drm/panel/panel-edp.c
index e15e62f235d8..2e71dcb734aa 100644
--- a/drivers/gpu/drm/panel/panel-edp.c
+++ b/drivers/gpu/drm/panel/panel-edp.c
@@ -1043,6 +1043,35 @@ static const struct panel_desc auo_b133htn01 = {
 	},
 };
 
+static const struct drm_display_mode auo_b133uan01_mode = {
+	.clock = 156100,
+	.hdisplay = 1920,
+	.hsync_start = 1920 + 16,
+	.hsync_end = 1920 + 16 + 16,
+	.htotal = 1920 + 16 + 16 + 152,
+	.vdisplay = 1200,
+	.vsync_start = 1200 + 3,
+	.vsync_end = 1200 + 3 + 14,
+	.vtotal = 1200 + 3 + 14 + 19,
+	.flags = DISPLAY_FLAGS_VSYNC_LOW | DISPLAY_FLAGS_HSYNC_LOW,
+};
+
+static const struct panel_desc auo_b133uan01 = {
+	.modes = &auo_b133uan01_mode,
+	.num_modes = 1,
+	.bpc = 8,
+	.size = {
+		.width = 291,
+		.height = 195,
+	},
+
+	.delay = {
+		.hpd_reliable = 200,
+		.enable = 50,
+		.unprepare = 500,
+	},
+};
+
 static const struct drm_display_mode auo_b133xtn01_mode = {
 	.clock = 69500,
 	.hdisplay = 1366,
@@ -1720,6 +1749,9 @@ static const struct of_device_id platform_of_match[] = {
 	}, {
 		.compatible = "auo,b133htn01",
 		.data = &auo_b133htn01,
+	}, {
+		.compatible = "auo,b133uan01",
+		.data = &auo_b133uan01,
 	}, {
 		.compatible = "auo,b133xtn01",
 		.data = &auo_b133xtn01,
-- 
2.35.1.1021.g381101b075-goog


WARNING: multiple messages have this Message-ID (diff)
From: Matthias Kaehlcke <mka@chromium.org>
To: Thierry Reding <thierry.reding@gmail.com>,
	Sam Ravnborg <sam@ravnborg.org>, David Airlie <airlied@linux.ie>,
	Daniel Vetter <daniel@ffwll.ch>, Rob Herring <robh+dt@kernel.org>
Cc: devicetree@vger.kernel.org, Matthias Kaehlcke <mka@chromium.org>,
	Douglas Anderson <dianders@chromium.org>,
	dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org
Subject: [PATCH 2/2] drm/panel-edp: Add AUO B133UAN01
Date: Thu, 24 Mar 2022 11:13:52 -0700	[thread overview]
Message-ID: <20220324111335.2.I816014b6c62da5a33af5021f3cc35cea66552c00@changeid> (raw)
In-Reply-To: <20220324111335.1.I1131d63cbefbfa9ff107a284e2e51f880c5bf7c8@changeid>

Add support for the AUO B133UAN01 13.3" WUXGA panel.

Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
---
output of edid-decode:

  Block 0, Base EDID:
    EDID Structure Version & Revision: 1.4
    Vendor & Product Identification:
      Manufacturer: AUO
      Model: 34196
      Made in: 2020
    Basic Display Parameters & Features:
      Digital display
      Bits per primary color channel: 8
      DisplayPort interface
      Maximum image size: 29 cm x 18 cm
      Gamma: 2.20
      Supported color formats: RGB 4:4:4
      First detailed timing includes the native pixel format and preferred refresh rate
    Color Characteristics:
      Red  : 0.6513, 0.3271
      Green: 0.2900, 0.6279
      Blue : 0.1503, 0.0517
      White: 0.3134, 0.3291
    Established Timings I & II: none
    Standard Timings: none
    Detailed Timing Descriptors:
      DTD 1:  1920x1200   60.026 Hz   8:5    74.192 kHz 156.100 MHz (286 mm x 178 mm)
                   Hfront   16 Hsync  16 Hback 152 Hpol N
                   Vfront    3 Vsync  14 Vback  19 Vpol N
      Manufacturer-Specified Display Descriptor (0x0f): 00 0f 00 00 00 00 00 00 00 00 00 00 00 00 00 20 '............... '
      Alphanumeric Data String: 'AUO'
      Alphanumeric Data String: 'B133UAN01.0 '

 drivers/gpu/drm/panel/panel-edp.c | 32 +++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/drivers/gpu/drm/panel/panel-edp.c b/drivers/gpu/drm/panel/panel-edp.c
index e15e62f235d8..2e71dcb734aa 100644
--- a/drivers/gpu/drm/panel/panel-edp.c
+++ b/drivers/gpu/drm/panel/panel-edp.c
@@ -1043,6 +1043,35 @@ static const struct panel_desc auo_b133htn01 = {
 	},
 };
 
+static const struct drm_display_mode auo_b133uan01_mode = {
+	.clock = 156100,
+	.hdisplay = 1920,
+	.hsync_start = 1920 + 16,
+	.hsync_end = 1920 + 16 + 16,
+	.htotal = 1920 + 16 + 16 + 152,
+	.vdisplay = 1200,
+	.vsync_start = 1200 + 3,
+	.vsync_end = 1200 + 3 + 14,
+	.vtotal = 1200 + 3 + 14 + 19,
+	.flags = DISPLAY_FLAGS_VSYNC_LOW | DISPLAY_FLAGS_HSYNC_LOW,
+};
+
+static const struct panel_desc auo_b133uan01 = {
+	.modes = &auo_b133uan01_mode,
+	.num_modes = 1,
+	.bpc = 8,
+	.size = {
+		.width = 291,
+		.height = 195,
+	},
+
+	.delay = {
+		.hpd_reliable = 200,
+		.enable = 50,
+		.unprepare = 500,
+	},
+};
+
 static const struct drm_display_mode auo_b133xtn01_mode = {
 	.clock = 69500,
 	.hdisplay = 1366,
@@ -1720,6 +1749,9 @@ static const struct of_device_id platform_of_match[] = {
 	}, {
 		.compatible = "auo,b133htn01",
 		.data = &auo_b133htn01,
+	}, {
+		.compatible = "auo,b133uan01",
+		.data = &auo_b133uan01,
 	}, {
 		.compatible = "auo,b133xtn01",
 		.data = &auo_b133xtn01,
-- 
2.35.1.1021.g381101b075-goog


  reply	other threads:[~2022-03-24 18:14 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-24 18:13 [PATCH 1/2] dt-bindings: display: simple: Add AUO B133UAN01 panel Matthias Kaehlcke
2022-03-24 18:13 ` Matthias Kaehlcke
2022-03-24 18:13 ` Matthias Kaehlcke [this message]
2022-03-24 18:13   ` [PATCH 2/2] drm/panel-edp: Add AUO B133UAN01 Matthias Kaehlcke
2022-03-24 18:27   ` Doug Anderson
2022-03-24 18:27     ` Doug Anderson
2022-03-24 19:21     ` Matthias Kaehlcke
2022-03-24 19:21       ` Matthias Kaehlcke
2022-03-24 20:53 ` [PATCH 1/2] dt-bindings: display: simple: Add AUO B133UAN01 panel Doug Anderson
2022-03-24 20:53   ` Doug Anderson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220324111335.2.I816014b6c62da5a33af5021f3cc35cea66552c00@changeid \
    --to=mka@chromium.org \
    --cc=airlied@linux.ie \
    --cc=daniel@ffwll.ch \
    --cc=devicetree@vger.kernel.org \
    --cc=dianders@chromium.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh+dt@kernel.org \
    --cc=sam@ravnborg.org \
    --cc=thierry.reding@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.