From patchwork Thu Jul 6 02:14:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shuijing Li X-Patchwork-Id: 11671 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f45:0:b0:3ea:f831:8777 with SMTP id v5csp2267292vqx; Wed, 5 Jul 2023 19:31:55 -0700 (PDT) X-Google-Smtp-Source: APBJJlHmdYb6BtLzmXGC7cnwNXHQnPpCD4IzCfXw5cUtkUvEI4vfp2BJr5LetL+F9nxR9V6lrwRW X-Received: by 2002:a05:6e02:1c84:b0:345:a6c5:1cf0 with SMTP id w4-20020a056e021c8400b00345a6c51cf0mr1032441ill.26.1688610715367; Wed, 05 Jul 2023 19:31:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688610715; cv=none; d=google.com; s=arc-20160816; b=YeMMpLG4F0JPkkz5s4PKChpMnWZOm2mpQt7iiYIBuP5mjoiCjwNddG4IFqUPpXKvJu mMSb9dz4BfOP3+3ggSAhuQjXnelMknnCC36iCqZIUZwyOhOz9kP7PxlwbKX9+MlDAFIe oQuXP8puNR+BPcyqknSl/4jW5GMY6+sMSw4aSfKmV72LUp1ED7ilDeGZt3Uaw2hAmzU2 b9Tb/sZPS6crDQR0nVVf/3thCuIYcg64wbXFKricPbKvWMpoc/KaKB/fHVc0JlwZfCbx U+pR/LSXvLIWANgDRdJ/dJ9qjDRuZG9kqD5eEl3OhIUFf2IXuXCWNHL/wnDFDsz2KkvE l+MQ== 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=hlo3Ei/JjTN59JgLREbq5CT1Efs+sQtYpvHgUFM6xhA=; fh=/A7E3z20mAl6r3QJXD/kIpFEDa9Yx6cY1u+S4GtH8aM=; b=klExP414kqHl1gi4Cl19rQ/F86Jc0FL1zt/JtfxVv3FnSb8GQHq5JATwmgC6bphI4Y GGHTF0pb4XYLIGle4mHZAtwp75z7nHjUtO5oWC+Q5Zib+/oVyBL8donyu3dnXCdcjUTR w1HKdAzpif1lNSsvTPweq+iJuubHQmjzrW+2A9RukTGaNhzTP0n0kMzSh4SYqu5LoVu/ mjJ2hnpufK4JWJhMT/Zu2OXEXEzVYH3CCpj9qpMsRXVjoh6WRDSdoS76Q4MNLiBJ31ua Oh7FjTpF8EwqMg83tW5rWQ8lfwidYP/IdFpd4xk+XnDkudy/24xWUMpY8831/ZfTz9GJ OFlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=tNWJC8r4; 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 i184-20020a6387c1000000b005579cc7bc7csi474580pge.246.2023.07.05.19.31.42; Wed, 05 Jul 2023 19:31:55 -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=tNWJC8r4; 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 S233189AbjGFCOW (ORCPT + 99 others); Wed, 5 Jul 2023 22:14:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33248 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233166AbjGFCOV (ORCPT ); Wed, 5 Jul 2023 22:14:21 -0400 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 252C612A; Wed, 5 Jul 2023 19:14:15 -0700 (PDT) X-UUID: cacdd6f61ba211eeb20a276fd37b9834-20230706 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=hlo3Ei/JjTN59JgLREbq5CT1Efs+sQtYpvHgUFM6xhA=; b=tNWJC8r4OJZJBp7sxRVtktYHMFhBMG1BPm9EHHk7MeTzrzAEm+3GQqawAFNXUltfYhiZg6lxIumnal+5igHlg44ATH34HaDgN8o90qq/L882wyGZoIlhxh/7TAYgPGgczRQXpc+bIW5K6vg4dLtrZVmHewHpCeHE1qz6HxM//RE=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.27,REQID:6e54797a-76d8-4044-b933-0eccc45461ca,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:01c9525,CLOUDID:f571e90d-c22b-45ab-8a43-3004e9216b56,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 X-CID-BVR: 0 X-CID-BAS: 0,_,0,_ X-CID-FACTOR: TF_CID_SPAM_SNR X-UUID: cacdd6f61ba211eeb20a276fd37b9834-20230706 Received: from mtkmbs13n2.mediatek.inc [(172.21.101.108)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 902302873; Thu, 06 Jul 2023 10:14:09 +0800 Received: from mtkmbs13n2.mediatek.inc (172.21.101.108) 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; Thu, 6 Jul 2023 10:14:08 +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; Thu, 6 Jul 2023 10:14:07 +0800 From: Shuijing Li To: , , , , , , , , , CC: , , , , , , Shuijing Li Subject: [PATCH v2,0/2] Add compatible to increase MT8188 audio control Date: Thu, 6 Jul 2023 10:14:23 +0800 Message-ID: <20230706021425.31735-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 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?1770636669731961146?= X-GMAIL-MSGID: =?utf-8?q?1770636669731961146?= 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 (2): dt-bindings: display: mediatek: dp: Add compatible for MediaTek MT8188 drm/mediatek: dp: Add the audio control 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(-)