Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6738684rwd; Tue, 6 Jun 2023 00:53:19 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7IYxPuM7nft9an1+0Jv2qynu9FST+9zR9NMmoWAgRaUs3ZvA7qeVVITdBAQPA89yIxMglk X-Received: by 2002:a17:902:ea05:b0:1b1:9e18:d409 with SMTP id s5-20020a170902ea0500b001b19e18d409mr1816011plg.39.1686037999098; Tue, 06 Jun 2023 00:53:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686037999; cv=none; d=google.com; s=arc-20160816; b=H8EsJvSisVXAfOba2vynk+HK5UecQkb7zjjK4b7Khc1nH6NblzN4c0Gf3vF2QYn8vw oIf7Mj8arS72UF2awFAQzFfZB899AHwIokYgKzyM3zoPyl6wZMWYLcCdKAz+QdbX0CBS AtHIwDOr6/uvbaBnifzdJnn4Jameu+6w9zdBoAU2y/B2u5HmMjc3MDUlItkLy9hqRoGb l0KxcUbAeM8usRJdgjH3e+t/oTG6pq1iRF4LLpNJEZYbLleuwnpJ2pMYe2zdO9zO4/T6 qFHZlebDPH/g9LDFrP82eFAQ/xBaFaNZuumJlm8dK0xQEHGDNGeS9pQpS4W9KXBTUrrB YspQ== 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:to:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=sH8H3ghvn/KPflTLHbI3pqFQyw59ycGWTqNcNF8+rok=; b=kRFhnCYlEuivHGrwxvIiQg/1WwvBHCPvjrQsa0VtlkvnfsuEb507uucKvMUyCh/JCj GWlHJNkPc23y3SRK6/qWJGMN5vGOA0uCZEyaudeJHWgeOietiCs1hDhnGJidj/99yANn mTAqkFrhaAHfDCWO9q+UpR/ir5Z0TwobH0gIUCOMiaJsDM8GIwxIqBpRepqiZG7vk7B+ otUMFYJpJdHprmZO3gPYlCfs/zILcDpgDQe1IVvQmuXUeB17N9RLHAjWdbFh3bW/5Wjz nIvLPjdrEAfZ4kkiIHzzJ98rSMnuNxIbSTEk+0ZjZG0WvEXV/nODss7JMmUh+tiGUDyu Nxdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=T2hRy8aL; 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 c11-20020a170902d48b00b001a6b5a7db52si7090931plg.596.2023.06.06.00.53.07; Tue, 06 Jun 2023 00:53:19 -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=T2hRy8aL; 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 S236451AbjFFHqx (ORCPT + 99 others); Tue, 6 Jun 2023 03:46:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50446 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235757AbjFFHo0 (ORCPT ); Tue, 6 Jun 2023 03:44:26 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1BB4F10FE; Tue, 6 Jun 2023 00:41:53 -0700 (PDT) Received: from [IPV6:2001:b07:2ed:14ed:a962:cd4d:a84:1eab] (unknown [IPv6:2001:b07:2ed:14ed:a962:cd4d:a84:1eab]) (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 3C1826602242; Tue, 6 Jun 2023 08:41:52 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1686037312; bh=KA+QU0u/LvX1UydZ6WjqaFEqiIvHKIgAaYfilc7+HXQ=; h=Date:Subject:To:References:From:In-Reply-To:From; b=T2hRy8aLOAzXoZn6WTH8mqclRNea0ZG1A//zBARz5NjqpIqmdefUnpnkO1t62ugSd kusaupsDaIGBCo430RFwyJyZmKHPEbdypr4WT4dfbJh7eT+CvbN5dJVxIzs03oxNI9 wT3rggsZmGzStDFsRWdVKIutYwETD9Nzabl5TX73ggXuca4jKb4w+mczfVrWJrU4AY Es653YgYU34aywLHnGSH3r3GW9fKpJJTWLQVpEtGAwoDVGemWkhAicdlAQKqJGK6o9 a/9jid06gTdOQL7b/kVELenG9edNi+jnDWuvgUCct+68VgUzjJLrB/9NjZ0IhgIDUs 8PrlV1qo3ZsZw== Message-ID: <355198a9-c5f8-3caa-243a-bd0c544caf8d@collabora.com> Date: Tue, 6 Jun 2023 09:41:49 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.2 Subject: Re: [PATCH] cpufreq: mediatek: correct voltages for MT7622 and MT7623 Content-Language: en-US To: Daniel Golle , linux-pm@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Jia-Wei Chang , Matthias Brugger , Viresh Kumar , "Rafael J. Wysocki" References: <9d7e62049e3442582bd64dbc9e4d2a64f1ad0c1a.camel@mediatek.com> From: AngeloGioacchino Del Regno In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 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,URIBL_BLOCKED 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 05/06/23 16:18, Daniel Golle ha scritto: > The MT6380 regulator typically used together with MT7622 does not > support the current maximum processor and SRAM voltage in the cpufreq > driver (1360000uV). > For MT7622 limit processor and SRAM supply voltages to 1350000uV to > avoid having the tracking algorithm request unsupported voltages from > the regulator. > > On MT7623 there is no separate SRAM supply and the maximum voltage used > is 1300000uV. Create dedicated platform data for MT7623 to cover that > case as well. > > Fixes: 0883426fd07e3 ("cpufreq: mediatek: Raise proc and sram max voltage for MT7622/7623") > Suggested-by: Jia-wei Chang > Signed-off-by: Daniel Golle Reviewed-by: AngeloGioacchino Del Regno