mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Bouke Sybren Haarsma <boukehaarsma23@gmail.com>
To: maarten.lankhorst@linux.intel.com, hdegoede@redhat.com
Cc: mripard@kernel.org, luke@ljones.dev, tzimmermann@suse.de,
	airlied@gmail.com, daniel@ffwll.ch,
	dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org,
	Bouke Sybren Haarsma <boukehaarsma23@gmail.com>
Subject: [PATCH RESEND 1/2] drm: panel-orientation-quirks: Add quirk for Ayn Loki Zero
Date: Sun, 28 Jul 2024 14:47:30 +0200	[thread overview]
Message-ID: <20240728124731.168452-2-boukehaarsma23@gmail.com> (raw)
In-Reply-To: <20240728124731.168452-1-boukehaarsma23@gmail.com>

Add quirk orientation for the Ayn Loki Zero.

This also has been tested/used by the JELOS team.

Signed-off-by: Bouke Sybren Haarsma <boukehaarsma23@gmail.com>
---
 drivers/gpu/drm/drm_panel_orientation_quirks.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/drivers/gpu/drm/drm_panel_orientation_quirks.c b/drivers/gpu/drm/drm_panel_orientation_quirks.c
index c16c7678237e..a1dfeaae644d 100644
--- a/drivers/gpu/drm/drm_panel_orientation_quirks.c
+++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c
@@ -208,6 +208,12 @@ static const struct dmi_system_id orientation_data[] = {
 		  DMI_MATCH(DMI_BOARD_NAME, "KUN"),
 		},
 		.driver_data = (void *)&lcd1600x2560_rightside_up,
+	}, {	/* AYN Loki Zero */
+		.matches = {
+			DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ayn"),
+			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Loki Zero"),
+		},
+		.driver_data = (void *)&lcd1080x1920_leftside_up,
 	}, {	/* Chuwi HiBook (CWI514) */
 		.matches = {
 			DMI_MATCH(DMI_BOARD_VENDOR, "Hampoo"),
-- 
2.45.2


  reply	other threads:[~2024-07-28 12:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-28 12:47 [PATCH RESEND 0/2] drm: panel-orientation-quirks: Add quirks for AYN loki zero/max Bouke Sybren Haarsma
2024-07-28 12:47 ` Bouke Sybren Haarsma [this message]
2024-07-28 12:47 ` [PATCH RESEND 2/2] drm: panel-orientation-quirks: Add quirk for Ayn Loki Max Bouke Sybren Haarsma
2024-08-11  9:20   ` Luke Jones
2024-08-12  8:33 ` [PATCH RESEND 0/2] drm: panel-orientation-quirks: Add quirks for AYN loki zero/max Hans de Goede
  -- strict thread matches above, loose matches on Subject: below --
2023-10-23 19:10 Bouke Sybren Haarsma
2023-10-23 19:10 ` [PATCH RESEND 1/2] drm: panel-orientation-quirks: Add quirk for Ayn Loki Zero Bouke Sybren Haarsma

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=20240728124731.168452-2-boukehaarsma23@gmail.com \
    --to=boukehaarsma23@gmail.com \
    --cc=airlied@gmail.com \
    --cc=daniel@ffwll.ch \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=hdegoede@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luke@ljones.dev \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=mripard@kernel.org \
    --cc=tzimmermann@suse.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®