From patchwork Tue Aug 22 02:41:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shuijing Li X-Patchwork-Id: 13360101 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 344CEEE49A0 for ; Tue, 22 Aug 2023 03:02:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=aRUASFwT15RVSY/mWRhNJF3KPOUoWnqg88KGJbq+GBc=; b=KaM3ahtIZBpr6F MVj9s2jWDF1SvrS7ac3PV5AABPkYry56zjXOUNrTRsZ3+xI7KMaEgH08gDyOBP1uO0TdLXFZZkhFs aWTdQLcwR5iQ5vxwqAzzcAQRkfZydQppjpMbTx2JieKSoZhp8U5JrqC4iCOb/ir+6YUOu7rxG6u2d DZIfmEvBx9WH2Y/L5FwaX+ALEzM8KX1MXZ2F1InJBpEnsX3bFFKihvmGimF7EfX13u4WBqkP/swED CEAHBak+6hviyyM9ZXANETsnFCWTh6VuGPxlkeoIgo98Cn84m0l47RtAnd+O1ii4cFmekN47/Iook Gny57tGTI5xC1+2oJyog==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qYHea-00F1AY-16; Tue, 22 Aug 2023 03:02:00 +0000 Received: from mailgw02.mediatek.com ([216.200.240.185]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qYHeW-00F19s-2y; Tue, 22 Aug 2023 03:01:58 +0000 X-UUID: 3c33e7c6409811ee83ed1395ce914268-20230821 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=OvunkvNy8DkEJYgJvd+z2cTJ68TynjaGzW99dIUA88I=; b=cGijVd5yKdueiwOmOmWrd9ktQrxPg3VSxluk3++CWZrOR5gb1/08FkuNu3ZxcAH/kqXuBNooJvrmNX0UiSme2cNDTCHZ9EvZroP0h27Zjw1RaVzH6EC3b3C3kcHusoKatx4yiRSFqeY3EvXgdQgg/u5lYwukkHsTmv/tPtXjIA4=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.31,REQID:29d9e842-6ce9-4e25-b1cb-d9f7841af751,IP:0,U RL:0,TC:0,Content:-5,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION :release,TS:-5 X-CID-META: VersionHash:0ad78a4,CLOUDID:4fb90813-4929-4845-9571-38c601e9c3c9,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: 3c33e7c6409811ee83ed1395ce914268-20230821 Received: from mtkmbs11n1.mediatek.inc [(172.21.101.185)] by mailgw02.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1337008505; Mon, 21 Aug 2023 20:01:48 -0700 Received: from mtkmbs11n1.mediatek.inc (172.21.101.185) by mtkmbs11n1.mediatek.inc (172.21.101.185) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Tue, 22 Aug 2023 10:41:44 +0800 Received: from mszsdhlt06.gcn.mediatek.inc (10.16.6.206) by mtkmbs11n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1118.26 via Frontend Transport; Tue, 22 Aug 2023 10:41:44 +0800 From: Shuijing Li To: , , , , , , , , , CC: , , , , , , Shuijing Li Subject: [PATCH v6,0/4] Add compatible to increase MT8188 audio control Date: Tue, 22 Aug 2023 10:41:51 +0800 Message-ID: <20230822024155.26670-1-shuijing.li@mediatek.com> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230821_200156_988303_CB94EF6D X-CRM114-Status: UNSURE ( 7.93 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add dt-binding documentation of dp-tx for MediaTek MT8188 SoC. Mainly add the following two flag: 1.The audio packet arrangement function is to only arrange audio packets into the Hblanking area. In order to align with the HW default setting of g1200, this function needs to be turned off. 2.Due to the difference of HW, different dividers need to be set. Base on the branch of linus/master v6.4. Shuijing Li (4): dt-bindings: display: mediatek: dp: Add compatible for MediaTek MT8188 drm/mediatek: dp: Add the audio packet flag to mtk_dp_data struct drm/mediatek: dp: Add the audio divider to mtk_dp_data struct drm/mediatek: dp: Add support MT8188 dp/edp function .../display/mediatek/mediatek,dp.yaml | 2 ++ drivers/gpu/drm/mediatek/mtk_dp.c | 36 ++++++++++++++++++- drivers/gpu/drm/mediatek/mtk_dp_reg.h | 23 ++++++++---- 3 files changed, 54 insertions(+), 7 deletions(-)