Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp3194052rwa; Mon, 22 Aug 2022 23:49:22 -0700 (PDT) X-Google-Smtp-Source: AA6agR4+pWjpxLathuGn6wAfbQwaPrzryU52CTDoMeIax4u3O1qxoOzO+xGKtHj9N/qusHQRMRB8 X-Received: by 2002:a05:6402:28cb:b0:43b:c6d7:ef92 with SMTP id ef11-20020a05640228cb00b0043bc6d7ef92mr2409019edb.333.1661237362072; Mon, 22 Aug 2022 23:49:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661237362; cv=none; d=google.com; s=arc-20160816; b=M4Jps6kvXFGNB+AYfOrP4l81NEllCEKMu/0c8f9X0AEhb+JF9w2UAkAo91JUUo6flP TYiDRI6+iEpg4X0g1+AnNQIG+46tC5Htqn3lOYzutPa4leVJ9KRPIzajBIpZF8W2WqhS Hws6KYXLImIXOz4x7ewKkZD8uxjRPHnIO74FAFy/L8OViInP/B4V61ARKXn3teJKP501 rolSBxXw/DbW7K0D8PANUQFTwUc1KY4XY94zRyAkdg8WgKwA3JqaI6kKEs2WQPtnl3d+ hqJOlW9442BQ435AZ0QTFIy86OJ/Ry062XOe71Y3XrVVr8mK1M0zElvq+kaXl/Sda4Ry 7S2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=6ezLuXIgmXVhWQiBdObuX64UkcXjfkjUJZ/LZs4T6Kk=; b=eXNn6bMcSoVksxHAHpAVTqazWxHV/K6heCzY4OB5RKwKkV3HN3XTrRQFzlRdTuqD1S 1DQDRRGWNv94xf8BiOZm1DEA7+IPBPqin6yfn8B9sGYesvVbduYZsbhwqwKnXLwTiCgQ 9GyVC2kOP6FWQoP54ioIrW2i663AtAtrvAzEJd1gySOeBNOmYBzaH7E4/AS5yk5dW7yo IBPTco0+HRonmjyWqd1Tv4DdIbaP/4VUisr4+jMN1MXS87nGgfgxDTKmPisBBVmRt4Ep AA7xQEpJBMCvS719HtvA9R8bYSJvyr2VHLc6lsjVyb736e25GNsdifM5kou/P2/++kg1 aWgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=fgSKS3WH; 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 e5-20020a17090658c500b00730951bff16si12560920ejs.661.2022.08.22.23.48.56; Mon, 22 Aug 2022 23:49:22 -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=fgSKS3WH; 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 S240512AbiHWGS4 (ORCPT + 99 others); Tue, 23 Aug 2022 02:18:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51674 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240227AbiHWGSw (ORCPT ); Tue, 23 Aug 2022 02:18:52 -0400 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 60FFC13DF2 for ; Mon, 22 Aug 2022 23:18:50 -0700 (PDT) X-UUID: 6dc5329786e34157b2e779d1c833a153-20220823 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=6ezLuXIgmXVhWQiBdObuX64UkcXjfkjUJZ/LZs4T6Kk=; b=fgSKS3WHMxwilQla0qxEZKiE00ZYIecFCsBrzwtF9J/vtbjD0uequGHso3bGNzxQc8zdtG+Nezqkwx3PegUlTb28XCv5Q0IDmR12QSe8rxqMEEmAkytKWTCZsM0+YKGledrLQcI0UtuCWqhvuRugjoj/fD8j+DW5sbw0EmL2VaQ=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.10,REQID:6dd4f4f9-c8f2-409a-9013-ea03d0334f21,OB:0,L OB:0,IP:0,URL: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:84eae18,CLOUDID:62c280c9-6b09-4f60-bf82-12f039f5d530,C OID:IGNORED,Recheck:0,SF:nil,TC:nil,Content:0,EDM:-3,IP:nil,URL:1,File:nil ,Bulk:nil,QS:nil,BEC:nil,COL:0 X-UUID: 6dc5329786e34157b2e779d1c833a153-20220823 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1590920868; Tue, 23 Aug 2022 14:18:46 +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:44 +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:43 +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:36 +0800 Message-ID: <1661235517-23699-2-git-send-email-xinlei.lee@mediatek.com> X-Mailer: git-send-email 2.6.4 In-Reply-To: <1661235517-23699-1-git-send-email-xinlei.lee@mediatek.com> References: <1661235517-23699-1-git-send-email-xinlei.lee@mediatek.com> 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