Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3170300imw; Mon, 11 Jul 2022 03:26:25 -0700 (PDT) X-Google-Smtp-Source: AGRyM1taFG+B5N1FkzKGMULE8mCTjyTUWgGituz3JjNuuVdFe5VYQQtthY9GBs5NPEpa9YCCybdV X-Received: by 2002:a17:907:d16:b0:726:a3bf:121d with SMTP id gn22-20020a1709070d1600b00726a3bf121dmr17761220ejc.390.1657535185583; Mon, 11 Jul 2022 03:26:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657535185; cv=none; d=google.com; s=arc-20160816; b=SNvNjouIhG7fLUPuZsLEM8p49P1l4iGvJgsnx2RR0+bXV5773aLEZdqvxjCnu9X+36 9z9BjiNfB01kazbdxizAR0IcKM6fXLn98Wtx5omorzEKGhdJc+LqbRu5t/QHddFHzBhk t8yvwLP8SgcGL6wrgCB5RoWjj3P7mhL0a/X3JDwAQGBkF8mqtiEGzVcQc+rrThhu70/7 DmLC8n8CQNxGKf2ETdB1z02dCxb5LXnB0ECWA78rMw3XLGa5sYGkHW4yXHPDANIIsHdx UT0s1HkUHoNQbGPsZ+aFLRkwyPrCg7K8gcA+8JWb7BtDd9RLchwvSC2fJ2ufzrfhiDEr GKEg== 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=zMYITQPLKDqV+G0I6L3lc0dSsfmLpOaJEJXMME+zBaw=; b=Nox5EJ+soK3/DK6dX2pw3YxorW+Yrx579vepMBooEWmp5hd1Mep98RZRom1ynygW3Z zux0HAdfWyIMPB880uL8ORuLB1cQGRjT2tbQ3jXTALNflHuIKnB9o4fzGrODEXnTkhpQ nBNRGq8+Ff/2j9MrSv8+izdMLBvan0RNixmukXkBpwjRJdyjdnRq698FrhmSAUP6IhLY rLAJQElAU5GkLUzOYi5fE48hBZOeRhbznSfteCHXJlLdjJSxQAHpoghWDqZFq3R8E5Ib y0lZB0IZfk4bt6usLJmgnJlGnrTPmTuvV3d2yAEvVpsjEROYx8VibGkGByaQHGZiCzsE B4tA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=AtWudmr9; 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 f18-20020a056402329200b0043abb8a1822si8733649eda.346.2022.07.11.03.26.01; Mon, 11 Jul 2022 03:26:25 -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=@collabora.com header.s=mail header.b=AtWudmr9; 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 S232300AbiGKKP3 (ORCPT + 99 others); Mon, 11 Jul 2022 06:15:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54692 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234734AbiGKKON (ORCPT ); Mon, 11 Jul 2022 06:14:13 -0400 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 69C584AD5F; Mon, 11 Jul 2022 02:34:23 -0700 (PDT) Received: from [192.168.1.100] (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 2123466017A6; Mon, 11 Jul 2022 10:34:21 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1657532061; bh=Q8aXS7UAPdgDFOD5KMy8Y+lPX5el8z3AKk3/QrPYySU=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=AtWudmr9LZIkFa+8leH6uC+sN6AJCdvs4MfWhRxTqrlvkN3Mb4bldFyF6Qjg38G+Z o8nmVmTlnQuEOehEi4YiB/5ysQvxGoDkZLKs+3l8k7WpM4qks1F8T1EikTiRkFE792 Y+AfNo0YyPSqHlGjfxd5CSBstPbJTEJTD99EDL9ZW2lKs/ik+L9JAL0BnIZp9mNLR8 SxmQgsOZPKw7Pio+BNIqEkxngpq6ayihUpW0ZuxBo0fQ+0kXb2Mh0VNJkiauwlegHZ YVVoQ/dWpTSrqL75a6Zy3F9nseIjfaZzBpnb44O+c7Hx2hI10z89jM8YZDDd5WHL9x m+7x/+70DCqVA== Message-ID: <5a4e0bfe-e332-42af-5888-b59b3afff24d@collabora.com> Date: Mon, 11 Jul 2022 11:34:18 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH] arm64: dts: mediatek: Add missing xHCI clocks for mt8192 and mt8195 Content-Language: en-US To: =?UTF-8?B?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= , Matthias Brugger 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> From: AngeloGioacchino Del Regno In-Reply-To: <20220708194314.56922-1-nfraprado@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,NICE_REPLY_A,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 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 > --- > 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(-)