From patchwork Wed Apr 12 19:46:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 82653 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp565625vqo; Wed, 12 Apr 2023 12:48:32 -0700 (PDT) X-Google-Smtp-Source: AKy350bLGmPZkRxhUmhaA8/BHbZK7rbIPBMp1WUDsTN390SkzaHTvMGpa9XLV+7B2DopP0nJKBOl X-Received: by 2002:a17:902:ce8c:b0:1a6:3d07:af32 with SMTP id f12-20020a170902ce8c00b001a63d07af32mr13678plg.38.1681328912042; Wed, 12 Apr 2023 12:48:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681328912; cv=none; d=google.com; s=arc-20160816; b=hZL/FzA76D/ldoeBkFHT8YqcwnfFmYHS85MrjIg+goe4EDSf/UuFF2f2pSd5E6/6YR /qSZImD9llurHKLAouSqSKb6aU6khsTee6iskmXAbi99Nfjyrm6rEpFcEVXjKwt+75Rz KXjTmwuXdEB0ikPdLaMfEevp3EsU8g/fcJi+7h0jlPbnHg/avaemZYBBQ0mpsbNTc4vp nCKWRAisrGnDk7rsEBpTmfTHlOYzCTLCju+sx+sMIOmtxiDBUoStuUddiPetqFpNB+CW KhHYEBoaRNPlEPhptJv6SgjotjjX5sbV7IgeHN8rvnarthtVUzOvYiKSge3pv3Q8c+6V mZSw== 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=Iutcvf8dWMSkz4y9PMQuquo9+n+lyx20D7RRy3/1qoA=; b=x+aFGNtkqWEigAgZ15lXYlOHCeXC+7UtAXOV7IwFZZT3lS8SZzkECCjEopgIWS2GsB OhE7qHAf6DRmrmr+8SJDzHcPtQI1qktv7kwIPYOojmX5TTqszgQMJ3Q94N0O8yfOG/3Y aB90k5zk5OAOGTBoA9EP2RQklf2xKYBzdoxfVxDRyNeHKTez3pI1E/WfgmgmP+BAe/Rq OqelXbIkJFYJMRkb0fRVkN/wMe75tRs1+zBU+Mtu0YRKFMZ9aMr7JwuSCUrG8m02o4e4 thn+droytDh2bqUFsBeVdEsiXiiS6mWVKIpljpty1zAEKPnI/n9c0/O8wdZsNpt7QOSV deww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YAH90DVz; 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 o15-20020a170902d4cf00b0019cd505cdc5si18242873plg.440.2023.04.12.12.48.18; Wed, 12 Apr 2023 12:48:32 -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=YAH90DVz; 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 S229974AbjDLTqe (ORCPT + 99 others); Wed, 12 Apr 2023 15:46:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35590 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229983AbjDLTq0 (ORCPT ); Wed, 12 Apr 2023 15:46:26 -0400 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AB62776A9 for ; Wed, 12 Apr 2023 12:46:19 -0700 (PDT) Received: by mail-lf1-x12f.google.com with SMTP id t20so16111983lfd.5 for ; Wed, 12 Apr 2023 12:46:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1681328778; x=1683920778; 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=Iutcvf8dWMSkz4y9PMQuquo9+n+lyx20D7RRy3/1qoA=; b=YAH90DVzJ8z3eJgogrBqAXlrLkclRQqUqgfxJik82c+Fd5077xCxhhn+RrshhMOfpz dsAsMOl8JqWEieGraPJ0IdZ1/a5SgMrawCKXMm/egmXo2Rb8kl+/teTjt94ze0QwzLV2 EgXBWaCl3Qr9phmczh6iPP31sKJB5mNsb4Mebt/tdPmLGM7dWo1J0iJatt4tdfaD0TPa qkzhpeScwwudUVsFHGEHTAub18dPSB9bd96g6/RKrDJ7m7j10vJLshDBBQ/SaYldrfPf 1sLU0xVZD+qbDe3xD4kDFYvGM7EiQ01GAhijN3JTLb7AFzQw9fhfck/xnnTjCupAOfRn O9qQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681328778; x=1683920778; 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=Iutcvf8dWMSkz4y9PMQuquo9+n+lyx20D7RRy3/1qoA=; b=I3SSR7aMa3qUBm1CKhvAXb+7z115pgB/Dmm1bOsP34Y7ToMswDroaGumRwIQam4lgj WZUE5N3yklRBRCI2Bir7jlOYMHu/NfIeLIKsERUfTujddFudpnEhTX4eKz+QPcawudei f7Ma4kUK6ISryz04nZKPJVam+KAGoLd1CdoiKRXXr1xe12hiavcPfWG4dVIJeclbOKm2 MupImJEv2TT9YAPGYdeDqkKLE3TjhcgqTb02X2EcKnIswvAoVS1HB4f9i3s8uc+ZHRCG KjBiyKKheb98HM/V+cv0uQBJBM5mCxSMQiDIzEVZICV9xdRcM60pfB0rkd2xUs/xTHNA h6Vw== X-Gm-Message-State: AAQBX9ct9w1mETxVh3w9lP7C/tEzWaIE2+kFtFoMi7FL0RLa8IqLzqyr yd6+d0xtY+szSh6de7PhHTinew== X-Received: by 2002:ac2:511d:0:b0:4d8:8ad1:a05f with SMTP id q29-20020ac2511d000000b004d88ad1a05fmr7664lfb.48.1681328777744; Wed, 12 Apr 2023 12:46:17 -0700 (PDT) Received: from [192.168.1.101] (abxj23.neoplus.adsl.tpnet.pl. [83.9.3.23]) by smtp.gmail.com with ESMTPSA id x2-20020ac25dc2000000b004ec8de8ab3fsm1205865lfq.132.2023.04.12.12.46.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Apr 2023 12:46:17 -0700 (PDT) From: Konrad Dybcio Date: Wed, 12 Apr 2023 21:46:02 +0200 Subject: [PATCH 5/5] drm/panel: nt36523: Add Lenovo J606F panel MIME-Version: 1.0 Message-Id: <20230412-topic-lenovopanel-v1-5-00b25df46824@linaro.org> References: <20230412-topic-lenovopanel-v1-0-00b25df46824@linaro.org> In-Reply-To: <20230412-topic-lenovopanel-v1-0-00b25df46824@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 X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1681328765; l=22561; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=a8GsYeAXGtH6jMRGuaf0r3p1JnRRRNynGhK9xGe2JqI=; b=gvTudzkjiLXww3NmaDzC8ttSjTWWDTKlB0b4Au/w5rdKziWvznivnuWRdMSPZnPMlHHlT03UA2IX H6c2YLFWCnHRvFZ1Nu1B6EpLPrRaG3HiGfujIkdKp1pGXCZN3UFm 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?1763001145334690321?= X-GMAIL-MSGID: =?utf-8?q?1763001145334690321?= Some Lenovo J606F tablets come with a 2K (2000x1200) 60Hz 11" 5:3 video mode display. Add support for these panels. Signed-off-by: Konrad Dybcio Reviewed-by: Jianhua Lu Reviewed-by: Linus Walleij --- drivers/gpu/drm/panel/panel-novatek-nt36523.c | 491 ++++++++++++++++++++++++++ 1 file changed, 491 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-novatek-nt36523.c b/drivers/gpu/drm/panel/panel-novatek-nt36523.c index db4b4af13ec1..4bf9f8db26ba 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