Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp219784imn; Wed, 3 Aug 2022 00:43:39 -0700 (PDT) X-Google-Smtp-Source: AA6agR4mK3HYMxtO29rkWikdSVjJm4EhF3teo2qbbTkt4y4sLmdNPiQ+Sbac1tkgdqxVcWmEqN0k X-Received: by 2002:a17:902:c405:b0:16d:7846:3e94 with SMTP id k5-20020a170902c40500b0016d78463e94mr24932190plk.79.1659512619262; Wed, 03 Aug 2022 00:43:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659512619; cv=none; d=google.com; s=arc-20160816; b=JEcx0VaZ2DqrRCe4EIdI2ogIC4sVk2CLNQPK0lUDv7n7xR76ZDDSvouDaUkGPNV72T 49X0gXgY2LG/nyg4Ah7kiDb2WKVr/gQT4FcUbKQbm+ySfVx4HSuT4VBhCso40VWXbpB0 4NKwef5gMB2vvrfUwm3cc12o3MU/Jyyo1TiNw/n9BZLhwoe9vINycTzNf0oaOAL64yaP nUwKvN1/zd2XEJ89T0z+Y0q4AzS96aU5Ye5eHI23IJW82h2Vc1XWGLlWbRYjgcCrXJnt ty2lmWP7RYIDXysxO69Rk3U8hpZrowZntmX6gM1BzIxUQyL2kKTi73T8eD+JqROPj0lR Ufqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=ZFL1rpNY6wsrWyWGElxKgonarXbu9XUulVlTCMlwgB8=; b=spNzWLqGdR1p2F5GG9Q6sPHoV1IqP0Ro9B+jBPC0miYYljWD6KzIGupSuUjfw/w/oo GFPi/5m0SMAKQR5XOZDstxBiAUAcPK3UhVcMxjtq1Lf+J0QkOngGk315N8F+/xvbqZD6 bQrd+TGWe4xbyAxUY4q9x55pRxOyalD+DpTcQHkvmm1o1OmHHLRrmiv7aqzcBrj2TfZ+ ZoYwDN1HtjKSRuJ65fpDzyBYlTEFPlkb2kC1kSPnlXDndx6gUiGsv0Z/Tsqh0iVqelPh 9LB9p70aAd0or8+hla4h4O01SUQA2yxu/ABX1cK262R/Z5zu9j+RsjTSmmuJoyV/kpqY 1rJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Le0GMSUG; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u22-20020a63f656000000b00416071de334si18366866pgj.234.2022.08.03.00.43.24; Wed, 03 Aug 2022 00:43:39 -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=Le0GMSUG; 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 S235207AbiHCHh2 (ORCPT + 99 others); Wed, 3 Aug 2022 03:37:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59554 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234261AbiHCHh0 (ORCPT ); Wed, 3 Aug 2022 03:37:26 -0400 Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6077C1EEFD for ; Wed, 3 Aug 2022 00:37:25 -0700 (PDT) Received: by mail-lf1-x12a.google.com with SMTP id t1so25191514lft.8 for ; Wed, 03 Aug 2022 00:37:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc; bh=ZFL1rpNY6wsrWyWGElxKgonarXbu9XUulVlTCMlwgB8=; b=Le0GMSUGuNXx+DN948ov64Ao1jAZwv3kaV4yFwbqE5JSOZv9bCE4+/3ZSAy4eNXvy2 GVzdyrzDcvEKPn3V6hjk6Ah9wwBzbLF5W30zMnjoOw0oEKhaSdnHLrNGngyDfkApaaQ6 n6hzafHDmdkraBiVziOE/q0LfblRzzL26eOH/BS8SJ2e8HEoby/q6TY2+6uqbRZn0Xzj 2MDd7XGl49TpxybUemiYLCAd8nmjzo9nw/QNKZ1ykvGRnJw18BtVdAjrsrM1kyQY377J LKjMj1bPjon2t3fbDC3m/vNX3dLWevmTDyUc4bPdChSMLz4bTHrim4NXP+iQ9HofyJrX EOOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc; bh=ZFL1rpNY6wsrWyWGElxKgonarXbu9XUulVlTCMlwgB8=; b=MzSNBv7E5ms2BVTQlPV28/1ghXf1KC/yx3ni+hw++tUDqfBkLKvqqXQPwSE97TRU0p fUP56zFZzq7nPCsv1JzC6+kdg5ZVWpna/tk+IA2IT/MK1CcQByOiBiBlMWKDF7vjzGWd EliRZpuyvNqlMUoWl5qMWMKQbGwQ49jsFp5+QTwXQb/PQl5EoiIqAWDB3i5fcqHrHXtI JJSVtJAMijR4c6ATruOJNV3JIpDM9QLw4nGmb/MMgS5cMx6Hunkyvk43ppiHiuKNhlHV /W3RvuSYAeRnUIvaycs9mwKMIbHPQVbLc+JRarary5LPRMSnnOQv9SZCoVg1wqoHbXzd GFcg== X-Gm-Message-State: AJIora8t73LXS27QVVvKM/gwUSbUxVMkrCkQkwQYdTCVuOUqlitdhpwk CyfqfRH2TfhtNfPTdnRnsO6KoQ== X-Received: by 2002:a05:6512:3f23:b0:48a:90ed:10a5 with SMTP id y35-20020a0565123f2300b0048a90ed10a5mr8325616lfa.93.1659512243670; Wed, 03 Aug 2022 00:37:23 -0700 (PDT) Received: from [192.168.1.211] ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id p13-20020a2eb98d000000b0025e4ca99066sm1120098ljp.139.2022.08.03.00.37.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 03 Aug 2022 00:37:23 -0700 (PDT) Message-ID: <7de9cd34-dc37-053e-63dc-54b6879ce181@linaro.org> Date: Wed, 3 Aug 2022 10:37:22 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH v3 0/6] drm/msm/dsi regulator improvements Content-Language: en-GB To: Douglas Anderson , Rob Clark , Abhinav Kumar Cc: dri-devel@lists.freedesktop.org, Mark Brown , linux-arm-msm@vger.kernel.org, freedreno@lists.freedesktop.org, AngeloGioacchino Del Regno , Archit Taneja , Bjorn Andersson , Daniel Vetter , David Airlie , Jonathan Marek , =?UTF-8?B?Sm9zw6kgRXhww7NzaXRv?= , Konrad Dybcio , Loic Poulain , Marijn Suijten , Rajeev Nandan , Sean Paul , Sireesh Kodali , Stephen Boyd , Vinod Koul , Vladimir Lypak , linux-kernel@vger.kernel.org References: <20220802223738.898592-1-dianders@chromium.org> From: Dmitry Baryshkov In-Reply-To: <20220802223738.898592-1-dianders@chromium.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS 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 On 03/08/2022 01:37, Douglas Anderson wrote: > The main goal of this series is to make a small dent in cleaning up > the way we deal with regulator loads for DSI drivers. > > As of v3 of this series, the regulator API improvements needed for the > later patches in the series are merged into mainline. Thus this series > only contains the DSI changes now. > > I'd expect: > * The first two patches are bugfixes found while converting the DSI > driver over. Those could land any time. > * The third patch ("drm/msm/dsi: Don't set a load before disabling a > regulator") is a patch a sent the other day verbatim, included in > this series because it's highly related. It could land any > time. > * The next two patches use the new APIs. Since those APIs are now in > mainline those could also land any time. > * The last patch is just cleanup I noticed as I was touching the > function. It's not really related to regulators but it applies atop > these. In theory it could be rebased to land separately. > > Changes in v3: > - ("Improve dsi_phy_driver_probe() probe error handling") new for v3. > - Do all the PHYs too. > - Fix typo in commit message. > - Get rid of error print after devm_regulator_bulk_get_const(). > - Just directly call the bulk commands; get rid of the wrapper. > - Update commit message to point at the git hash of the regulator change. > > Changes in v2: > - ("Fix number of regulators for SDM660") new for v2. > - ("Fix number of regulators for msm8996_dsi_cfg") new for v2. > - ("Take advantage of devm_regulator_bulk_get_const") new for v2. > - ("Use the new regulator bulk feature to specify the load") new for v2. > > Douglas Anderson (6): > drm/msm/dsi: Fix number of regulators for msm8996_dsi_cfg > drm/msm/dsi: Fix number of regulators for SDM660 These two can be picked into the -fixes branch. The reset looks like 5.21/6.1 material > drm/msm/dsi: Don't set a load before disabling a regulator > drm/msm/dsi: Use the new regulator bulk feature to specify the load > drm/msm/dsi: Take advantage of devm_regulator_bulk_get_const() > drm/msm/dsi: Improve dsi_phy_driver_probe() probe error handling > > drivers/gpu/drm/msm/dsi/dsi.h | 13 -- > drivers/gpu/drm/msm/dsi/dsi_cfg.c | 172 +++++++++--------- > drivers/gpu/drm/msm/dsi/dsi_cfg.h | 3 +- > drivers/gpu/drm/msm/dsi/dsi_host.c | 96 ++-------- > drivers/gpu/drm/msm/dsi/phy/dsi_phy.c | 160 ++++------------ > drivers/gpu/drm/msm/dsi/phy/dsi_phy.h | 5 +- > drivers/gpu/drm/msm/dsi/phy/dsi_phy_10nm.c | 20 +- > drivers/gpu/drm/msm/dsi/phy/dsi_phy_14nm.c | 32 ++-- > drivers/gpu/drm/msm/dsi/phy/dsi_phy_20nm.c | 14 +- > drivers/gpu/drm/msm/dsi/phy/dsi_phy_28nm.c | 28 +-- > .../gpu/drm/msm/dsi/phy/dsi_phy_28nm_8960.c | 12 +- > drivers/gpu/drm/msm/dsi/phy/dsi_phy_7nm.c | 32 ++-- > 12 files changed, 197 insertions(+), 390 deletions(-) > -- With best wishes Dmitry