From patchwork Wed Jun 28 16:29:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 113970 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp9061937vqr; Wed, 28 Jun 2023 09:44:21 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5L2J3Xl8s/7yDe3R3lBfoKu3hXG20zp5kBbfyBuirENk/3a8NosADo7Sq4PioZMvDL5cJz X-Received: by 2002:a05:6402:35c3:b0:51d:9a92:24f0 with SMTP id z3-20020a05640235c300b0051d9a9224f0mr8231419edc.4.1687970661050; Wed, 28 Jun 2023 09:44:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687970661; cv=none; d=google.com; s=arc-20160816; b=r1Rk/0S3gL0u7h+sogv5GKDbeaUdT/D+GkPbExsPIoJvVXYdQr59hzU913UW5Hv4+J u/kmhTEBpsbS0Hmpu5o/ZeYSTrM9Wws3kfQvU+4E6QtGYjoxYLgJvN6jPzAWvzS6ZL4a U6UVmlxugybrfPdp4a4xVofQiV49J+BCVW/toGG0yBwb84rpZUoc8sWGrjh1kqRzWWj1 F8bdyuDqzhAKpCGrpMn4WnXJejwRN11AWEGmMrnxJuGcLfLAECnivciDwfhpKsnfuZ32 sOoI4An2br6ykwIS7RAWvhB9fcH2jNMsAisJuY5vDN9kNHhT2qjb4HyLY/Kp85VNqXGl KCtw== 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=FShNDmAfH4+ylYf91xm3NpS5lb1a9e1uV34FyKn+YoeJK8tLR5OD5oM0tqSZ9IrotQ lNBvzMRUnlhmtCqzisfveNdmWQt/+Kjaylm68Kz7X/Q6ieWwDjeJAmFTw6ypR8bzqZIw s8Yzoe5JsKEhgF8QXsHVhEB+p1f8aHjnv4Zclgmu9nGz6CQG8StKGBL0oTgSRC1woPKC h5uEnbuJy6KHJQyHMKt9Z/kLtPNIuAkXbIHo6TjKrH63DETZOdSyX8O52eQdA+DV9R7n I+nqSUBdQWaTl04fpwzBoNiS37c/akAFxKPDo14qLxJtnJg5oEQH7hximgqNte21Fe7J 2Riw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DQZ8bQM6; 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 a24-20020aa7cf18000000b0051d9b4a95b8si3435807edy.262.2023.06.28.09.43.44; Wed, 28 Jun 2023 09:44:21 -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=DQZ8bQM6; 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 S230373AbjF1QbC (ORCPT + 99 others); Wed, 28 Jun 2023 12:31:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38716 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232276AbjF1Q35 (ORCPT ); Wed, 28 Jun 2023 12:29:57 -0400 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8020D26AB for ; Wed, 28 Jun 2023 09:29:56 -0700 (PDT) Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-4fb7dc16ff0so4170067e87.2 for ; Wed, 28 Jun 2023 09:29:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687969795; x=1690561795; 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=DQZ8bQM6OK1Jdf9uCG5L3p0W5NUTxn2k5hoJpqJ89L7veP52vetsvHAr9/3u2T02s3 FwN4eefSkPJdvODiqNbplGuLRIWZ9Ug+o+/AbFNmiw3XMd8YQpmooiF/N1hUHh6vhSbk +ZrenMM5DtHlclnuBwZWPPEv3Ol5pFBCNQrhnDE8PhJzrMoTF3hwMBgVtWxIpX2LQ8Bh J8uqKwhu4k/HYE5Y5Jcu11vJbOynqrOf5likeOo+7J2v3/gC2Fd1cRt5h/ihwA/b/FZz zFCTB1P8rWz7AkjVdLLpogD/SCEe4jP4gZDSyaMdjoEdjth37IpwKnetCTIOvTGKKC7J ohjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687969795; x=1690561795; 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=NqdaHJ2eCp1ArudWpFeZcpaLf/iBJgk5LrkTBnD8p9vUEziwIOcogFfzGBxcnPdgTg OW8UT6FFp34o0y69esA+xPhHUQoUPtIltphoH1731roWozhJgLIoVf0RxOsTeY07PERb ++tHLSF8bOfGHHSbSZkeIyT4uxSxIIzkSlc5Dql4vbtbLiqQm4RS62FxbPx2IIU6I4oz YY5ZnuX2q5g0+VvleGqg3II+YaGmsd7HBE5cs98N2rU67hhO5hArBP+45eLuB2nxh4MT X4NQ78tQTPsuH4htDiHaAlLBlt8rE/FaWBVkKO+/7KIg32EOcgTYOZktIijzDE+HG4uk 3Iww== X-Gm-Message-State: AC+VfDyc2QhYfRDnnhziDykW12n7ZDwVfBiSXrk3Jws/DW7CBkOEAWSx AIRou+buomQdaYeWYZF4U5B9RA== X-Received: by 2002:a05:6512:3d26:b0:4fb:89c1:c209 with SMTP id d38-20020a0565123d2600b004fb89c1c209mr4023314lfv.62.1687969794861; Wed, 28 Jun 2023 09:29:54 -0700 (PDT) Received: from [192.168.1.101] (abyk82.neoplus.adsl.tpnet.pl. [83.9.30.82]) by smtp.gmail.com with ESMTPSA id v28-20020a056512049c00b004faeedbb29dsm1678783lfq.64.2023.06.28.09.29.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Jun 2023 09:29:54 -0700 (PDT) From: Konrad Dybcio Date: Wed, 28 Jun 2023 18:29:48 +0200 Subject: [PATCH 4/4] drm/msm/dsi: Hook up refgen regulator MIME-Version: 1.0 Message-Id: <20230628-topic-refgen-v1-4-126e59573eeb@linaro.org> References: <20230628-topic-refgen-v1-0-126e59573eeb@linaro.org> In-Reply-To: <20230628-topic-refgen-v1-0-126e59573eeb@linaro.org> To: Andy Gross , Bjorn Andersson , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , David Airlie , Daniel Vetter , Krishna Manikandan Cc: Marijn Suijten , Konrad Dybcio , 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 X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1687969785; l=1019; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=bdVFkIHME+ksW97iOZJH0yeZoPTsVUfCpblAjJVbJjI=; b=k+jAhj46mh/Oof9GvJUQpt/J2u2Kf9BOt4qC0dCu0ivMbU0GBjjqGdhsVkkJrQVyrqAml8JoS YHTy+kjdBZUDW1wpX+4zBYjHF71ydli6DvpRMxSVeEkmb7N7RPRelKx 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,URIBL_BLOCKED autolearn=ham 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769965523927062255?= X-GMAIL-MSGID: =?utf-8?q?1769965523927062255?= Consume the refgen supply on configurations that may use it. Signed-off-by: Konrad Dybcio --- 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 = {