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"),