From patchwork Mon Sep 11 12:07:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shuijing Li X-Patchwork-Id: 13379250 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 64A89EEB57D for ; Mon, 11 Sep 2023 12:08:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject:CC:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=zHf+NThOhs8TTk+3fFCnClKz7RDWswm3rzQpmAi2/ps=; b=iU1RDokedfcV6Z9SNu+qIslsiq l3svsb03KL4GETTWTmUza4Tr7Fu87UC9pCoLVj+jHGuUZI04oSUUs1O3zcYLprc7sYKjkChVAUKhA Klh0U2OuaQExZKVwyBcJgn8YPkleVinkOFnVJWTadpExjMVFI1uDJy7aqHTTEryjrO/kUZqcZ06uM JPSkGULDDClKOh1xQY8JvBKi2FwLUwfakUW1UfmdfwwpBF+PLADn/QLpVeKpX91kMlN0qQCz6e0xV g6Ly85/PLDmxHW4YCigM4MPVhVi73mhDzzb5G+Qj56N7rsPPPjA52clF309NBjiCcis1AycSu4Qxm GpENUy5w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qffiK-000Rud-1G; Mon, 11 Sep 2023 12:08:24 +0000 Received: from mailgw01.mediatek.com ([216.200.240.184]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qffiH-000RtT-0a; Mon, 11 Sep 2023 12:08:22 +0000 X-UUID: e5a43e88509b11ee9b7791016c24628a-20230911 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=zHf+NThOhs8TTk+3fFCnClKz7RDWswm3rzQpmAi2/ps=; b=YUiyfymIyZCnYV2cBAx/eUYNnClzp8Ikb31PrYuqY06A9AkaxZafdzlyaos1rk87YTzQ/RdZ3FUleaXLb/IM89oKc11tlxKB71iflCPTYy6yu14F0uFrCvmmnKQLuCbMN6aXiRCdpuwyWbQdWQGiFEA4k624BYcGFfD0x6n/2Uw=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.31,REQID:c28d76ad-48fb-4065-8e2b-dad84615b177,IP:0,U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION: release,TS:0 X-CID-META: VersionHash:0ad78a4,CLOUDID:461990ef-9a6e-4c39-b73e-f2bc08ca3dc5,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:-3,IP:nil,U RL:0,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OSI:0,OSA:0,AV:0,LES:1,SPR:NO, DKR:0,DKP:0,BRR:0,BRE:0 X-CID-BVR: 0 X-CID-BAS: 0,_,0,_ X-CID-FACTOR: TF_CID_SPAM_SNR X-UUID: e5a43e88509b11ee9b7791016c24628a-20230911 Received: from mtkmbs13n2.mediatek.inc [(172.21.101.108)] by mailgw01.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1023337309; Mon, 11 Sep 2023 05:08:19 -0700 Received: from mtkmbs13n2.mediatek.inc (172.21.101.194) by MTKMBS14N1.mediatek.inc (172.21.101.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Mon, 11 Sep 2023 20:07:44 +0800 Received: from mszsdhlt06.gcn.mediatek.inc (10.16.6.206) by mtkmbs13n2.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1118.26 via Frontend Transport; Mon, 11 Sep 2023 20:07:43 +0800 From: Shuijing Li To: , , , , , , , , , CC: , , , , , , Shuijing Li Subject: [PATCH v4,0/3] Add mt8188 compatiable for DSI cmd packet control Date: Mon, 11 Sep 2023 20:07:57 +0800 Message-ID: <20230911120800.17369-1-shuijing.li@mediatek.com> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 X-TM-AS-Product-Ver: SMEX-14.0.0.3152-9.1.1006-23728.005 X-TM-AS-Result: No-10--5.997700-8.000000 X-TMASE-MatchedRID: yvDAzrttxFXHCChNBbZThTvfsoCuAcP+h+w9Wz/xXDqIDxaki6CTmJgZ 2+o9ceX07wgYhNgOzKL/Z0qDAfk1Q6Gsq9dfniq5A9lly13c/gGeEP0DdJrulp2iHEDAUb20o8W MkQWv6iUoTQl7wNH8Pg1fA1QHegDv3QfwsVk0UbtuRXh7bFKB7r+k1NFlulNIlZGidBa7H0aVZ3 zXfISSyJKTX6EwXfWI66XHIc5w+gc= X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--5.997700-8.000000 X-TMASE-Version: SMEX-14.0.0.3152-9.1.1006-23728.005 X-TM-SNTS-SMTP: 5CEDBA645C72677281071EC45D7C69839673C94A69C33ED544CCC4F0F1A94DF32000:8 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230911_050821_221086_67FB6432 X-CRM114-Status: UNSURE ( 7.01 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org 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.5. Shuijing Li (3): dt-bindings: display: mediatek: dsi: Add compatible for MediaTek MT8188 drm/mediatek: dsi: Add dsi cmdq_ctl to send panel initial code drm/mediatek: Add mt8188 dsi compatible to mtk_dsi.c .../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(+)