From patchwork Wed Jun 21 22:06:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Joaqu=C3=ADn_Ignacio_Aramend=C3=ADa?= X-Patchwork-Id: 111329 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp4681176vqr; Wed, 21 Jun 2023 15:18:46 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7McUSx/wWFfI+ZnPhfRRnj/ib/Z0o73/dpkHjjTW0QO/hSP60ckuwQFkypy1wuysnHaU+7 X-Received: by 2002:a9d:6c5a:0:b0:6b5:8bd2:51 with SMTP id g26-20020a9d6c5a000000b006b58bd20051mr7352982otq.7.1687385926463; Wed, 21 Jun 2023 15:18:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687385926; cv=none; d=google.com; s=arc-20160816; b=cgKqkiESc26jbsFfDCJFjLipeL3QL4jG3AbQ0iQuRPECm+R4Wo/z6Z7SBPmgSnHGNT /t0dYBay30uIFGoDfemVe1CWwbOFq6WNtG2yJk1pwn18ELMfj7P/Q1rkGETQJtqzPSy6 svNlK+8B5i7s/JOM/Nx4xCNhZ1CNMMROAeaIy7NVDvlYKpQQRUVSwDMKp9uqdha1Bm98 QgoIbhpO2LlRLgB/51tp6WtGiaUW7CnCw3FJkn6se5pNEeUwyt03j6w756IErcB9XUh/ k4Y5b2pNxv+1ctn/ewXtMCL4slvy+HtI8ML0lu/PxRd72+1QdHooEuRwE8bMUXhKKFK6 VnFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=0jApRl3G0nkzGeB1EhFPefA764c2ImCkJh8aeW4stjc=; b=CKGSxUTL657eJzmnmGWsDOrBrFCofk7YHRcn/DoDw0IxhfKwyidK5rV2dEYUfc5Phb OEJZjx4aGHic2BlQHP06sHODTUgp1m3bgDORMM73/5XhzHHDQIHWVraMYQnZ7rwjyWNn 3pthHmtgYDHSi2LLPM0mLmH4R0dGBwdup/QlHFdLzMaKrAsZTANwP3+C7cef6Sw3AsHx pNTPGylxOZ8EuuiTq/QiLvKBdijIxgiOb3vdMTFsEthUbHHckKuWY+V0bf0HtqZbOeBB gqrZHT3c/9Oc35wdDz0DgreBj7kIEXOX0qnVj3uX1l8dOpxZJfVp4/Mg9QbImujJbH+A eQig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=qWwGDjfx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a12-20020a63704c000000b005347d133470si34561pgn.385.2023.06.21.15.18.33; Wed, 21 Jun 2023 15:18:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=qWwGDjfx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230264AbjFUWGi (ORCPT + 99 others); Wed, 21 Jun 2023 18:06:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59818 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229479AbjFUWGg (ORCPT ); Wed, 21 Jun 2023 18:06:36 -0400 Received: from mail-ot1-x332.google.com (mail-ot1-x332.google.com [IPv6:2607:f8b0:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 709B719A2 for ; Wed, 21 Jun 2023 15:06:35 -0700 (PDT) Received: by mail-ot1-x332.google.com with SMTP id 46e09a7af769-6b5ef64bca6so110244a34.3 for ; Wed, 21 Jun 2023 15:06:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687385195; x=1689977195; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=0jApRl3G0nkzGeB1EhFPefA764c2ImCkJh8aeW4stjc=; b=qWwGDjfx/htff5ZCQv4bhJl6qVZ402as0zi+GPq9gnH0tcm3OvYV90ONqlxZrY0wqy KMIgpP7b8ssia5OOWn1HNNUP8x1ksfG43NnEVF5nbYpQzaAaPjkqeElaWgPKiC+hWJzs Ppm8iyCBiF6vwq+DcTHZB+iCA8G2nDsZzdcirC64lqp48EN8juYbC3upMlAQiEYB3hg2 hT8URX4OmWSGkJ38pfCJMsRX3lp1ZwBRhuBVLNJHauuoH0KlxWVN7xmuYG1nSR19rbEl VEO4Z1/5onet7qUHGx3/725+F7/KbXQqYEit2k6IR7dPd8tNwORTVkTgnYvLCsJ03CGn cTeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687385195; x=1689977195; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=0jApRl3G0nkzGeB1EhFPefA764c2ImCkJh8aeW4stjc=; b=Ifw20jdTnlR6My9z+oAINNUuff7KpTg91mP3/20+RxQvjf9slgxG9mML2p6wM8k0fg wzQKlvxNg4HZl0Xa7j2hqLiquKKLeIrpW01nc7qzjVjR6WYM9VQXMpC5OeuEPuDjPQ0v iXkfbGAX7EPyy7LHbqx1RPDWBJpJXzSgBucA2piC4eyYVByFIU5vax15Ln913FEaaHmx 5uhBWVruzUhiJvDVwRiScWWDISAae0YP6LbjE2qTaL2UW9TsU84CfYMeFe5ILBb93mKx K3B8ZjvXjK3T7PvafmwzXOvfRkKwEJ944jT3qR6D9mUPN2hJ7y5N6i2IhsPXaiJ2mKDM CTlg== X-Gm-Message-State: AC+VfDy89i8CqPL8rzaqO+yvZ5oRAy502F2zdZvCQVpLNwFVUi5xjhT7 tW3mHQfwYG+OYmZICrnPd2U3LPj08bw= X-Received: by 2002:a05:6830:18f8:b0:6af:78cc:e489 with SMTP id d24-20020a05683018f800b006af78cce489mr17541148otf.26.1687385194647; Wed, 21 Jun 2023 15:06:34 -0700 (PDT) Received: from smeagol.fibertel.com.ar ([201.235.4.68]) by smtp.gmail.com with ESMTPSA id v7-20020a9d7d07000000b006af8b60e2c3sm2288987otn.74.2023.06.21.15.06.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Jun 2023 15:06:33 -0700 (PDT) From: =?utf-8?q?Joaqu=C3=ADn_Ignacio_Aramend=C3=ADa?= To: maarten.lankhorst@linux.intel.com Cc: mripard@kernel.org, tzimmermann@suse.de, airlied@gmail.com, daniel@ffwll.ch, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, =?utf-8?q?Joaqu=C3=ADn_Ignacio_Aramend=C3=ADa?= Subject: [PATCH 1/3] drm: panel-orientation-quirks: Add quirk for AYA NEO 2 model Date: Wed, 21 Jun 2023 19:06:13 -0300 Message-ID: <20230621220615.1253571-2-samsagax@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230621220615.1253571-1-samsagax@gmail.com> References: <20230621220615.1253571-1-samsagax@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769352385127199449?= X-GMAIL-MSGID: =?utf-8?q?1769352385127199449?= Add quirk orientation for AYA NEO 2. The name appears without spaces in dmi strings. That made it difficult to reuse the 2021 match and the display is greater in resolution. 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 --- 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 0cb646cb04ee..4b428792a3b6 100644 --- a/drivers/gpu/drm/drm_panel_orientation_quirks.c +++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c @@ -170,6 +170,12 @@ static const struct dmi_system_id orientation_data[] = { DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "T103HAF"), }, .driver_data = (void *)&lcd800x1280_rightside_up, + }, { /* AYA NEO AYANEO 2 */ + .matches = { + DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYANEO"), + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "AYANEO 2"), + }, + .driver_data = (void *)&lcd1200x1920_rightside_up, }, { /* AYA NEO 2021 */ .matches = { DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYADEVICE"), From patchwork Wed Jun 21 22:06:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Joaqu=C3=ADn_Ignacio_Aramend=C3=ADa?= X-Patchwork-Id: 111328 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp4681087vqr; Wed, 21 Jun 2023 15:18:33 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ605In8xrL3Kxdfg1faNLWG2orjeeftpYOwZkQB1TUEXPVgc6CNxSQLVRRv58PokEcvxc7Y X-Received: by 2002:a05:6830:3a0a:b0:6b4:5091:d408 with SMTP id di10-20020a0568303a0a00b006b45091d408mr13510381otb.16.1687385913463; Wed, 21 Jun 2023 15:18:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687385913; cv=none; d=google.com; s=arc-20160816; b=u/WDVLDey1OV5vk1CiMS2RAeuqd6TLfgxY7ZHYFkUEkIgaapYqw58pzw4jOH7kgb4w jDPkNFTZgunwG4P8ZQMuiHLrXUmMT1W37lmpwWqCV/x8Mf+gA1PM3Z01rtugfeiOCVMT AOtii2bQyLb6L3F4bnYtLJWKgIRsByGpTHgsEqrhdG4VebyrVFR3JaXfqGO84U99OfzC nCXwLMAAzAU9ncyFBXDRNWD88qxO42RIBRbrH3UC5ZhGH2VIqOiQDPwY1nacqUlgIgEs LozK7BcG0ldBoyogGiGKg9KRfXWzx3ilkyygpsKvGb0XcAfkGbYFgWTbCkq2UogKM0CJ FHyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=KQMestEn/hdlzpB5zrBs/mLTvQ8FPA3kTSATXYwATVw=; b=rFVhwURpdxsd8aHuQ99a+amWAsyHgOwZTFakts8mXyRIBcSTa62Z0UyMS8Sc6brqQV 1C6RrEgpeZS2kr3xvkGpOUfW/b6yT3EbI//G2WfVibVcc17xJoZNBqz1AK3m0QUvPAuw jVtwPBBk+gAaoBh2XDObwzgVaz/HnL8919R+kjnc1bjXzfzvDv7VZDr05FOXPcRG4h+Q 4FBg+94iGm+e5wl4MZ3gOqSrviCf2tn0pMzAUvI8VdFcqkq+LQC3OnyL+kVf/99gbdP5 iLzDvWfZ4cInGC7N5JXtJwYBwWbAAXqCugzngzAxYRpz/PLn6nG4SFXBIFWnT/2JH42A dOcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=ON+QySyT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k127-20020a636f85000000b0054fd2f87c21si4855677pgc.198.2023.06.21.15.18.20; Wed, 21 Jun 2023 15:18:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=ON+QySyT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230305AbjFUWGl (ORCPT + 99 others); Wed, 21 Jun 2023 18:06:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59894 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229479AbjFUWGj (ORCPT ); Wed, 21 Jun 2023 18:06:39 -0400 Received: from mail-oa1-x2a.google.com (mail-oa1-x2a.google.com [IPv6:2001:4860:4864:20::2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DF44CE57 for ; Wed, 21 Jun 2023 15:06:38 -0700 (PDT) Received: by mail-oa1-x2a.google.com with SMTP id 586e51a60fabf-1aa0d354a8aso3988775fac.0 for ; Wed, 21 Jun 2023 15:06:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687385198; x=1689977198; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=KQMestEn/hdlzpB5zrBs/mLTvQ8FPA3kTSATXYwATVw=; b=ON+QySyTk+k1EmIF4cKflvdxh0hEKrIBQj/d93hLrwCL5QG8j2LlbkC8Sjp6PJjgP/ sXwIYop426LtO2UjNY18rsxmKIi5o3KPE0hokl0nxLr56jnAcM/p8IwNy/+gkhHzipLc yxoDS85YOJQDH2LqTpZbPiaV1o+frqoHGm9l7BPgd5PMjaLKPTZ5p4z+r3cC+ppVFW38 amfVcMuogKrivP5Kl4ZhQsPAxJAJaJSEb5GJuIzi0CdAcbg3JRGitbdML8N8Uwm/VcOJ Erv1WuPB6hk+k8W/Fsv/155/+o0dr7enufiHQwcprDBSfHAjxfP5P7+LvEbc/da3XiLF lHIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687385198; x=1689977198; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KQMestEn/hdlzpB5zrBs/mLTvQ8FPA3kTSATXYwATVw=; b=OAouVoSuF9LWW7sFYpJFZ1tYtNgtfmeuWJ/w3fSlxlG+mPSgKrrBNXvbe3lXk95ssO CDP4nlPhrXpXuwaBcvxFj6jUxC/5h4n1k2hDnjsq6V2oD+UOsTmfapArt+/GxfA4ANe6 673k9IEfZo4HJdwgIAvNkMzzEYvr7pLa5+gfDzXDbDVhNcC6KZNAFfmGWagyBTtkoe+Q 9UbqXANxpTvNm+ZQaIxyds9LiirP04mh+VjuaUgXDHf/n7l0BZlrZi7kE2C91SONjQ8q Ryt0NWB8QGroybyn+uBbGU98WfpQ9K7MnSIkHs4YgcQ6Smkf0OZktKt3gz3HLwBlPfMp v9JA== X-Gm-Message-State: AC+VfDy4MiY7PkcHWqTRsnB/njelLN/oHo/Goh8ZnMaRCKjajIrBm3yf C+7y5eIdbCpkzD+uSeoSBiU= X-Received: by 2002:a05:6870:4350:b0:1a3:1962:9123 with SMTP id x16-20020a056870435000b001a319629123mr11058534oah.31.1687385197942; Wed, 21 Jun 2023 15:06:37 -0700 (PDT) Received: from smeagol.fibertel.com.ar ([201.235.4.68]) by smtp.gmail.com with ESMTPSA id v7-20020a9d7d07000000b006af8b60e2c3sm2288987otn.74.2023.06.21.15.06.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Jun 2023 15:06:37 -0700 (PDT) From: =?utf-8?q?Joaqu=C3=ADn_Ignacio_Aramend=C3=ADa?= To: maarten.lankhorst@linux.intel.com Cc: mripard@kernel.org, tzimmermann@suse.de, airlied@gmail.com, daniel@ffwll.ch, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, =?utf-8?q?Joaqu=C3=ADn_Ignacio_Aramend=C3=ADa?= Subject: [PATCH 2/3] drm: panel-orientation-quirks: Add quirk for AYA NEO Founder edition Date: Wed, 21 Jun 2023 19:06:14 -0300 Message-ID: <20230621220615.1253571-3-samsagax@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230621220615.1253571-1-samsagax@gmail.com> References: <20230621220615.1253571-1-samsagax@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769352371913288012?= X-GMAIL-MSGID: =?utf-8?q?1769352371913288012?= 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 --- 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 4b428792a3b6..962e74afa8e5 100644 --- a/drivers/gpu/drm/drm_panel_orientation_quirks.c +++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c @@ -188,6 +188,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"), From patchwork Wed Jun 21 22:06:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Joaqu=C3=ADn_Ignacio_Aramend=C3=ADa?= X-Patchwork-Id: 111330 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp4681508vqr; Wed, 21 Jun 2023 15:19:38 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6IFGDk25LRY4tEMsGc0rl7tEu/pCZlku1kdPzC0LSQsj4Ol+DzPcNU9i9K+MQIh+iem9ZV X-Received: by 2002:aca:1b13:0:b0:39c:429f:972e with SMTP id b19-20020aca1b13000000b0039c429f972emr16650451oib.6.1687385978360; Wed, 21 Jun 2023 15:19:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687385978; cv=none; d=google.com; s=arc-20160816; b=Y86qGEjFwlW08OdIajJecdVLFCgyb0zTmtxLYvjBlemR2VvCur1vvSEiwsTyE4ujNc i/sO8JCDyAi+KC283+o/LHecjDCD0rSdZrb9BW1mAKEr/bUe7hCHnwdKOnabLLzaNdi3 j9OhK477CThwZAUXg78lgRnP5hgxLNfzMxS/JlERo3msuX78FBoBrdk/XYzGO0xy8iIB T/wbGm0OD2EpL1JPZHU01aVco9MSmDLuihCoj10FQNT60YP6cQ3IrgeHKJWjL7Y/biem H6odBL3e4dxJN1LW6m9tZNb+L42r0IfchsNdTYSl/SA3zDY3GL9l8E4PTDADyQt4aCsp Lj9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=VK9EJjesr9P3CeGnBxj7w+Jge1+/260eNRMnSd/AWFY=; b=rYASV9WY32OsUVn3jI43I2xuJulSiUoyce81s84VSqAMRiTmphT2gv9ibAnvpuNjbP XN1J6VxQhBqatKGjkf0Oq7vL4fJkd2JCQptQ1NaWb5IEQw4e+Spkzs2hxgzI4WTbFLM3 dZIE/LCw/h06y4SYGT0c4KQM2mgOzS6WmJv+FiVYSDvrexUrBsO0KP1QV6f71hMO78OT JmNPXG9PYLHuDDLJzgjM67Hqj+g2cKqUs9H0+C4PErE7vCgg7gayWl17w111k2hPT9bd KS/A/FYUq9DgP/hJc/FOZr257DlnDS49AN51HARy8fwDFsGb5O1gkDWRhkgHOcjJQfyG YIUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=UGRErG+7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lk6-20020a17090b33c600b0025c2a20722fsi5754788pjb.41.2023.06.21.15.19.01; Wed, 21 Jun 2023 15:19:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=UGRErG+7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230319AbjFUWGw (ORCPT + 99 others); Wed, 21 Jun 2023 18:06:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60076 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230206AbjFUWGu (ORCPT ); Wed, 21 Jun 2023 18:06:50 -0400 Received: from mail-oa1-x2b.google.com (mail-oa1-x2b.google.com [IPv6:2001:4860:4864:20::2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A1C919BF for ; Wed, 21 Jun 2023 15:06:43 -0700 (PDT) Received: by mail-oa1-x2b.google.com with SMTP id 586e51a60fabf-1a98cf01151so6400558fac.2 for ; Wed, 21 Jun 2023 15:06:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687385202; x=1689977202; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=VK9EJjesr9P3CeGnBxj7w+Jge1+/260eNRMnSd/AWFY=; b=UGRErG+7Xy+fBMtJKjUiBVrQF1B9cgoqrRJxs4C6fdph+vZpOxg6ZinJbIMhj+hk+5 1xRuv0y1CCBIX+n6pt66rmQtvVPuT6xN/7NB5bBYvQAbijMvaNgWlehKCcMVxq19ECHs /LMZyLbnLdTavQV9zJ7JkgtAbKfiHLiP070EJlrugoIxlEhbTBzunaaphBmBL4cO5jGH cUVwlgTTCjdJQMhD2ShTwFy5Ata5SOnbaaAfoYkLuNPgoZS37WpGAGdkmfeQfmv0af9m 7UgxHNP/PYdq0XzBqJW2FtOoFMBjs/sRzGAWh02z/g/rKehxFOR8LT+hDomK7l6BOj77 BvAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687385202; x=1689977202; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=VK9EJjesr9P3CeGnBxj7w+Jge1+/260eNRMnSd/AWFY=; b=Zskf0lxYHu7Vnp3kQaKyMr2iX/zgM2VZleFlAnRkoDkpDuhZWo9BoQ2OEFmrsWZyqC wNWK3N1yXwf2lX6qgFcSuoIQ6V5BcONC/P8oPG63WFJPv2RNVRRPOjifVSwr9ctmm/7P /NGLxhUtG4FmhTuQLQ+0vjCiV0/ENE8jAK8Zu9y5y09/2CsaYmSMEUGL8LQYPlnONmKT 5BbxBqXsR0wAjhIHjXCkzxGFEKBJoWHYvApUKkxIL4S81Os4G+SXkgDFBtR3KPNbt9ip 8Gbtwj1L1TzU3Q0b2HAMJ9UIZYCxe74MW24FkrxeMHcwoapkHbagJGwn3Z6YszViW20A rQNw== X-Gm-Message-State: AC+VfDwimPf7RgWvO233QoUcoq9IMqmjALgF0QjkSWeIjSLlE0smPZne rlh7uq+Vr+MTzL+NfTNgiJ4= X-Received: by 2002:a05:6870:c806:b0:1a9:caa1:9571 with SMTP id ee6-20020a056870c80600b001a9caa19571mr12981633oab.34.1687385202229; Wed, 21 Jun 2023 15:06:42 -0700 (PDT) Received: from smeagol.fibertel.com.ar ([201.235.4.68]) by smtp.gmail.com with ESMTPSA id v7-20020a9d7d07000000b006af8b60e2c3sm2288987otn.74.2023.06.21.15.06.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Jun 2023 15:06:41 -0700 (PDT) From: =?utf-8?q?Joaqu=C3=ADn_Ignacio_Aramend=C3=ADa?= To: maarten.lankhorst@linux.intel.com Cc: mripard@kernel.org, tzimmermann@suse.de, airlied@gmail.com, daniel@ffwll.ch, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, =?utf-8?q?Joaqu=C3=ADn_Ignacio_Aramend=C3=ADa?= Subject: [PATCH 3/3] drm: panel-orientation-quirks: Add quirk for AYA NEO GEEK Date: Wed, 21 Jun 2023 19:06:15 -0300 Message-ID: <20230621220615.1253571-4-samsagax@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230621220615.1253571-1-samsagax@gmail.com> References: <20230621220615.1253571-1-samsagax@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769352439211730109?= X-GMAIL-MSGID: =?utf-8?q?1769352439211730109?= Add quirk orientation for AYA NEO GEEK. One of the more recent devices by the brand. The name appears without spaces in dmi strings. The board name is completely different to the previous models making it difficult to reuse their quirks despite being the same resolution and mounting. 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 --- 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 962e74afa8e5..757bbeb7071c 100644 --- a/drivers/gpu/drm/drm_panel_orientation_quirks.c +++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c @@ -194,6 +194,12 @@ static const struct dmi_system_id orientation_data[] = { DMI_MATCH(DMI_PRODUCT_NAME, "AYA NEO Founder"), }, .driver_data = (void *)&lcd800x1280_rightside_up, + }, { /* AYA NEO GEEK */ + .matches = { + DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYANEO"), + DMI_MATCH(DMI_PRODUCT_NAME, "GEEK"), + }, + .driver_data = (void *)&lcd800x1280_rightside_up, }, { /* AYA NEO NEXT */ .matches = { DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "AYANEO"),