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=DS/nuWy/SwXr184dvI2Q7D32pWnZpEXlGbE0QkoV5B4Kn3qu4yWacGdDeMGMn1y+DOPG 7dH89HBmGlGWiGaOHtweDs3XgpMJC1tbBv4dHkQfi10/yDWr0W5tEl2Dwm2QzQ1co/i5A 3hcjMFWSC6qGE3/HCAuSuaTqNpeMG21c6wpLL3wBediwrwXSEcRZZhe2Hg2KvSAcUujNl 6nz4vJfx6G+LhG3RkQXnoTepuvHh98pWY7/OsOXzWwSSxjJqLbMHN3jpX4sdfTt1zQayK rdI6v3xaNqeGjjNjwT7WTrv4o92rtSHLClKg8hTC78oOi7YswZ7m+ohJwhVAeck4+PQ== 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-Spam-Info: X-Authority-Analysis:X-Proofpoint-ORIG-GUID:X-Proofpoint-GUID: X-Proofpoint-Spam-Details-Enc:X-Proofpoint-Virus-Version: X-Proofpoint-Spam-Details; bh=y58sjuRt7MkAoLqVQ2tVTIYSoGDKa2V8Wax0AoAv/4I=; b=jXbslYeSxG8JRI00kgkArTx2uCuNslYP14tA/Q+akdgj7b29GmbTP/Yec1Sat4Lgy5Co 4BcCKbsvyW6TixDOwsQ7imaJx/N6WUYyLtQLjfS94HnZseELDez3e05y8VuwJVGSAHGAR sio2WWh2QQ83tT/DWrkz27cSL2aUOVCv3/aRi3onmxqK9UlkDKGrJ+cxuKaGgwRJKyTvQ xt+wR6XKPX8+7vWmm2j24bMcQ1UL8yvYsiAyUHLBts2FudfGcmsEw5Pihtr8aoKixJ1Xg ygIvsUqV/UjaabUPivg+yx2LiDfWEI0WN2L+Zjs9XqH87Z4tLWnIK5Uvw7cw2+GL8OA== 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 A9175606A327 for ; Mon, 30 Nov 2026 13:24:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org A9175606A327 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 (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6AUD8DPg2205514 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-f197.google.com (mail-dy1-f197.google.com [74.125.82.197]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4j94wfsc74-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-f197.google.com with SMTP id 5a478bee46e88-38531c1a566so9539256eec.1 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=iQjie++xnWUH+L/FI7V6kWuBGDGsc9Upu03jbxmuBoqTULk1bGxS+PbuwebylSK3kZ af8gjtUN3QBbcOXouFPZAd4I07a1F5KyRgJAt6znYzOt01qadMZMfPqUVwxge3GVodN4 2EByOR3g5gjlz8ifAG1uiBVgPeKSlUfPqJs0kvWTwCiv670tJyquNYMH3SrE/fvAPtrG qCxLMwfBLD7RSE/zP/kWjh17Szg6a2eLBEOlAhBeN+H9Jt1+WOvp8tS4xI6MeZK4cV1g p7ENIi/PM6qIvLi8M7iW9Spsfmk0Di7AlCvd55tgK+gUp2WavKVo8Nkh1jb4TMQ/OOuD 3IjQ== X-Forwarded-Encrypted: i=1; AL+hErFWajv1AWzES+8T/+jXj0VCDOcXBdLAyTLEmILi0cfkCvKXqrSNDboPp6sTC7rvVSq3VeiW6bQUEar0@vger.kernel.org X-Gm-Message-State: APuU4Z8a3RKGi/cg7NdZlLcjumo7bnLUD3NrFAVxx4v5HtEGYcvjyJp0 0KXWScQz9AR1CsGeaOv7hyH495hI+4GP5nI1Sy/j4Ze9KRbJgAqhMT+T0XI/Peqv854o2b3yvEM FKGOW6DbJdGQpV76/YejxH8maR/wC51IntTdUAidavkmyacpC5xQZgYctVswLEBJozPnlEOXqQj F+1A== X-Gm-Gg: AZFdTZckCIMjFDQIfKP5uVH50QThPO0NYKSAr27dWppQcTxkcU08dyfA7dRpqWqcdqt 5JUB40pdt+E695UQPN4tQ5wq/Stm6O9JlLGbQFWOmc5tOrJ062y7Bh9ZZCuvo1+2tYJdOrM5bac wfIhSnGpZ2q68CBUG0S/h8wIKJZxUNP0b9LNoXnt4XyhRfodA2SzY/15gkPWL8xoIS8IvkPTJe7 RQ9CYHusLdfeWPE9N1PTD8Od9Xz4zczUQhOMDHMRGNPK0qAtJ67zguowhapaWrQXtBOLFfhrYl4 M5cncvCHt8uuXGaeRBCSxuUAjc+Y2Zo65bAuIA4B10DYWDXLZs5QupGNzlRws33ItFmuyxHw8ZA wpJmH61fSPiibtADMcIpWV0+y41RCj2I/JYPiXcQM7/A/bM5FY0kRb3WIxWcLDydSZ2w4jNmLu6 T8JjDozRUrwuP0wcPE X-Received: by 2002:a05:7301:416:b0:356:7ddb:2e54 with SMTP id 5a478bee46e88-38570f27b33mr33265165eec.29.1796045042996; Mon, 30 Nov 2026 05:24:02 -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: devicetree@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-Spam-Info: AW1haW4tMjYxMTMwMDA1MyBTYWx0ZWRfX8v5Q01VFmEXa w3Gzcvc4+6nKhTyyu86eB+5WpO8spqxDA3cesUmcM6ZQ8LZBJygAS4SumNR/y4041ujO8L/ThNE 6ruKHTqUO4jCMyUhHRtdXS0hgoZ1pc0= X-Authority-Analysis: v=2.4 cv=BZ1NQbt2 c=1 sm=1 tr=0 ts=6b0d78f3 cx=c_pps a=Uww141gWH0fZj/3QKPojxA==:117 a=b9+bayejhc3NMeqCNyeLQQ==:17 a=kj9zAlcOel0A:10 a=zJRp6_cAMcgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=_K5XuSEh1TEqbUxoQ0s3:22 a=EUspDBNiAAAA:8 a=xAdsvOHdV6rlvjKUGIIA:9 a=CjuIK1q_8ugA:10 a=PxkB5W3o20Ba91AHUih5:22 X-Proofpoint-ORIG-GUID: VpHdYAUjOVOR2sljmm5jZSTNKcfJfZ53 X-Proofpoint-GUID: VpHdYAUjOVOR2sljmm5jZSTNKcfJfZ53 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMTMwMDA1MyBTYWx0ZWRfX9NYTxnMREraV 4vOJThlbJ0Wo8fHiuu3aCeD9v7gn+Y4Ab3w+RCbs9tTvfdag//0fyQvHDFHgnzuGVbv+wQDM4H6 2BJ7dSpjA1Xw3rlUsTrskweCSat6RYx4vbscnaU64/Q9qPfk8MHDaJRxsoUTpOjSR1USmFYj5hx bNiVmWgMycMmM/LT7wZ63iBZmngYeLuKDXyj6GCm1ahqyV8cjGkqgiXDtVfJdzAuWcB+zRR3oua 6gFL+BJhdDwq82mQevAKWxxjV+YFIhqzRhpE3zRoOsaiFco5DKvKJlCfF0woIRnVKK1hLmPc/Cn CIav71s8pBw3gy/d66EGgd+HQUW7c6bhZ0ulgRnfcrXNUD06IuZoC4ZOWiUVwZQdTOzr3YOWTRA TSYJ0TyOsGGtlIWosRPaGIEImYMk3mj7hwjj9GoCZ+jG3Og68SZ5XaJk8Qo2VwIz3C2YRwmyX47 Egvs/9vw6q0GX0ZLZZw== 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 lowpriorityscore=0 priorityscore=1501 suspectscore=0 phishscore=0 bulkscore=0 malwarescore=0 impostorscore=0 clxscore=1015 spamscore=0 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 >