From patchwork Wed Jul 13 14:32:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 12916847 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9A59BC433EF for ; Wed, 13 Jul 2022 14:32:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236548AbiGMOcV (ORCPT ); Wed, 13 Jul 2022 10:32:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38320 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236491AbiGMOcU (ORCPT ); Wed, 13 Jul 2022 10:32:20 -0400 Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1AD10371B9 for ; Wed, 13 Jul 2022 07:32:18 -0700 (PDT) Received: by mail-ej1-x633.google.com with SMTP id z23so3646580eju.8 for ; Wed, 13 Jul 2022 07:32:18 -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:mime-version :content-transfer-encoding; bh=Y0Ax0PdKtlmgzbmNbUhdLibkqTiXlSi4GkpYNg2JX4o=; b=bhIAzdm2Lk25zrx8rWtQxYw4bytPtsGCTma3ouKJDy/7t8d10zxSzPzBU7YT7y6ESl SvyXrn3ipOnWCcLZSw7FdJFIi05yKCQbBiiaGiA3YKk+Ajb7ZD7rmCh9RInO6LJrx91+ 23rmy9eZhM1BJleZZ0vBXMGbroTphk7SxXFUjss/bBbHQSwW6xXMswAQPOFJBn6VTwm8 AkLc6D2VH0GOSV/N2EWaifCDu1MfS1eOBFUynvOdLz793srhlHVfYT0mkhqEAnU+IBtx c8vGg6fxbHfW++cGg+2BOdj7EQ0D3p0dXVBP6Cy8cG0kQzhp08I/CSas3N9TaOSBYC7B 3PRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Y0Ax0PdKtlmgzbmNbUhdLibkqTiXlSi4GkpYNg2JX4o=; b=lKAtmbo1z/miRnThjbixjG2T2PUosKBbiYGeh8KiVmBGZSAqG42EznMW+V3KqsDbpL ftZPmUvXg0iR08wRRbvUGmirFaHzNnxth2eyu4SPhga3z8QnvvWSm0HrOJ0qYxx3MrIT lqykrM++QguArt0Naew4ywrd6+ddq5jwDXDyj29QYgwzrlfDIKoTh61WxLkPUOwusTud 6KiCN+Qr3ZAZ532wTX+HS5PJ1xIZ2XuflPWSmggsb7QHULyYvsTZ1v4pKQXnC3jgDaVX UmZZ75sl9IdF6iYgKwEoi3i9yXYYgg9NTnu16Ct2vzl8jCtjHRngZpgI5/CP3zCRT9Hy PP8w== X-Gm-Message-State: AJIora9+NT6Q9ciHCeHd8ngCHaT9R5tA0rZ7ptUKfKDDEiZGyZ2WMpHQ C5U5NAUAl5QNcNVHx8Tx/8/Ugw== X-Google-Smtp-Source: AGRyM1tNOcFC6J6ie9N0++h/j65gss5vtM22Su6a8LM5NN2uZQk4leASWHsI8kAvCVTfGMqZq5QJ0Q== X-Received: by 2002:a17:907:7f24:b0:72b:8e8e:11e with SMTP id qf36-20020a1709077f2400b0072b8e8e011emr3590198ejc.429.1657722736681; Wed, 13 Jul 2022 07:32:16 -0700 (PDT) Received: from localhost.localdomain ([94.52.112.99]) by smtp.gmail.com with ESMTPSA id o24-20020a170906769800b00726abf9a32bsm5034731ejm.138.2022.07.13.07.32.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jul 2022 07:32:16 -0700 (PDT) From: Abel Vesa To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Dmitry Baryshkov Cc: Mike Turquette , Stephen Boyd , Ulf Hansson , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, Linux Kernel Mailing List , Abel Vesa Subject: [PATCH] clk: qcom: Drop mmcx gdsc supply for dispcc and videocc Date: Wed, 13 Jul 2022 17:32:00 +0300 Message-Id: <20220713143200.3686765-1-abel.vesa@linaro.org> X-Mailer: git-send-email 2.34.3 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org 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 Reviewed-by: Bjorn Andersson Reviewed-by: Dmitry Baryshkov --- 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[] = {