From patchwork Thu Jul 20 08:26:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shuijing Li X-Patchwork-Id: 12320 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c923:0:b0:3e4:2afc:c1 with SMTP id j3csp2979226vqt; Thu, 20 Jul 2023 01:58:11 -0700 (PDT) X-Google-Smtp-Source: APBJJlGpa9+611Yre7E8+Sn8jjN5EcsUXl8DFINriydHHBNHQ4YJk2FwpJpzOluOhvVCKgNMGPpT X-Received: by 2002:a05:6512:78b:b0:4fd:d31b:71c8 with SMTP id x11-20020a056512078b00b004fdd31b71c8mr1484766lfr.9.1689843491207; Thu, 20 Jul 2023 01:58:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689843491; cv=none; d=google.com; s=arc-20160816; b=CqLrRTv068pnmy3x/vSdzDeXeq+h893N83ugwiAdqyF6pJVZCjWvnakmNca89htRML X+OHBiJrvuE3d5UklUN3M/qmC9jlgI3ugYgu5LxUl2wxV4O5fEcXpzDbAu0eBI4USJt9 APa7/n99aNGy8bh0qF2wjtMyUziBCawL2N7PYE0NELZWmmH9LVLO/zA2HLCF9UtbXKzV x58qwGmbaqbg5ZoPh3jFJXAXNa1CYiPEOp1PgBNkaOTM2EW8j99PrUXeaL6zddLRPBgf OWd4PO2KNrlAde2zEoNgojmiUfIZXLWmw0GVLRhkYZAWz+MER3BbpCdR7fQSuQhYpk0/ DoPw== 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=ti0CyFMC0wMS7lE760bLV1Vvq4mXC0J3pcCFBbxfNGk=; fh=/A7E3z20mAl6r3QJXD/kIpFEDa9Yx6cY1u+S4GtH8aM=; b=jbYxDqiNGbpKRyAyJi6jnzVYAeIInAOFwfWIMUp8O4pXXTEBs+9oHKeN2Ikb7CddCy TxOruFQvg90EwYQdo/Zwu0tFUifG2SpgTUve5Qy2tKI4/wxscknXKNIAsGtNcSZrkLHR dUmvLWi8Qszb1yVdjlLtMksQQkTboX23eKMK+e7Wd1U8uaBKdF4s3sNiOSApR60nSNyS HB4gIi2lut4k+d6f5I/13S3Ua1swl1fbs5wMcZwiGGDunvOC70jBIHNp9qPiCu5WtkOC LP/gpdY9bIG0g6ppUoEhd2alySVnv1GNnmum78qcKVvpKz5dQTb1BjESyhehghAKZwj0 cAuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=bgZlTnJc; 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 w9-20020aa7da49000000b0051878e08975si511090eds.441.2023.07.20.01.57.45; Thu, 20 Jul 2023 01:58:11 -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=bgZlTnJc; 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 S230403AbjGTI0F (ORCPT + 99 others); Thu, 20 Jul 2023 04:26:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60596 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229729AbjGTI0C (ORCPT ); Thu, 20 Jul 2023 04:26:02 -0400 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F31162684; Thu, 20 Jul 2023 01:26:00 -0700 (PDT) X-UUID: 0d188b3426d711eeb20a276fd37b9834-20230720 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=ti0CyFMC0wMS7lE760bLV1Vvq4mXC0J3pcCFBbxfNGk=; b=bgZlTnJcHjyEuQcQax70b69SALKmbIMt4EYDad/V7qk08/7fxLuyEjOxuTYFf3GpF2RPgJN3Dv3lpiqLv4TnwXwUN3URIgBLafbqgczAwq+sdsqFk0RcHrjuqJqwHqUzXrX1DkkeyTEUFac4SVOUIurxT8XrscQCI6ReFnPb1iM=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.28,REQID:63397277-a6eb-43b0-91ee-e99255694dd2,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:176cd25,CLOUDID:2cafec4c-06c1-468b-847d-5b62d44dbb9b,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 X-CID-BVR: 0 X-CID-BAS: 0,_,0,_ X-CID-FACTOR: TF_CID_SPAM_SNR X-UUID: 0d188b3426d711eeb20a276fd37b9834-20230720 Received: from mtkmbs11n2.mediatek.inc [(172.21.101.187)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 613676686; Thu, 20 Jul 2023 16:25:57 +0800 Received: from mtkmbs11n1.mediatek.inc (172.21.101.185) by mtkmbs10n1.mediatek.inc (172.21.101.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Thu, 20 Jul 2023 16:25:56 +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; Thu, 20 Jul 2023 16:25:55 +0800 From: Shuijing Li To: , , , , , , , , , CC: , , , , , , Shuijing Li Subject: [PATCH v3,0/3] Add compatible to increase MT8188 audio control Date: Thu, 20 Jul 2023 16:26:01 +0800 Message-ID: <20230720082604.18618-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,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE, UNPARSEABLE_RELAY 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: INBOX X-GMAIL-THRID: 1771929328643409125 X-GMAIL-MSGID: 1771929328643409125 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 (3): dt-bindings: display: mediatek: dp: Add compatible for MediaTek MT8188 drm/mediatek: dp: Add the audio control to mtk_dp_data struct drm/mediatek: dp: Add the audio divider to mtk_dp_data struct .../display/mediatek/mediatek,dp.yaml | 2 + drivers/gpu/drm/mediatek/mtk_dp.c | 47 ++++++++++++++++++- drivers/gpu/drm/mediatek/mtk_dp_reg.h | 6 +++ 3 files changed, 54 insertions(+), 1 deletion(-)