Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp3992514rwe; Tue, 30 Aug 2022 02:37:51 -0700 (PDT) X-Google-Smtp-Source: AA6agR7GnpAo9bg8AFGmBrc3IFCVis9JCQIZlYS9Y5a0QWFXhR8urasyinwIg0rr+Y+2xKWEjJrj X-Received: by 2002:a17:906:bc87:b0:73d:bacd:84e2 with SMTP id lv7-20020a170906bc8700b0073dbacd84e2mr15394178ejb.494.1661852271461; Tue, 30 Aug 2022 02:37:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661852271; cv=none; d=google.com; s=arc-20160816; b=pZT9+N3Wt76GAJxYMwZ+gCP99snknhT+qW5MC3eQVFdLPQqn9owTeRAeE80FTspeEH QheEtqPv2Rhi0i2L3iaLQwOCqxBxj0+bzA0PtUGLd/WMJ0ytyP9TPOycxsa+N3s+ZDKx VSuxmZ4YJ3HU58Z5Hmbfo+WcYYbChGaaPcFF0Aoy3an2ftMZkx6GIHBjkCA8SdT2VAuB T2IZhMSim9QNsUjKngm0fjqsx9htbLgQunBcqrcPz8vnJ8f9KDb3dt5mugvbuG3plw7L AhfT2GKKo7S3yJrtOCsRQtCXquRWKIkQsCRLEQ3dJVRvJFEggkSOzVfMnNqnFGo5oEwa Ll/w== 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=y50L5GZVbvvACJzqECIw6k5gdho7yrllYoPqCWoxaDo=; b=hBpON35quFyYTQjPkdPIHALaM7xtTRLdbHI14YqfoXmsBu3OA1CUuTf8pa9PT++Oo9 T1ICDzdr9Yl8abG2TarlYlA6oRYp/Rh0oGDwLtlXo8XO92TLgge5QY7VTQWSitucGKbB 384qy8dTxGgxYqJZCMnjq+AlDhWBQtJ5eyxq0bM6kc+TQhsa130Zo9PVdnxjYeR/aNnX sYOrpQnHTd/bVf6Zop7ojchv0btBHkuUq4rTIKQOUdx+4VeoIkbQhAYxkwAxqhEfLDr8 YA0yDiEgVXCJ/tOo73eiXuQZd9FtGbv74oIUutJjfto6KGMA1m/XYF4v0OEQn0304Rds KQwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=f0jtaBsj; 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 e22-20020aa7d7d6000000b004461b801769si7411445eds.390.2022.08.30.02.37.25; Tue, 30 Aug 2022 02:37:51 -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=@gmail.com header.s=20210112 header.b=f0jtaBsj; 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 S231800AbiH3Ivz (ORCPT + 99 others); Tue, 30 Aug 2022 04:51:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34276 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231787AbiH3IvT (ORCPT ); Tue, 30 Aug 2022 04:51:19 -0400 Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A867197B1D; Tue, 30 Aug 2022 01:50:45 -0700 (PDT) Received: by mail-wr1-x436.google.com with SMTP id m16so13202165wru.9; Tue, 30 Aug 2022 01:50:45 -0700 (PDT) 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; bh=y50L5GZVbvvACJzqECIw6k5gdho7yrllYoPqCWoxaDo=; b=f0jtaBsjiMBC3be5ItKoe1oj1Gdhn1LRjaXKzjv50t2jVwnOQdKsRvEPxxAOoQXv/s b6OPiQZGWzOxDzzxMxy4LkHZZ/TJSdjCD+ndZVdmAveCUIW3hO7wJn9Zui/UKkz3GX4L YPHvWtIWIQdPOaI9s6IMzQUL2mHoQaQWHtwrFrX5D8r9Ywb73r0ENDcR/uaxk0GqO1HN jjwcwM+GxemCvjuYfrT8ptsn0UV8Bz3QtHcrauQlLbq3a6uYWrKyn+P8IhwKyH/9CMMx cxHD08S6H9fv2a1OhlU66XEtsZgwe+SSl0dRQuUiAH5hPPq9/d2Dp9URU8rDmuhERegK rdqA== 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; bh=y50L5GZVbvvACJzqECIw6k5gdho7yrllYoPqCWoxaDo=; b=bK4XXS459ax+uZIsNaS+AqRpEx72uZ3XgJA7LwoccsXT8nRWh+pu+N2dCwcP5ygCCB pt/5isUsaMvTP311jcHoaGay7GjEFqpjuhLMxq1J9wKpjDBS1XdEHnH059DT6UfjCspz R8uFGoMlr2/V6911ae4goUteeMCn7H2h+wi0+TSM6vnIvFM2TC2aurTRUdKN3+okXmEh 8uo8EpuPPH8iGk37AKlDnkTiuZv6G46tZMI1MscIQDz6KGzR55yxTGnxF1MWdWeeEYNQ V0ZksqBLbKM9X6NMAXjhwRXYNANOujXQAgJmSINHMuuK2SzgT8uDR1TrH3G8bf2SOvGs Ss0w== X-Gm-Message-State: ACgBeo24mteEPV4WvyS1u95B4PPji++afrYTQDSA44iI4OYIwGOcETGs W/5vq3+Qs1a//qKYvi+DtegUZ04+AQk= X-Received: by 2002:adf:a490:0:b0:225:2da4:10ff with SMTP id g16-20020adfa490000000b002252da410ffmr8390266wrb.1.1661849443627; Tue, 30 Aug 2022 01:50:43 -0700 (PDT) Received: from [192.168.2.177] ([207.188.167.132]) by smtp.gmail.com with ESMTPSA id n25-20020a05600c3b9900b003a50924f1c0sm14464215wms.18.2022.08.30.01.50.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 30 Aug 2022 01:50:42 -0700 (PDT) Message-ID: <88030f8d-45e3-e880-48cc-d119858e8139@gmail.com> Date: Tue, 30 Aug 2022 10:50:41 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.1.2 Subject: Re: [PATCH] arm64: dts: mediatek: Add missing xHCI clocks for mt8192 and mt8195 Content-Language: en-US To: AngeloGioacchino Del Regno , =?UTF-8?B?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= Cc: kernel@collabora.com, Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org References: <20220708194314.56922-1-nfraprado@collabora.com> <5a4e0bfe-e332-42af-5888-b59b3afff24d@collabora.com> From: Matthias Brugger In-Reply-To: <5a4e0bfe-e332-42af-5888-b59b3afff24d@collabora.com> 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,T_SCC_BODY_TEXT_LINE 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 11/07/2022 11:34, AngeloGioacchino Del Regno wrote: > Il 08/07/22 21:43, Nícolas F. R. A. Prado ha scritto: >> The MediaTek xHCI dt-binding expects a specific order for the clocks, >> but the mt8192 and mt8195 devicetrees were skipping some of the middle >> clocks. These clocks are wired to the controller hardware but aren't >> controllable. >> >> Add the missing clocks as handles to fixed clocks, so that the clock >> order is respected and the dtbs_check warnings are gone. >> >> Signed-off-by: Nícolas F. R. A. Prado > > Reviewed-by: AngeloGioacchino Del Regno > applied, thanks! >> --- >> A previous attempt to solve this also made all clocks required and >> updated all MediaTek DTs using the xhci binding [1]. >> >> To avoid the DT change noise, the binding change is now being reverted >> [2] and only mt8192 and mt8195 DTs are updated in this commit to get rid >> of the warnings. >> >> [1] https://lore.kernel.org/all/20220623193702.817996-4-nfraprado@collabora.com/ >> [2] https://lore.kernel.org/all/20220708192605.43351-1-nfraprado@collabora.com >> >>   arch/arm64/boot/dts/mediatek/mt8192.dtsi |  9 ++++++--- >>   arch/arm64/boot/dts/mediatek/mt8195.dtsi | 18 ++++++++++++++---- >>   2 files changed, 20 insertions(+), 7 deletions(-)