From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 20CE3443C0F for ; Thu, 8 Oct 2026 08:10:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791447056; cv=none; b=uDS7FhkksA0lyIYzPLbpMMXTuvXgQPg5lwJF/zwpvNiXkX6QUcDF+fMYNjxWtxjaME5a3qLTcDiXmttJPwbBwqXNE7+0ehUX5CBk50sVn6nlni4muNRYIJhlUbQr+TzjhCo6eypmW76TbyiLUi1YXoE35aWbpbm7i3YT+stdRlE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791447056; c=relaxed/simple; bh=CUnTFCHWUAyjtA1bNUK8pNRsYyQp335W7fx2Ye2Gdj4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=IKWqn+WWsz3CLtPxHSl/KZikcTPFUoLS+xlkYnDgdGDTehCfOQ+k8b3VgngsllvKwxWWy9Y5/vspJYZxpgd6VmFV9EqP4z+sv5cuLlEOXZe9CqlLOfTGQg6U1gPMXZzAJ4XsR0xoTLG2RVitW57uhT7aMKlOymwQCut4rZSTRKg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=YikxjXnJ; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=MMM3tmIl; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="YikxjXnJ"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="MMM3tmIl" Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6987KLKk1845627 for ; Thu, 8 Oct 2026 08:10:54 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:message-id:mime-version :subject:to; s=qcppdkim1; bh=0EFWsqiQ3Oi0MxXAuNF7sFIUEOzc5RyDT65 jmaJtpiY=; b=YikxjXnJgaVl/qCOF6xg6xlq7Bbs7uvGxl85u8njEta4u2B5/Ym 9VFA6V3nfjElket2ZlvkLGFy+og+mPv8xynt7HKfkJiNBTYhexSXHlXbyYuQ1uGj 59WXeD0zYyZ92FN8/PqwdNC4gbTTZpUnANK2DKXFsj4L/AYMBVEadHAlfSeU/dSz Kx4Jbd9h7CWWz5YPgguY71B4l9yqFH5+4UR00wYX5EFzykVKasAZaM6G0XgM/DX+ tMdsfYWS190Av/Xa5xwSTYbOeUJrmmNikBFEECh6L0sDY03UQE/KJZNQzxYXp1A6 ueidlkSHw8eamJnkTzbpS7yHnGM0qdXhyow== Received: from mail-dy1-f199.google.com (mail-dy1-f199.google.com [74.125.82.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4h5xe3hxt4-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Thu, 08 Oct 2026 08:10:53 +0000 (GMT) Received: by mail-dy1-f199.google.com with SMTP id 5a478bee46e88-3510d0baf63so10247250eec.1 for ; Thu, 08 Oct 2026 01:10:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1791447053; x=1792051853; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=0EFWsqiQ3Oi0MxXAuNF7sFIUEOzc5RyDT65jmaJtpiY=; b=MMM3tmIlKr5vX/Z3js5n+egJlInX0wqurOsh8XIYy+lSJ8GON/JRTeHuT2PNpAcRVJ AoIDbIE5MPZ1lpgetMG7xPeOP92lPtwH5X+60AW6DBwMx8ZBnHgWQia0EA9LqsvXgUI0 fivyWYszBjH8KXyt4YKo9dG8G9VHhGPRy5W0Ct9orIj/0znVrVqRy6NTQTi5xCiucBCT KQa9oGvxwNM6p5oNoG5V9/2BtSta6Tgn3FOwuwUiWLNso3HUDafhDJHoXERA5WfX0VK0 Gr4SqzSKWITDpd1Qwj7Uf+rGljJVxfrVleQ+hbUbywb/uP+TbjNZWIZSNa2zeDAjOhda iGrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1791447053; x=1792051853; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=0EFWsqiQ3Oi0MxXAuNF7sFIUEOzc5RyDT65jmaJtpiY=; b=U+BG1yb4pniws5o8fbWJGoZJ3uWEiotbQn+3WXGENUSlv/FI0GTetDABSARGPOOsCq cjzSXjPF938gqwnsg66Sli3pH9Vn76mikn/0D+CQLZJB0TaxyFyRNtcMBVgHU0sMESuI /7Bi932UQ4Aep5Oyw/T0cLiOx4kubBncM67tBddsg8ADpVMmVf5ZqxXPdt0tNBNYX0dB ln+pmpvFyV7ucvAR6rjTFLE2e0VqkPoGCII8cyFGgrr4ytRcXrRusDcZq8mX6N8hANrr eeNPgh/EKFZLpLYFwwsYfemWG99aJHMqSWsHsabDoV7J5WmGU988xS7LSUWjGjQZpxCM nGhQ== X-Forwarded-Encrypted: i=1; AKwUvBzHzzm2Tzn+lImKnSXa2HhaSRm9RnVXspxOgxwIz3tQC7gbHtNH8jdUk/94u50YFzb/ulr1I/ZG30HvVqs=@vger.kernel.org X-Gm-Message-State: AFuF++meFnUBj7yvsPx0e+p6EML4/ACrJpQn0nWKCw3ECPcMJEzmFNkx 2HPmj9xAGkb3RVDySdG/6KqPb1gsJem99fMr9I+QtlMWoZ/MLZz92O6uolb1J0MYgj9zuh8bXSY ZXWBKQxQLH3rRZ6TjNImemv4x/h8i/UKq91Ti3zgBS+L+dkoazqAJdzpXON6uLIcRb7s= X-Gm-Gg: AYBFou0O6dmCTfRIsWvbHLGF0CswKY/ZQTdGMzOQ+8M5XI0y0SJrbnHKxa7PwWEDMGS 9ROX76WQtYs/WYuMwfJN9bypf4RcFfGYEoyGXlxk48jGG4PfNr1tCDW+XxKYX/Y5emu+5RcVG9t CZpcB75h8+Ajlm3EglIRyM46DrJe41+K0og/CdMxtqKg2S8aUfaj8zjR3JTzrOit40W9sqjFAUW mdTalPkUzq12Dl3ZyMjmZf4KWFxZ5nKMcnKt3ok3pjXyFU2mREVY2HkmakdXy8UR8Ogtzw+pIEO 3FMY8R0ZCOobfBf/0xpb0lQgcpmB2d7itQM7EAo8YBpHf8otEHmj0FstNpRkoEbkBS8l9O28h7B 2LoqnoUMUZu953OhnqAtHM27Rivg2KQerXvl+zqbZfr6rbrawl3cxDrp7ezo= X-Received: by 2002:a05:7022:699d:b0:143:54c6:6a5 with SMTP id a92af1059eb24-16208807c77mr7082233c88.37.1791447052638; Thu, 08 Oct 2026 01:10:52 -0700 (PDT) X-Received: by 2002:a05:7022:699d:b0:143:54c6:6a5 with SMTP id a92af1059eb24-16208807c77mr7082193c88.37.1791447051951; Thu, 08 Oct 2026 01:10:51 -0700 (PDT) Received: from QCOM-aGQu4IUr3Y.qualcomm.com (i-global052.qualcomm.com. [199.106.103.52]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-16166121f2asm14522277c88.4.2026.10.08.01.10.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Oct 2026 01:10:51 -0700 (PDT) From: Shawn Guo To: Bjorn Andersson Cc: Abel Vesa , Stephen Boyd , Brian Masney , Jerome Brunet , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Konrad Dybcio , Taniya Das , Jagadeesh Kona , Bryan O'Donoghue , Bartosz Golaszewski , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Shawn Guo Subject: [PATCH v2 0/4] qcom: videocc: Fix sleep clock on Glymur/SM8750/Nord Date: Thu, 8 Oct 2026 16:10:32 +0800 Message-ID: <20261008081036.3492003-1-shengchao.guo@oss.qualcomm.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Proofpoint-Spam-Info: AW1haW4tMjYxMDA4MDAzMiBTYWx0ZWRfXxDREvH72BwWv UpwTH4VB3rc6H0HjaUQte/MIEOGuVzjmCfKfVP+5ja5ERs5USz5YT+vYZhgfoPSP+yERXyluYdl d+o1vkbRe+Fbe3ftw3O9hX5TKrS9/Yg= X-Proofpoint-ORIG-GUID: M2uLqIaiDvTKA9tDr-1elc_KbZEuAkTE X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMDA4MDAzMiBTYWx0ZWRfX507IbJRhj/8o l9Om6CFLPCRsUbNZSGKdbtunxviIdRceTTG230oWHp9cQL7F7kd16N+O96RYtoaoZ0kPYtr1tE8 LOYieYnJQGwU0d3btsrSceB72sh7aSMy2VwcOirmFBrUwVvI2xSs9pEB96sXWWAW7Ukc8XWLoUf Bd28jItByIf3OT1hEgEXtgw+cuRnxnq4A9g3vhUbqd/G5YvQCB5ToayhJJvfhSHiBMgvzIn7qSF Affq+LQEhbO01CQXV1pLRFiOSPnjCbzqO6oSTaEQhrZ14leEuJUVzFKiot4UywrvlMSFb/e05+g +wsuQghIoTr9MdBuE6Qc8sbjvV2XzMxdLxTb5BRBTI1R9RR0S1QaS2rD5qsLsjJ2U7tfP6f3Qco Ab2yCKX0s9tjArKPzbdEimkZhWUUrb1bNrFSxGXZjw+8HQAEQ4j0qEC5fVgW3zh+EMCj2afQAuZ /QkduRdKnP2wY7XHcyA== X-Authority-Analysis: v=2.4 cv=IIuXmQvG c=1 sm=1 tr=0 ts=6ac7500d cx=c_pps a=cFYjgdjTJScbgFmBucgdfQ==:117 a=b9+bayejhc3NMeqCNyeLQQ==:17 a=660iZSQnnn4A:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=ZpdpYltYx_vBUK5n70dp:22 a=VwQbUJbxAAAA:8 a=EUspDBNiAAAA:8 a=tnQB6NTvr8Q-iuunBwcA:9 a=scEy_gLbYbu1JhEsrz4S:22 X-Proofpoint-GUID: M2uLqIaiDvTKA9tDr-1elc_KbZEuAkTE X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-10-08_03,2026-10-06_03,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 lowpriorityscore=0 impostorscore=0 bulkscore=0 adultscore=0 priorityscore=1501 malwarescore=0 suspectscore=0 clxscore=1015 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2610020000 definitions=main-2610080032 The video clock controller on Glymur, SM8750 and Nord has three clock inputs: the board XO, the always-on board XO that feeds its PLL reference, and the 32 kHz chip sleep clock that sources its sleep clock generator. It has no AHB clock input; the AHB clock the controller uses for itself is generated inside the block from the XO input. qcom,sm8450-videocc.yaml describes two inputs for every compatible it covers, a board XO and a video AHB clock from GCC. For these three SoCs that leaves the sleep clock input undescribable, and describes as the second input a clock that is not routed into the controller. Patch 1 describes the three inputs for the Glymur, Nord and SM8750 compatibles and keeps the two-input description for the rest. Patches 2-4 bring the Glymur, SM8750 and Nord videocc nodes in line with it. None of the DTS changes is a functional change. Tested on Nord: video_cc_sleep_clk_src no longer shows up in clk_orphan_summary and is parented to the board sleep clock at 32 kHz, and videocc keeps working with the GCC video AHB clock dropped. Changes in v2: - Rewrite the binding and DTS commit messages in terms of the hardware clock inputs rather than driver behaviour - Drop the Fixes tags - Rebase on next-20261006 and add patch 4 to fix the Nord videocc node - Link to v1: https://lore.kernel.org/all/20260924161152.1162301-1-shengchao.guo@oss.qualcomm.com/ Shawn Guo (4): dt-bindings: clock: qcom,sm8450-videocc: Fix clock inputs for Glymur arm64: dts: qcom: glymur: Add videocc sleep clock arm64: dts: qcom: sm8750: Fix videocc clock inputs arm64: dts: qcom: nord: Fix videocc clock inputs .../bindings/clock/qcom,sm8450-videocc.yaml | 26 ++++++++++++++++--- arch/arm64/boot/dts/qcom/glymur.dtsi | 3 ++- arch/arm64/boot/dts/qcom/nord-embedded.dtsi | 3 ++- arch/arm64/boot/dts/qcom/sm8750.dtsi | 3 ++- 4 files changed, 29 insertions(+), 6 deletions(-) -- 2.43.0