From patchwork Wed Feb 8 10:45:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 54378 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp3382301wrn; Wed, 8 Feb 2023 02:50:03 -0800 (PST) X-Google-Smtp-Source: AK7set+OWfZ41ER1HlBI5B9LHUXdBsdUHt+oZ/FMAk5vUdb4r1zfCkqiJc8M3Exs3U1R5oD4ntaw X-Received: by 2002:a17:906:2098:b0:889:3d10:ae93 with SMTP id 24-20020a170906209800b008893d10ae93mr6486738ejq.6.1675853402935; Wed, 08 Feb 2023 02:50:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675853402; cv=none; d=google.com; s=arc-20160816; b=pezhvY6c6sNqjUrGI01AgdN/9IUjeHpliurkLnmBJ4BNenJwiw96L44nCkBIBFOpmC Vv3IQ53JUxKdWRCfGI4goOG+zY2J9xU3YnsxJUVdctfA609C/TMRBWaFhDNyd8ejPset WTUFMrEfIobuGcGURhQQgRSWGfA+3WmVPbByCgxfvcBIF2otTQDCeclor3BL94UIFvZh 7vNJSlmHex1cggCUNAlIvQ+f6y3CF5CsMNudXSu4pT0JZ2ZE7IAfb1OVY5XM1tKlp8Aj J9A5J4GdqXjqY5VSfCmBg4Y7qT2VgAU2jdO+nb34XPmfSjZ61FB4Ylwh/136m0quSq0a 4cww== 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=pTtZ/409iqtRlWtC/KggjqzqVcDeIy/SAw3y3zQmiWk=; b=q9uCCBiIQPlzOzvRCRn1zdQR/LSZqHg+LXfSptulTlFJNuIOmFiMkoDBfeSnIOegaI srMUk+09Bj747ovCEgDuNVNInSUiFSyB4zFFpR8fgrAyytNpfJH91LTlUr/CrSyCxn39 2BqMOZ06xu7FxZAtGIJr75nZ7Z6wdzAt6iti5c04F/n4/OON3PNRnJJMCRv+1+ZAKkh9 kqjM2QFuDqUHNbcsesRuurBz2S/27PmK5cxqbLJVl5+W2aMFbYT002oKMYHF3O6EGFGs KTyXAK/cCgbJiIRmYx6jYRm3tfLFvndHk4TU0EqMlnH2exATrJLFc6NcC9pTakzFjBnE wz9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=gJbiNx2w; 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=REJECT sp=REJECT dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u11-20020a170906108b00b008897a14f032si23716439eju.150.2023.02.08.02.49.39; Wed, 08 Feb 2023 02:50:02 -0800 (PST) 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=gJbiNx2w; 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=REJECT sp=REJECT dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231226AbjBHKqZ (ORCPT + 99 others); Wed, 8 Feb 2023 05:46:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56050 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230288AbjBHKqI (ORCPT ); Wed, 8 Feb 2023 05:46:08 -0500 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 2DC6D48589; Wed, 8 Feb 2023 02:45:57 -0800 (PST) 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 6B7DF66020A0; Wed, 8 Feb 2023 10:45:41 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1675853142; bh=u0Pl3e8Q1adBrESztf0nJ79U8olUhF8Hseg+uDrkvz8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gJbiNx2w+9W0vdSRsH/nNLzcE56hq++p1rEPdXlQ40vl85KsBXBaQOZFkA1+zOxk7 3uYDU+tbwTlBBQHkwGWADTfzOwS794LidNOTmI5twLrnT+bwMOBYlNpJwyd4rv4aLK 4Pys5HFHdqBlhf+iciA6iyRWEe5pNaLL6493uvyDfIo6rtla8v2jidblP/SbhrsRBY v4SCMyc80luapuJXqTL9y/2ZPQbnu9YQjXyJ5MtDR7Ft9ohyoDsNQq98HLOoVugIcc GR8lFfx7bTvth9tzjhAbDvvAHMiLp+fuwBYe6n2h7b8AOMrGXD48NcMgXFF9PD/vmr ZK5KdrUqJ6SvA== From: AngeloGioacchino Del Regno To: matthias.bgg@gmail.com Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.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, wenst@chromium.org, =?utf-8?b?TsOtY29s?= =?utf-8?b?YXMgRi4gUi4gQS4gUHJhZG8=?= Subject: [PATCH 09/16] arm64: dts: mediatek: mt8192-asurada: Add MFG0 domain supply Date: Wed, 8 Feb 2023 11:45:20 +0100 Message-Id: <20230208104527.118929-10-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230208104527.118929-1-angelogioacchino.delregno@collabora.com> References: <20230208104527.118929-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757259657867682341?= X-GMAIL-MSGID: =?utf-8?q?1757259657867682341?= From: NĂ­colas F. R. A. Prado The mfg0 power domain encompasses the whole GPU and its surrounding glue logic. This power domain has a separate power rail. Add its power supply for Asurada. Signed-off-by: NĂ­colas F. R. A. Prado [wenst@chromium.org: fix subject prefix and add commit message] Signed-off-by: Chen-Yu Tsai [Angelo: Reordered commits to address DVFS stability issues] Signed-off-by: AngeloGioacchino Del Regno --- arch/arm64/boot/dts/mediatek/mt8192-asurada.dtsi | 4 ++++ arch/arm64/boot/dts/mediatek/mt8192.dtsi | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8192-asurada.dtsi b/arch/arm64/boot/dts/mediatek/mt8192-asurada.dtsi index 9f12257ab4e7..ec013d5ef157 100644 --- a/arch/arm64/boot/dts/mediatek/mt8192-asurada.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8192-asurada.dtsi @@ -380,6 +380,10 @@ &i2c7 { pinctrl-0 = <&i2c7_pins>; }; +&mfg0 { + domain-supply = <&mt6315_7_vbuck1>; +}; + &mipi_tx0 { status = "okay"; }; diff --git a/arch/arm64/boot/dts/mediatek/mt8192.dtsi b/arch/arm64/boot/dts/mediatek/mt8192.dtsi index 5b4bf2d1d584..686d5cc22d6a 100644 --- a/arch/arm64/boot/dts/mediatek/mt8192.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8192.dtsi @@ -497,7 +497,7 @@ power-domain@MT8192_POWER_DOMAIN_CONN { #power-domain-cells = <0>; }; - power-domain@MT8192_POWER_DOMAIN_MFG0 { + mfg0: power-domain@MT8192_POWER_DOMAIN_MFG0 { reg = ; clocks = <&topckgen CLK_TOP_MFG_PLL_SEL>, <&topckgen CLK_TOP_MFG_REF_SEL>;