From patchwork Mon Apr 17 14:39:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 84274 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:6358:3046:b0:115:7a1d:dabb with SMTP id p6csp2105668rwl; Mon, 17 Apr 2023 07:41:28 -0700 (PDT) X-Google-Smtp-Source: AKy350YS921FNLpiZdIFRRtqF9ivWCW7lRUx/lWdTTuZOSeYsM5fv/jeV+hnSMji8sJIQc+QrBAY X-Received: by 2002:a05:6a21:6da1:b0:ec:7705:2f18 with SMTP id wl33-20020a056a216da100b000ec77052f18mr19231288pzb.27.1681742488443; Mon, 17 Apr 2023 07:41:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681742488; cv=none; d=google.com; s=arc-20160816; b=ScADx5bkt0NsSpxc8xRJ9ZjLuvbIutPtPDlg2nORKl3qMDosfVc84b5J7bUI3sBjUI cgeZbcP4rCHqOE9LGvB5sflEgRjM3ECDC9fmlg0vgkGUwFX4py1HmAeaFlX+4AP6Sb/K xAVjSo0t1ol2qDhIf8jEBPQ5FaGqCjN6wJV5J0EwscDbeMn3zmSB1vSqYs/l40Vs3o2F 2atDaXneASW4dQli1FS5xdtWqxARtxy+1zf+nI+xj1ClXmCCFL2DWxS0Zh28k7nNj+4A Inwhz/WXNsC/ifidsyIgImvGvj4zdSu+aXx0SxHAZoWayt3xQ61BZupIbIV2bwyzrJnI iYOg== 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=tOIu0zpP7jIFxGEXifri8MDOIrT4BGQqCytrVPPIk6LoVlFn9nKDjOU9RlNFXnKZmq C88DyY47QydAAkSKvXdn4ChKDNWKOq3Tl470lwUZo9vHYH5D/WbAjF04L/tG+4RE0UfP k0vMJhieGJrSwXlzvMsbc//yVRV7vBSLj0DJ1XcJ3FfILpwUqkzwW6bCoLZWI96tV4pm eg6ITKKg2+Gc/9E62PUwJxaSfgnolukmcn69MiqCaz9bcvW96gjioAgN1AeK88ZT3aFI Oc5QVIwoK3n37RzKdnwT4pzdPPgi9A6cEGbAo3ZWgX+XkCTsyWUwxJh+jLwcxyfBiOOJ Xy5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pN366wTw; 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 mu11-20020a17090b388b00b002474701edc0si9368751pjb.188.2023.04.17.07.41.15; Mon, 17 Apr 2023 07:41:28 -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=pN366wTw; 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 S230466AbjDQOjZ (ORCPT + 99 others); Mon, 17 Apr 2023 10:39:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34396 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230338AbjDQOjU (ORCPT ); Mon, 17 Apr 2023 10:39:20 -0400 Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [IPv6:2a00:1450:4864:20::22f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C628F6E8C for ; Mon, 17 Apr 2023 07:39:16 -0700 (PDT) Received: by mail-lj1-x22f.google.com with SMTP id j11so14323246ljq.10 for ; Mon, 17 Apr 2023 07:39:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1681742355; x=1684334355; 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=pN366wTwu0+ztQLR0QYrHqKI4hmwEnaED2TGmsjGy4dRQ4fkBakoWiKQmQQnSpwIsv DifBTjk7IRTNrg1QcVCnTzl5Wz2ycTM+Fw9LtwP4SFXD4FzFtVsZQANx7T9sGhJG/gCZ tC1M1ZUnz8HNYpHA8VvUfGzGk538L9kjUSwyh/XwJrVxyfG2W3kVOD7Pz0N6Lb0cEfUj QpkRxlmvbOGnY+bQJ6y5PPo73qdkNV+iqFv41jiEH86AwOTFJ3kQ5Rkx0pu5zssWCxuD BXgnxlRryY220DqHPRUHnuAPsIg3AuOuwJAXt5dRkwdxx0ERshDXU2vH7U2dSbzy2Y5R 1l4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681742355; x=1684334355; 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=iQ3uDyidC9JCM+t/wF9FqYFSsxZXNU+CFOUTnAvg2KhvRo30PdVEHrpMZbtLOuhFtX uHT2F4rHnq7+82B4OURVR5oJ9uE3p0cmu21aaOoiuFUO6cXOt2GnTmwbocMNEpYk/huP NSGQf849DTe5nozw90LZiMBT8sdcJ1Z5niN4HwmELs3QouBj+RxOXB3Bgbmkis5iJkPP TBYlk7boPIdq90NVfNo/TCsM4dFt2oOqGnR/jBNv6XCdiTCGaaG6qtgN52x7sntwHrjs oMwaw11mXWy3d2uEJ39dc7eE5sQXPwxzRP66ImRMMF+XUHYWc5s19Umn7+0my69mhLZQ GyaA== X-Gm-Message-State: AAQBX9cBl9hBp4QuWNhztYXhCRReKj7kSfYtMdnCcRn2KrLnR4BtxvhE Md9NzUkW7QvEwCfbq4CoGIRkDw== X-Received: by 2002:a2e:930d:0:b0:2a7:a779:eae4 with SMTP id e13-20020a2e930d000000b002a7a779eae4mr4478436ljh.9.1681742354985; Mon, 17 Apr 2023 07:39:14 -0700 (PDT) Received: from [192.168.1.101] (abyk99.neoplus.adsl.tpnet.pl. [83.9.30.99]) by smtp.gmail.com with ESMTPSA id 2-20020a2eb282000000b002a76b9e4058sm2235785ljx.43.2023.04.17.07.39.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Apr 2023 07:39:14 -0700 (PDT) From: Konrad Dybcio Date: Mon, 17 Apr 2023 16:39:06 +0200 Subject: [PATCH v3 4/4] drm/panel: nt36523: Add Lenovo J606F panel MIME-Version: 1.0 Message-Id: <20230412-topic-lenovopanel-v3-4-bcf9ba4de46f@linaro.org> References: <20230412-topic-lenovopanel-v3-0-bcf9ba4de46f@linaro.org> In-Reply-To: <20230412-topic-lenovopanel-v3-0-bcf9ba4de46f@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=1681742347; l=22582; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=a+KroKy76h4Z+iWZU936x+V3O3+qF0O8kFg1bcYLy8k=; b=9DtjzXzjSrv/qSfPI3t1hQNOMc2jNtpJL0lr2A4kN6iYBbdLLyFclCrrcs+qpXA5jitq0nH3iKmp q/BS2vq0A14zuokiSc/NW7KU5NvYEVcxIRFY6KpVhVHxMhSEIRU/ 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,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?1763434811545044588?= X-GMAIL-MSGID: =?utf-8?q?1763434811545044588?= 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