Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp4046867rwb; Tue, 8 Nov 2022 11:19:31 -0800 (PST) X-Google-Smtp-Source: AMsMyM518j/upt5kCMMPVeCwKdIlw38b1TLjHj2zPATKKUGu3jYzSiK2NjqnLVj3pKRpFKRTpzCV X-Received: by 2002:a65:4b85:0:b0:46f:63e:9e30 with SMTP id t5-20020a654b85000000b0046f063e9e30mr48641528pgq.409.1667935171291; Tue, 08 Nov 2022 11:19:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667935171; cv=none; d=google.com; s=arc-20160816; b=AdHXuODhxMSTPTNgfTJ+E8FsyWIBx+Mg1/P+ylDszvxbcd3J3qL5qsQkKuUaJWeWF3 vTApyMJKL2IqaaZ1eiHQTdM2e69BWMWBhvjpLxwp4GvN1FFZJWmkLi0cePpDnhYb7woo BL9jrBlEfzz28b0UjWHoH5dl1aCDquqapyNF0JadqsDKcWmUO36q4YEWrqT8tQWn2Mqn 72eAp76pe7J0wpySMdYe5rvFSBH4NXPxzEzIfRk92zA8jwC5kP71HWp8uYofMUueYnP5 OhrbfZ2AzcGg+GVDM6SN4802nC+m2N92nrMVFo0j3qFUdxc2wj57yyXs6aMFDrGw2/Jr 1EhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=QRpLd5PJ+XenuRD+8DugZABg2Pl8bD7Mo7YwHPJDXwM=; b=q61uVECvcRRcZsA4zGj8Dbc90o5ii430RZ7x0xWIqRtcMf5b0jzgcNRrIcxSNoq6mu zY58bEJwUctsY8ZQepgm+aMkU/PgSOS7YzfP7vHVAfrOBK+on2q1Ot3o1pKebAHrn3kf uF2TXge7dMYRgGNeMh+dXGTkCD8qVfufnIfiohLqcHwqjDUFIRWVbYrmwmj7+TOefn3O 13E4SvORLF95mnL8xSvhFv2yX9vtx8stfqUmniCFHVH0IETIy9J1kJa/eSeCvHgF7GeJ 68Z11uts9RMmM8YOBLFo8kWk6Sbnn919EbTsdBPp+dmywjcwoI5hhi+jti86QiUqpuXL Srxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=BRDC25qS; 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=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m8-20020a170902768800b00186a5b86ea3si13725899pll.50.2022.11.08.11.19.19; Tue, 08 Nov 2022 11:19:31 -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=@collabora.com header.s=mail header.b=BRDC25qS; 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=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229716AbiKHTKX (ORCPT + 91 others); Tue, 8 Nov 2022 14:10:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38682 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229638AbiKHTKV (ORCPT ); Tue, 8 Nov 2022 14:10:21 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1A83261B89; Tue, 8 Nov 2022 11:10:18 -0800 (PST) Received: from notapiano (zone.collabora.co.uk [167.235.23.81]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: nfraprado) by madras.collabora.co.uk (Postfix) with ESMTPSA id 820AC6600368; Tue, 8 Nov 2022 19:10:12 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1667934616; bh=+x4MJ+AKsMXulMyAxgCPfV7Jwz5088uT1madjdL8Tz8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=BRDC25qS/b9DoOMeS9+X1xOhzrYzjJ0K+UMCDrdd5CzVCjVAppxTOHAWslva/SSu9 NL9nUjDGzLJZJpr+wMKKP9RIdrM7AaUWuJfEeWZRCIHN+eHEUsnb0EvACqTkv6W8Jp 4dntC6xlVsxRTOCRGoipLyVa4zRcMfGQzTqKM8Xn/11GTIkxDal0kLBGUkDnUBwt+t +opiUMga30d7GKHUBZAWoImtcmjGW1RVtmNOskstabT0EELCuWZ8LQoeA2XFkk7XEc teXnZwEdUPUZsMHtlNFFRq4f+Nf7dSENPvwVC6XuyIdlKeqZTtnXW2daF6ybhkdotC 41306fZsagfkQ== Date: Tue, 8 Nov 2022 14:10:08 -0500 From: =?utf-8?B?TsOtY29sYXMgRi4gUi4gQS4=?= Prado To: Matthias Brugger Cc: "Nancy.Lin" , Rob Herring , Chun-Kuang Hu , Philipp Zabel , wim@linux-watchdog.org, AngeloGioacchino Del Regno , linux@roeck-us.net, David Airlie , Daniel Vetter , Nathan Chancellor , Nick Desaulniers , "jason-jh . lin" , Yongqiang Niu , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, dri-devel@lists.freedesktop.org, llvm@lists.linux.dev, singo.chang@mediatek.com, Project_Global_Chrome_Upstream_Group@mediatek.com Subject: Re: [PATCH v28 04/11] soc: mediatek: add mtk-mmsys support for mt8195 vdosys1 Message-ID: <20221108191008.lsasjskm7tzvpa42@notapiano> References: <20221107072243.15748-1-nancy.lin@mediatek.com> <20221107072243.15748-5-nancy.lin@mediatek.com> <90d8dfb1-2a37-e79a-b912-c77076e493c6@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <90d8dfb1-2a37-e79a-b912-c77076e493c6@gmail.com> 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_NONE,SPF_PASS 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 On Tue, Nov 08, 2022 at 06:46:54PM +0100, Matthias Brugger wrote: > On 07/11/2022 08:22, Nancy.Lin wrote: [..] > > --- a/drivers/soc/mediatek/mtk-mmsys.c > > +++ b/drivers/soc/mediatek/mtk-mmsys.c > > @@ -80,6 +80,12 @@ static const struct mtk_mmsys_driver_data mt8195_vdosys0_driver_data = { > > .num_routes = ARRAY_SIZE(mmsys_mt8195_routing_table), > > }; > > +static const struct mtk_mmsys_driver_data mt8195_vdosys1_driver_data = { > > + .clk_driver = "clk-mt8195-vdo1", > > + .routes = mmsys_mt8195_vdo1_routing_table, > > + .num_routes = ARRAY_SIZE(mmsys_mt8195_vdo1_routing_table), > > +}; > > + > > static const struct mtk_mmsys_driver_data mt8365_mmsys_driver_data = { > > .clk_driver = "clk-mt8365-mm", > > .routes = mt8365_mmsys_routing_table, > > @@ -292,6 +298,10 @@ static const struct of_device_id of_match_mtk_mmsys[] = { > > .compatible = "mediatek,mt8195-vdosys0", > > .data = &mt8195_vdosys0_driver_data, > > It seems we are missing a patch in the series. vdosys0 also correct was > never introduced in the driver... Hi Matthias, as mentioned in the cover letter, this series is based on the series "Change mmsys compatible for mt8195 mediatek-drm" [1], which introduces vdosys0. This compatible entry specifically is added on patch 3 of that series [2]. [1] https://lore.kernel.org/all/20220927152704.12018-1-jason-jh.lin@mediatek.com/ [2] https://lore.kernel.org/all/20220927152704.12018-4-jason-jh.lin@mediatek.com/ Thanks, N?colas > > > }, > > + { > > + .compatible = "mediatek,mt8195-vdosys1", > > + .data = &mt8195_vdosys1_driver_data, > > + }, > > { > > .compatible = "mediatek,mt8365-mmsys", > > .data = &mt8365_mmsys_driver_data,