Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp486009pxv; Thu, 1 Jul 2021 02:43:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyZ1IozLUupmp2m2xJY/0OvvI5qWqgdjyevLqqsAUGOh9G6faHue4mnfMatsnuBI/I3c2aZ X-Received: by 2002:a05:6602:2595:: with SMTP id p21mr11587932ioo.51.1625132580159; Thu, 01 Jul 2021 02:43:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625132580; cv=none; d=google.com; s=arc-20160816; b=EMjvuUR1wVkmMIqzQoqeKAZqMOzgGEH/M0FUKiuU0kJ87974TDRJ+tNPSWTuxeYUWb jRI0QvpTe1nIOig4JB2J7t2HQMNea0fZ6IyVlDstN5EI66zixM0XSUiOW6d0I1KMyWdH jVpUgTHVS4ABfLOpBhYRiBWqzPDl7Bm1qJ+0Qanje4exwnVUOEz1rRDij/v/KfHNETxk FTagDUutxQJd/t47w7GJkI6IcxKzeFU3kXKfgkC+cq+NCLo7H0weV9RX6fYwIxn0OxF3 1s4KLfc445oo1z9jtrmMDqJo+27Gxl/G81LSBLioLu2bILKjk7NO7RwYlbv23f/FGP2Y +8CA== 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=R9WPjHNob5yNJS3JyQEtzgNFwn+CMsVMiSLYaZWo5ps=; b=GUy0qJZ+notfW5m700N5/6FEF9N9s170OVRc9W9oc9TzoNRcYolPm7Nr3oPJgqAKR3 NNDHI9qP1WNP9TpbW1TuTd4ihAjpfgQ0HbYJWc2N9x0lZ4/vtHwn4SogN7CK5Adk2yWP B5x7lIth/qTdn0QUE6y5oVpQKLD/zzY4jIX4id9Qx+IkAUhRfm7NoAhsB5pJ4+VPTQzP S4C4rxoJOzAfPXsHoqb36IGthtjC7duRrA1rTfcfSnZwRQdAQ0eeiKsySPaPCLwcE2GP iUtgBrPhIQmgetzO+2w3xjxZ+t3+7On57RUo4jzyJYCF3h2rmO0N1BlP0IN4ocBX4XA4 p2oQ== 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 h13si25898229jas.116.2021.07.01.02.42.45; Thu, 01 Jul 2021 02:43:00 -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 S235837AbhGAJnH (ORCPT + 99 others); Thu, 1 Jul 2021 05:43:07 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:60766 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235352AbhGAJnE (ORCPT ); Thu, 1 Jul 2021 05:43:04 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: eballetbo) with ESMTPSA id EA4F71F43DDA 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 , linux-arm-kernel@lists.infradead.org Subject: [RESEND PATCH 2/3] soc: mediatek: pm-domains: Add domain_supply cap for mfg_async PD Date: Thu, 1 Jul 2021 11:40:23 +0200 Message-Id: <20210701114012.RESEND.2.I2e1bf1b589f9138ba6f89791ed9f1e9f3ddd0a5d@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 The mfg_async power domain in mt8173 is used to power up imgtec gpu. This domain requires the da9211 regulator to be enabled before the power domain can be enabled successfully. Signed-off-by: Bilal Wasim Reviewed-by: Hsin-Yi Wang Signed-off-by: Enric Balletbo i Serra --- drivers/soc/mediatek/mt8173-pm-domains.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/soc/mediatek/mt8173-pm-domains.h b/drivers/soc/mediatek/mt8173-pm-domains.h index 654c717e5467..714fa92575df 100644 --- a/drivers/soc/mediatek/mt8173-pm-domains.h +++ b/drivers/soc/mediatek/mt8173-pm-domains.h @@ -71,6 +71,7 @@ static const struct scpsys_domain_data scpsys_domain_data_mt8173[] = { .ctl_offs = SPM_MFG_ASYNC_PWR_CON, .sram_pdn_bits = GENMASK(11, 8), .sram_pdn_ack_bits = 0, + .caps = MTK_SCPD_DOMAIN_SUPPLY, }, [MT8173_POWER_DOMAIN_MFG_2D] = { .name = "mfg_2d", -- 2.30.2