From patchwork Mon Oct 30 13:25:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 159739 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:d641:0:b0:403:3b70:6f57 with SMTP id cy1csp2210706vqb; Mon, 30 Oct 2023 06:27:02 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGrL79UIyErCxnbkSSnlhrS+29es6DlMUKbIlCBkx/NUlVySi7/ssoth9zkYdjKCnSKRiLg X-Received: by 2002:a05:6359:2f83:b0:168:e862:70d0 with SMTP id rs3-20020a0563592f8300b00168e86270d0mr8271783rwb.14.1698672422285; Mon, 30 Oct 2023 06:27:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698672422; cv=none; d=google.com; s=arc-20160816; b=GIM0rRoeXnhoWizIiVCDdU10RT8PSKlid3jX4KbHz8wCs3MCwfy+/xxUkrFX3FD7a3 Ccwghiz1ydobbejSUM+Qu35DZFgrLbitI3eKzIsbQ463sx4HjR52vtNzxIk2JfNsd5WV m0TfzHbCM3XNpBvqRnTkPGQE0cq3IYj1cqLWI5KukuXztg0bbQpqr2FMt5wf7aRLIIK8 pHO5b/NGTh6Jsz0RpNUs+4p3C87erUqjHlYlpz6q02uFjBK0MbTX9UYORFceaYG9cYE9 i1To2EpLXGkJQCuoO5iwx5TIP7RL+7xZIau8pXbTScJtAdIwMKVM6ca59tcTWg2nzNCc xmBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=qlMBBBsUND18kQrlQDhIC/0O/jLCk383IVH7HhMmPP4=; fh=WhxLg1QwYAW6G3y7Ta/l0xTSpul8CzDJhRwMQn8qDUA=; b=hRcgYjfBup79NLDv/aiulNKxFcOGMjbfhE91EmDPlJMkL9FcEh0IKsV3xY7VU4wWkC zoel2HNZVDXRSJqfY2CZOZmR9ae8ZD7lkthkGXBnllGrsm9UaagPoexDa0af1kElKyu6 AZVLT5/giZUSBFAAOAoblLknx1ZDXLfHFlIv0yCj/FRDdKcIiJgSFIK+LrU5RTH0P2bb bvecYhKnkukFdc4oIbLNCzT3KgsJ7oRnUTC5XWmwhJn7yGQOfcLvUYxIHigXkRL4VJyE NTAN4WtrIwXJZfKebjOPn8LMUAfnYLt198hT7UN4WcD9FGoQYp5b+K+SKzbFh4hFVDSD cGHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=g5d3n2kj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id x185-20020a6386c2000000b005644a9be955si5083510pgd.179.2023.10.30.06.27.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Oct 2023 06:27:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=g5d3n2kj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 2D27A807C85B; Mon, 30 Oct 2023 06:25:57 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233403AbjJ3NZf (ORCPT + 31 others); Mon, 30 Oct 2023 09:25:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36488 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233333AbjJ3NZc (ORCPT ); Mon, 30 Oct 2023 09:25:32 -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 7120D97; Mon, 30 Oct 2023 06:25:30 -0700 (PDT) Received: from IcarusMOD.eternityproject.eu (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 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 A18E066071A3; Mon, 30 Oct 2023 13:25:28 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1698672329; bh=wz7abYmfV4HWaoeOBzSJ/u42aKuYiLe917d2C8mb5w8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=g5d3n2kjct0RdiYJ2bIBv+u77xHD+a/Xe50Ftl6FrwLrmq6VJKBJHeZtux6N/oc3G 8MP0yY2Y8pKZFBS3ZfiFylxV2MNqs8io8vMR1jbdiEbwu8LDds0tc16ksi984h36C+ THCNL/LMtbUEUMn3hnqLk2NkMXb3b/+T49OP92oIJk3O5X1hyh+7sSZQgLAxKnPxQ0 m2ag56ESKBdROQmUzVlokbKeYJRijBz1jql+jgpO/8/Sr/tdeLtcMcXigwTenbOjBC Iaf1ZhcwhMqaGa/usFd7w+DOcVIUePCtWf2qHiddEMWa2KKsSuAlKnKJw4naU7G8VS CTi0fs0zu8/6w== From: AngeloGioacchino Del Regno To: matthias.bgg@gmail.com Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, wenst@chromium.org, angelogioacchino.delregno@collabora.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, kernel@collabora.com Subject: [PATCH 1/2] arm64: dts: mediatek: mt8195-cherry: Add MFG0 domain supply Date: Mon, 30 Oct 2023 14:25:22 +0100 Message-ID: <20231030132523.86123-2-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231030132523.86123-1-angelogioacchino.delregno@collabora.com> References: <20231030132523.86123-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, 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 agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Mon, 30 Oct 2023 06:25:57 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781187133649802542 X-GMAIL-MSGID: 1781187133649802542 MFG0 is the main power domain for the GPU and its surrounding glue logic, and has a specific power rail. Add its power supply on Cherry platforms and remove the now useless (and wrong) regulator-always-on property from the vbuck1 regulator. Signed-off-by: AngeloGioacchino Del Regno --- arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi b/arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi index 2c2f079600ba..26213100419a 100644 --- a/arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi @@ -478,6 +478,10 @@ pmic@34 { }; }; +&mfg0 { + domain-supply = <&mt6315_7_vbuck1>; +}; + &mmc0 { status = "okay"; @@ -1231,7 +1235,6 @@ mt6315_7_vbuck1: vbuck1 { regulator-enable-ramp-delay = <256>; regulator-ramp-delay = <6250>; regulator-allowed-modes = <0 1 2>; - regulator-always-on; }; }; };