Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp466094iof; Mon, 6 Jun 2022 06:57:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyFmS8/XtSSo/TxaWyed+9aexQXZ5Gv1Qoa/39tY/VwzN1GpYy/ibGQgIzVwkyBTeif42Zc X-Received: by 2002:a17:90a:de01:b0:1df:cda5:8332 with SMTP id m1-20020a17090ade0100b001dfcda58332mr26667807pjv.123.1654523833233; Mon, 06 Jun 2022 06:57:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654523833; cv=none; d=google.com; s=arc-20160816; b=J5sa66bRqnLyYLi6BNovKN20r/nEdtQ3LZhb6+LPkuuKgxAi4K/mNkX3yinbX73ENh yPmVoDnE/GaimfGFbBoQWMH/aBk725ud9kJQMdVxv8jQE/jYaxVjQa56IHk3yx5t4CMV mXkZ/+cIJRFMQ8Bikc35TMuKwIWLcnF4/Ugm2uF6bQUISTYt+1wb/HY/zgNAi+upKOiw Nj75K8tjZfDlByz0eY22DvHH/lclrlQNWf9K8kpB8722wmoQQWdEI8nMieoR6sZTE+kk M6yvlpFCEtACHEcNrJEwq17s79RcUZz5bFuG2THLj8vvWvvnQQ+/s8SCA74Rs0eX77yy wklQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=xTpWPSxN0cL0aVs3iLR/HmIswwTyMjklIN9jCgr7T+Q=; b=gJT+rqNVxIvJWbPWjnwfAxm8diz2UPabMLLLhZyP6XIupf/cVYQ7n+9uFzpk8KCe11 JVatq6XzpDSPdo8k00SA2knhbLEmf4/nea7SE4AYNCBXznn5MRG0ZitIOpL6ANcRmnbh Z52gwTqcmhYyLstsbFZ2RKsBF1p0Z2rJ0ehIW1LVzEPkReVxqZRPjcCpr9irTcRJmf6S spB/xkl8MU/WdbOsiVWGbeIGmYElmzSNlm0ONil8DcVlePKk0q/eDSchuJ6j0stCVdI+ 1mJ/Uj8jVd5Niwqp0i2IKYCSIzdWFvCDSSr0pE0U6qVsN0KBSz3Id/ON/AnZcjNbihyf vBdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FcPDlAGs; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id e5-20020a17090301c500b001617b60e734si22879549plh.139.2022.06.06.06.57.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jun 2022 06:57:13 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FcPDlAGs; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3AF0130D372; Mon, 6 Jun 2022 06:46:45 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239215AbiFFNqh (ORCPT + 99 others); Mon, 6 Jun 2022 09:46:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34818 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239066AbiFFNqR (ORCPT ); Mon, 6 Jun 2022 09:46:17 -0400 Received: from mail-oa1-x2e.google.com (mail-oa1-x2e.google.com [IPv6:2001:4860:4864:20::2e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0EC201C2D60 for ; Mon, 6 Jun 2022 06:46:16 -0700 (PDT) Received: by mail-oa1-x2e.google.com with SMTP id 586e51a60fabf-f33f0f5b1dso19154362fac.8 for ; Mon, 06 Jun 2022 06:46:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=xTpWPSxN0cL0aVs3iLR/HmIswwTyMjklIN9jCgr7T+Q=; b=FcPDlAGsBBZqIo/U7deOp4+kp/FFXUkJnzTHVfhMBmEPyi9B3VzXHpf9gxN0z9WkZE zMex9FE2JL2CXklp11tM+RvrBj2sYpgTHD7by7BoUHU3pZmfwFqd8lcUpyC1rjyBO1bm YCd03N3WPWfcU+4W6kh7sCBKnMJnjOmWzjjWZWdg4XY4USYk6DjUd77G1FNecYHavaK9 aGMnGYduuyWNrQl6bnFZuv9IHGX89Lrc6mq3xecc153xREDsJw++jqd/pn3Abtox+NkW wzKxonhke55kKh88L6qB9H87YfwIf04YwnblGT9+aG1335WeM4zWDlhR7pVeun0+kLQB ViWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=xTpWPSxN0cL0aVs3iLR/HmIswwTyMjklIN9jCgr7T+Q=; b=hBJSNMYX/cAVwGooToCkuWz+b8oFVQOIfERkGL2gscd9snP/CzUfZN3QS9Vex64REj T2LCwMrdt7D7wQ/innTVqAGHfPg/cTN8qtKvPPqjbvXf+VG31ujkAp4U7iT5vsExvNGj rtJKZx+cnfo5LAKiIasjblX4DD3E7LH3Tssim6DmQwy8tirXAEpLR0aEUNlp6CK1uMPZ gE1A0rp+yL2xKS+E524c0KV6mP+AY2sgSEb5NALt5ATqQ4/76oO4/ZBoIy98YDRQ6g4/ SPGtbs96chBMYRTLVkpzZf4QLJlOm91pjoh+lQ2G0A51bVU+V5Y9OWAJTRNNBj2rIGm1 spzw== X-Gm-Message-State: AOAM533f8QC2+yU+MkFD0uRvET+CQgNT+91yR2bEJj+vDKtvCRHmmgTe v3ysbnVWfY0TksQewZI+mDKWyg== X-Received: by 2002:a05:6870:8184:b0:f5:dd95:7ef7 with SMTP id k4-20020a056870818400b000f5dd957ef7mr13883037oae.117.1654523174846; Mon, 06 Jun 2022 06:46:14 -0700 (PDT) Received: from ripper (104-57-184-186.lightspeed.austtx.sbcglobal.net. [104.57.184.186]) by smtp.gmail.com with ESMTPSA id pu7-20020a0568709e8700b000f5e33aaa66sm6770625oab.0.2022.06.06.06.46.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jun 2022 06:46:14 -0700 (PDT) Date: Mon, 6 Jun 2022 06:48:39 -0700 From: Bjorn Andersson To: Kuogee Hsieh Cc: dri-devel@lists.freedesktop.org, robdclark@gmail.com, sean@poorly.run, swboyd@chromium.org, dianders@chromium.org, vkoul@kernel.org, daniel@ffwll.ch, airlied@linux.ie, agross@kernel.org, dmitry.baryshkov@linaro.org, quic_abhinavk@quicinc.com, quic_aravindh@quicinc.com, quic_sbillaka@quicinc.com, freedreno@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v13 1/3] phy: qcom-edp: add regulator_set_load to edp phy Message-ID: References: <1653512540-21956-1-git-send-email-quic_khsieh@quicinc.com> <1653512540-21956-2-git-send-email-quic_khsieh@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1653512540-21956-2-git-send-email-quic_khsieh@quicinc.com> X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed 25 May 14:02 PDT 2022, Kuogee Hsieh wrote: > This patch add regulator_set_load() before enable regulator at > eDP phy driver. > > Signed-off-by: Kuogee Hsieh > Reviewed-by: Douglas Anderson Reviewed-by: Bjorn Andersson > --- > drivers/phy/qualcomm/phy-qcom-edp.c | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > > diff --git a/drivers/phy/qualcomm/phy-qcom-edp.c b/drivers/phy/qualcomm/phy-qcom-edp.c > index cacd32f..7e357078 100644 > --- a/drivers/phy/qualcomm/phy-qcom-edp.c > +++ b/drivers/phy/qualcomm/phy-qcom-edp.c > @@ -639,6 +639,18 @@ static int qcom_edp_phy_probe(struct platform_device *pdev) > if (ret) > return ret; > > + ret = regulator_set_load(edp->supplies[0].consumer, 21800); /* 1.2 V vdda-phy */ > + if (ret) { > + dev_err(dev, "failed to set load at %s\n", edp->supplies[0].supply); > + return ret; > + } > + > + ret = regulator_set_load(edp->supplies[1].consumer, 36000); /* 0.9 V vdda-pll */ > + if (ret) { > + dev_err(dev, "failed to set load at %s\n", edp->supplies[1].supply); > + return ret; > + } > + > ret = qcom_edp_clks_register(edp, pdev->dev.of_node); > if (ret) > return ret; > -- > The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, > a Linux Foundation Collaborative Project >