From patchwork Mon Jul 15 04:57:49 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: 13733079 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 C6BDFC3DA4D for ; Mon, 15 Jul 2024 08:38:09 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id EBBD910E2FA; Mon, 15 Jul 2024 08:38:06 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=manjaro.org header.i=@manjaro.org header.b="PErVAzpo"; dkim-atps=neutral Received: from mail.manjaro.org (mail.manjaro.org [116.203.91.91]) by gabe.freedesktop.org (Postfix) with ESMTPS id 52B2810E259 for ; Mon, 15 Jul 2024 04:58:54 +0000 (UTC) From: Philip Mueller DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=manjaro.org; s=2021; t=1721019532; 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=WQXVb7k5eYZNCeNAVV3C1d6cf65+tYZkEMxdXBXGZNI=; b=PErVAzpoRkd9GjqRuPqllHhq6RLISRBDso1NeTcfgQIEv9e2siRy8pDTx1eQFXqpQNDnr9 pj/xpZvMLHo7rydIMggHoK5idvYE1M/JCy08p5vaqYIUoygDpvqEXHI5ToZfecnwJ03Xuk 9jy9AyQ4R8BtDA/MJR7P83B6gzujwJnNj+Z8/RpA8fGRUWhBo+a9ItkB0h2oDPUqEL9EH5 V9qNB2cCVK3FsyH1s7+OSGdO+PCtwTTsnhlWKeFnzmFfnLVBG4SvBkS6Aff0JsnA5reJ+4 cR+VzGu656ZuiJ/1IyG0HlgcNHATn5gXr3e55/mQxVApgBRc3YoBHBN/IcBVnw== 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 Date: Mon, 15 Jul 2024 11:57:49 +0700 Message-ID: <20240715045818.1019979-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" This adds a DMI orientation quirk for the OrangePi Neo Linux Gaming Handheld. Signed-off-by: Philip Mueller Reviewed-by: Hans de Goede --- 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."),