From patchwork Fri May 12 21:17:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 681331 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 32B93C87FDE for ; Fri, 12 May 2023 21:18:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240475AbjELVSM (ORCPT ); Fri, 12 May 2023 17:18:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46694 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240474AbjELVSL (ORCPT ); Fri, 12 May 2023 17:18:11 -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 EC7C0A241 for ; Fri, 12 May 2023 14:17:43 -0700 (PDT) Received: by mail-lf1-x12a.google.com with SMTP id 2adb3069b0e04-4f22908a082so8717966e87.1 for ; Fri, 12 May 2023 14:17:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683926256; x=1686518256; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=CWMNT07qFC9FaIB+soq8G5lluprlR23tOWvaEOZLetQ=; b=xGkf7Yi3OIiGFV91nPGgt18I+T0503XjRKGxK2k/JT28kZnh08aTZbshpCNv6waKry hrGOgYzF/5EXKSaoa8OcYmvLR8UhOL2wF+piuJvLLjb9m2+giFem5G4lpeZm7SfnSQ3C e8PWItpiiy8pg5i9/dFDIhwFaqZCFxMrUKrCr3t6Sbq8xWQGnaJQ7hRP6p2MoOml6Tfu mtrZblOh3PS9F/0vgslq5KSuGnGy+5mXdmqtqOg60lKhm3KUWXYDOogCh/rUyYddFQGH Tj5ASM3wXb5E/Yxyxy87R/zCrKxKvoTieJ8o5L/3a/MVw2r4uue+WEtoqR7I6g2CURlq q/Nw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683926256; x=1686518256; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=CWMNT07qFC9FaIB+soq8G5lluprlR23tOWvaEOZLetQ=; b=kXnRtTwphq1FD+Jh8bleykyJXxdcH3yirChixkBdSn7U9n0jG7BR8rC/U/+6JyUCRB uCB0qyhgxz0O2zBgW/Nyz8qykc5hfVeWx1IxZa46Q6JUmX86hiEA+KJear+xJHiZO7sZ yEbbF9TaXX+uSyI+rjZRF+aTZgQttVVDGTYE+SnIigoptQl3omfV1DvB4uMogbs0UsPP GQCWG0CjoEeR8Gq284ydGUxoZvCIxhM1UfT4oJnVqhvqBbxnV1lNIFZ4o5dcydktMcmw bCfNyAatFWhyVD8RB69FQdo3Di9QX2Ydmh5rVio3uRcpWmnoGst6BqmrNAZrzGwScEut cWFg== X-Gm-Message-State: AC+VfDyIWk1O5+IvM6amA/1l3WD2tJsF0ig70lc1b8Jr562VA8VBiW0U t2Vm1co0+3rcQZueNZQ9AdUuVA== X-Google-Smtp-Source: ACHHUZ5zrLF+O/LpG2j37bluYQcdJUzTojWzv2VX0mN4f2ln7RSXN8FFUz5mLA7bn9yLm4apZ65wqA== X-Received: by 2002:ac2:546b:0:b0:4ed:b329:5d85 with SMTP id e11-20020ac2546b000000b004edb3295d85mr4006830lfn.15.1683926255710; Fri, 12 May 2023 14:17:35 -0700 (PDT) Received: from umbar.unikie.fi ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id w4-20020ac254a4000000b004edafe3f8dbsm1590363lfk.11.2023.05.12.14.17.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 May 2023 14:17:35 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Stephen Boyd , Michael Turquette , Rob Herring , Krzysztof Kozlowski , Taniya Das Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, Neil Armstrong Subject: [PATCH v3 08/10] clk: qcom: gcc-mdm9615: drop the cxo clock Date: Sat, 13 May 2023 00:17:25 +0300 Message-Id: <20230512211727.3445575-9-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230512211727.3445575-1-dmitry.baryshkov@linaro.org> References: <20230512211727.3445575-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The gcc and lcc devices have been switched to the DT-defined cxo_board clock. Now we can drop the manually defined cxo clock. Reviewed-by: Neil Armstrong Signed-off-by: Dmitry Baryshkov Reviewed-by: Konrad Dybcio --- drivers/clk/qcom/gcc-mdm9615.c | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/drivers/clk/qcom/gcc-mdm9615.c b/drivers/clk/qcom/gcc-mdm9615.c index 458c18b639db..64d4f508e43a 100644 --- a/drivers/clk/qcom/gcc-mdm9615.c +++ b/drivers/clk/qcom/gcc-mdm9615.c @@ -26,17 +26,6 @@ #include "clk-branch.h" #include "reset.h" -static struct clk_fixed_factor cxo = { - .mult = 1, - .div = 1, - .hw.init = &(struct clk_init_data){ - .name = "cxo", - .parent_names = (const char *[]){ "cxo_board" }, - .num_parents = 1, - .ops = &clk_fixed_factor_ops, - }, -}; - enum { DT_CXO, DT_PLL4, @@ -1623,10 +1612,6 @@ static struct clk_branch ebi2_aon_clk = { }, }; -static struct clk_hw *gcc_mdm9615_hws[] = { - &cxo.hw, -}; - static struct clk_regmap *gcc_mdm9615_clks[] = { [PLL0] = &pll0.clkr, [PLL0_VOTE] = &pll0_vote, @@ -1736,8 +1721,6 @@ static const struct qcom_cc_desc gcc_mdm9615_desc = { .num_clks = ARRAY_SIZE(gcc_mdm9615_clks), .resets = gcc_mdm9615_resets, .num_resets = ARRAY_SIZE(gcc_mdm9615_resets), - .clk_hws = gcc_mdm9615_hws, - .num_clk_hws = ARRAY_SIZE(gcc_mdm9615_hws), }; static const struct of_device_id gcc_mdm9615_match_table[] = {