From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=205.220.168.131 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796045045; b=J/dxI5bynv+cwwmI8iFQeFWl7s4byEam63gEMIGxOD16wcqHlm8URAPe4URmjV2/+PEu QwxQTPnQ05qMM7i/tS2Nl+2M9TBro8IBAXJfDlhxFlot2u4ZLdUTbnFW+Y5witgXGG3dX bOC/f4aaAslxPSrX7wJBfuxIyAtgBUTHEeVVbOwkYSZQFo8FCyDeLMvGBk3k50DEAe/z7 9EbdsgyW/PMfYjc5vTnSscYi+c815PDvDPzYnjdROaHft/wgYp2yOmr8MnkDNaWK6Rm1u 2ewrFbxrsOrdpvFIsiOq52ZL1xEABI8VNoywV4RU/GJkFWCqnJ3tkZNNQVftrY824fA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796045045; h=DMARC-Filter:Received:DKIM-Signature:Received:Received: DKIM-Signature:X-Google-DKIM-Signature:X-Forwarded-Encrypted: X-Gm-Message-State:X-Gm-Gg:X-Received:X-Received:Received:Date:From: To:Cc:Subject:Message-ID:References:MIME-Version:Content-Type: Content-Disposition:In-Reply-To:X-Proofpoint-ORIG-GUID: X-Proofpoint-GUID:X-Proofpoint-Spam-Details-Enc: X-Proofpoint-Spam-Info:X-Authority-Analysis: X-Proofpoint-Virus-Version:X-Proofpoint-Spam-Details; bh=y58sjuRt7MkAoLqVQ2tVTIYSoGDKa2V8Wax0AoAv/4I=; b=EJ3jYdpCxFq7Nj7nvuoVdSO09JAES02Yvhds5ZvLJvNB7LfB3e+VnAAQKRv+KlCJWmnp dC4LLCrPmZem34x8TXyiOvVuU/33lzFrc3rg3JGMBVJj1fUYvEVhmQtglsLBQwxnc+rXt XrO4/u717Lyp8g0DvKBjIppMGvK/tHvYJDdvXmVKxBfkxLffOgkO5/Me2NlM1Nz7fcD8v QC0JbBs5ZcQRgoGYEea1J9SPE8tyrCUfGGe7H8VTM8qijpA0dQfMZ8sq2tmdTIWvm883B /GMk8RvsmCQgtb+rjhiEONDUwVxMhJTR3GRBUWo/7qxs0rfHSAaktivkSYpF9D9/5Ng== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=SAVzPPCo; dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=iB5J2KRG; arc=none smtp.remote-ip=205.220.168.131 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A9169606A325 for ; Mon, 30 Nov 2026 13:24:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org A9169606A325 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none 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.a=rsa-sha256 header.s=qcppdkim1 header.b=SAVzPPCo; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=iB5J2KRG Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6AUD85Qu1841585 for ; Mon, 30 Nov 2026 13:24:04 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to; s=qcppdkim1; bh=y58sjuRt7MkAoLqVQ2tVTIYS oGDKa2V8Wax0AoAv/4I=; b=SAVzPPCozghjEwKnMGFr2CV1UJ8/5dImRFFvxT0u tJnp3G+sudZYxyGdjh2fZ6WxcQqqemzNbSW+aaKYuWB++7XF7FyPIg5EeDkoenhc f9Oe7eG8uikOlVLiGWAxz7OmhrMj25oa5+F0e25hh40wEhwWSlk06Kg15miye04M ryi5fmu1D+04dPuc5cPKsMv/aUvFRJa6Ko5iRhngp1TTVj04jwA+EeWAtuorYpmZ 3j0VLTipuN9X0IDIsiI7NKLRKHxP8n42KBOhirrXnnFwRaos299nilJkmZuvDc/r sJMeQ6FtfNO/vsZ/A2HDHg3aYKLZD7DWafehD621K+Gxgw== Received: from mail-dy1-f198.google.com (mail-dy1-f198.google.com [74.125.82.198]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4j972drr6s-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 30 Nov 2026 13:24:03 +0000 (GMT) Received: by mail-dy1-f198.google.com with SMTP id 5a478bee46e88-3869865a304so10693808eec.0 for ; Mon, 30 Nov 2026 05:24:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1796045043; x=1796649843; darn=vger.kernel.org; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=y58sjuRt7MkAoLqVQ2tVTIYSoGDKa2V8Wax0AoAv/4I=; b=iB5J2KRG2G7N8ApkNdGM+TL2k4c+08ALTHQmFRdcagvBLn+O7V/1+2hvxElQ3e/9ZS rheytOkGHFZRhTRnoRSARY9zz2jt5r6ND2Hxy9eWWi2Q8qDTQcEclmVvuaJnuWQkev+Z tA0eXsLQYGGrtOOTkBuYx58mFYpIYndQeLm/t7jJUjp4OZ98DBaSIJnji28n0bgXSW7o 7jn4dag5GETsjeIKCCaeE5rZ7NUh1QK+a07/xE0bs5dQijGstkY6IlEViv6NU7b2WeG2 M1paala7vRViIc4GZcVtD0GiZWs9IiOTzatvlf4UaKG0trff+ghdJ7zMz5ZmWWOvvBEN AhZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796045043; x=1796649843; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=y58sjuRt7MkAoLqVQ2tVTIYSoGDKa2V8Wax0AoAv/4I=; b=1rLHFAMHpLWo7tD1lXgvsn35GB+ApttMapB5Ls7AEzF+YqjfY/ElQEn1nCH+5VQpeJ ioMTNeIad7m3wg/X+oNR4ROTFrcnrcFKFDRqjmgDgA1k3Z7XjWrQyk52uQQHXWnEtv/w bkjTD87BKj+gtkg+W8UPT55LjUOrVzX1sH+dLb/UqqRcGhK6vSrj1y36s4F5LX6j+zKc qbZSbhzhnhPlI+lxpHtfIJaIRfp0ydQjfVOQruULAUdC6J0/+C6JqGZefLz+T6BQBm0y Vz7TSoH8KaQ1Bognc4iGvZQuTPfVc2MKDnrlBVkCMlmqzBlt0ndMfU3waNH7wPkMlv0K Y8Tw== X-Forwarded-Encrypted: i=1; AL+hErFLdYYomNKT/6rA+mbM91K2AmJB44J4my6MD9rn305DWEpWAEoo0NFG6S6zQJktk32zXI/lt8B8dUHm3vc=@vger.kernel.org X-Gm-Message-State: APuU4Z+B43IU4DD801NfYQwFmai5z6XIA0OFDY+uBoAMRRAHwtGSX/Nh m7J+PQOBYpWM4uB0bxQkELjWaFQsfELcbK7t8FZ3w9I7lWCki2zVKUJm2pjjOt3UayGG7nVmZQX NoWrEja5WsgIiq3Pu45UMLnjfVqIayLfRGTJons+Rf7qqFO2aoxtVc/QFBKMIg9gS9pE= X-Gm-Gg: AZFdTZeY0vosZEUbFR55yuah5jZgonscjGH+S5ywgfD0A15SyigV9m8WrTYAhBOve1e +PUmzOe+w+yPDGt0WTvUfmTgaamWjGZgBxui5y8rjEiQZyBb0qkEEe0RJGvvaPmNaN8vOmDNDPg gdLEV9PlIpzZ2womBWpekLfFNinefK2iqKoAttNCI0l9I8kuThtEUxcoTyT+mCUhJ0yrdy06v/L jGoUMyAuIugeJb3TwLTdBtUwU6XRFxOAZ47NUS8XCmxKtSh9MJpQfPhGDdkib2IfU1fQkKUDXAZ N/2fK31pi0nEYXHhfvZD5TleJR+1DMzZM0vdNTBaQDVf1B0XcP5pCFwrts6hnjpUgJpMf1dYXiH dIwyl4krlCTCYgdGxcu3szJ8eQP12nyXxrYemGGZJ2dzdXrcUTLrKrTgenScKOMwoT+TEu58/02 cOPF645FTRGnaGNfwk X-Received: by 2002:a05:7301:416:b0:356:7ddb:2e54 with SMTP id 5a478bee46e88-38570f27b33mr33265173eec.29.1796045043016; Mon, 30 Nov 2026 05:24:03 -0800 (PST) X-Received: by 2002:a05:7301:416:b0:356:7ddb:2e54 with SMTP id 5a478bee46e88-38570f27b33mr33265149eec.29.1796045042443; Mon, 30 Nov 2026 05:24:02 -0800 (PST) Received: from QCOM-aGQu4IUr3Y (i-global052.qualcomm.com. [199.106.103.52]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385672ce402sm94861967eec.16.2026.11.30.05.23.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Nov 2026 05:24:02 -0800 (PST) Date: Mon, 30 Nov 2026 21:23:56 +0800 From: Shawn Guo To: Gourav Kumar Cc: Bjorn Andersson , Konrad Dybcio , Abel Vesa , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Vishnu Reddy Subject: Re: [PATCH v2 1/3] arm64: dts: qcom: nord: Add iris video node Message-ID: References: <20261126-nord-iris-dts-v2-0-bb88dc5832ea@oss.qualcomm.com> <20261126-nord-iris-dts-v2-1-bb88dc5832ea@oss.qualcomm.com> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20261126-nord-iris-dts-v2-1-bb88dc5832ea@oss.qualcomm.com> X-Proofpoint-ORIG-GUID: Ktp4GXm_9L4CnFDoJqcqKBEOolXbrYTA X-Proofpoint-GUID: Ktp4GXm_9L4CnFDoJqcqKBEOolXbrYTA X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMTMwMDA1MyBTYWx0ZWRfX9ML8Vtgws0Ed SXU7U7+EVPxU9+f92na9ySQfSJO6tPhYsCNoCJgThQviOlgq8ji5sqi7e21MQEzyLocl9hsD0i8 EnRR14mqUA5gWcFN7d9HfVUQtWYZ4kOlPKa6BA1TB6eFwTko8fiyQxvOvGuVCDEPJyglqRwNV5c tiTzNA3ce1ioN/CVxqf/pyts8sNyZh85bKCaRN2MbwRShXl4EU9dOwDlnx7aGZ60c2wt7lQL4R5 avKqWnVo4+AbHdbs6RLJAvedBuU7YGl2ip5HuyeEgqT4HGblZBbnKNd2Z742TNYosIpkzobigy8 qahluT3uvrGvW5tNWIMjkPQhZbpUMVJ2sm306uYaenrCBtQ3c3nB0VKXWoShvnB1g7v2wDuscyw GxlIxR3p99u3yugLrDHvnUstWpeU1so2nzq6j13TJJfNlQ+tXfHb4irLYScINdchSQp4ClFYxW/ UgoIDO4Rce4JPglPq/A== X-Proofpoint-Spam-Info: AW1haW4tMjYxMTMwMDA1MyBTYWx0ZWRfXwX3rFfpADC4l mLdt2Utxj5nt7fO4uvPi6fs2e6sR3YnMndZL0LkG/vXrCYPB8uGhe5pdAvs2HnrM9q63/gx/ZKP eWhRPDtPmmQDEy1JI+X9EobaIO9/DnE= X-Authority-Analysis: v=2.4 cv=V5joQuni c=1 sm=1 tr=0 ts=6b0d78f3 cx=c_pps a=wEP8DlPgTf/vqF+yE6f9lg==:117 a=b9+bayejhc3NMeqCNyeLQQ==:17 a=kj9zAlcOel0A:10 a=zJRp6_cAMcgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=YMgV9FUhrdKAYTUUvYB2:22 a=EUspDBNiAAAA:8 a=xAdsvOHdV6rlvjKUGIIA:9 a=CjuIK1q_8ugA:10 a=bBxd6f-gb0O0v-kibOvt:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-11-30_04,2026-11-27_03,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 spamscore=0 lowpriorityscore=0 phishscore=0 clxscore=1015 malwarescore=0 bulkscore=0 suspectscore=0 priorityscore=1501 adultscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2611300053 On Thu, Nov 26, 2026 at 06:54:18PM +0530, Gourav Kumar wrote: > From: Vishnu Reddy > > Add iris video codec to nord SoC, which comes with significantly different > powering up sequence than previous platforms, thus different clocks and > resets. This reads as if it was copied from the Glymur patch. Nord falls back to qcom,glymur-iris and uses exactly the Glymur clocks, resets and power sequence, so "significantly different from previous platforms" is misleading here. Please say that Nord integrates the Glymur iris IP and reuses its resources, and explain the parts that do differ from Glymur: - The OPP table: the rates follow the Nord video_cc PLL0 plan (720/1305/1440/1600/1680 MHz) - The interconnect: only MASTER_VIDEO_MVP0 gets a vote, although Nord also has MASTER_VIDEO_MVP1 (Explain why) - The stream IDs (see below) > > Describe the resources common to all nord variants (register space, > interrupt, IOMMU streams and DMA setup) in nord.dtsi, and the Nord Embedded > specific ones (clocks, resets, interconnects, power domains and the OPP > table) in nord-embedded.dtsi. > > Signed-off-by: Vishnu Reddy > Co-developed-by: Gourav Kumar > Signed-off-by: Gourav Kumar > --- > arch/arm64/boot/dts/qcom/nord-embedded.dtsi | 88 +++++++++++++++++++++++++++++ > arch/arm64/boot/dts/qcom/nord.dtsi | 28 +++++++++ > 2 files changed, 116 insertions(+) [...] > diff --git a/arch/arm64/boot/dts/qcom/nord.dtsi b/arch/arm64/boot/dts/qcom/nord.dtsi > index 56778dd444e4e..c73db8cdeafb7 100644 > --- a/arch/arm64/boot/dts/qcom/nord.dtsi > +++ b/arch/arm64/boot/dts/qcom/nord.dtsi > @@ -2371,6 +2371,34 @@ pcie_smmu: iommu@9980000 { > #iommu-cells = <1>; > }; > > + iris: video-codec@aa00000 { > + compatible = "qcom,nord-iris", "qcom,glymur-iris"; > + reg = <0x0 0x0aa00000 0x0 0xf0000>; > + > + dma-coherent; > + > + interrupts = ; > + > + memory-region = <&video_mem>; > + > + #address-cells = <1>; > + #size-cells = <1>; > + dma-ranges = <0x0 0x0 0x0 0xffe00000>; > + > + status = "disabled"; > + > + non-pixel { > + iommus = <&apps_smmu_1 0x0940 0x20>, > + <&apps_smmu_1 0x0944 0x0>, > + <&apps_smmu_1 0x0960 0x20>; With mask 0x20, the first entry already matches both 0x940 and 0x960, and the third entry matches the same pair again. The two describe the same SMR. Glymur uses mask 0x0 for all three non-pixel SIDs, and its third one is 0x19e0 (base | 0xa0) rather than base | 0x20. So either the third SID is not 0x960, or the 0x20 mask is intended and the third entry is redundant. Could you double check the Nord SID assignment and fix whichever one is wrong? If a non-zero mask is really needed on Nord, please explain why in the commit message. Shawn > + iommu-ranges = <0x25800000 0xda600000>; > + }; > + > + pixel { > + iommus = <&apps_smmu_1 0x0943 0x0>; > + }; > + }; > + > pdc: interrupt-controller@b220000 { > compatible = "qcom,nord-pdc", > "qcom,pdc"; > > -- > 2.34.1 >