From patchwork Mon Jul 15 04:48:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Philip_M=C3=BCller?= X-Patchwork-Id: 13733078 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A4FE1C2BD09 for ; Mon, 15 Jul 2024 08:38:05 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3BBC910E2F7; Mon, 15 Jul 2024 08:38:04 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=manjaro.org header.i=@manjaro.org header.b="oQV8wSic"; dkim-atps=neutral X-Greylist: delayed 400 seconds by postgrey-1.36 at gabe; Mon, 15 Jul 2024 04:55:49 UTC Received: from mail.manjaro.org (mail.manjaro.org [116.203.91.91]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0BF4C10E259 for ; Mon, 15 Jul 2024 04:55:49 +0000 (UTC) From: Philip Mueller DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=manjaro.org; s=2021; t=1721018948; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=Tu3bdPp74SouXC/JHc8HX7zh1cMP9A8QlRZCc1+ISs8=; b=oQV8wSicLz7erXNijxghV2AO3pWwADA7H62+HKPr9xog5Iz2KqYVa2if0p23GQRHDUNbED kWECjXHQJI/1DeuhHMI6iM4/ODNPjqvhlRqB5Hn5MvDD+pXYnodQ7b1MJVfesg0N45PFnU XssEQ9UYXDhFnGi9uXVU1OE6HY5VGBeeJ4uw+MHoMqvSkmqzLMS2aSy2VF5/9B5XgCJx2i fkI3PtOsThFTEUEPf8YVBYlr0wYUA0dkzw08IVvjZV1DRoVqJnR70/YKrFDwVghMJ9zgMS CHz9hSq8UMQz7dzeW+7PEe9jBrsT+tAhRAkPxcmwrQi+JeBVyyPAhaXYC2i9mg== To: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Hans de Goede Cc: Philip Mueller Subject: [PATCH] drm: panel-orientation-quirks: Add quirk for OrangePi Neo This adds a DMI orientation quirk for the OrangePi Neo Linux Gaming Handheld. Date: Mon, 15 Jul 2024 11:48:30 +0700 Message-ID: <20240715044850.1018856-1-philm@manjaro.org> MIME-Version: 1.0 Authentication-Results: ORIGINATING; auth=pass smtp.auth=philm@manjaro.org smtp.mailfrom=philm@manjaro.org X-Mailman-Approved-At: Mon, 15 Jul 2024 08:38:03 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Signed-off-by: Philip Mueller --- 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 3860a8ce1e2d..903f4bfea7e8 100644 --- a/drivers/gpu/drm/drm_panel_orientation_quirks.c +++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c @@ -414,6 +414,12 @@ static const struct dmi_system_id orientation_data[] = { DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ONE XPLAYER"), }, .driver_data = (void *)&lcd1600x2560_leftside_up, + }, { /* OrangePi Neo */ + .matches = { + DMI_EXACT_MATCH(DMI_SYS_VENDOR, "OrangePi"), + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "NEO-01"), + }, + .driver_data = (void *)&lcd1200x1920_rightside_up, }, { /* Samsung GalaxyBook 10.6 */ .matches = { DMI_EXACT_MATCH(DMI_SYS_VENDOR, "SAMSUNG ELECTRONICS CO., LTD."),