Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp3174096rwa; Mon, 22 Aug 2022 23:25:23 -0700 (PDT) X-Google-Smtp-Source: AA6agR5idKy2VMbfMLfutiFOfbUarDjvAK/1rWITp65EgvJ7OOSEAzMFIZ4Q9XaHiSZB4jsfGQYA X-Received: by 2002:a63:cf0b:0:b0:419:f140:2876 with SMTP id j11-20020a63cf0b000000b00419f1402876mr19411553pgg.303.1661235923368; Mon, 22 Aug 2022 23:25:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661235923; cv=none; d=google.com; s=arc-20160816; b=OQ83319UfvGlApf1AlYw6N4SluJ8FIsNxshAxaSTJazBhY9DMrDvYuDYvrlYf/U1yz 4EauPTahaEfVwAb0IUPlhgVRB84d+KJ6kStNJX2tNs4fy9/P6kg/vwa+ChHLdPBkZzgT F8w0xE4OtpsV0b928GvclM+/0e9vOUtl7MnRk/FAF1FuGi/JvducN9gLrJl4r1h3wu2S slmZTMpob4nX78SqZztV0F67vLmx7hJsCX6kTGaBr6ky97RSwL9Mh+pxDShann8uXWeY 7soehWkGMVNBmWIJ4flDQrMTPfuK43eF12Efl1tP4lTPoHgKYz1RfLUoZE8WUKfItBU/ n4rw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=6ezLuXIgmXVhWQiBdObuX64UkcXjfkjUJZ/LZs4T6Kk=; b=UZi64q45Rtpm3uiarT0DB13PRKKgvNBT5lxg6twdtto67PjqIVJGPGVQmU3USV6G// 0gzVuGQ3PB25zu+nJvCHVgxLfZw0KZ2f82VvT/sM8qEKgi++EZ+3gEkNFvrtZRjMQyWZ S9+unVm+rZzKkl9CZU8b86IGAR7S9S7iOt0U1TdT8cpq7VfDxt6Op+a7m0AVMwEfbVJ5 k4EgtpnpFvixtREPhfaZRrvBGouF1wf3XOfbpZ1bsx7A5DfCtI+MgND8FIaz0UTdSroe Q3GHcJzGMr03vNKls+FpaPjNOm67MavLMWXeCQhGw50N9THJZp2VDhOpKqZhbY0Alt5U A0Hw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b="i8Sr/E7C"; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a192-20020a6390c9000000b0042aa6edba61si5954124pge.461.2022.08.22.23.25.11; Mon, 22 Aug 2022 23:25:23 -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="i8Sr/E7C"; 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 S240262AbiHWGSw (ORCPT + 99 others); Tue, 23 Aug 2022 02:18:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51650 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240138AbiHWGSt (ORCPT ); Tue, 23 Aug 2022 02:18:49 -0400 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 34AF71D0D7 for ; Mon, 22 Aug 2022 23:18:47 -0700 (PDT) X-UUID: 252dc4d1074b415fbb8ca57a365e45c2-20220823 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=6ezLuXIgmXVhWQiBdObuX64UkcXjfkjUJZ/LZs4T6Kk=; b=i8Sr/E7CO2Z/f+qjld0yWgQIzhWNIFsb/pwNaN79EsYsGjdHuBQUIGi1U0AuIpfYy3ovNXVoq8OYZmwY0D+mRXbXTZVhopZLSh5NF1c7LmWH/nPiBoxzW7KzUOysqYrOmsXt8GQ/WV2PcswvI4gxTHoOc5R/zwnPFSQ6Wan5lSY=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.10,REQID:62c4d835-dfc9-49d6-8644-32f6ebb8f052,OB:0,L OB:0,IP:0,URL:0,TC:0,Content:0,EDM:0,RT:0,SF:100,FILE:0,BULK:0,RULE:Releas e_Ham,ACTION:release,TS:100 X-CID-INFO: VERSION:1.1.10,REQID:62c4d835-dfc9-49d6-8644-32f6ebb8f052,OB:0,LOB :0,IP:0,URL:0,TC:0,Content:0,EDM:0,RT:0,SF:100,FILE:0,BULK:0,RULE:Spam_GS9 81B3D,ACTION:quarantine,TS:100 X-CID-META: VersionHash:84eae18,CLOUDID:40f10368-a9d9-4672-a3c8-12721739a220,C OID:f2a24d44f45d,Recheck:0,SF:28|17|19|48,TC:nil,Content:0,EDM:-3,IP:nil,U RL:1,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0 X-UUID: 252dc4d1074b415fbb8ca57a365e45c2-20220823 Received: from mtkcas11.mediatek.inc [(172.21.101.40)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1499804671; Tue, 23 Aug 2022 14:18:42 +0800 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkmbs10n1.mediatek.inc (172.21.101.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.792.15; Tue, 23 Aug 2022 14:18:41 +0800 Received: from mszsdaap41.gcn.mediatek.inc (10.16.6.141) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Tue, 23 Aug 2022 14:18:40 +0800 From: To: , , , , , , , , CC: , , , , , Xinlei Lee Subject: [PATCH v3,0/2] Add dpi output format control for MT8186 Date: Tue, 23 Aug 2022 14:18:35 +0800 Message-ID: <1661235517-23699-1-git-send-email-xinlei.lee@mediatek.com> X-Mailer: git-send-email 2.6.4 MIME-Version: 1.0 Content-Type: text/plain 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_H2,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 From: Xinlei Lee Base on the branch of Linux-next/master. This series are based on the following patch: [1] Add MediaTek SoC(vdosys1) support for mt8195 https://patchwork.kernel.org/project/linux-mediatek/cover/20220711075245.10492-1-nancy.lin@mediatek.com/ [2] Add MediaTek SoC DRM (vdosys1) support for mt8195 https://patchwork.kernel.org/project/linux-mediatek/cover/20220804072827.22383-1-nancy.lin@mediatek.com/ Changes since v2: 1. Modify key nouns in the description; 2. Add the label of jitao to Co-developed-by; 3. Macro definition address lowercase problem and function naming; 4. Add missing a description of this property in the mtk_dpi_conf. Change since v1: 1. Modify mt8186 compatiable location. 2. Modify MT8186_DPI_OUTPUT_FORMAT name. When MT8186 outputs dpi signal, it is necessary to add dual edge output format control in mmsys. Xinlei Lee (2): FROMLIST: soc: mediatek: Add mmsys func to adapt to dpi output for MT8186 FROMLIST: drm: mediatek: Adjust the dpi output format to MT8186 Xinlei Lee (2): FROMLIST: soc: mediatek: Add mmsys func to adapt to dpi output for MT8186 FROMLIST: drm: mediatek: Adjust the dpi output format to MT8186 drivers/gpu/drm/mediatek/mtk_dpi.c | 31 +++++++++++++++++++++++++ drivers/gpu/drm/mediatek/mtk_dpi_regs.h | 4 ++++ drivers/gpu/drm/mediatek/mtk_drm_drv.c | 2 ++ drivers/soc/mediatek/mt8186-mmsys.h | 1 + drivers/soc/mediatek/mtk-mmsys.c | 8 +++++++ include/linux/soc/mediatek/mtk-mmsys.h | 3 +++ 6 files changed, 49 insertions(+) -- 2.18.0