Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp6992305rwr; Tue, 25 Apr 2023 06:50:20 -0700 (PDT) X-Google-Smtp-Source: AKy350ZonuyNvEO0XpOV4DXwp+eZT8sFgoZMD4xEFlc6j3FCGIxLaRRD5dvEwNF2IHGg0dx/dw9e X-Received: by 2002:a17:90b:1d09:b0:246:b60a:290b with SMTP id on9-20020a17090b1d0900b00246b60a290bmr16950940pjb.21.1682430620265; Tue, 25 Apr 2023 06:50:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682430620; cv=none; d=google.com; s=arc-20160816; b=Kj+lHmX6MaWgwKe13nUThAhDmFtc62WVtPT8xOvqu8hNatDGspZsBwSjBgmQ89bsnc ehplXCoOj6Vbyqxpl8BR1H8nzotCphrY9iaHkyew/EsUCgvyq1nq5bFaQNC18y5rm8rN AN2wr0qAw9/XFTrGnAp+ZAvFL/jRg/0akA1bJbgkFEUdKIDDxdWtJ5hlR0Syz4i6XNoi QWk2XglXGSCxOuOv7xvQnm3rdVNAP8+1dQ3gRErdNYgThoQiof6T0DQT/HW4n6wtPykV ryfm6bOYsnRakKpOPVhH8mg6bTiSOuNz5Mkb6vATzZ5qJTroxNHpacyjzsAstDbmF84h 4bbQ== 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 :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=JEdRBIVNpKBeEtTf2V0pnx1RgdetECiJy/vNAh6/A7o=; b=PK5CFHnO1NvSpqftXo2xI8XnvaaY7YxvvRjnP44HYcNEdGgAE9RfgWFzoEGcPejyCr q+iabclvH+im72sh5mTJlUcQtOzVP9WLpZrD8fZS6rO9B3KMADPJwIW8ScCxTlrPuJ32 SPN3QVKmsxVBgk3EhRij6mwhC5F+4aMjL+kXKpX8bRiXtWaRACw5ljpr61AC/6JYWYZY PpAAPB3ymPwVxooViQlyE+jXFdWB6GF03EPswi7ayq5rT2zLmacqH8T/tvKW5K//yQUK pKfRs236+MCenFRJeohcpA01OUyeHMLe5KMnTrRX/hDo8swMHDo3fdWyuYCVRpnZLVo5 8deQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zIolGGcN; 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 x5-20020a17090a1f8500b0024681cc291csi16433914pja.88.2023.04.25.06.50.07; Tue, 25 Apr 2023 06:50:20 -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=zIolGGcN; 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 S234214AbjDYNoS (ORCPT + 99 others); Tue, 25 Apr 2023 09:44:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41142 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234127AbjDYNoP (ORCPT ); Tue, 25 Apr 2023 09:44:15 -0400 Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 015D913FB7 for ; Tue, 25 Apr 2023 06:44:14 -0700 (PDT) Received: by mail-ej1-x62f.google.com with SMTP id a640c23a62f3a-94f3df30043so913130866b.2 for ; Tue, 25 Apr 2023 06:44:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1682430252; x=1685022252; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=JEdRBIVNpKBeEtTf2V0pnx1RgdetECiJy/vNAh6/A7o=; b=zIolGGcNUZTwywYcnLd5gqq5D3pbP7tkeR2DRJ3pKeTVfgPYKRGBtODmkfILSPA4pI YZhuwhg7e8wjeseolpX77bUzWSm+VgjCgeM1vVHRaYLDlnLivVDPK9bVu89epyIxJRA6 M0XlVroEMB7vD2p9SV4kGuk6wGYpcCq9nSTWlO4ovZjmXerrAc4Y1sCS2R9dXDTFuVaW ZZs9XDZ8Sjq2g+jfCKz/mpt1N2mzeMHwebC89X/B+38ymcRi7efAAXFX0AlxZWJtT/8D pJjc8DHS66RLSJT63bZ96ciaUn8VXJO0AocDTnSJW2Zq9jK1nciUKI8zUngy8X4pkjlm caNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682430252; x=1685022252; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=JEdRBIVNpKBeEtTf2V0pnx1RgdetECiJy/vNAh6/A7o=; b=Dlh6OLvTzsoktXZZxQ0/AdvZ2DPVUGC1MZLp7f9iboChjy+C3j9vsnqdY2Ia8/gHYq GP2yncyqyN0sJi8MVh58J3+6HG9+4F5Eiqz7vGEAloMwzD1i0u5Pk2hhF6m2MbIF9S6k 6kAfiBqTqBxxc8VVVbpl3d3FN7LOjezwwGcmusWs8G+8l2/oVHW6B0zd5eREp7w9d8cj 7cS03fzGY6SW8B6yTwRsWLhefMo+GDtrpSS4GJaTVclVrsiieuvhBUTpXT2WTeGyXZO1 5ZG6ZtPmhAvzh3nAtgObrjD40m0TSPb909b7jkdQd6doLoguJJTMwTvUAjS3xpwIK/FA rmug== X-Gm-Message-State: AAQBX9e3viybxaHjRy7YKZQ8xUWwLIIKtDpPBvbXXSNlFxzSQRP9fAkd /cvwIvJWVZ8p5TZg9P7B2jUsmw== X-Received: by 2002:a17:906:a3da:b0:94f:2b80:f3b4 with SMTP id ca26-20020a170906a3da00b0094f2b80f3b4mr14085813ejb.69.1682430252333; Tue, 25 Apr 2023 06:44:12 -0700 (PDT) Received: from [172.23.2.104] ([195.167.132.10]) by smtp.gmail.com with ESMTPSA id jo2-20020a170906f6c200b009538cc79241sm6835561ejb.56.2023.04.25.06.44.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 25 Apr 2023 06:44:11 -0700 (PDT) Message-ID: <094e0cec-5a9b-abfc-74b0-9d3af10f9275@linaro.org> Date: Tue, 25 Apr 2023 14:44:10 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux aarch64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH v2] clk: qcom: gcc-ipq6018: Use floor ops for sdcc clocks To: Mantas Pucka , Bjorn Andersson , Andy Gross , Michael Turquette , Stephen Boyd Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org References: <1682413909-24927-1-git-send-email-mantas@8devices.com> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <1682413909-24927-1-git-send-email-mantas@8devices.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.5 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,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 4/25/23 10:11, Mantas Pucka wrote: > SDCC clocks must be rounded down to avoid overclocking the controller. > > Fixes: d9db07f088af ("clk: qcom: Add ipq6018 Global Clock Controller support") > Signed-off-by: Mantas Pucka > --- Reviewed-by: Konrad Dybcio Konrad > v2: remove unnecessary newline in commit message > > drivers/clk/qcom/gcc-ipq6018.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/clk/qcom/gcc-ipq6018.c b/drivers/clk/qcom/gcc-ipq6018.c > index 3f9c2f61a5d9..5c5d1b04ea7a 100644 > --- a/drivers/clk/qcom/gcc-ipq6018.c > +++ b/drivers/clk/qcom/gcc-ipq6018.c > @@ -1654,7 +1654,7 @@ static struct clk_rcg2 sdcc1_apps_clk_src = { > .name = "sdcc1_apps_clk_src", > .parent_data = gcc_xo_gpll0_gpll2_gpll0_out_main_div2, > .num_parents = 4, > - .ops = &clk_rcg2_ops, > + .ops = &clk_rcg2_floor_ops, > }, > }; >