]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
drm: panel-orientation-quirks: Add quirk for AYA NEO Founder edition
authorJoaquín Ignacio Aramendía <samsagax@gmail.com>
Mon, 16 Sep 2024 13:18:53 +0000 (15:18 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 14 Dec 2024 19:03:42 +0000 (20:03 +0100)
[ Upstream commit d7972d735ca80a40a571bf753c138263981a5698 ]

Add quirk orientation for AYA NEO Founder. The name appears with spaces in
DMI strings as other devices of the brand. The panel is the same as the
NEXT and 2021 models. Those could not be reused as the former has VENDOR
name as "AYANEO" without spaces and the latter has "AYADEVICE".

Tested by the JELOS team that has been patching their own kernel for a
while now and confirmed by users in the AYA NEO and ChimeraOS discord
servers.

Signed-off-by: Joaquín Ignacio Aramendía <samsagax@gmail.com>
Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/f71889a0b39f13f4b78481bd030377ca15035680.1726492131.git.tjakobi@math.uni-bielefeld.de
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/drm_panel_orientation_quirks.c

index 4864d8406db412259f8b571ee83dfe39fe519e1c..01a33d33c4aafb7905a37f758dc45072308122b9 100644 (file)
@@ -202,6 +202,12 @@ static const struct dmi_system_id orientation_data[] = {
                  DMI_MATCH(DMI_PRODUCT_NAME, "AIR"),
                },
                .driver_data = (void *)&lcd1080x1920_leftside_up,
+       }, {    /* AYA NEO Founder */
+               .matches = {
+                 DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYA NEO"),
+                 DMI_MATCH(DMI_PRODUCT_NAME, "AYA NEO Founder"),
+               },
+               .driver_data = (void *)&lcd800x1280_rightside_up,
        }, {    /* AYA NEO NEXT */
                .matches = {
                  DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "AYANEO"),