Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp485841pxv; Thu, 1 Jul 2021 02:42:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw4ImSvpnTsagw9bny0frlIf3L4LSGWMCv+yld7t5CTeBKFxX39aX2qTQ6IPRgIoKSzzCMd X-Received: by 2002:a6b:f704:: with SMTP id k4mr11749731iog.191.1625132563133; Thu, 01 Jul 2021 02:42:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625132563; cv=none; d=google.com; s=arc-20160816; b=Ivm470zSXUAKVvNNekFRpzOxju35p6RzXZehBpPqL1zB+xGIBtQwD8wvWYM0We/i6N /T89SfSK9vNVne+XAoX7+Gwpa3DacN+piYZOPZIGb3lpCcOpMr1tBEmmQCmhV5sztNcb o8rpCVcOZEBWHF+pmxDai82ptjcvRTNZARdzQIUmec24bkpSk5+/3eC3BXdlKmJmwtYW S7FXrX8cUDZLo2QachSM9Q/iK30iF1Xc+G5/hnCwJ9gXXIiIjBGxWdvsd2auQaMOkx2L RGN1PH/mXJsh5a8ALJA5YL3em3XUcDYLPeMi8mNuVeiEIu6Ima2CGYi81yrVyJtmWMQI +kTA== 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; bh=vhYXcKGmG5DBSoXjw5m4j200heb04msrivoHTddvpao=; b=zroTGkx0LkkGN85ISWX/YzKFRuYClIIOLqTq0mKqbap9nqTFAvZP9B2tCaJKj5GxTt O0uPSmQL+JsFt/g4rZhx/XaBtIV7iGA8TxpEQKoyWIMMP7Us/OrC/0Gpvuc179atxHt/ 4Z5I38Bl3leEhZPWAtbZF37LgL+S3SmSqQ0/I1l3rUqlrCnUkuuCNVC3p/HfvNxWiYyb Y5D3v8P+m0vYOq2ZvWahsZ9Jfo13coAXQns0fmdoHu7Q7Necex9EhfjRkVmS4WlGK152 1h5zlyqnsisfnm3h5xkclKR4O8ohtTHts7bQ5StEtlgFugDMSfyXeRC3lYzBhQuuv4PF eAcw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r24si26000202iog.39.2021.07.01.02.42.30; Thu, 01 Jul 2021 02:42:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235862AbhGAJnI (ORCPT + 99 others); Thu, 1 Jul 2021 05:43:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53582 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235362AbhGAJnF (ORCPT ); Thu, 1 Jul 2021 05:43:05 -0400 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e3e3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 61A7FC061756; Thu, 1 Jul 2021 02:40:35 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: eballetbo) with ESMTPSA id A60281F43DE2 From: Enric Balletbo i Serra To: linux-kernel@vger.kernel.org Cc: linux-mediatek@lists.infradead.org, matthias.bgg@gmail.com, drinkcat@chromium.org, hsinyi@chromium.org, Collabora Kernel ML , Bilal Wasim , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [RESEND PATCH 3/3] arm64: dts: mediatek: mt8173: Add domain supply for mfg_async Date: Thu, 1 Jul 2021 11:40:24 +0200 Message-Id: <20210701114012.RESEND.3.I9e27871bb700c807a564957302b292e9935dae0b@changeid> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210701094024.1273759-1-enric.balletbo@collabora.com> References: <20210701094024.1273759-1-enric.balletbo@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bilal Wasim da9211 regulator needs to be enabled before enabling the mfg_async power domain. Otherwise the subdomain is not enabled and causes failure in imgtec gpu driver boot. Add the "domain-supply" property to the "mfg_async" node in DT. Signed-off-by: Bilal Wasim Signed-off-by: Enric Balletbo i Serra --- arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi | 4 ++++ arch/arm64/boot/dts/mediatek/mt8173-evb.dts | 4 ++++ arch/arm64/boot/dts/mediatek/mt8173.dtsi | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi b/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi index 21452c51a20a..a8efff2071bf 100644 --- a/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi @@ -157,6 +157,10 @@ hdmi_connector_in: endpoint { }; }; +&mfg_async { + domain-supply = <&da9211_vgpu_reg>; +}; + &cec { status = "okay"; }; diff --git a/arch/arm64/boot/dts/mediatek/mt8173-evb.dts b/arch/arm64/boot/dts/mediatek/mt8173-evb.dts index f6a1738dfbaa..4fa1e93302c7 100644 --- a/arch/arm64/boot/dts/mediatek/mt8173-evb.dts +++ b/arch/arm64/boot/dts/mediatek/mt8173-evb.dts @@ -62,6 +62,10 @@ usb_p0_vbus: regulator@1 { }; }; +&mfg_async { + domain-supply = <&da9211_vgpu_reg>; +}; + &cec { status = "okay"; }; diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index 003a5653c505..dbda5d656b29 100644 --- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi @@ -504,7 +504,7 @@ power-domain@MT8173_POWER_DOMAIN_USB { reg = ; #power-domain-cells = <0>; }; - power-domain@MT8173_POWER_DOMAIN_MFG_ASYNC { + mfg_async: power-domain@MT8173_POWER_DOMAIN_MFG_ASYNC { reg = ; clocks = <&clk26m>; clock-names = "mfg"; -- 2.30.2