From patchwork Fri Sep 11 13:09:49 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 249723 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:ecf:0:0:0:0 with SMTP id i15csp1649128ilk; Fri, 11 Sep 2020 06:12:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwUGTHQEkJFbrn7/2Yzsvniug+eyeTYHByj3gUm9rQMYSNhSpR7I+czQXU2IWXld0IuiqwQ X-Received: by 2002:a05:6402:6d6:: with SMTP id n22mr1886038edy.79.1599829966252; Fri, 11 Sep 2020 06:12:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599829966; cv=none; d=google.com; s=arc-20160816; b=dMjgIJ/FtRppRQl97s2Sr64MuAMgZX9BXTDfccok8gMKRDoLilhrTdmBrP0N8m+HhJ w55/fTXvbH9QlFycUsmEQbe0aa3yj0ABSok9L/H0lwEP++Aw8BKhOjxZlHkLhSTleVwG BjoYsuvuKtwxCjDgZt6AQffO2yK1yt2bP8sTS2b63Z96mWmkG3c4B9rC8xvNPKUEYaQR bjJI+ujis/xIJs51pDdjLbrK+RQB5XajNGKwZsGAx/oNAvCh+gOXRBF4QINOe695uTbm CriTLZFobQpGwFxUwibjNPKwiHyUfxOhUMp/7LWbTkPEG+c+0OAyIwlcKgWZ87uYKAx6 KmZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=KSlhvEq07UrSHzoeR1SRzs3RyWctK5k6m6swaX7LLqY=; b=c9rer4aZCb6dH8TCIHyM3PYX3in8dNzC24mZO39WWd5QWdEj0JCsv0jAL20XOLKAHL MBECJSKqaLEbdzMTRi0YjjEJzpDhV060mdGNc0nGMAZ8kQt2EjU6IakAGqKzgGSWrNTy /okI5PcR2+Cl2ej4NHKI5fkFKhLAMWHe+QJqZENUVWG3yQlPjF0x/dwo7XMXQ/HL06Xs tOj4izXGmzvCSVyZ4e0xUbPCtUk97BENTZFGNWZ76wUqH38rcJz4Qyq68rm4Y+hOwshv PVQdiRrvE80kx0HgBwoGO4rMvyJVKEiOH1X1IfrSY9odQxYAtSx1MJL3hzlGLUU/m7S5 ydvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wFaVSsWY; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-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 h10si1304667edr.206.2020.09.11.06.12.45; Fri, 11 Sep 2020 06:12:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-msm-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=wFaVSsWY; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S1726025AbgIKNMV (ORCPT + 15 others); Fri, 11 Sep 2020 09:12:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40674 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726224AbgIKNLy (ORCPT ); Fri, 11 Sep 2020 09:11:54 -0400 Received: from mail-lj1-x243.google.com (mail-lj1-x243.google.com [IPv6:2a00:1450:4864:20::243]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4DF6DC0617A1 for ; Fri, 11 Sep 2020 06:10:03 -0700 (PDT) Received: by mail-lj1-x243.google.com with SMTP id r24so12411822ljm.3 for ; Fri, 11 Sep 2020 06:10:03 -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=KSlhvEq07UrSHzoeR1SRzs3RyWctK5k6m6swaX7LLqY=; b=wFaVSsWYdhfEmFdxO736pNv7rQ/OInzLf+QLdk7eZLS1hmB+bPlm95xD3FsH/wdANP fcQg0SF14eprMQx0oMvKO43/BuxO216vAxuFaZH6dtZMhNxSoG9RRx5c+IZSZJHu5X9l aehikXMqzYz2HmZCXtVJxj9dvw2CW9CyhbkQ4wqUSLE4ck3H0ofKORXATtC4Y1Mfy5XE dnLADeSedLKU20XrEqdmyWxvSoClgggd7ONJo/NmsBosYRZbiz6/jbgCRIeHeEbm3tHZ 63vIJQjT2nz0luT1vq8BJjE/bxTVJ3RVm+qxO7qlN2t996CSYkmVA0R/sV8kUwh6NKEF XvaA== 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=KSlhvEq07UrSHzoeR1SRzs3RyWctK5k6m6swaX7LLqY=; b=XkqisOGoDOKhCbde0Gr5FJrXC0Cw/kTzUjB/FRnSQ8mDnmReAthqmWwcCH+rUzP5RD RohUCN5eaNPrNKyslJi7nHt1TbqbxnCBat6qfroJOWwFv8oRgYFyRx9JkXoammfDCu7T SNLH+rfE+7zyD1xeezn0TTTs/g4Dxb+GnQA0y9Wq6XxKPLVA1doDMEdE8lh/VhHZSSg7 qO/Ol8sLjiTAoJ4kY+1joKL4vhO2Rh4kqlCL20s6F6TzxF+P05sLwQbxfdICJ8RCe2Jn JvJ275Sa/88CtmVY6PH5lwBuuet3OgqXsDdApkjtYjZQ7qs+CVNOA3OgbQTuYOQfjAlb Gqbw== X-Gm-Message-State: AOAM533fbTANQW4KI8ullw4+AVdeBH8ZS4nvHoDW+8bA8FA8ETiPGjbf JAcgeiIelOiY52Mf2xq1FdtCTw== X-Received: by 2002:a2e:2286:: with SMTP id i128mr888221lji.288.1599829801429; Fri, 11 Sep 2020 06:10:01 -0700 (PDT) Received: from eriador.lan ([188.162.64.141]) by smtp.gmail.com with ESMTPSA id 10sm429500lfq.64.2020.09.11.06.09.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Sep 2020 06:10:00 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Rob Herring , Jonathan Marek , Stephen Boyd , Michael Turquette Cc: linux-arm-msm@vger.kernel.org, Manivannan Sadhasivam , devicetree@vger.kernel.org Subject: [RFC 3/4] clk: qcom: dispcc-sm8250: handle MMCX power domain Date: Fri, 11 Sep 2020 16:09:49 +0300 Message-Id: <20200911130950.578483-4-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200911130950.578483-1-dmitry.baryshkov@linaro.org> References: <20200911130950.578483-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org On SM8250 MMCX power domain is required to access MMDS_GDSC registers. Enable using this power domain for the gdsc. Signed-off-by: Dmitry Baryshkov --- drivers/clk/qcom/dispcc-sm8250.c | 2 ++ 1 file changed, 2 insertions(+) -- 2.28.0 diff --git a/drivers/clk/qcom/dispcc-sm8250.c b/drivers/clk/qcom/dispcc-sm8250.c index 7c0f384a3a42..fc5fb2b2fe5e 100644 --- a/drivers/clk/qcom/dispcc-sm8250.c +++ b/drivers/clk/qcom/dispcc-sm8250.c @@ -970,6 +970,8 @@ static struct gdsc mdss_gdsc = { }, .pwrsts = PWRSTS_OFF_ON, .flags = HW_CTRL, + .domain = "mmcx", + .perf_idx = 0, }; static struct clk_regmap *disp_cc_sm8250_clocks[] = {