From patchwork Thu Apr 13 10:09:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 82898 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp932883vqo; Thu, 13 Apr 2023 03:35:02 -0700 (PDT) X-Google-Smtp-Source: AKy350ZnBzVBDFAySls0svZfZD4fTyLjEDw0vDmnXGtnbNoaV7rQQrLosHtJykuHsiYfUzlubclY X-Received: by 2002:a17:906:68da:b0:94e:80b2:51e3 with SMTP id y26-20020a17090668da00b0094e80b251e3mr3287927ejr.27.1681382102558; Thu, 13 Apr 2023 03:35:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681382102; cv=none; d=google.com; s=arc-20160816; b=PeEn8NQvrhXiAvA0v5cNMt9syatcnqcRY1a7IRiIG0AN/L4mT0B3/ssOJrxp85qat1 IGXlJ7jRHwLIIVoLX/i9mTOkcaUr93RuN3F3D2gqgQwdLhkVi7pU1SSfHBbbsTKEbLVb Q3IqoqOaIi+Q3yIBAT/NpNC3znSWOwkfuZ0SAv4pRmD3T0vrtWnZHfIlowbglp+gDgl9 MORhtH5PRpv1ZxmhKfILXJYmlH1V3g+57fTtnAQ65eZFHrSsn+QSr4GJObnEM91qr7DK o60W3jo4groX1X3jauCYjatSltFd4CElyGfWgIQUaffkxHA0syNcTnKv9+CEDPruPulR kf1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=EKbG0++H3xbVFVaOPyRrEAbbHRNYZ849A4wa8ugtNII=; b=o4M9nmU7VdUuRp1GMnPQHbfdVLtdwynjoWM1DMX3MvlHpKN9FzhIhyxco7Wha7o7ly FONxQvWvSFF66VAEt6z/MESDhu61ivacjgtr1+NKq/zVuspMjG12d3GiukyjjEiOXDTa kP0akZW68mFKi5xGPpRiGJpyY6O9m0HwhrviD+8zDJGJ5LrWvI6UkLun6VIcbrjBhh3/ fHSE2oF2SZuLCGUoRYIerHgPfolUefCL+DV8y8V81PXGTvzrL/q/hVK/KfOECs0iM+oV 6fAOU9d+2j82oj26EewhnV1ErB7iN+k8rRq+avktW85f7UmTCNCqQzjnlBjeZRKE16SU ew0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ThO1LzD5; 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=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ka22-20020a170907921600b009311b97abe3si1438072ejb.112.2023.04.13.03.34.36; Thu, 13 Apr 2023 03:35:02 -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=@linaro.org header.s=google header.b=ThO1LzD5; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230401AbjDMKK0 (ORCPT + 99 others); Thu, 13 Apr 2023 06:10:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58612 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230315AbjDMKKF (ORCPT ); Thu, 13 Apr 2023 06:10:05 -0400 Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D625A9ED0 for ; Thu, 13 Apr 2023 03:09:55 -0700 (PDT) Received: by mail-lj1-x22d.google.com with SMTP id bx15so12905087ljb.7 for ; Thu, 13 Apr 2023 03:09:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1681380594; x=1683972594; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=EKbG0++H3xbVFVaOPyRrEAbbHRNYZ849A4wa8ugtNII=; b=ThO1LzD5GUl5+TgJbsoVcKM/qNLCB/hqoha+v0ORbBzy1YDDbKE8aMFehj3J9adsTK qVdtpAbstd1R6qNnunfTJlGwxOb+MhGcfiEwIHvrXSCw4UauAdYkxlFBCUU1sd75M0pq v2KmiV6DEVPpOEJgmzCHgh29f0EbJ/wS/85TcunFSh1ekjlibM99nIo2KcTbxvrSAnh+ ddulP/WvLkAcUw+iRMgvs89tiKzKiEl1s4K+pNO0psyKCBJ7rB+8FtmtKI61us6kfKR7 bhKyh7IuDextmjYVbzaftyA21T6Qw1sRqyFF4zzB7nN1tDlE3I00lOk37hiAgXoR1tAT XJJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681380594; x=1683972594; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=EKbG0++H3xbVFVaOPyRrEAbbHRNYZ849A4wa8ugtNII=; b=fDCAJFAoKxLUJApwlSNtcon13Yfls70DF8ft7BHVfEOY8ZkEUDSTW5bRDoIrUMlUq0 T59FTuV5NN1sEF3fnPETVr1+ZKlj44G450c+4/ZdE72faiaRz5w8Q06dz310p5iYZl6g 6Fwbxu8t194uoNljjUIscCS2CmTIqI/B3mbTGpUPbSr0gV54H/F01+8SOoWRVGBZutOG Accqa8vaYs7IKfi07Tlu4RT2eI3mUdf816V6FdD5pC1ZnEC51FL6OfBZlMrLZRrPRAZ6 942tSO1Mnvox8u9khntXjUT34bamrg3wxMGuIdu/69wxhM9MaA8PRWtEci40FmxK4+/L +w6g== X-Gm-Message-State: AAQBX9c7Utc4adzkqG+AVbaUrohqTL88qo6sJitaVi/mrrD5S3ZmzJdI BDfz8FnKbQPTKWzXRyYwpvQUrA== X-Received: by 2002:a2e:b173:0:b0:2a2:d541:5d34 with SMTP id a19-20020a2eb173000000b002a2d5415d34mr477068ljm.17.1681380594000; Thu, 13 Apr 2023 03:09:54 -0700 (PDT) Received: from [192.168.1.101] (abyl123.neoplus.adsl.tpnet.pl. [83.9.31.123]) by smtp.gmail.com with ESMTPSA id t20-20020a2e9d14000000b002a2e931fc48sm200482lji.140.2023.04.13.03.09.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Apr 2023 03:09:53 -0700 (PDT) From: Konrad Dybcio Date: Thu, 13 Apr 2023 12:09:39 +0200 Subject: [PATCH v2 5/5] drm/panel: nt36523: Add Lenovo J606F panel MIME-Version: 1.0 Message-Id: <20230412-topic-lenovopanel-v2-5-055c3649788e@linaro.org> References: <20230412-topic-lenovopanel-v2-0-055c3649788e@linaro.org> In-Reply-To: <20230412-topic-lenovopanel-v2-0-055c3649788e@linaro.org> To: Jianhua Lu , Neil Armstrong , Sam Ravnborg , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski Cc: Marijn Suijten , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio , Linus Walleij X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1681380585; l=22582; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=a+KroKy76h4Z+iWZU936x+V3O3+qF0O8kFg1bcYLy8k=; b=5UhufzRL+Mw2BPxERcEopM+ykXt8KXnuM/h+5eueYbv/mFXmhsetOixMyZIcBN3rWcwmjMFI0mdA f3dp/vwUAqdhE8ONDujDv7q4afGc5S/UBtUK1E64vTPFW27sjsWN X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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?1763056919919416815?= X-GMAIL-MSGID: =?utf-8?q?1763056919919416815?= Some Lenovo J606F tablets come with a 2K (2000x1200) 60Hz 11" 5:3 video mode display. Add support for these panels. Reviewed-by: Linus Walleij Reviewed-by: Jianhua Lu Signed-off-by: Konrad Dybcio --- drivers/gpu/drm/panel/panel-novatek-nt36523.c | 486 ++++++++++++++++++++++++++ 1 file changed, 486 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-novatek-nt36523.c b/drivers/gpu/drm/panel/panel-novatek-nt36523.c index 2c5712ac3037..c3befa7f253d 100644 --- a/drivers/gpu/drm/panel/panel-novatek-nt36523.c +++ b/drivers/gpu/drm/panel/panel-novatek-nt36523.c @@ -13,6 +13,8 @@ #include #include +#include