From patchwork Thu Feb 4 15:01:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryan O'Donoghue X-Patchwork-Id: 376283 Delivered-To: patch@linaro.org Received: by 2002:a02:b18a:0:0:0:0:0 with SMTP id t10csp1356255jah; Thu, 4 Feb 2021 07:03:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJw5t96/TtMbXqCLV2Y+H+2Uf2vbwzeR9Tk0SZJ9NIQWdCwUjtmzd2MMrOK1IwVCl7B+pygZ X-Received: by 2002:a17:906:555:: with SMTP id k21mr8175956eja.148.1612451030401; Thu, 04 Feb 2021 07:03:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612451030; cv=none; d=google.com; s=arc-20160816; b=dZ7+sZDLNRc5Rk255E8F7RCwgJn/ijWhyUsS6svwJxGwt8+76BJ/DiJdrkXVYm5795 gtM8FGK195swjUOlHVUd8GOqUquGplWMz9N8vbm4yMi1lym6F3UjQs0LaRP6qf9Q85SU RQhqrPYLL26brgNOtD5IHdi2vqk5D1nPkox6v311DSVsEPXNZ3Di/xwdSzzLbHP18JXI fcmlUWAHBwgyDIFFJ/98ittKZdA7wkJDWtIBBzz3H0j7ybw+P55n2QIKOv0s7cqPgbZC e8q+ghek91IKE47HehZ8oj2U8jO4KT4WhDR1WTCbrk8iv6BZELfMwCHB3/WiwQ/cntVO oCVQ== 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=nc9gnI1H6fzB+6K5saFm3Jx2SbTp7zcViLcj0vH0QAE=; b=Jm5LRj+HZRAiL0vk7ACkXG60rDuIuetwepKyq0IpjNHmN9dFhflMXhbUPENpVvnJ2i q0pkmENdJ85jlOvwJZuVVJGmL2DaeeHinNRCaYVXq0YY9P1RfrxTENnYGP84a47xZymy PKetVvYr5l5A4WOiZD7uK1SCU9IhPQaKryCsrZ1I7fLhaDNxfTT36XFRSak+liSc4Qot pLfv+2YCe+BNB15Nk/dXvE9vOLmm0Aa4I3KgtxDXO46wFbygkO9nCkNAayQhKhBS1m6f Pf5TgO1gcAniVufZk8wAPmQGAwbtCTeqnwTAJz0c6ECCpP5CbhwiTm+J8r+bUhx4ixsW L3sA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xBjDITC5; 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 qc23si3478362ejb.467.2021.02.04.07.03.44; Thu, 04 Feb 2021 07:03:50 -0800 (PST) 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=xBjDITC5; 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 S237069AbhBDPD3 (ORCPT + 16 others); Thu, 4 Feb 2021 10:03:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33012 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237000AbhBDPCy (ORCPT ); Thu, 4 Feb 2021 10:02:54 -0500 Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A5DEDC061356 for ; Thu, 4 Feb 2021 07:00:13 -0800 (PST) Received: by mail-wr1-x42b.google.com with SMTP id p15so3838339wrq.8 for ; Thu, 04 Feb 2021 07:00:13 -0800 (PST) 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=nc9gnI1H6fzB+6K5saFm3Jx2SbTp7zcViLcj0vH0QAE=; b=xBjDITC5+tezp6ASj1W9SEEL71cDN31GmI49V3hP97Rkk6ld15hKRtJKVVAPCVz0RS frD+50Kq8BJmGeSUuzcO/DBk+Wu0xBCBMLZBDlXz+YABc2vTATvWxndg0Ok3M9cze3du 29bAsbA805/uqhI35bvccRBTyEjm4L72ZetX4YTE8Z2sBLUNdzBLO1pMn4HHLn7oiV0Y xw2eYDCFrjr7duA+Nh7lIOLkEt9lScz8dxnwARKiZeMLa0M5/NDPYSGMSrWRBGhKVESj N3NEkDPJ3jU8+A6bmhUZHqb9ddeDbAZ24nrlBUokDAwiNtyDB2nN891sbpmwq2lLZlTa 4kxw== 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=nc9gnI1H6fzB+6K5saFm3Jx2SbTp7zcViLcj0vH0QAE=; b=f/lEwmmSAccWX5JLV4L4DGf5R4t4gHuIC4SYgINDdPjTpjcI6bbbNDng1XY7I3sRR2 WfoCkepHP1qf085OYoCHO3LghbjyfCHSN1JwiIkMMSiwBCYYEXI3QxHW3agZXckKv1x9 p/eHa/NUZaMkF3ZfVphypXkwniIr+g6JS8tw60LQ5klNR2YhQo3imLPJ4Y892VzN/lyt 9A5pXPELIdPAMhJ6d78RZJqs629HOz4rficI1H9TQS/UUTTTVGx+1m9iIqVEQOH7912P 021WryAamZwqNjb4/WXzjB3HrF4cnHc+HgUL28bymoa2Z47EILaHmLcDgmoKs80nTJWo fpWQ== X-Gm-Message-State: AOAM531C2099xACLerPtksM1s28XSmaBgObSIwtslLR12MJZ5f+ZlUim zVeOqHazH2wWPf1H54GHMBM4Ww== X-Received: by 2002:a5d:60c2:: with SMTP id x2mr10252537wrt.248.1612450812483; Thu, 04 Feb 2021 07:00:12 -0800 (PST) Received: from sagittarius-a.chello.ie (188-141-3-169.dynamic.upc.ie. [188.141.3.169]) by smtp.gmail.com with ESMTPSA id c11sm8312664wrs.28.2021.02.04.07.00.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Feb 2021 07:00:11 -0800 (PST) From: Bryan O'Donoghue To: linux-clk@vger.kernel.org, linux-arm-msm@vger.kernel.org, mturquette@baylibre.com, sboyd@kernel.org, bjorn.andersson@linaro.org, robh+dt@kernel.org, agross@kernel.org Cc: bryan.odonoghue@linaro.org, jonathan@marek.ca, dikshita@codeaurora.org, dmitry.baryshkov@linaro.org, stanimir.varbanov@linaro.org Subject: [PATCH v2 4/4] clk: qcom: videocc: Add gdsc mmcx-reg supply hook Date: Thu, 4 Feb 2021 15:01:20 +0000 Message-Id: <20210204150120.1521959-5-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210204150120.1521959-1-bryan.odonoghue@linaro.org> References: <20210204150120.1521959-1-bryan.odonoghue@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org This commit adds a regulator supply hook to mmcx-reg missing from - mvs0c_gdsc - mvs1c_gdsc - mvs0_gdsc - mvs1_gdsc Signed-off-by: Bryan O'Donoghue Reviewed-by: Dmitry Baryshkov Tested-by: Dmitry Baryshkov --- drivers/clk/qcom/videocc-sm8250.c | 4 ++++ 1 file changed, 4 insertions(+) -- 2.29.2 diff --git a/drivers/clk/qcom/videocc-sm8250.c b/drivers/clk/qcom/videocc-sm8250.c index 3ade240bd49c..b0efadc19634 100644 --- a/drivers/clk/qcom/videocc-sm8250.c +++ b/drivers/clk/qcom/videocc-sm8250.c @@ -278,6 +278,7 @@ static struct gdsc mvs0c_gdsc = { }, .flags = 0, .pwrsts = PWRSTS_OFF_ON, + .supply = "mmcx", }; static struct gdsc mvs1c_gdsc = { @@ -287,6 +288,7 @@ static struct gdsc mvs1c_gdsc = { }, .flags = 0, .pwrsts = PWRSTS_OFF_ON, + .supply = "mmcx", }; static struct gdsc mvs0_gdsc = { @@ -296,6 +298,7 @@ static struct gdsc mvs0_gdsc = { }, .flags = HW_CTRL, .pwrsts = PWRSTS_OFF_ON, + .supply = "mmcx", }; static struct gdsc mvs1_gdsc = { @@ -305,6 +308,7 @@ static struct gdsc mvs1_gdsc = { }, .flags = HW_CTRL, .pwrsts = PWRSTS_OFF_ON, + .supply = "mmcx", }; static struct clk_regmap *video_cc_sm8250_clocks[] = {