Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp1134768rdb; Sat, 18 Nov 2023 04:42:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IEHo+pIes8JQo639WceyMWJMBpIuKl3d1tiNq/WCfr5iWDWd2fezOgPRIEp68OY0nK5Cc9D X-Received: by 2002:a05:6a20:4416:b0:187:4ee0:e95e with SMTP id ce22-20020a056a20441600b001874ee0e95emr1870084pzb.52.1700311330844; Sat, 18 Nov 2023 04:42:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700311330; cv=none; d=google.com; s=arc-20160816; b=HFTmncJ79YPGvXnYaDc0ugfK3EvdXmVBBZTf3jpFUTRDyV7OLU/Gs77+OUKI3eVIID D81AE9TiwoluBIUdA+46ZB0UpHxkR0i0Yb/UHyV8mZnOfuyjCF2hDoVv3LwYwNTBGQ/v yD88ZZg7PXNRtZ+4dPL9NtYqpEkYlhnhOfVBKzCVNRBnzoMZCvhb37q/7npgRFFgf09/ GQ7cUBt2V2m3kEJVT6ADP04w+z9RUDzxfoi5JZzN8XKH9MqDvrt1K6wk/oSqN0HkJuxS FHuOggc1yQmoTa1oTd2t0MbcJeO4/QDcDEf+87ENuLtMUDX7RvQ8iVlXaQsket7iCFhm JJ/g== 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=7pyLZC2OJiC/WTo3XY9S3IyFJgeBWxFVzqYI9/bfdDo=; fh=+m9/lAUL9fgAGo879ADePrrd+KdH9OKy7FCt3iNte/M=; b=kKnYyJMdu+VWHDRf0lmgYuwRAiu3LXud4jij/qLoDG36pM+oZSSwaQDG5tQNTQ0OAM bqcxenNcr8Z+V0CNtGU0xyAaX9yUAqshO2OLM3GL+6zDiL2tYw9WIjiaUxj4w59Hjl17 TVTmjwy2bHuHtIloJ73ohK9AGTmYsispMrlNaKn1bDZ4+1Cq2iMcT8khc+GjZ4IyqDBd nwQibc7l3oQNenthhEniSN+yp9Z2ucUX/w98WkOU8IJi7ObUbzKaR87ynyMcER0fn1xi uYhQZe8xQ2U11CLTTxCh9X4gEeqxmCQLMEr6v8H3P/kfIpMyZ+Rs5nz/OTl1kSZ+J0IG uUVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=PacKQdCk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id x18-20020a170902ea9200b001ce08dcbb84si3999397plb.614.2023.11.18.04.42.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Nov 2023 04:42:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=PacKQdCk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id A75B680941D9; Sat, 18 Nov 2023 04:40:58 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229687AbjKRMks (ORCPT + 99 others); Sat, 18 Nov 2023 07:40:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229735AbjKRMkn (ORCPT ); Sat, 18 Nov 2023 07:40:43 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6BE26129; Sat, 18 Nov 2023 04:40:40 -0800 (PST) Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3AICRE3T031520; Sat, 18 Nov 2023 12:40:37 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=7pyLZC2OJiC/WTo3XY9S3IyFJgeBWxFVzqYI9/bfdDo=; b=PacKQdCkcXYbg2CvZ0rIg2OelRr0uGgfVtjIdQGMGEzDwzEFiL/hrFPMA8GIJl8FPcpX j4g9nlJy/qghVwBneH0HSNsVjzp+6WZK7lwnCWRAJLsSE02txuEnu0MNmOALPtVHRvjF 16g9LhRA7UUFyEa9XYnfHttYdE6ioWQu4HWm624uz1ByZ2NHDFXI+XBeMUJHZNEt7jNE e7fPQ0bhMOQDRmr1LpQuk9+S5xw2qpYDi2HnkyCIyHzL9aTwY3dtsq7YlZ4p9pSN1o0h lclOD6IoIaC8L5Rfz5BichgRK2XvOzr2tXHONfEVrYNdK5azbs//DxIDRZYn+sYy8tph Hw== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3uem80gkxe-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 18 Nov 2023 12:40:37 +0000 Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3AICeaEa003717 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 18 Nov 2023 12:40:36 GMT Received: from hu-skakitap-hyd.qualcomm.com (10.80.80.8) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Sat, 18 Nov 2023 04:40:32 -0800 From: Satya Priya Kakitapalli To: Andy Gross , Konrad Dybcio , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: , , , , Bjorn Andersson , Bryan O'Donoghue , "Satya Priya Kakitapalli" Subject: [PATCH V2 3/4] clk: qcom: videocc-sm8150: Add missing PLL config property Date: Sat, 18 Nov 2023 18:09:43 +0530 Message-ID: <20231118123944.2202630-4-quic_skakitap@quicinc.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231118123944.2202630-1-quic_skakitap@quicinc.com> References: <20231118123944.2202630-1-quic_skakitap@quicinc.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: HJKFSmZh_gMApcojJ5_WFhf_O0COMewS X-Proofpoint-ORIG-GUID: HJKFSmZh_gMApcojJ5_WFhf_O0COMewS X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.987,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-11-18_11,2023-11-17_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 mlxlogscore=999 adultscore=0 priorityscore=1501 phishscore=0 malwarescore=0 impostorscore=0 lowpriorityscore=0 mlxscore=0 spamscore=0 bulkscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2311180095 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Sat, 18 Nov 2023 04:40:58 -0800 (PST) When the driver was ported upstream, PLL test_ctl_hi1 register value was omitted. Add it to ensure the PLLs are fully configured. Fixes: 5658e8cf1a8a ("clk: qcom: add video clock controller driver for SM8150") Signed-off-by: Satya Priya Kakitapalli --- Changes since v1: - Removed updating the test_ctl_hi_val, because as per latest HW recommendation its value is 0x0 which is same as PoR and hence no need to update it. - Keeping test_ctl_hi1_val same as before(v1). drivers/clk/qcom/videocc-sm8150.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/qcom/videocc-sm8150.c b/drivers/clk/qcom/videocc-sm8150.c index 6a5f89f53da8..52a9a453a143 100644 --- a/drivers/clk/qcom/videocc-sm8150.c +++ b/drivers/clk/qcom/videocc-sm8150.c @@ -33,6 +33,7 @@ static struct alpha_pll_config video_pll0_config = { .config_ctl_val = 0x20485699, .config_ctl_hi_val = 0x00002267, .config_ctl_hi1_val = 0x00000024, + .test_ctl_hi1_val = 0x00000020, .user_ctl_val = 0x00000000, .user_ctl_hi_val = 0x00000805, .user_ctl_hi1_val = 0x000000D0, -- 2.25.1