From patchwork Fri Jun 16 07:36:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shuijing Li X-Patchwork-Id: 10876 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp1155218vqr; Fri, 16 Jun 2023 00:48:53 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4PIlIQRD0DeH+4UlKJWVBJ+fjJvzxlkZP+IYJh+qkFmApUK6ILPWphhKt4mJls5HiTxXtk X-Received: by 2002:a17:90a:1984:b0:256:5d2b:1c48 with SMTP id 4-20020a17090a198400b002565d2b1c48mr837807pji.43.1686901732818; Fri, 16 Jun 2023 00:48:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686901732; cv=none; d=google.com; s=arc-20160816; b=l4lIV3N4EKsqfnFwx36YJVhHlA5FqUQeOvnptDHP/NSHJ6rfAup932oXmTT+r0+v/M /LA0qkuqkhN87mVnu/hjyhkLA3WrlRcfdljQ6v3COt/gV+EHiHZlReOjqanJf2utBFEK cmiwj01D2XKL2Y+J5ckZcQb9toF5P7K1VAZp+VbvLMMDBpjgBPDQ7GX6y2uv+Vgu0gVj Czm/lOwaM2JKca/5H4F6T3yD72D1rUSsIsaoT9jCwB5tImi+CbgRFXPGCrONU19B+Gx5 tB78VbzFNIHrHOO8o3UjaWLyRV5fj4qstA9UbLRN8Df0ywCEnAdjG7isjdlF/bOLGXaR AG8g== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=T/mv5xRYC/u5WsUdo5O1+4NEiWJdjNNIXtIaO0oOIpI=; b=cJ1Dvelnafmg0PvMRjl/G3MERTSbv34lGZEPUOMZtZrAOg2AiU8nmWSGZpV/+V1+6i A4rdKiER8VjmP6Z3931mr2cEyuqgIkLLcvC8f1xUsT9L66uqPtNyNHqVGp++pXmmjGxv QBMlk6Xg+icXz8SdoR950bV9k1BB42wyArFZTbcqawmFA56xXSh9rIyliVnU0O5rEF2E PQK+bhRJZMy3fCn9nWX1i4ee+Vg1l72DARtI8lizOowkL51wW5TS7+Sev1nObExEwq/0 VTF8XRuTImfKlh4NFqZakhm63VPgI5bdycfz23/AbEuBQAKC24d/6p9dhY4FD9C5QZCh hn2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=NcNB2MIw; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o11-20020a17090a744b00b0025e9a3124c7si1074239pjk.143.2023.06.16.00.48.38; Fri, 16 Jun 2023 00:48:52 -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=@mediatek.com header.s=dk header.b=NcNB2MIw; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245160AbjFPHgv (ORCPT + 99 others); Fri, 16 Jun 2023 03:36:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37388 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245115AbjFPHgu (ORCPT ); Fri, 16 Jun 2023 03:36:50 -0400 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A2E2A1FF7; Fri, 16 Jun 2023 00:36:44 -0700 (PDT) X-UUID: 87d962fa0c1811eeb20a276fd37b9834-20230616 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=T/mv5xRYC/u5WsUdo5O1+4NEiWJdjNNIXtIaO0oOIpI=; b=NcNB2MIwRuuLOdgEhDqgadZWV5rN7D1jewFIBDTg40VEvQdSNPRLaI8aiPetUCR8w8HyxJ3c7hhhy5z9182L6IVU8ftWmpBfxoT333gX0lW6me6qRedgr5BXa+4uSdzyEufs2s0+B4PXzbzcOtq3imczNxtKOgPbt949xB6RAzY=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.26,REQID:673f7cdb-11ba-4982-920f-bf4288710805,IP:0,U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:95,FILE:0,BULK:0,RULE:Release_Ham,ACTION :release,TS:95 X-CID-INFO: VERSION:1.1.26,REQID:673f7cdb-11ba-4982-920f-bf4288710805,IP:0,URL :0,TC:0,Content:0,EDM:0,RT:0,SF:95,FILE:0,BULK:0,RULE:Spam_GS981B3D,ACTION :quarantine,TS:95 X-CID-META: VersionHash:cb9a4e1,CLOUDID:085da13e-de1e-4348-bc35-c96f92f1dcbb,B ulkID:2306161536416IGF0HCR,BulkQuantity:0,Recheck:0,SF:38|29|28|17|19|48,T C:nil,Content:0,EDM:-3,IP:nil,URL:0,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0 ,OSI:0,OSA:0,AV:0,LES:1,SPR:NO X-CID-BVR: 0 X-CID-BAS: 0,_,0,_ X-CID-FACTOR: TF_CID_SPAM_SNR,TF_CID_SPAM_SDM,TF_CID_SPAM_ASC,TF_CID_SPAM_FAS, TF_CID_SPAM_FSD X-UUID: 87d962fa0c1811eeb20a276fd37b9834-20230616 Received: from mtkmbs10n1.mediatek.inc [(172.21.101.34)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 725115000; Fri, 16 Jun 2023 15:36:39 +0800 Received: from mtkmbs13n1.mediatek.inc (172.21.101.193) by mtkmbs10n2.mediatek.inc (172.21.101.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Fri, 16 Jun 2023 15:36:38 +0800 Received: from mszsdhlt06.gcn.mediatek.inc (10.16.6.206) by mtkmbs13n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1118.26 via Frontend Transport; Fri, 16 Jun 2023 15:36:37 +0800 From: Shuijing Li To: , , , , , , , , CC: , , , , , , , Shuijing Li Subject: [PATCH v2,0/3] Add mt8188 compatiable for DSI cmd packet control Date: Fri, 16 Jun 2023 15:36:56 +0800 Message-ID: <20230616073659.26536-1-shuijing.li@mediatek.com> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 X-MTK: N X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS, T_SCC_BODY_TEXT_LINE,T_SPF_TEMPERROR,UNPARSEABLE_RELAY,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?1768844671296921229?= X-GMAIL-MSGID: =?utf-8?q?1768844671296921229?= Add dt-binding documentation of DSI for MediaTek MT8188 SoC. Because of the difference between SOC and DSI cmd packet control, for MT8188, it is necessary to increase the DSI_CMDQ_SIZE control when sending long packets to initialize the panel. Of course, this will not affect the sending of short packets. Base on the branch of linus/master v6.4. Shuijing Li (3): dt-bindings: display: mediatek: dsi: Add compatible for MediaTek MT8188 drm/mediatek: Add mt8188 dsi compatible to mtk_dsi.c drm/mediatek: dsi: Add dsi cmdq_ctl to send panel initial code .../bindings/display/mediatek/mediatek,dsi.yaml | 1 + drivers/gpu/drm/mediatek/mtk_drm_drv.c | 2 ++ drivers/gpu/drm/mediatek/mtk_dsi.c | 15 +++++++++++++++ 3 files changed, 18 insertions(+)