Message ID | 20230628-topic-refgen-v3-4-9fbf0e605d23@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f45:0:b0:3ea:f831:8777 with SMTP id v5csp715063vqx; Mon, 3 Jul 2023 11:34:32 -0700 (PDT) X-Google-Smtp-Source: APBJJlHZpBBqNY3U3NBbvglHQzcTpxSo9iroQZaZOmlaCfs4R/6MOA186wMHY/lbd8Te+2eWdnpU X-Received: by 2002:a92:3607:0:b0:345:e438:7381 with SMTP id d7-20020a923607000000b00345e4387381mr10200811ila.2.1688409272298; Mon, 03 Jul 2023 11:34:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688409272; cv=none; d=google.com; s=arc-20160816; b=etxEKCwD7/tyFTmcxwoNO3o4G1f05mcVN2xTN3WxXAbIr5iRBr9qvWuD4VLlwYH/gQ 1Kmsl5AhBXxBHI4c+G88o/Qg1hOCbKPCsKIBJ5sktSi4tVT9fnEs7fLsDWXTR9uYSvdT 8rGCKEpMab/sBBOWH3H1XW7snevnMl1trf1Z8Gy/6i3Dx4uwPrA6oftALpUKSC5ZwShK 4FJpAjWabt0qk0lQk1KLrUrMH7VUWMQWbZ3wkTRQSqS1X7JuJMzra7a9W42+X4uz7aWl G11Hh56bJBuAewZCNG5WqC+KTPVPWKDGyiWg1ElH2kQCxJIF8vT27XqOyGHtwGBhyE5r XWYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=SEhHQ8qdRfQQVMmnLHDVdeTjikaeU7SDTha8pASydDI=; fh=qvdqMbXAE/qcPdFiL/QUg6KLKapmCEtGXJzQKn2xN9U=; b=i80KMzvvtLadb0SKI7XfQv4YgOHJRfkDqZDa3Yx7h9H0VbpXdOwMPUpifbAttjqykb vDD5hkgsp1UDv+E+kQBTw6StKPuM1ofIod83JjYPknlf2p88QcTRi9ujGVydT8GprPD/ 4vw9Gd5VNksavqa78R2d6rbgHXMvuiwltjn+DXVUePK/W9RxADkUlrnGwP56k5WMf0CO e89BD/MpQ80gZD5xNmlhar/UwFLumh8FrAonBKtVvN6hJv7aJJ1TiSEEXsNzZEEWUjZr mLzSqo+PvZF3jRpRunlyrXEWaHh+KgaC040a1zAMuDOe06dARty/YoyHGXeFA+L7dkPR 2stg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=M3MZVSSv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 29-20020a17090a1a5d00b0025be125bda9si18639388pjl.38.2023.07.03.11.34.17; Mon, 03 Jul 2023 11:34:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=M3MZVSSv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 S231194AbjGCSQQ (ORCPT <rfc822;ivan.orlov0322@gmail.com> + 99 others); Mon, 3 Jul 2023 14:16:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39568 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231161AbjGCSQK (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 3 Jul 2023 14:16:10 -0400 Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1BAFFE6D for <linux-kernel@vger.kernel.org>; Mon, 3 Jul 2023 11:16:08 -0700 (PDT) Received: by mail-lj1-x229.google.com with SMTP id 38308e7fff4ca-2b6a16254a4so70824031fa.0 for <linux-kernel@vger.kernel.org>; Mon, 03 Jul 2023 11:16:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1688408166; x=1691000166; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=SEhHQ8qdRfQQVMmnLHDVdeTjikaeU7SDTha8pASydDI=; b=M3MZVSSvTVZWcSpRhaGpO/4ZkPSOJadnFRhiAWsh68RYeasKrMbEh/oT0RYk3GLYFo k4jwahArOJYgAvQtne7W5fHuj3trxl49qv26FrFAJPDMKnjMa4Hwf1KfrF9RA7dSb306 CJxseFXY8lFhRYqn+UhQewllXgn+Ya667F39GD+h//21/3/m9D+GK4CmpZZMtlq3ifTB xu/JJOFXym4Bl3Iy/vnGUSrBd0nM8RWNEGhKDr5xS6CpaOrQTL/r//7ljBrUlwnnkICc rrtEWp8QlX/wSerFxkpNnk1VKPfJVb2Ac/79UNgYBOFvt8bQOCu7wizgPkbl0ydDXUeK 6/8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688408166; x=1691000166; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=SEhHQ8qdRfQQVMmnLHDVdeTjikaeU7SDTha8pASydDI=; b=NghdD8EGNxpMMc0fUsq/D7rc2cnP6gY2hoszvGb26vstjK3lwYJWV/xcE4FwG+sayN vtOgzWUNjq1pL/+pv63dooXtYHddNliKAi/Iu4t2k157DaT6rq0bJ2BJkL/dqWU65Yco Jc97Pg+odmyzE1konjfiY46LQ6AhLUzDKOwOQravSD4CBxuasoKS6MOg4bckvTbstMRc PkzY97UIJTS+0FWSzuuxPvfjswkytWzBnX6vKNNdUghYskH0JtdTXUsESt5bD4F7fThP APLP1fdhbj5vZsnqmRgwV4zgXcBuP/UpmTAOnQOINopBIoNeCs/u0Znh2XybPj4C2O5V R8+A== X-Gm-Message-State: ABy/qLYn70dHPpM52VgFnUQAmFJ1kGgS4yZUvSwMOkReVJeZ5XLYlIJo zJHFU79j5Q1JM3hSdD6Qz5b0wg== X-Received: by 2002:a05:6512:360a:b0:4f7:55e4:4665 with SMTP id f10-20020a056512360a00b004f755e44665mr6488178lfs.56.1688408166353; Mon, 03 Jul 2023 11:16:06 -0700 (PDT) Received: from [192.168.1.101] (abyj26.neoplus.adsl.tpnet.pl. [83.9.29.26]) by smtp.gmail.com with ESMTPSA id a6-20020a056512390600b004f1383d57ecsm4633034lfu.202.2023.07.03.11.16.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jul 2023 11:16:06 -0700 (PDT) From: Konrad Dybcio <konrad.dybcio@linaro.org> Date: Mon, 03 Jul 2023 20:15:57 +0200 Subject: [PATCH v3 4/4] drm/msm/dsi: Hook up refgen regulator MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230628-topic-refgen-v3-4-9fbf0e605d23@linaro.org> References: <20230628-topic-refgen-v3-0-9fbf0e605d23@linaro.org> In-Reply-To: <20230628-topic-refgen-v3-0-9fbf0e605d23@linaro.org> To: Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Rob Clark <robdclark@gmail.com>, Abhinav Kumar <quic_abhinavk@quicinc.com>, Dmitry Baryshkov <dmitry.baryshkov@linaro.org>, Sean Paul <sean@poorly.run>, David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>, Krishna Manikandan <quic_mkrishn@quicinc.com> Cc: Marijn Suijten <marijn.suijten@somainline.org>, Konrad Dybcio <konradybcio@kernel.org>, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, Konrad Dybcio <konrad.dybcio@linaro.org> X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1688408157; l=1019; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=bdVFkIHME+ksW97iOZJH0yeZoPTsVUfCpblAjJVbJjI=; b=76+Fxu9Mkj2j91rvxqGFAjIS4lnVHjZtvgXD8BN606qTh2MlXXDVLXeY449B7FkmiVfjfKJUE 3PeNBebhJ/3A+sotF6ET4cY+H5e2VvFD/K9b8XQzRdZcHcZMxrMZwBW X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1770425440940245199?= X-GMAIL-MSGID: =?utf-8?q?1770425440940245199?= |
Series | Qualcomm REFGEN regulator | |
Commit Message
Konrad Dybcio
July 3, 2023, 6:15 p.m. UTC
Consume the refgen supply on configurations that may use it.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
drivers/gpu/drm/msm/dsi/dsi_cfg.c | 2 ++
1 file changed, 2 insertions(+)
Comments
On Mon, 3 Jul 2023 at 21:16, Konrad Dybcio <konrad.dybcio@linaro.org> wrote: > > Consume the refgen supply on configurations that may use it. > > Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> Reviewed--by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> > --- > drivers/gpu/drm/msm/dsi/dsi_cfg.c | 2 ++ > 1 file changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/msm/dsi/dsi_cfg.c b/drivers/gpu/drm/msm/dsi/dsi_cfg.c index 8a5fb6df7210..1f98ff74ceb0 100644 --- a/drivers/gpu/drm/msm/dsi/dsi_cfg.c +++ b/drivers/gpu/drm/msm/dsi/dsi_cfg.c @@ -160,6 +160,7 @@ static const char * const dsi_v2_4_clk_names[] = { static const struct regulator_bulk_data dsi_v2_4_regulators[] = { { .supply = "vdda", .init_load_uA = 21800 }, /* 1.2 V */ + { .supply = "refgen" }, }; static const struct msm_dsi_config sdm845_dsi_cfg = { @@ -191,6 +192,7 @@ static const struct msm_dsi_config sm8550_dsi_cfg = { static const struct regulator_bulk_data sc7280_dsi_regulators[] = { { .supply = "vdda", .init_load_uA = 8350 }, /* 1.2 V */ + { .supply = "refgen" }, }; static const struct msm_dsi_config sc7280_dsi_cfg = {