From patchwork Fri Oct 23 13:19:25 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 318933 Delivered-To: patch@linaro.org Received: by 2002:a92:d1d1:0:0:0:0:0 with SMTP id u17csp426089ilg; Fri, 23 Oct 2020 06:19:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJywdbd+g4RkDKHpbUiBjhVXxRG1XPuTW/OrsAx68WbRbyCVOH264vazP9wZ+7RoZFyDAojY X-Received: by 2002:a17:906:3e4b:: with SMTP id t11mr1845094eji.420.1603459190947; Fri, 23 Oct 2020 06:19:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603459190; cv=none; d=google.com; s=arc-20160816; b=zT7Z87HaE90JDYXMAP4ikrPN06kYU/V/zZfEnjhfRiFldJUj1DjI4ZFNXFpo6BuYGu 7VgOJr4HbE28kM2VU1VsVHOwlkSxkatL/lPoqwxVva7wn24BsnYHEPbwDcq8KDzVjzqr VGqMJvzlJGr1IPzxUhJuwkK3tcNmywEhl5PB4qQ1hbfWLBMow4vZ94GWwl192dnn9zrF +2PyFwe36aTABZuwLEJndHm1mokXnoomvOePo2X4sneEDoNThF3cJXrqWxv7WqpVLxMW LBggVJtqLQbeNrtVKIqU8XJgmxMu/B3q821GV0jjjr1z45YrCvIEZRCeLox3rQ8dTRpc fHyQ== 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=42/QJnTBpzJfK34Z8I/i86Pa85pWKg6cU4DTrB1R8G0=; b=yrIxSGNOvyTg9mdSvEqj0g+rcm1iF0zaM/PTjZ4wjLZEEBLWwkUuTvsRUVWlmKtPp7 LedhPkwPXgEn+rAoIbjmrrMEsSEZ4UY3cgtulUC51NKNsAul8QS+8gH78E5ZQyKWqn8a kIbXzmsB8BM8F1FeRfSpncW/F5CXV85OvUx64Syz6MaagLiODsXKv8UXcXAFl9UErJyV CEq/9VgFP8rxWPnr4av0QLlxhglByruPysPEk/CuKxm0CvI65Hi3XDo81h896DIjJH24 XlK6pc2jLqgpSoqylWk6w+XYdAgIFVbrRXfNUqADGrChAGIIgW56XbXhEBEZikhiiGPs 7C0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WsD3RCjB; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cy27si738892edb.52.2020.10.23.06.19.50; Fri, 23 Oct 2020 06:19:50 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WsD3RCjB; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S464503AbgJWNTt (ORCPT + 6 others); Fri, 23 Oct 2020 09:19:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46858 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S464494AbgJWNTp (ORCPT ); Fri, 23 Oct 2020 09:19:45 -0400 Received: from mail-lf1-x142.google.com (mail-lf1-x142.google.com [IPv6:2a00:1450:4864:20::142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BFFB6C0613D4 for ; Fri, 23 Oct 2020 06:19:44 -0700 (PDT) Received: by mail-lf1-x142.google.com with SMTP id v6so2021745lfa.13 for ; Fri, 23 Oct 2020 06:19:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=42/QJnTBpzJfK34Z8I/i86Pa85pWKg6cU4DTrB1R8G0=; b=WsD3RCjBU2/gDCOB79XWImHCGbaDA9pH/0eqBfD4sCzHj+1JAxMaNdzaNP8k/KA9rn t2pmFfbqqRunMeULfNBVr1WkuRi0qMo8o7guSHaPx80XPDOzne1yKmW22FU9Z6GlKhta vBbALKwQWVLdAD/slIMWsiYhIjZrKChouZkNOrVzNh77QPW2pdNTnuSzpM5KZ/espzqa gOSKt4AMn5T4zEiNt2Qpx3IDwfuDLcb4iB80CEdrUO5vuNdqAJ3HQqVeXPGtXocFBLE/ M/KxpyXhyN3WRwtys/GmKWqmpsEXm8pQgYwHrPHZqpbxXqhuQeaneQo2oAjB6B3UzDii tH3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=42/QJnTBpzJfK34Z8I/i86Pa85pWKg6cU4DTrB1R8G0=; b=Sw5Zr1G9F3OydR5eOAd+I1J8ypIBkrucB7R6Ov4/c8grIbRvlWa0baL36aE59CWyyj 5SxPZKalUNdeqTbAo93PcndEzdLnzrBgZyRUrHcBAL52IfNMn5RDnme91KcCKMVfyW2x DVotr/Yp/XiKrlruORbTmPPPhm7XLsvmKrBDbn136Bx2an9qUWmck2qSkEPzH+flXzAu 4rDcyXSf6Pzt5Hvg3JqMKc76Eshc6cQNehnC0gluSpeHPzhBShyiGELy5K4t0AA6kyPC +Jg7wOPrEF4AQ39NNinglVZjy29KPoOPmExBWnADa2IC++n+SH5zSfNxiLobAAp7AHLb sC6w== X-Gm-Message-State: AOAM532Kh7QXRJrUwPGeX5miLHu20gfhv7xhJ1huv8i8rwSZPUbQqELm 4IgXVlHlhpDRTO2F6WEll34YNQ== X-Received: by 2002:a19:b14:: with SMTP id 20mr867172lfl.308.1603459183251; Fri, 23 Oct 2020 06:19:43 -0700 (PDT) Received: from eriador.lan ([188.162.64.195]) by smtp.gmail.com with ESMTPSA id o22sm161564ljg.122.2020.10.23.06.19.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Oct 2020 06:19:42 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Rob Herring , Jonathan Marek , Stephen Boyd , Michael Turquette , Liam Girdwood , Mark Brown Cc: linux-arm-msm@vger.kernel.org, Manivannan Sadhasivam , devicetree@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 5/5] clk: qcom: dispcc-sm8250: handle MMCX power domain Date: Fri, 23 Oct 2020 16:19:25 +0300 Message-Id: <20201023131925.334864-6-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201023131925.334864-1-dmitry.baryshkov@linaro.org> References: <20201023131925.334864-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On SM8250 MMCX power domain is required to access MMDS_GDSC registers. This power domain is expressed as mmcx-supply regulator property. Use this regulator as MDSS_GDSC supply. Signed-off-by: Dmitry Baryshkov --- drivers/clk/qcom/dispcc-sm8250.c | 1 + 1 file changed, 1 insertion(+) -- 2.28.0 diff --git a/drivers/clk/qcom/dispcc-sm8250.c b/drivers/clk/qcom/dispcc-sm8250.c index 07a98d3f882d..588575e1169d 100644 --- a/drivers/clk/qcom/dispcc-sm8250.c +++ b/drivers/clk/qcom/dispcc-sm8250.c @@ -963,6 +963,7 @@ static struct gdsc mdss_gdsc = { }, .pwrsts = PWRSTS_OFF_ON, .flags = HW_CTRL, + .supply = "mmcx", }; static struct clk_regmap *disp_cc_sm8250_clocks[] = {