From patchwork Fri Mar 15 11:16:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pin-yen Lin X-Patchwork-Id: 13593310 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E7896C54E67 for ; Fri, 15 Mar 2024 11:16:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=kzByzwMAkebdCq2CsOhjuR3A2Cwt5A/phwnyRWjxRqk=; b=PFiK+7vQjcpZ/g scgDul7So+ttRy4ubSdbu9rrO5kCYvNQkrtToR0cEAhtktHZkGpaK0vm67sI33n1T8Fc1nxPgF8qL FGz977PDggv2lJ0Rg5Ogj3OGuxhDhpXHRGkwzRPnpObRRIAg43jdateGwsuDZxEtXq/1MIIMXXtRf YtdpyZY5SKTV71HHpduftvIZGyf22E0uYgER7B/Cm1DNNUTuItZYXRUZH5GGtZUbHNtP3a48GDxnS TpQTRmyqgIi7y+aAZBxtBBJfRzU2u7SmkKgf+6gwXCsXz3B+EorxI0cujp3UWOjKs8BXje/Y2QgEG QxMQ85igpShgucFOnNRw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rl5Y9-0000000HaNt-4B8f; Fri, 15 Mar 2024 11:16:34 +0000 Received: from mail-pf1-x42a.google.com ([2607:f8b0:4864:20::42a]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rl5Y6-0000000HaLE-0vBR for linux-arm-kernel@lists.infradead.org; Fri, 15 Mar 2024 11:16:31 +0000 Received: by mail-pf1-x42a.google.com with SMTP id d2e1a72fcca58-6e6aa5c5a6fso2094103b3a.0 for ; Fri, 15 Mar 2024 04:16:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1710501387; x=1711106187; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=0MYemMVXfcwym4dqzvAuTYbxf7jh51PQWqcbKiVUnPw=; b=NQ2ojF2wv4RWAn5Gks4KdQHYK8EUGN/DLs8pViQLZclIYMQ56xWBTSs2r+u4a2uJw8 mwL7WMRG0/94Z4aWyAEs4HsJBeCY/EdIsm71VkDV4oqo+HF9y+Q75wLn9e6YBGNZPvlJ s4nRc1reRZADOEjClx9Pu5/CNwPWLq3rQzf2A= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710501387; x=1711106187; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=0MYemMVXfcwym4dqzvAuTYbxf7jh51PQWqcbKiVUnPw=; b=YHZ/5zyLh/iRfM0d5F8As/Opdcl2OqCUrlHfe93lYuDGsgTne7EfaQ14GwCvxwLcUq /NwAScSdoMKlouYPSr2MY3fJVyro5JwVpSOfV0agXOeACUWrppWlAW2yM2jQU7JQpb3T AyzDm2gvSwzb+fAmxq0zc5yeTl6ycMfbdCW4QzeYhxZyEY/ulv6KnKVwBLlb/1pJW7DR Q/SXYTei9HAuGrEmDVh/L4XDpjTHSADo8EEr0h05bSmxs8p236Gvgo5XwOYeoleLvnF5 gn3EKdp/Wov77Ba9tgbDLHM0mcOxmsBZF3hOt99ATa/ggKmibe78vkjkeRWuyPoS9FBY fLnQ== X-Gm-Message-State: AOJu0YynnTtg+itleElZ6xLDUSzJ5z4wTzOau8IrZRCOaBfOSNL4/enE pSH5IWTDeXqBrwbXEGn2DEToFgiu08NoSGIULlDXZqyZW+ou6ckMxU7U9F6lhA== X-Google-Smtp-Source: AGHT+IHkV6rWNk9VP1u+5Gar92wJ+6cA36TJ/sdDtyUb7G3JlBmUL/yk8qKG8iSNBDStFe511ywLaA== X-Received: by 2002:a05:6a20:d387:b0:1a3:4a1d:10a3 with SMTP id iq7-20020a056a20d38700b001a34a1d10a3mr2847412pzb.35.1710501387166; Fri, 15 Mar 2024 04:16:27 -0700 (PDT) Received: from treapking.tpe.corp.google.com ([2401:fa00:1:10:2f9c:c00a:bf1f:e53c]) by smtp.gmail.com with ESMTPSA id c11-20020a62e80b000000b006e6aee6807dsm3122683pfi.22.2024.03.15.04.16.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Mar 2024 04:16:26 -0700 (PDT) From: Pin-yen Lin To: Matthias Brugger , AngeloGioacchino Del Regno Cc: linux-arm-kernel@lists.infradead.org, Chen-Yu Tsai , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?q?N=C3=AD?= =?utf-8?q?colas_F_=2E_R_=2E_A_=2E_Prado?= , linux-mediatek@lists.infradead.org, Pin-yen Lin Subject: [PATCH v2 0/4] Update Vgpu minimum voltage for MT8183, MT8186, MT8192, MT8195 Date: Fri, 15 Mar 2024 19:16:01 +0800 Message-ID: <20240315111621.2263159-1-treapking@chromium.org> X-Mailer: git-send-email 2.44.0.291.gc1ea87d7ee-goog MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240315_041630_531220_EFAA971E X-CRM114-Status: GOOD ( 11.52 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Use the minimum voltage listed on the Vgpu regulator datasheets instead of the minimum value on GPU OPP table. This is because the requested voltage could be lower when the MTK Smart Voltage Scaling (SVS) driver is enabled. Also update the incorrect MT6315 regulator usages on MT8192 and MT8195. Changes in v2: - Update Vgpu min voltage for MT8183, MT8186, MT8195 - Fix other usages of MT6315 buck1/buck3 Pin-yen Lin (4): arm64: dts: mediatek: mt8192-asurada: Update min voltage constraint for MT6315 arm64: dts: mediatek: mt8195-cherry: Update min voltage constraint for MT6315 arm64: dts: mediatek: mt8183-kukui: Use default min voltage for MT6358 arm64: dts: mediatek: mt8186-corsola: Update min voltage constraint for Vgpu arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi | 1 - arch/arm64/boot/dts/mediatek/mt8186-corsola.dtsi | 2 +- arch/arm64/boot/dts/mediatek/mt8192-asurada.dtsi | 6 +++--- arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi | 4 ++-- 4 files changed, 6 insertions(+), 7 deletions(-)