Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp7715296rwp; Tue, 18 Jul 2023 21:59:54 -0700 (PDT) X-Google-Smtp-Source: APBJJlHX66RRCkYLg/fjgCc/CoJT+c8NSID8QdG1B/ETO8pKKc4Kyz367X2T3ofO4hIbSjUzvWlJ X-Received: by 2002:a05:620a:d95:b0:767:e231:b38f with SMTP id q21-20020a05620a0d9500b00767e231b38fmr4824945qkl.45.1689742793865; Tue, 18 Jul 2023 21:59:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689742793; cv=none; d=google.com; s=arc-20160816; b=O40IWvSsMxm/DPW0UkSumpIDWcSItmCA1kUAGjojZUFp/qluld2g/3DXL5wtpxCBf7 5GsLlfllrg0CyMtaHyiunwrln7ULx/NbJA+2W+hpRQ5hUExQnUDwbA5iScM/8J6fy75T dFxHMdepQe3WAU2cPD8oa8T61R8qZS/KXLbNBgPfXtFLzIoYvm1CJj2VMztEeafYSHdL sFhQ1jPSSbAASBQCdkxl7CXJXJ/iBr9IrBpg6HIv6MREKNkaJu9Y4bu1xW85tb3YYrJr uGp90ns0yGzPlORKH1f/TZaeVrUC2shNL3gtRl1+ic6SxcSGmkIFI2G7HgY/xldbhIh/ ZMqA== 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=+HG0PHpG4Sk3k7Z/cvq3Ox0pIVAq9VNAd1LSvmyrszY=; fh=NunHP3Flr+cCv8bwW6vlYnwDvVg/939akkf7WUBIuEQ=; b=ji+tY69Ku9cTHHjupjGUNqGXl92+WJighJGTKFG/lJKr3YYirtMgEdIwn06pOwiN7K JEdEyAQadz4qSkQu0mt2nST1LWPw7hXeiz2/62t20fNfLy+hS4kvGl7HOpIe8kIO+kNw NLmawJcUD4SNWFXzyus4ZrwnnnOYwck5vSmRDbz9lI6/NvWK+u6dGz4kqdM1/6YdsTJ6 8anlncgu92paiTMko6syje0UPAiH/Hc7tGFJhHLj1VU8lpOJKi0WPj5cK3Ae81s1LnDg hm0liy1tLMqZ8sPM5DNYuc9SOetoqK3tQSdXee3BE+75K08pjXbnVwMO4/gr+tJFv0RS nWRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=kUZHZa9V; 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=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o24-20020a17090ac71800b00262ff3a4545si675249pjt.169.2023.07.18.21.59.39; Tue, 18 Jul 2023 21:59:53 -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=@quicinc.com header.s=qcppdkim1 header.b=kUZHZa9V; 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=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229761AbjGSEQk (ORCPT + 99 others); Wed, 19 Jul 2023 00:16:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33866 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230339AbjGSEQW (ORCPT ); Wed, 19 Jul 2023 00:16:22 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A43231996; Tue, 18 Jul 2023 21:15:58 -0700 (PDT) Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 36J3JTKQ016619; Wed, 19 Jul 2023 04:15:52 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=qcppdkim1; bh=+HG0PHpG4Sk3k7Z/cvq3Ox0pIVAq9VNAd1LSvmyrszY=; b=kUZHZa9Vhyctnd44zHQ4zbNcBEOKL6WEWEcj72VoXqePinYEGfErgg0DzxpJLO8XYK84 QHn709uQD9ZL1r8bSBz02dVG+aiCZAAhJG8Lg0R/iUohoMgT6gC/QcFo0R90s/DTIphv fE6KgP+ZisJl/4WlP5DGvIUCzhc2o8WA9AP9Yxt3C0cF0BnCe/6EMqAM+HX2cYzciKGA m143LH/10G3Chxl4F8TWeoww3wPxPDgpFf92oKfwzZiTx0V9Yp1cF80gc97J/PbY92jP 2OaxaUKHktuJHWGOPWjGMNBA0h8uuyPb98nWRCqpCt+Ybvxbk+0xpZI8BXvvVCAgM00x /w== Received: from nasanppmta04.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3rwpphjc83-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 19 Jul 2023 04:15:52 +0000 Received: from nasanex01a.na.qualcomm.com (nasanex01a.na.qualcomm.com [10.52.223.231]) by NASANPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 36J4Fplv000933 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 19 Jul 2023 04:15:51 GMT Received: from hu-imrashai-hyd.qualcomm.com (10.80.80.8) by nasanex01a.na.qualcomm.com (10.52.223.231) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.30; Tue, 18 Jul 2023 21:15:46 -0700 From: Imran Shaik To: Andy Gross , Konrad Dybcio , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: Bjorn Andersson , Taniya Das , Imran Shaik , "Melody Olvera" , Dmitry Baryshkov , , , , , Jagadeesh Kona , Satya Priya Kakitapalli , Ajit Pandey Subject: [PATCH V4 6/7] clk: qcom: gcc-qdu1000: Update the SDCC clock RCG ops Date: Wed, 19 Jul 2023 09:44:49 +0530 Message-ID: <20230719041450.737929-7-quic_imrashai@quicinc.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230719041450.737929-1-quic_imrashai@quicinc.com> References: <20230719041450.737929-1-quic_imrashai@quicinc.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nasanex01a.na.qualcomm.com (10.52.223.231) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: gdEcI83EUPAhBWXamCxC9CnYBJc8gNS5 X-Proofpoint-ORIG-GUID: gdEcI83EUPAhBWXamCxC9CnYBJc8gNS5 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-07-19_01,2023-07-18_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 adultscore=0 priorityscore=1501 impostorscore=0 spamscore=0 clxscore=1011 bulkscore=0 mlxlogscore=899 malwarescore=0 mlxscore=0 suspectscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2307190039 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_BLOCKED, 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 Update the GCC SDCC clock RCG ops to floor_ops to avoid the overclocking issues on QDU1000 and QRU1000 SoCs. Co-developed-by: Taniya Das Signed-off-by: Taniya Das Signed-off-by: Imran Shaik --- Changes since v3: - Split the patch as per the review comments - Newly added drivers/clk/qcom/gcc-qdu1000.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/qcom/gcc-qdu1000.c b/drivers/clk/qcom/gcc-qdu1000.c index 718c34dca6e8..540577ae58e4 100644 --- a/drivers/clk/qcom/gcc-qdu1000.c +++ b/drivers/clk/qcom/gcc-qdu1000.c @@ -903,7 +903,7 @@ static struct clk_rcg2 gcc_sdcc5_apps_clk_src = { .name = "gcc_sdcc5_apps_clk_src", .parent_data = gcc_parent_data_8, .num_parents = ARRAY_SIZE(gcc_parent_data_8), - .ops = &clk_rcg2_ops, + .ops = &clk_rcg2_floor_ops, }, }; @@ -922,7 +922,7 @@ static struct clk_rcg2 gcc_sdcc5_ice_core_clk_src = { .name = "gcc_sdcc5_ice_core_clk_src", .parent_data = gcc_parent_data_2, .num_parents = ARRAY_SIZE(gcc_parent_data_2), - .ops = &clk_rcg2_ops, + .ops = &clk_rcg2_floor_ops, }, }; -- 2.25.1