Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp360596rwb; Wed, 9 Nov 2022 03:34:15 -0800 (PST) X-Google-Smtp-Source: AMsMyM7n3FnWs03SPZKT4fXnv1I4S75NsfP7/cxHzDtktLbTrC4cBmwe58x+H6JMSiFhX1LyyPQ0 X-Received: by 2002:a50:ef06:0:b0:463:2605:d24d with SMTP id m6-20020a50ef06000000b004632605d24dmr54395077eds.43.1667993654904; Wed, 09 Nov 2022 03:34:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667993654; cv=none; d=google.com; s=arc-20160816; b=WsI5/1v3R0qjndnuh+1rCqPYFR5fHcG/3trT/pOxnHekBsuo341OKFY/u36WuEf1SR X8tCGY6SsIe1inV9adQYdDC/Gdttoa24VbWZuJf2m102AVWsVEKbco2mBZl/EBuOyEEb 9z7zVU1vT8Jw78fjigMSG4qk+zIoiB/5hw2RPv6tRoMpaK2aZHm04tLy8USlr2LuJA6f PJS+IP5CD1rVw3vjaqh4Olje3HXIPgvXN9tuhGygYfQvD8jDIXQo2Ou90QgS2n0L7Mhr CBdOffzH7OhNd+TxmIf8Eqgoo7UBxSSXyG7qhUsjKPJQL8ZjiUiRh6m8EEEUph+zQnW4 98DA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=AvtdKEg5HPVz3X+JgHtwGowTHYk1pgsNrv53DSwRrFA=; b=oLdOqCURNVJtLIuYN6Uz6T/bCtCh0Xg9Ec1OcU2Vpxc3o+VzZ5d/38/RAIMPHsm9DB yDWYvaDeW0yoRuiCMkXVSVB7iY6BC4PG3ylR8SRWZ/ex6YKyuXgMeeiTZxGO97bpi6Ha /2iXNMne+BOby06uardfEjRt5Yjh7pQwsEAXkjH6E6y7YVj8TnaqQu54RTBXdtt7pjjy TI9t5/S5GNGWS1w6cA/emeA9JYoT2R4tWHA51EbbHL5r77FTH/TmFUlFXgWgYFhjjLsJ rPcafRzvRvjuWMdVUW+7xEmB3A9Fx8jKN48N/+5h66EdidvXjQas05Rmwi0kCwnPKTYq Kr1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="dr/5x8Pe"; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ee15-20020a056402290f00b004593bcff7e5si13942709edb.475.2022.11.09.03.33.49; Wed, 09 Nov 2022 03:34:14 -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=@gmail.com header.s=20210112 header.b="dr/5x8Pe"; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230496AbiKILTV (ORCPT + 93 others); Wed, 9 Nov 2022 06:19:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37086 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231192AbiKILSq (ORCPT ); Wed, 9 Nov 2022 06:18:46 -0500 Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7FFA4AE63; Wed, 9 Nov 2022 03:18:37 -0800 (PST) Received: by mail-wr1-x42d.google.com with SMTP id v1so25216620wrt.11; Wed, 09 Nov 2022 03:18:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=AvtdKEg5HPVz3X+JgHtwGowTHYk1pgsNrv53DSwRrFA=; b=dr/5x8PeQugDwz9zS/lRvw1wyHROVXsoNERq/mQA55Cw10aTLyWLE2xDhkrbNtQfQb 9U9ZeAtu6osFQScxobESpVYxg9LEmAVE8HEeNV5p0q8b4wIrmlq4NAjb049xmjXOe1z7 f6tt9aEucdDBFAC9y9DQzKLxobC2tK3YuO/tXHFlQuO4OttdIbIrcQ7PLQHLWcoTSIX5 4LRqPSf5D/ez+6dfzAV/pliSjSzX1x6uV8vwhTnTSb3I9zeOhmnYC+BCqQ/uWSAlyx75 ZbaBIF5K4KGAXl2kKxGIGpEx0+rNm7F0+l2rI2FHW6EQ8Uve+1vm+vmcKfayY/uFAjzA mtyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=AvtdKEg5HPVz3X+JgHtwGowTHYk1pgsNrv53DSwRrFA=; b=bF7b9StLjN0InQ2xHr4/LOzkqSJcqXc7SPxeO3rh6r+SYn+eKhYeMiqcV0wEsdyQgT 8Wvu11kBkvsvQmVhS0rIxcgD7qvV0NxwAebpzEHtbr3/0Lq0U7TLyx967C3XQb9pw+8n 8Q8OtqViaApgOm6Rd+tvauNhPXIm7QKBUAkvV3Iw8tfrdLjVyV0uUFB+qghf2cCEZmaX EvtuBxLbkeVTct6bEuA6SsivK48tN0niSbsVaJraKH/Dsd1RjJ91pPI2FxNWgQuGzZRr OvEYumsmYG6p/0TPbhI4cDXXQnYr+wOy9kdx+DqUaLeVaZHeI7+1qMkyheoSh8mfVRPo 2wHg== X-Gm-Message-State: ACrzQf0KIHGAQx1e8+s+HFHzuWwSGOJIe8Amv4GlwJicoKspzgT9gChC F/r5ckUszKj+nqdfCZ8yS9s= X-Received: by 2002:adf:eec6:0:b0:236:aabb:8c90 with SMTP id a6-20020adfeec6000000b00236aabb8c90mr31041409wrp.199.1667992715589; Wed, 09 Nov 2022 03:18:35 -0800 (PST) Received: from [192.168.1.131] ([207.188.167.132]) by smtp.gmail.com with ESMTPSA id h4-20020a05600c350400b003c6f426467fsm1333419wmq.40.2022.11.09.03.18.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 09 Nov 2022 03:18:34 -0800 (PST) Message-ID: <7eac9be2-a880-8971-117d-ec533eebaf4a@gmail.com> Date: Wed, 9 Nov 2022 12:18:33 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.1 Subject: Re: [PATCH v28 04/11] soc: mediatek: add mtk-mmsys support for mt8195 vdosys1 Content-Language: en-US To: =?UTF-8?B?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= 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 References: <20221107072243.15748-1-nancy.lin@mediatek.com> <20221107072243.15748-5-nancy.lin@mediatek.com> <90d8dfb1-2a37-e79a-b912-c77076e493c6@gmail.com> <20221108191008.lsasjskm7tzvpa42@notapiano> From: Matthias Brugger In-Reply-To: <20221108191008.lsasjskm7tzvpa42@notapiano> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,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 08/11/2022 20:10, NĂ­colas F. R. A. Prado wrote: > 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/ My bad. Thanks for the link. I realized that yesterday but had to leave urgently. I'll have a look on this series now. Regards, Matthias > [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,