Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp636404rwl; Wed, 29 Mar 2023 06:43:11 -0700 (PDT) X-Google-Smtp-Source: AKy350YnZ6iubc9Ray3LLr7PocZ4QpAktIWoMvQFhy1dlwUa5fqSumqLqz+zI88jYBn0uuEe/lyA X-Received: by 2002:a17:906:738a:b0:878:58e6:f1eb with SMTP id f10-20020a170906738a00b0087858e6f1ebmr16980749ejl.23.1680097390339; Wed, 29 Mar 2023 06:43:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680097390; cv=none; d=google.com; s=arc-20160816; b=y/iczvhkx8+0rgH37gc/al9wgTYIjXQVSnGpGzEFAuoEIzNevjgofW8rctUkg0moQ5 BMMPM4YLphgc+W6pINsOBjP64YHESaC3nI85/O1iRiONys3c5iy+RleSZslOeGPvvESQ +gbxQ4FEo9aWclcY5j9u/9LVpjz+tszeVxGhOJgAKLR/EV822aH7rhO4eXMK91iXTxMx Dhn0j0XjrB6RKCF0ByEQGA/ekgxiwH3qsHYbBu5/dk3el5NdX1qhrLycMuGoriaMF9dL La6wiPp1xSs7tAHslQQpcZt+BRIH5wQSxNHfOOVPmYIqvqi8A2ZvBM28bhSzlauGJQJW aTfg== 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=7H2fHJgX8x+QMYGUwxevU3QgPVs1ZPjhWPEi+REatEQ=; b=R3OyJ/g9O8qQdHwTECl3po47mL8bGqxuvf2bz0UWR5bTx8RyF1WdZqa0Y/ZClAJmgX mK6Lp/aqsxKF+HLWLnTg8CLd5vz39OmfAksmXw7FNsCJQEj3+5EqafKsb3H10+D0fYq8 c9gosUrkAEGI/QzIxSBlF4djcuSkLkPiAtTiWnx4rE791Hw9y+6EJm6DAmsbVOcWOeHf hplEZcwN4XOo7HXu0/ncyDNKnahgtlp9U92X6NMYt/TljqQgkBQKL4CAJ4rKB25SnczB ztfqg4hJfDQGWb09BlMek7g6LeHa4ull9ZiwzNUfrdVdqOAXBVTPn5zqZbZHDlE4HAbC eJsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=YrYXYXWR; 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=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n21-20020a05640206d500b004c698b50197si33308073edy.342.2023.03.29.06.42.44; Wed, 29 Mar 2023 06:43:10 -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=YrYXYXWR; 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=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230044AbjC2N2b (ORCPT + 99 others); Wed, 29 Mar 2023 09:28:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59626 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229379AbjC2N23 (ORCPT ); Wed, 29 Mar 2023 09:28:29 -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 90135DC; Wed, 29 Mar 2023 06:28:28 -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)) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 2C9FD6602173; Wed, 29 Mar 2023 14:28:26 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1680096507; bh=dPurwcCzBh53xYIIc/DWqjdYl2N/RjAfRStrUt2ymbg=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=YrYXYXWRyb7oA/U0bSzyOSnFThy2Xc41itY9aUfaIB03t66o9TALGdUOc/VUTqIl/ fjbd9dVCH8uSKhSJ1w4GgWpG7BaH51gbOtuFJRWY79Sjyv5LtxuAJkgdncpwY3OXGX QFCIBe2ofhVNluIrHyTpBRPGz4p3Ywd+Jo1cUB9/yqLPdgP+829FpG7oYtsFbEYIJW 6MQBWMTbKOcR+cb/GuKsWVQRW1RRhIHnOI3merM6sWlYnyMZmF6d2mjQgdaRqbZFJH j8qkmwpzgZ76l6YMvx4OoWLopNPIBmEtTNygEnoP0Dn9okK8HNVFPPxKtTuxFCKYsX 6XeN1qyHZ40pA== Message-ID: Date: Wed, 29 Mar 2023 15:28:23 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH v3 14/17] arm64: dts: mediatek: add OPP support for mt8365 SoC Content-Language: en-US To: Alexandre Mergnat , Wim Van Sebroeck , Guenter Roeck , Rob Herring , Krzysztof Kozlowski , Matthias Brugger , Chaotian Jing , Ulf Hansson , Wenbin Mei , Linus Walleij , Zhiyong Tao , =?UTF-8?Q?Bernhard_Rosenkr=c3=a4nzer?= Cc: linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-mmc@vger.kernel.org, linux-gpio@vger.kernel.org, Alexandre Bailon , Fabien Parent , Amjad Ouled-Ameur References: <20230203-evk-board-support-v3-0-0003e80e0095@baylibre.com> <20230203-evk-board-support-v3-14-0003e80e0095@baylibre.com> From: AngeloGioacchino Del Regno In-Reply-To: <20230203-evk-board-support-v3-14-0003e80e0095@baylibre.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 29/03/23 10:54, Alexandre Mergnat ha scritto: > In order to have cpufreq support, this patch adds generic Operating > Performance Points support. > > Signed-off-by: Alexandre Mergnat > --- > arch/arm64/boot/dts/mediatek/mt8365.dtsi | 85 ++++++++++++++++++++++++++++++++ > 1 file changed, 85 insertions(+) > > diff --git a/arch/arm64/boot/dts/mediatek/mt8365.dtsi b/arch/arm64/boot/dts/mediatek/mt8365.dtsi > index 394a5a61be59..c3ea3cc97a47 100644 > --- a/arch/arm64/boot/dts/mediatek/mt8365.dtsi > +++ b/arch/arm64/boot/dts/mediatek/mt8365.dtsi > @@ -20,6 +20,75 @@ cpus { > #address-cells = <1>; > #size-cells = <0>; > > + cluster0_opp: opp-table-0 { > + compatible = "operating-points-v2"; > + opp-shared; One blank line here please, makes it slightly more readable. > + opp-850000000 { > + opp-hz = /bits/ 64 <850000000>; > + opp-microvolt = <650000>; > + }; Also, my personal preference is to also leave a blank line between each opp-xxxx subnode, but that's your choice. Everything else looks good.