From patchwork Sun Aug 29 15:47:52 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 504062 Delivered-To: patch@linaro.org Received: by 2002:a02:8629:0:0:0:0:0 with SMTP id e38csp1030784jai; Sun, 29 Aug 2021 08:48:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwDMvBMQtoR11LsAiEhTuEQFppRGrLKaVjNGcImDWpt03YVYLrpR47bKTGVqLesoNULzz8C X-Received: by 2002:a17:906:f117:: with SMTP id gv23mr19610663ejb.406.1630252088290; Sun, 29 Aug 2021 08:48:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630252088; cv=none; d=google.com; s=arc-20160816; b=loJJgtNZ9p0qUm+fkyqwmqj1Eq7YXp86Dw0/wS098D5amcJRCwb79QacnYQAnQIcvH ND7NBwRCWBOF3wSNtBxWnHKpLV0SfCo+FKkOvnldI39V5BBIwhKc3goOQpoRBhXYrBII +d0y5xMJkZx10A/3owcufcZz/ZblrXxk8C3bZQPnt7h4oVDlHLd72Rwq7IZqfHovugNk mEP+cmhtq4QqQuPjFTg5jEKh4cLt1enIkiDGdiBersn694Jw1Jii9LntfuCtocA0jjXS 00N0gUiQ32W6JKv4yYga93maTFEQohO5XfI2IUPh6IRk8hqnhn/Z3rqaQNawnXwE5Pja gdbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=uAcFEY+E0qmgNU+cIgtsjckvcJT9e5o7gZcnimCS7qE=; b=o88wWrNHT5v8G6STu1QBVkmiKuRu6B0x4E0x00ol7YcCwHmpALqB040WfwEN6Jld1w woW9mLgArrFxYhjy0J8Dq44rQ9ACHKecYIRlTgM9PQIBHd4fa1WjBG1gBukDOPv4q82V DZFdPYbep/5OnjBvjYEhTPjUqLs/wKSSFpjtQ89aFR2lHjqcBRjr6//PDPmvOeE6vqLl tskYFHpx2hZMtV2lEa1+pwDUFrwOSBsrwP+Hr2A4EIy9TawOyhKUAauqBJ5xr/M7yd5W 0I9VXVln271R9tJbUX5tJBxBUMoy1jt7hlxHekoDHaRz2Z5wyNsJ6qiw1E1KTfhzeA5e r8lQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=txsSBxfF; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gb36si11908212ejc.675.2021.08.29.08.48.08; Sun, 29 Aug 2021 08:48:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=txsSBxfF; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S235694AbhH2Ps5 (ORCPT + 16 others); Sun, 29 Aug 2021 11:48:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53164 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235679AbhH2Psz (ORCPT ); Sun, 29 Aug 2021 11:48:55 -0400 Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 41ECEC06175F for ; Sun, 29 Aug 2021 08:48:03 -0700 (PDT) Received: by mail-lj1-x22d.google.com with SMTP id i28so21259923ljm.7 for ; Sun, 29 Aug 2021 08:48:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=uAcFEY+E0qmgNU+cIgtsjckvcJT9e5o7gZcnimCS7qE=; b=txsSBxfFz3uME9EGWLKsPisD83NoqkW3PVZXnetyTCer1e+GSgMWMqq7SAD4ZUJa8I TvwG1N0kBLFhSg7gEzUYf+eieOVTCRzMza6Uje55n4Zilr76DyeS/doFV/8xEa4xBZWw v0tNqrwaCfRBsg+/e1rmKntNVjm0iZEvyunpzFyVvJTmq0zn9d8FHzZ/C4ZBbhjVjmV1 /Hr8hi8gVwPM32KXdYL4yDYTwsOOVpDpUANtgfh+GzYh50EllusbX+yCyi3dw7Vc3Vsp F8B+TB84Mx0ulR7Az3eKnBf4L5SDD9T1fbyg44b9XKV1ucec2bvPktai9NMl+EkCpDj7 nJrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=uAcFEY+E0qmgNU+cIgtsjckvcJT9e5o7gZcnimCS7qE=; b=ONMEGBdHcV9pIDFFlpoPIovqFKbJPp9UbQ/QBrub6sF4u4hRjBhQgxXIlWTaQFsoh6 NN3bJ97amteAJIRWtVHaB9GqN1UlU1bOLADD3mvsAzm1pLNW9h4iVuM1G7ZOgwBZOXYI Bj9INowDbZ2ojGkXmgBGPvYcDY5yO2DCeeI8vn4vUIXVLH8deKb6rtS5qdEBbUA/DXtY Euc940qw/pksKFxBNoisQ9cVOUkMO2u3itwnmI6qzymkkEPjV2HZHiQ4HL6TwhrG6KOk Rp1SnR19Wz7hFLqKhKPDjHf/FrWSm3UCLPFbFXcaNsnwctDm583W9hsbS0fCwDaQH5a7 Ppyw== X-Gm-Message-State: AOAM532O1VpYDJaJGIWeWujRi4Ev3YUHBvT8H7QwymSIa4UtQXR8mhal mACMoFXAWtB2Ee3mjObsUAiSLA== X-Received: by 2002:a2e:a785:: with SMTP id c5mr16291427ljf.434.1630252081609; Sun, 29 Aug 2021 08:48:01 -0700 (PDT) Received: from eriador.lan ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id y5sm1481243ljd.38.2021.08.29.08.48.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Aug 2021 08:48:01 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Rob Herring , Stephen Boyd , Taniya Das , Jonathan Marek , Michael Turquette Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org, Bryan O'Donoghue , Mark Brown , Ulf Hansson , linux-kernel@vger.kernel.org Subject: [PATCH v7 3/8] clk: qcom: dispcc-sm8250: use runtime PM for the clock controller Date: Sun, 29 Aug 2021 18:47:52 +0300 Message-Id: <20210829154757.784699-4-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210829154757.784699-1-dmitry.baryshkov@linaro.org> References: <20210829154757.784699-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org On sm8250 dispcc and videocc registers are powered up by the MMCX power domain. Use runtime PM calls to make sure that required power domain is powered on while we access clock controller's registers. Signed-off-by: Dmitry Baryshkov --- drivers/clk/qcom/dispcc-sm8250.c | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) -- 2.33.0 diff --git a/drivers/clk/qcom/dispcc-sm8250.c b/drivers/clk/qcom/dispcc-sm8250.c index 601c7c0ba483..108dd1249b6a 100644 --- a/drivers/clk/qcom/dispcc-sm8250.c +++ b/drivers/clk/qcom/dispcc-sm8250.c @@ -6,6 +6,7 @@ #include #include #include +#include #include #include @@ -1226,13 +1227,31 @@ static const struct of_device_id disp_cc_sm8250_match_table[] = { }; MODULE_DEVICE_TABLE(of, disp_cc_sm8250_match_table); +static void disp_cc_sm8250_pm_runtime_disable(void *data) +{ + pm_runtime_disable(data); +} + static int disp_cc_sm8250_probe(struct platform_device *pdev) { struct regmap *regmap; + int ret; + + pm_runtime_enable(&pdev->dev); + + ret = devm_add_action_or_reset(&pdev->dev, disp_cc_sm8250_pm_runtime_disable, &pdev->dev); + if (ret) + return ret; + + ret = pm_runtime_resume_and_get(&pdev->dev); + if (ret) + return ret; regmap = qcom_cc_map(pdev, &disp_cc_sm8250_desc); - if (IS_ERR(regmap)) + if (IS_ERR(regmap)) { + pm_runtime_put(&pdev->dev); return PTR_ERR(regmap); + } /* note: trion == lucid, except for the prepare() op */ BUILD_BUG_ON(CLK_ALPHA_PLL_TYPE_TRION != CLK_ALPHA_PLL_TYPE_LUCID); @@ -1257,7 +1276,11 @@ static int disp_cc_sm8250_probe(struct platform_device *pdev) /* DISP_CC_XO_CLK always-on */ regmap_update_bits(regmap, 0x605c, BIT(0), BIT(0)); - return qcom_cc_really_probe(pdev, &disp_cc_sm8250_desc, regmap); + ret = qcom_cc_really_probe(pdev, &disp_cc_sm8250_desc, regmap); + + pm_runtime_put(&pdev->dev); + + return ret; } static struct platform_driver disp_cc_sm8250_driver = { From patchwork Sun Aug 29 15:47:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 504084 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DBDE3C25AEE for ; Sun, 29 Aug 2021 15:48:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C010C60F92 for ; Sun, 29 Aug 2021 15:48:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235742AbhH2Ps7 (ORCPT ); Sun, 29 Aug 2021 11:48:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53174 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235671AbhH2Ps4 (ORCPT ); Sun, 29 Aug 2021 11:48:56 -0400 Received: from mail-lj1-x231.google.com (mail-lj1-x231.google.com [IPv6:2a00:1450:4864:20::231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1AE95C061796 for ; Sun, 29 Aug 2021 08:48:04 -0700 (PDT) Received: by mail-lj1-x231.google.com with SMTP id q21so21226343ljj.6 for ; Sun, 29 Aug 2021 08:48:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=eOntGbmHjlIJIEAoFIo+0TbTE6MIwWPZGdnvY8XJV3s=; b=IkUY3h1xG3A+y7RAhDKQu4hw7zVPoB/Y9uMmKSvxKEzYPflze9VXSOnrp2VAR5/fbm 437gJIgWPxHWKFzMeBPOIHNINUS0MDXWCAq5QJLs5Ger4NUKm1DqR/Mnuf0E0v0wkJ0V npCb/h+ck6AV2kSSm/H76uH3L5ExcfV+UvVndR5FJFYVPmpl7JfPAfFFylhjc+qA0KCp CDkVuaUX0aoqEjXMRovLOJeY8NKCd73rrHr4rJwaQDbYFIXuuAoWKG1gL8YNlPyItFKE HlEhMuVXhbJs/Kia12tCb7jJ1+Azoa1VciNfcI/btmYFHWLmRjsmjpDsk+Tqd0f/KjNd loXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=eOntGbmHjlIJIEAoFIo+0TbTE6MIwWPZGdnvY8XJV3s=; b=OWGNPf1YwdFxPwldLTsWobFaSTAVQ/xzAKQH4NnhvUtA7T2h7KtkEXRAQPq31EcjgU dsOsUSR7h7fyyMvjES3HCZ2XboTGhqhQZvIRKz5FEs1laRFIyewNv399LUse22s621kM 8ShjyuxGVX7Zf0d+Xk/FUhsv8NErEjLJLY9rIHgMCQqEWKoN9S0W/ZLevYEEQHSl3S26 CZURFie8NedkfYV1XDZ8GyIUyfW1BRodUw0wCpTTdt5CphPTkRYGVJptjJ/UvzKq8jWD d+42FE0a6oL8TQNwoyeZ8yu+CxuLMuk+5yOHBM38bwOd2LgcuMrXPFCzW4RDHjv0ge4G hGPw== X-Gm-Message-State: AOAM532zq/xjOOZHILJTR9FrcUgNOAABqHCsdCdCZxUoDJE96AUCO53L DyI8wLO1QuF0pMNbTFTMFEcUwA== X-Google-Smtp-Source: ABdhPJyhkUCYxZEQqZAX55eEdpuUyApHu9wUx4tQwqOUVevrmTzuUQ2qY9cHfqxerTmtjkH5Cp3MTg== X-Received: by 2002:a2e:b5dc:: with SMTP id g28mr16900490ljn.96.1630252082420; Sun, 29 Aug 2021 08:48:02 -0700 (PDT) Received: from eriador.lan ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id y5sm1481243ljd.38.2021.08.29.08.48.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Aug 2021 08:48:02 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Rob Herring , Stephen Boyd , Taniya Das , Jonathan Marek , Michael Turquette Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org, Bryan O'Donoghue , Mark Brown , Ulf Hansson , linux-kernel@vger.kernel.org Subject: [PATCH v7 4/8] clk: qcom: videocc-sm8250: use runtime PM for the clock controller Date: Sun, 29 Aug 2021 18:47:53 +0300 Message-Id: <20210829154757.784699-5-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210829154757.784699-1-dmitry.baryshkov@linaro.org> References: <20210829154757.784699-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org On sm8250 dispcc and videocc registers are powered up by the MMCX power domain. Use runtime PM calls to make sure that required power domain is powered on while we access clock controller's registers. Signed-off-by: Dmitry Baryshkov Reviewed-by: Bjorn Andersson --- drivers/clk/qcom/videocc-sm8250.c | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/drivers/clk/qcom/videocc-sm8250.c b/drivers/clk/qcom/videocc-sm8250.c index 7b435a1c2c4b..8617454e4a77 100644 --- a/drivers/clk/qcom/videocc-sm8250.c +++ b/drivers/clk/qcom/videocc-sm8250.c @@ -6,6 +6,7 @@ #include #include #include +#include #include #include @@ -364,13 +365,31 @@ static const struct of_device_id video_cc_sm8250_match_table[] = { }; MODULE_DEVICE_TABLE(of, video_cc_sm8250_match_table); +static void video_cc_sm8250_pm_runtime_disable(void *data) +{ + pm_runtime_disable(data); +} + static int video_cc_sm8250_probe(struct platform_device *pdev) { struct regmap *regmap; + int ret; + + pm_runtime_enable(&pdev->dev); + + ret = devm_add_action_or_reset(&pdev->dev, video_cc_sm8250_pm_runtime_disable, &pdev->dev); + if (ret) + return ret; + + ret = pm_runtime_resume_and_get(&pdev->dev); + if (ret) + return ret; regmap = qcom_cc_map(pdev, &video_cc_sm8250_desc); - if (IS_ERR(regmap)) + if (IS_ERR(regmap)) { + pm_runtime_put(&pdev->dev); return PTR_ERR(regmap); + } clk_lucid_pll_configure(&video_pll0, regmap, &video_pll0_config); clk_lucid_pll_configure(&video_pll1, regmap, &video_pll1_config); @@ -379,7 +398,11 @@ static int video_cc_sm8250_probe(struct platform_device *pdev) regmap_update_bits(regmap, 0xe58, BIT(0), BIT(0)); regmap_update_bits(regmap, 0xeec, BIT(0), BIT(0)); - return qcom_cc_really_probe(pdev, &video_cc_sm8250_desc, regmap); + ret = qcom_cc_really_probe(pdev, &video_cc_sm8250_desc, regmap); + + pm_runtime_put(&pdev->dev); + + return ret; } static struct platform_driver video_cc_sm8250_driver = { From patchwork Sun Aug 29 15:47:55 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 504065 Delivered-To: patch@linaro.org Received: by 2002:a02:8629:0:0:0:0:0 with SMTP id e38csp1030955jai; Sun, 29 Aug 2021 08:48:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw6dZURL3meiZkvmUjeZz1+5HQeCte5kTdionCM4dUFGHbOcFpJEjwuNyjOyno5MvziXqv0 X-Received: by 2002:a17:906:1382:: with SMTP id f2mr20751738ejc.536.1630252102458; Sun, 29 Aug 2021 08:48:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630252102; cv=none; d=google.com; s=arc-20160816; b=N0xrB9PQap9Im6Q8sUzrj4VR7nhxRYu65sQfsLHGMpFtdbZTytSuEeDV8JXaTCmOvB moI7tzSILkXzhTnJXJ82tMZpdsRc+3+tkuJ/PILulz/4R5UdqGsuqRyVd2WBki4jCaPT 8WaSGQd4/7XTM1Bn7uuQN62fzuAH1Hqr8Esjpdq4DYOt1dxpUdVPpuUpXY/DPg5Y/bqp ze7Wfvqm51Bh5eK/EUUVpU8/TiBfneP7GXKewe8N+vA1eLxHZ2guhdKorTEu8CtVt8+H wLI1840/EIg+YPRT2afHPSxIi7J3+WiSzhU1FLqRGIYTnMo1hT3DSXRqK26KR1q8R2vZ q18g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=S2tYRoRbfa36+k6p6nVAHUWAv0P4p/PXeEpuMEWtjJY=; b=ysZKnCkhQ/6ejBD8T8Q2RwSORZ3G8GpVsoi+9pAS/YTquMA0BMTxNJZuepEm/fg4yc CCfHKeysxLJKAnwA+Fld9KRFBPiEpPshom3/PyFYM8h2MgVh/J0qYg5vfx5WqUvATrrS p4dJ1yZR1VBJdug26ZAOmmGSr45jnELR4i8GESG0G0ZVCFFa2PfVIDKFUrduYXEKmj8c xuEB0DDOoGO3cyubt2HCUBvIAKckprWRJHItilT1AE9Zd3GN21iPg6WzrQsesK8exXFl 3wgQCa//KGdPva5410a2w1tPwgR/wRQkVmTTa9QLn8ue/sYyLJznJH9ZDqzAu4UFLE2p z64Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="b/sjdFWI"; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gb36si11908212ejc.675.2021.08.29.08.48.22; Sun, 29 Aug 2021 08:48:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="b/sjdFWI"; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S235221AbhH2PtF (ORCPT + 16 others); Sun, 29 Aug 2021 11:49:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53200 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235724AbhH2Ps6 (ORCPT ); Sun, 29 Aug 2021 11:48:58 -0400 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD111C0617AF for ; Sun, 29 Aug 2021 08:48:05 -0700 (PDT) Received: by mail-lf1-x12d.google.com with SMTP id b4so25812627lfo.13 for ; Sun, 29 Aug 2021 08:48:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=S2tYRoRbfa36+k6p6nVAHUWAv0P4p/PXeEpuMEWtjJY=; b=b/sjdFWIwdof9blUBT6l+IdD82KErjW9pYx8UFRrK/0f21VD94u9Ls01DgurhY736l pu0tOrMkOKcJ7W/vgAP+QfIpki0C9caj7ReC6vWpOy/qG+gOfyvbfBenmMmcf2KdoBOr N6mmeZygXGqX5LhvgPuuxOIkja09BRVlIlDq9TcXIQWiLuNJe16/PnnyN5lzYjI0JBki aoPnVucK/ZtwDgmJbfkk2txttLexBhEyXxNjLMPRBASv5KE0hqVh3zITKuN4s8WMbI07 mex1R8DjaAh3jYZd2mjzQ7Q/pIQrxb2LCDEIJSJWBips7jyPFMlsg8jhfCaH+kMPzJtw rxCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=S2tYRoRbfa36+k6p6nVAHUWAv0P4p/PXeEpuMEWtjJY=; b=DVazUlH/LOd0151bzXdmBvKrCnaGo8PJklrnp3ShgAETMQsKl63b833/fH+ya7Rxes 1pThJBsZ68YCisaytCBFcv6ggjQq41KdWEdcU/nK5dhnVL69amQUavdIA3TK8vOMZEe6 620ETONuUbSFeyPYyCIGiuWi+pEXu30+bKJQTgsHyIH8QXuWYBRtsX4iBeKn3unHlKD0 oKoT5WxyOvzkB0D4C7VuDqfSZFoj5FGXFXE4TykG40+NWhk0lC1aXpdE06JiqNYykIsA By/Em8G1lu6EfZVPlBHeyFYsLUrJcJjvAvDVXBfKMUn/2mxI9YM8jP3IvzLPLjvE43IX 3PTA== X-Gm-Message-State: AOAM5327/tr2/r53E8ggtbDtQwICiFRbM3M55VBcFaKr9N6LlhdFYHu8 uOpfDKs4mgz1suW+MxBpwH8zJg== X-Received: by 2002:a05:6512:681:: with SMTP id t1mr13902317lfe.487.1630252084110; Sun, 29 Aug 2021 08:48:04 -0700 (PDT) Received: from eriador.lan ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id y5sm1481243ljd.38.2021.08.29.08.48.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Aug 2021 08:48:03 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Rob Herring , Stephen Boyd , Taniya Das , Jonathan Marek , Michael Turquette Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org, Bryan O'Donoghue , Mark Brown , Ulf Hansson , linux-kernel@vger.kernel.org Subject: [PATCH v7 6/8] arm64: dts: qcom: sm8250: remove mmcx regulator Date: Sun, 29 Aug 2021 18:47:55 +0300 Message-Id: <20210829154757.784699-7-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210829154757.784699-1-dmitry.baryshkov@linaro.org> References: <20210829154757.784699-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Switch dispcc and videocc into using MMCX domain directly. Drop the now unused mmcx regulator. Signed-off-by: Dmitry Baryshkov Reviewed-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/sm8250.dtsi | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) -- 2.33.0 diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index 4798368b02ef..0d35449fda02 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -273,13 +273,6 @@ memory@80000000 { reg = <0x0 0x80000000 0x0 0x0>; }; - mmcx_reg: mmcx-reg { - compatible = "regulator-fixed-domain"; - power-domains = <&rpmhpd SM8250_MMCX>; - required-opps = <&rpmhpd_opp_low_svs>; - regulator-name = "MMCX"; - }; - pmu { compatible = "arm,armv8-pmuv3"; interrupts = ; @@ -2451,7 +2444,8 @@ videocc: clock-controller@abf0000 { clocks = <&gcc GCC_VIDEO_AHB_CLK>, <&rpmhcc RPMH_CXO_CLK>, <&rpmhcc RPMH_CXO_CLK_A>; - mmcx-supply = <&mmcx_reg>; + power-domains = <&rpmhpd SM8250_MMCX>; + required-opps = <&rpmhpd_opp_low_svs>; clock-names = "iface", "bi_tcxo", "bi_tcxo_ao"; #clock-cells = <1>; #reset-cells = <1>; @@ -2720,7 +2714,8 @@ opp-358000000 { dispcc: clock-controller@af00000 { compatible = "qcom,sm8250-dispcc"; reg = <0 0x0af00000 0 0x10000>; - mmcx-supply = <&mmcx_reg>; + power-domains = <&rpmhpd SM8250_MMCX>; + required-opps = <&rpmhpd_opp_low_svs>; clocks = <&rpmhcc RPMH_CXO_CLK>, <&dsi0_phy 0>, <&dsi0_phy 1>, From patchwork Sun Aug 29 15:47:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 504066 Delivered-To: patch@linaro.org Received: by 2002:a02:8629:0:0:0:0:0 with SMTP id e38csp1030972jai; Sun, 29 Aug 2021 08:48:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzTg//52hq98FldUdcc6EjLOVWY2ZwRJfH940TfeDOVrQVf8sZ/ypMj47+9qkqgSp+4TdAy X-Received: by 2002:a17:906:144e:: with SMTP id q14mr21121645ejc.19.1630252103356; Sun, 29 Aug 2021 08:48:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630252103; cv=none; d=google.com; s=arc-20160816; b=DlIRZ1PNn0NIgISK3Fqta86s8hX79/sRH0BB0E1Tx6UIklk20yyeaKkDEqH7XudQ9y YOnkzeak6E+QsvN3El1JL6DOZxMOA/OuKicVYpTfZrJlbErmqUrMdc/Aq69V+Hv3v68h inJxmalbWa48TREemdFczTcLGFIFGRybs7/8yRvCH0UlichU+Raok0LR7GcOoMgnNhvG RIeglVTrIRL8f2HMsrcILHTVmR8RylzQ2yPTdW6xLBI/NSZdVasg+u5k5ypTBxojLYvi FSnCK2kUdc68Qd0Zt3ckl1WkO252WF9FQrIdiZYtRGZCOVQB5Azw7tj6MA1eIuUSAh2U A/2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=lzeU0XBdc+zW8wh83RkBlEjdf1NC4IsbDq14TpwvvIY=; b=cXAa9TirDO7qVSfWB4s7uESd5dvipO5kjjOWXFg7ec2Vkc6eHLRH2Gjai2ClmZcBj1 Grz4ZkQ6Ss/+lHwSYbS23DETX86bhhKJdhuX59ul3h3BTdnCyz4CaEgWf5GmG0wO19s2 waWzvqa2ry1n6KBjAcClDSeHisVF719tNFyhMIoJ+XJnnrK0hikylGeOWeNZtUm+Y3lB lpoP7PwiyxfFJSDOnzCSd0MbVXnWCCNFxbSe2zzxFCMdXKBxVi7722D5guprSOhmqTwC OypPSY+2JV6/slpqmbZpeyc8tsIS0fDvR4s5zv+KMG4e/HWakG4IE2UOCELtrRCzM4cH IkPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ag67y5Zp; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gb36si11908212ejc.675.2021.08.29.08.48.23; Sun, 29 Aug 2021 08:48:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ag67y5Zp; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S235730AbhH2PtF (ORCPT + 16 others); Sun, 29 Aug 2021 11:49:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53210 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235735AbhH2Ps7 (ORCPT ); Sun, 29 Aug 2021 11:48:59 -0400 Received: from mail-lj1-x230.google.com (mail-lj1-x230.google.com [IPv6:2a00:1450:4864:20::230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9AD5FC061756 for ; Sun, 29 Aug 2021 08:48:06 -0700 (PDT) Received: by mail-lj1-x230.google.com with SMTP id s12so21366663ljg.0 for ; Sun, 29 Aug 2021 08:48:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=lzeU0XBdc+zW8wh83RkBlEjdf1NC4IsbDq14TpwvvIY=; b=Ag67y5ZpFJF9p8jT9/32es6sbKsdRbyjxY6xMl+DVef4i+VHsmJw80MUFZXTpPtDzI C/jPC6tN5MldUDrQitWnOcaykhPE/KBvoF6XDmXx28rmgEXcy5ZRi8ovwGtqR9AonWap Skmc7ldfTE/G1brjou0eWttnasmXsNABj0Dnc457xgSXTdUk19MK10PjnfYMmK8tOxn2 hfYB6ximbfWH4KdSvtuykLzNFhBMf06UpE+QP9FqqmYkNmbBNncVTGRgL/6UXuNIgjlE Q15LHTviUuGnzXixdOwc3Xb8f6fmHt+A3Yh7XAsMWbMKE04JNfCXp8gFraxUlxDSanq/ w5ew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=lzeU0XBdc+zW8wh83RkBlEjdf1NC4IsbDq14TpwvvIY=; b=gB+STKzh7Ubpbo67414759mBuFxAjA1GE9mc3JEvkkDg3Zdob3BU2IU1bVo6yJhy+S 7E2gPyjT2xdHw1bPKsUBF/wC7PXZf0fKd1/2aSSSGta2nxuEGMkCFHMDZZwrYdCIQ5ND R4a1uID7757wnxu6XaPvUoLI7PrK6sfhbf9wezxZMyMoHBpiWejWTm8/phk90XmbkyOh cgU6fN99zPjRid1UsfN/bT442TSJ6ZvUh12jFCvwIRVhEp2Mvixjo9MvGBkqpWhdBIZY CUjcr/lDDak/oxbAq16RH1iGMQrywenMkcuYaLsbjOe6F10i2DV6gQo7cH/8Ad5sa0Kp w1/A== X-Gm-Message-State: AOAM532uoIbjp8XvsJ94GmXiG5JBfJNMx7KBGIHnP9ywFSZBbWKIXKCe 9yrSUVTHgQjti1i7benVdX++OQ== X-Received: by 2002:a2e:8403:: with SMTP id z3mr17397142ljg.298.1630252084908; Sun, 29 Aug 2021 08:48:04 -0700 (PDT) Received: from eriador.lan ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id y5sm1481243ljd.38.2021.08.29.08.48.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Aug 2021 08:48:04 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Rob Herring , Stephen Boyd , Taniya Das , Jonathan Marek , Michael Turquette Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org, Bryan O'Donoghue , Mark Brown , Ulf Hansson , linux-kernel@vger.kernel.org Subject: [PATCH v7 7/8] clk: qcom: dispcc-sm8250: stop using mmcx regulator Date: Sun, 29 Aug 2021 18:47:56 +0300 Message-Id: <20210829154757.784699-8-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210829154757.784699-1-dmitry.baryshkov@linaro.org> References: <20210829154757.784699-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Now as the common qcom clock controller code has been taught about power domains, stop mentioning mmcx supply as a way to power up the clock controller's gdsc. Signed-off-by: Dmitry Baryshkov Reviewed-by: Bjorn Andersson --- drivers/clk/qcom/dispcc-sm8250.c | 1 - 1 file changed, 1 deletion(-) -- 2.33.0 diff --git a/drivers/clk/qcom/dispcc-sm8250.c b/drivers/clk/qcom/dispcc-sm8250.c index 108dd1249b6a..cf0bb12eb6e1 100644 --- a/drivers/clk/qcom/dispcc-sm8250.c +++ b/drivers/clk/qcom/dispcc-sm8250.c @@ -1129,7 +1129,6 @@ static struct gdsc mdss_gdsc = { }, .pwrsts = PWRSTS_OFF_ON, .flags = HW_CTRL, - .supply = "mmcx", }; static struct clk_regmap *disp_cc_sm8250_clocks[] = { From patchwork Sun Aug 29 15:47:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 504067 Delivered-To: patch@linaro.org Received: by 2002:a02:8629:0:0:0:0:0 with SMTP id e38csp1031009jai; Sun, 29 Aug 2021 08:48:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwB0RPArol5SgfvTeJxGP8MwC5T/FBIVfHbKVnkPuRqsI/AdN/qwAufMazoXm21nZD8sDwj X-Received: by 2002:a05:6402:358e:: with SMTP id y14mr12734138edc.296.1630252106143; Sun, 29 Aug 2021 08:48:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630252106; cv=none; d=google.com; s=arc-20160816; b=tZ2cLvRxRG36eU5d8QR3hGPQ+/5q70Iy4uoID4uEM9WmP2u+MNXiRSwbCPWsi5P9Qj hcasgqTqtsmQmUYBBmwaCcSh3x/D/DIVB+91+70yDIIuaWFhh9sskl4aSWvmXddvn+Xw zW8hunGmxQ5VdCFIulR3/5tzY0BKmDo873PM8lQe74PK5PYv4RrZoBMNolHjr5/B57SA RuIbfXunpdtOE4XoNYo2hi+PP1CNzgKsc+FuJ2Z+dCTqaHJU747SSk5cY+eFP4y+PRVi L9ApmMks8vlYVHxueCKGDvOoDclYaPwJGuitkDPxsEBboZXlboMYvUYx2P+KXtaPbsRW rRpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=4wYSAh/xvV+vEiBG5k8GPtuGmF+0aSivWDvc36iPGZQ=; b=brdM0WnhW6qIMreY1E7pOr4Ky4Pv/IXcny8SK1fp0wEgf/GbrfoMtA0vhh81sFoA2b hgg8AiNvszq8qDtx+6oApModraY0I6d4bYA9MH0cGtXOmRrKl35Y3mXqsLU7EhIvlDT9 memtKRIhw37DlsngSPm7JiwneJ1AqiRKGTZ49WD8fmV2JyHgNF7Mxa4gUlhrJ5EgIprX uikYzDzIrZgTbo4eLl2NXoA61wMNBNKaXuoTzHNc3YWWJrdPykFE3pZ999A7D2nGeUTq /gP7BYttih2EILZoz5gIeZqxL5gkmXUYVDltqHIEHwn93FiUiHh2rIfEG1WNEgIfFF60 Fu1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=oFewvCdk; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gb36si11908212ejc.675.2021.08.29.08.48.25; Sun, 29 Aug 2021 08:48:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=oFewvCdk; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S235777AbhH2PtG (ORCPT + 16 others); Sun, 29 Aug 2021 11:49:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53226 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235710AbhH2PtD (ORCPT ); Sun, 29 Aug 2021 11:49:03 -0400 Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 59A0CC061796 for ; Sun, 29 Aug 2021 08:48:07 -0700 (PDT) Received: by mail-lj1-x22b.google.com with SMTP id q21so21226742ljj.6 for ; Sun, 29 Aug 2021 08:48:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=4wYSAh/xvV+vEiBG5k8GPtuGmF+0aSivWDvc36iPGZQ=; b=oFewvCdk4g9bOv+QIjNC4zmNCCVpJ4x6cB+yCEq8i+MCSbhoAxNogz25a12Fa2ern7 vSmqyT1gBDB8GsA1RXGMnoRls+STihl6OB+WdLz3pPPWXqvE02fx29faNqHZOAtRaihG aBzsLXRbMY+MKe1b7JYbV9xQF5V6xZPcTPLtpOjC263R9wFwAX9ZLl+iG3eemjAkGeS8 fm5qziQqNdfLWxMMihIO1uxn2q8zcXRy+aPkUkKSfHyTZUHIt+L2UOMA0v0qZVPLSkQI nq3KCRtTjwKfw3PiNR8gDEPbnOMbSMnhsvsM4Pk4ctsiidrjjgjdiW/9/kzeyXOOWiE3 naqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=4wYSAh/xvV+vEiBG5k8GPtuGmF+0aSivWDvc36iPGZQ=; b=bGVJwFVrb5PF5VE6VW7KxtXzS9vhSU4qoMpPHLfz8P6SHaPDiZ1WsHX21t/2PKVM+o S/VsOjDADkZcZVN3JXF39uQpYLjEZDSba4pqehaka6IdnC0u027KjeoFLzcGdTjzK/qc aYavRSQdjpb/5JlSfIPFJNnHGn91kc3MOqmlSYxa+dL4rh2eeNND+H0btR2KsattKbWO S/Ms8OpoEVhVm32LgawSfcyNxFzPrdmitimC1N+9kcDdqi49KdC2VUzqKh1yMWd3e/A0 6x7FXAD0sUQBSpeexNb4UzFDJt7YYMrcVBaBFyxl/qMy2cc7JNHP6Q9zZvCIS/OWHGAj HHSw== X-Gm-Message-State: AOAM532OU41pKez8d/e5C9HLql2l7c+GXe8iKNFDJdHZRstsJLlX1DNl oyIpsbiojfsXHUShOrJrFuyQ5w== X-Received: by 2002:a05:651c:2c6:: with SMTP id f6mr16922455ljo.7.1630252085602; Sun, 29 Aug 2021 08:48:05 -0700 (PDT) Received: from eriador.lan ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id y5sm1481243ljd.38.2021.08.29.08.48.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Aug 2021 08:48:05 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Rob Herring , Stephen Boyd , Taniya Das , Jonathan Marek , Michael Turquette Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org, Bryan O'Donoghue , Mark Brown , Ulf Hansson , linux-kernel@vger.kernel.org Subject: [PATCH v7 8/8] clk: qcom: videocc-sm8250: stop using mmcx regulator Date: Sun, 29 Aug 2021 18:47:57 +0300 Message-Id: <20210829154757.784699-9-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210829154757.784699-1-dmitry.baryshkov@linaro.org> References: <20210829154757.784699-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Now as the common qcom clock controller code has been taught about power domains, stop mentioning mmcx supply as a way to power up the clock controller's gdscs. Signed-off-by: Dmitry Baryshkov Reviewed-by: Bjorn Andersson --- drivers/clk/qcom/videocc-sm8250.c | 4 ---- 1 file changed, 4 deletions(-) -- 2.33.0 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[] = {