Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp2629671imw; Sun, 17 Jul 2022 13:12:46 -0700 (PDT) X-Google-Smtp-Source: AGRyM1v2X98dH9uBsNBHY3qSmtVh9M2HrJq4WMK6ClB9gWxhtPxtoZA4t/HjbFTnRlEesoOapkg9 X-Received: by 2002:a17:903:41cd:b0:16b:f00c:5927 with SMTP id u13-20020a17090341cd00b0016bf00c5927mr24453466ple.49.1658088766406; Sun, 17 Jul 2022 13:12:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658088766; cv=none; d=google.com; s=arc-20160816; b=ekhwn3IG6u2Hdgk4zNbShaRbOpqiM2hlghsno3CVijGllfWXqGNXVLcsWtpYdDzvFt h2bdpfBJPDom4PXrZhKZUAtj+frfmqYs0N/7V0tL9QOzaa+6rVSa/RiPjHZpaJjaPqrc 4SIHnpmxjOnK2SStV4h4M6fivjJxVUeNp77NdCZlkZxxGQhmBUXeqHfWMgcSL3dvfn5X B1kioRxwBtMq9wv+Tck91bWXw29jutSRPsISW6j8K5X9SCGbR5p2rRt9gL4KHMPPr2NC n0JYVtcdjrz+sxEgcEZzgRsaaauaNEjnebLJWIdSACuKBeb4RBCzPW6+sJzGLgHAeQk+ 0XAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=PigXQwKM0HFVf977KpJSmEmDxCSJ/94yMR8JWMEuSKA=; b=pmvXZrT0gBp00cEox1RPwB95XbOnoQUM3c/o61GO3K/vPYsVr8TIn5/8WtioWSNWVg 2srgn3wl/d2DQCKFwfddX/MazMMwRvj8A32vBXE2dq4IUXkUr+uW8Dn8vE0qb/7h3uxJ 8fdLTGQbweRbqIdWMoi9Aw3bUUk/qFRSVjpU6oovyWT555YjcU1vJp7c+d+jqCCsWiB5 ptXhZ3eh2y8Eo7RUQDXzm/RwMuNvUNG9ONxvLX3FTNdEMg4C/nZ2VrZSSIzZLa+AIhQB pdUXkdilVAI8WK0V5+yBHCDkOhosy1fUc6YRWlmDIxQIhgHamwWOSTvFftvfjYTlDr5r a7eA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XGsblwnK; 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 i1-20020a628701000000b0050d429bb67esi12855972pfe.82.2022.07.17.13.12.32; Sun, 17 Jul 2022 13:12:46 -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=XGsblwnK; 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 S229462AbiGQULR (ORCPT + 99 others); Sun, 17 Jul 2022 16:11:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51684 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229999AbiGQULQ (ORCPT ); Sun, 17 Jul 2022 16:11:16 -0400 Received: from mail-qv1-xf33.google.com (mail-qv1-xf33.google.com [IPv6:2607:f8b0:4864:20::f33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 74B95631B for ; Sun, 17 Jul 2022 13:11:13 -0700 (PDT) Received: by mail-qv1-xf33.google.com with SMTP id m10so3613466qvu.4 for ; Sun, 17 Jul 2022 13:11:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=PigXQwKM0HFVf977KpJSmEmDxCSJ/94yMR8JWMEuSKA=; b=XGsblwnKyTOHGD+NCSzwrCwIrW3uo8gEMmxRfTEImmCf4UQf281/Iz8nE8qoeVSISh g+Urw2+uGfabP/rwLmK3GsIcpTA78qLbgkLHbKaK/LZ6xv/cu2Ddxck8u2Jpo2Dj/Y1I IPEfYA8rTP4FQqePDLXMqCfUm+bUSwpEZxu/128HJE1l5rX6HXVyi/qok9pWd/d3Wj3o suhRcEWruo5GX40SxMGAXHJjJigoKFO5xM6it10VDCNYpw+CH6nsIJ172cn3e3JJ6y56 Vo3FJggCPBFqx1L8BJ9LuX5QbbqVsMI7RjkmPfWJHKK5yEbPOnGcG6lGnnYMgzqLw4pt W7cA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=PigXQwKM0HFVf977KpJSmEmDxCSJ/94yMR8JWMEuSKA=; b=NtQap/Yh8rWA7J1HT/fUDewS8kHmQoS7vnh4C+im3aOAiDIJ5hXlPfba5kk07oavSB xYA4lkQ4VcLcVBCh8ado03SaZ8V/n3k0FxRR9aULzUehorEu/LGgnBH/cXEzd71+Ur36 SchdEXmI96ZPWgW5IZMUlyeINT+X6TfeIdyphsASq+2fJPBKF4Rega7OeyKA3NuhiEvK bLi6GsShYxUT1gNlkpRZ/YPyGrZG0sw2/wv5Akxp9vIc0Vg/cC25KOTaZNARAMdpIQ4j fXS/K26T66RoVFvUe47e7Xm1GD4TQbZKNzbRwdjuUvd2wtBd51ltxZzhGduFxjYT0JhA X5tw== X-Gm-Message-State: AJIora8cwsJTHkMayLAzvX3jfRew2sWmr9kKww9OSNK0m8jItE/waX0O vlKeOYQmcwJ8nybsGvcE7YKt+GTw5fybJtAx37SlVw== X-Received: by 2002:a05:6214:d03:b0:473:7764:2ab with SMTP id 3-20020a0562140d0300b00473776402abmr18366070qvh.119.1658088672281; Sun, 17 Jul 2022 13:11:12 -0700 (PDT) MIME-Version: 1.0 References: <20220713143200.3686765-1-abel.vesa@linaro.org> In-Reply-To: From: Dmitry Baryshkov Date: Sun, 17 Jul 2022 23:11:01 +0300 Message-ID: Subject: Re: [PATCH] clk: qcom: Drop mmcx gdsc supply for dispcc and videocc To: Bjorn Andersson Cc: Abel Vesa , Andy Gross , Konrad Dybcio , Mike Turquette , Stephen Boyd , Ulf Hansson , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" 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 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: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 17 Jul 2022 at 07:21, Bjorn Andersson wrote: > > On Wed 13 Jul 09:32 CDT 2022, Abel Vesa wrote: > > > Both dispcc and videocc use mmcx power domain now. > > Lets drop the supply mmcx from every gdsc. > > > > Cc: Dmitry Baryshkov > > Fixes: 266e5cf39a0f ("arm64: dts: qcom: sm8250: remove mmcx regulator") > > Signed-off-by: Abel Vesa > > This would break backwards compatibility with dtbs that used > mmcx-supply. We only ever used mmcx-supply in sm8250.dtsi upstream and > given that we only boot sm8250 off Android boot images it's unlikely > that anyone would use a new kernel with that old of a dtb... > > So: > Reviewed-by: Bjorn Andersson > > Dmitry, what do you think? I think it's fine. Reviewed-by: Dmitry Baryshkov > > Regards, > Bjorn > > > --- > > drivers/clk/qcom/dispcc-sm8250.c | 1 - > > drivers/clk/qcom/videocc-sm8250.c | 4 ---- > > 2 files changed, 5 deletions(-) > > > > diff --git a/drivers/clk/qcom/dispcc-sm8250.c b/drivers/clk/qcom/dispcc-sm8250.c > > index 39b344ebb049..709076f0f9d7 100644 > > --- a/drivers/clk/qcom/dispcc-sm8250.c > > +++ b/drivers/clk/qcom/dispcc-sm8250.c > > @@ -1138,7 +1138,6 @@ static struct gdsc mdss_gdsc = { > > }, > > .pwrsts = PWRSTS_OFF_ON, > > .flags = HW_CTRL, > > - .supply = "mmcx", > > }; > > > > static struct clk_regmap *disp_cc_sm8250_clocks[] = { > > diff --git a/drivers/clk/qcom/videocc-sm8250.c b/drivers/clk/qcom/videocc-sm8250.c > > index 8617454e4a77..f28f2cb051d7 100644 > > --- a/drivers/clk/qcom/videocc-sm8250.c > > +++ b/drivers/clk/qcom/videocc-sm8250.c > > @@ -277,7 +277,6 @@ static struct gdsc mvs0c_gdsc = { > > }, > > .flags = 0, > > .pwrsts = PWRSTS_OFF_ON, > > - .supply = "mmcx", > > }; > > > > static struct gdsc mvs1c_gdsc = { > > @@ -287,7 +286,6 @@ static struct gdsc mvs1c_gdsc = { > > }, > > .flags = 0, > > .pwrsts = PWRSTS_OFF_ON, > > - .supply = "mmcx", > > }; > > > > static struct gdsc mvs0_gdsc = { > > @@ -297,7 +295,6 @@ static struct gdsc mvs0_gdsc = { > > }, > > .flags = HW_CTRL, > > .pwrsts = PWRSTS_OFF_ON, > > - .supply = "mmcx", > > }; > > > > static struct gdsc mvs1_gdsc = { > > @@ -307,7 +304,6 @@ static struct gdsc mvs1_gdsc = { > > }, > > .flags = HW_CTRL, > > .pwrsts = PWRSTS_OFF_ON, > > - .supply = "mmcx", > > }; > > > > static struct clk_regmap *video_cc_sm8250_clocks[] = { > > -- > > 2.34.3 > > -- With best wishes Dmitry