Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp5818398rwb; Tue, 17 Jan 2023 19:44:00 -0800 (PST) X-Google-Smtp-Source: AMrXdXuNKZv4ZqdE05bGaktVELWwyS9TyvGZ7SR5p61nVHJHEKFQFbftWq/0Rcv0+p9+hyBGvDsG X-Received: by 2002:a17:902:ce0b:b0:194:586a:77ba with SMTP id k11-20020a170902ce0b00b00194586a77bamr6730781plg.52.1674013440734; Tue, 17 Jan 2023 19:44:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674013440; cv=none; d=google.com; s=arc-20160816; b=mhWCGnQalTQONCDlxbN2G3r66FlwvV6H6+qt4any+TyvN+Qn+PNs5vxyVzuEHwTjiI Mua4SSJbPDOf6Qw97rxNGNKHjpIFxXnCHqi5RLNjM7NXpP/2tFGEbEUH4bdgDV9lYvTk DPwFD4QAhDvqOz9UuiOBjfaw0sVW5vwfxuHzC8pUvba6ICcpBsRod7engDjQ3J36R4BT NXCHoaImGB+p9MQ+EeoZxOF3ShcmG6F25JXK4tPJPefX8cwYENtPhu4ywZ0K+GWTm60C I50eyW0TVQKwU8IAB0j2hDvqIHajmChtZvCe/ibQ5Pd3REUMYHU7Y5sBr4E7ddk0z1LS UzfQ== 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=VYyGa98n/lDxtXIVrq/pkqd0oUm89Hudm4lrrG5jFYc=; b=EQppbZCVOEox61kStczrmNSojqycCBHEmFuUn6pUjRtHnFmNgRDQGNzaNAGxLJo3lz aew9E23rihawcQ/BfyMogQGXapmWGDG4o1hym8l6lZfAE1Fo3nAjiTebTXhpHvnFSTLO OXlZD+oKEqkR+bk1vw3A6G2m4416leeqtx2EkhoSEtgSYwZVFKQJw0m5XGj4xlPwhJQR wS94yi4uX9ptsGb7TxlFGq0nlUddaDYhXfK16keio07nLbluYi0uzIQoQhnf1z43ZX2X 8MIttuqGVAabPnQ63OYTminYRPcrV3ubYka0f2CWFXTArX0NIGREc6TAqqH2PuaN1Hxs 2s7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=tpekYALE; 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 jd19-20020a170903261300b0019246b52627si33160023plb.611.2023.01.17.19.43.54; Tue, 17 Jan 2023 19:44:00 -0800 (PST) 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=tpekYALE; 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 S229703AbjARDPc (ORCPT + 48 others); Tue, 17 Jan 2023 22:15:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43606 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229666AbjARDP0 (ORCPT ); Tue, 17 Jan 2023 22:15:26 -0500 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F2244FCD8; Tue, 17 Jan 2023 19:15:18 -0800 (PST) X-UUID: 517e419496de11eda06fc9ecc4dadd91-20230118 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=VYyGa98n/lDxtXIVrq/pkqd0oUm89Hudm4lrrG5jFYc=; b=tpekYALEOL5rkAc8cDUde3O3hZm5be/DqVQV5BceKbkgopGlSWNbG1PbvYzQmVCQeGG8TnaPDd3dkP7lGFGS4jZCjcEpb88dxoGCLBkP9DbTQiqEF5xX6fjJ0o0HpRo/dVAZCAo4ewPkeLgm4SZhAE68o+SJ0zGSuMod0t+Cyro=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.18,REQID:56a4447a-bb4a-44c8-afb2-34260f8966f9,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:3ca2d6b,CLOUDID:6deb1ff6-ff42-4fb0-b929-626456a83c14,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:-3,IP:nil,U RL:1,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OSI:0,OSA:0 X-CID-BVR: 0 X-UUID: 517e419496de11eda06fc9ecc4dadd91-20230118 Received: from mtkmbs10n2.mediatek.inc [(172.21.101.183)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 503731731; Wed, 18 Jan 2023 11:15:11 +0800 Received: from mtkmbs11n2.mediatek.inc (172.21.101.187) by mtkmbs13n2.mediatek.inc (172.21.101.108) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Wed, 18 Jan 2023 11:15:10 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs11n2.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.792.15 via Frontend Transport; Wed, 18 Jan 2023 11:15:10 +0800 From: Moudy Ho To: Rob Herring , Krzysztof Kozlowski , Matthias Brugger , Michael Turquette , Stephen Boyd CC: , , , , , , Moudy Ho Subject: [PATCH v6 0/4] Migrate MT8195 VPPSYS 0/1 to mtk-mmsys driver Date: Wed, 18 Jan 2023 11:15:05 +0800 Message-ID: <20230118031509.29834-1-moudy.ho@mediatek.com> X-Mailer: git-send-email 2.18.0 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,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 Change since v5: - Rebase on linux-next. - Correct the compatible enumeration order in "mediatek,mmsys.yaml". Hi, This series splits patches from the original mailing list below: https://patchwork.kernel.org/project/linux-mediatek/list/?series=711592 Refer to the comments of 0/8 and 1/8 in the following series: https://patchwork.kernel.org/project/linux-mediatek/list/?series=702518 All about the MT8195 VPPSYS 0/1 should be probed from the "mtk-mmsys" driver, which then starts its own clock driver as the platform driver. Moudy Ho (3): dt-bindings: arm: mediatek: migrate MT8195 vppsys0/1 to mtk-mmsys driver dt-bindings: arm: mediatek: mmsys: Add support for MT8195 VPPSYS clk: mediatek: remove MT8195 vppsys/0/1 simple_probe Roy-CW.Yeh (1): soc: mediatek: mmsys: add support for MT8195 VPPSYS .../bindings/arm/mediatek/mediatek,mmsys.yaml | 2 + .../arm/mediatek/mediatek,mt8195-clock.yaml | 16 ----- drivers/clk/mediatek/clk-mt8195-vpp0.c | 58 ++++++++++++++----- drivers/clk/mediatek/clk-mt8195-vpp1.c | 58 ++++++++++++++----- drivers/soc/mediatek/mtk-mmsys.c | 22 +++++++ drivers/soc/mediatek/mtk-mmsys.h | 1 + 6 files changed, 111 insertions(+), 46 deletions(-) -- 2.18.0