From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=205.220.180.131 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796124156; b=aUpfp7+17sz+FXbuchSf+U4jC36zNB/SCjQ724OfSmf4LVDXwzyPBgiGtMut4NlIakci ZZXK76bAcnY5ZxcCdYHPMG16+wkGcMOiBWU8dAK3l0rQO4aLoNrU8nrslUnjH5iMAFX+q ETzkP9ujBiME8rNXGiqzoEfvyKwSwmaPIlxCrCfXUOEWdLkKxOIHanehoMuKsisLYSJan 9lVWA9Q/F/3qSS479PwjPJ8ZQY8pmhMA9OnpACGljuT6mMJ2ShOJt0X6yl8pgeF6iLaGP d2oITLe1wDFeyzx4RCyYAySDc+G7B7VkJ2fRWo/X8rV5YkU6xgqRZWXlVjaB8tObiOg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796124156; 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:Message-ID: Date:MIME-Version:User-Agent:Subject:To:Cc:References: Content-Language:From:In-Reply-To:Content-Type: Content-Transfer-Encoding:X-Authority-Analysis:X-Proofpoint-GUID: X-Proofpoint-ORIG-GUID:X-Proofpoint-Spam-Info: X-Proofpoint-Spam-Details-Enc:X-Proofpoint-Virus-Version: X-Proofpoint-Spam-Details; bh=icsfJhFT9iGy+PMPFLZFAAcxekAh8AvBj9AaCl7LTYs=; b=pbQJW6YkbugUGotmVo3tOAj/sdJ4MvffTmei5FlPMjeUUDRCFJxM7txJASLHvGjRPf8r vQsc8He8+JgbTvfU9PLOhvTlyPb5zG+ufrlqFZ/yCCxMR+iQ0BviTyYwDklAh+L+wdttn 6p7pQpD3qPe+SsJSmuFuAuF1HztSNaibuAJPo5oqsMHpm4UnQ7mwF+4r+qsHDwj56ieHo kRoG0BpHhGfZWNDUGrIdPwXyxZALXXTS47rQZcJOCXuhpgDGK6h+gsHcV9O8A5K9KUGmp v1bmK0JtsAjAfzd3JaoXnzvd8DbyyRqYLzMDlZSvzWAccmo+mnEEOuUrFS2GhPZ1q+A== 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=HYsIsCcD; dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=Vm5JEKo3; arc=none smtp.remote-ip=205.220.180.131 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 A723E606A325 for ; Tue, 1 Dec 2026 11:22:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org A723E606A325 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=HYsIsCcD; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=Vm5JEKo3 Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6B1AQR2k959344 for ; Tue, 1 Dec 2026 11:22:34 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= icsfJhFT9iGy+PMPFLZFAAcxekAh8AvBj9AaCl7LTYs=; b=HYsIsCcDuaZBNV0G cvSdlwXIUyE4LHQH3+orfB9xvcB/g6z1vfzR4I7nN4qe41y/7SLbe+qGZ7UD7vZR LfA4J/tB4N2+KamhFNX0A4F5icfrT712C0Ekj60VFJY1DlGfn2znjwpLgSyJfFup KqyGnJFa9kDqrMIMzTgX74U4gG7tQGcrtlMUmq4iGLEfpVFWdQkgiA4zFba9WUfr 5GachjNHqoud2Jp5PPQtGoyqqwCssH8m0KKuKEiXNznt0KnpZSMSDkykZ55/qDBJ 437CmIv9YeosZ1LGyhz2ocmtrIcJ5Hg6gCvH0hEYwrLcQQmpnyJObNc0Q7QvXpoG pRjPEw== Received: from mail-pf1-f198.google.com (mail-pf1-f198.google.com [209.85.210.198]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4j9sa214kg-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 01 Dec 2026 11:22:34 +0000 (GMT) Received: by mail-pf1-f198.google.com with SMTP id d2e1a72fcca58-8b647bbf8a9so10397563b3a.0 for ; Tue, 01 Dec 2026 03:22:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1796124153; x=1796728953; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to :content-type; bh=icsfJhFT9iGy+PMPFLZFAAcxekAh8AvBj9AaCl7LTYs=; b=Vm5JEKo3P1J7du5MJ0tadSXRXBtE4K75EivISzXOHyOy7iQSHSI8Zc/X+4WKZSPHXx oH7LqaFZeQPROI7hOn8Nwl7SJngZGwxEMNaXw0xAgI8TI9AKRWojkoQ77I/M329AVP/S 6WeeSIi+mrAOHH6o3N3QaUVOPj2muhgXKbqgrLk8AoUPrk3yUDWY3RDR3IvmOH1bt/HG Tjk541XLK2WQ/2smZx6Cl7PRtc8rMvsCoj/HTyr0MREstAUaWwLbrTPLd5HGUXvkbGTz AbocBfRi14GcT/VkYXWkQyW0Dbm4jX9nvFfnIfvFCi4gJYygZ4T1LDefjlyqbgCdqeDL vhbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796124153; x=1796728953; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=icsfJhFT9iGy+PMPFLZFAAcxekAh8AvBj9AaCl7LTYs=; b=mg4XKrFQX/MN519Zk5JBbjmPMw3LLa4r4zHWbFFAnwEmPKbJ1hHpzkHi6UtOX71amp sHNPHlEkS6bEK4it5AYvcBNB+d8FyOi4Yo6vkKSoXe25Dl343iTFuvGxhhqK2ATFHZUj DMOVVIp595x9laYrAPiQOWgZXOCa5uLYtRHLvA1pcTIWau6NovHzGEF27c6xvfXm1GfQ WFny2a08oADzjlppqDzz31R0uGF101r9u6GkaqDSf+jLaGlsoiFOXe1gm+Ks9xFmwt/T FMs8+XS6QzkfoRbjVHWMsMuxHI8hzLmOd8m39SuqsoovOkZrkFTdWS1I7eeNbDx8/liY AZbw== X-Forwarded-Encrypted: i=1; AL+hErEGQV8MnhAz+NrarYa3XomR30xvLEXiNc2NG5z6pbxplodsIYw7Ui4vZyGqOU16yWgnJ2u4oj84b4mN73o=@vger.kernel.org X-Gm-Message-State: APuU4Z/2J2EQYLe6Cj5edjv9ucqwoQXHkiBBeob7ZVuA+4P9O3LPjwtc TdkZdQSJMZMaDz2i8zQ90ehROwWhhplRcYM4ko0/TESL6KxgcAXRJEPk4t+mhH4n/58b8FZK7E3 EhxpJu9RDyHi+mHkE3TxlyQaXoJmZ2EwfsrnseOVvSyTUMhqQ33akdFr0EwYW/oflGJg= X-Gm-Gg: AZFdTZfVtk6uLV+1gDr7D/PxO/ya0PQPejEnHBHFvTtFstwEBC/XVoLaT+DhFLqsmTR jwCnts/TPS/TDNcZWvJWH+A93I/+TLRHlZK32LxWB/rrHtCcFr0DJB3Gx/mlQeyq2F3I+IxV7Wh VAu/hXpmg/K6vYJQyse6VkvuMHFEdeOaeluuOeM4fcNsOAOVBe7c8M2qbgN8VT2sXcArus2eyGw VardCRWub76u55G+7S8n4psdonUtDhmXgM5opW5wH2ZWp2zG9u+KQCiNjcXqrXX6LyoZQsECI6O 9XkWMLfrB4x120ANDM9vOg3LJ6mupuZWwREGBIpcYAoytqtE91O3Mig7umwCy2KA/y2MfOXYdS5 ZmYoGiVWrabrkmA6ROHR9KgpnXMJfX8tWzBJzc03H4zh51ZTxbKBcrtHdbBeP2Yu2cyXYmfIBDJ OfCJA= X-Received: by 2002:a05:6a00:17aa:b0:8b7:aac6:d9b8 with SMTP id d2e1a72fcca58-8c87ca51d7cmr37004141b3a.46.1796124153269; Tue, 01 Dec 2026 03:22:33 -0800 (PST) X-Received: by 2002:a05:6a00:17aa:b0:8b7:aac6:d9b8 with SMTP id d2e1a72fcca58-8c87ca51d7cmr37004085b3a.46.1796124152522; Tue, 01 Dec 2026 03:22:32 -0800 (PST) Received: from [10.204.101.118] ([202.46.23.25]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4aca2sm19673072b3a.32.2026.12.01.03.22.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 01 Dec 2026 03:22:32 -0800 (PST) Message-ID: <0e5881d5-f7bc-4d05-a1ff-a2ca0fb39029@oss.qualcomm.com> Date: Tue, 1 Dec 2026 16:52:27 +0530 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 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 1/3] arm64: dts: qcom: nord: Add iris video node To: Shawn Guo 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 References: <20261126-nord-iris-dts-v2-0-bb88dc5832ea@oss.qualcomm.com> <20261126-nord-iris-dts-v2-1-bb88dc5832ea@oss.qualcomm.com> Content-Language: en-US From: Gourav Kumar In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Authority-Analysis: v=2.4 cv=A8/5rKWG c=1 sm=1 tr=0 ts=6b0eadfa cx=c_pps a=m5Vt/hrsBiPMCU0y4gIsQw==:117 a=ZePRamnt/+rB5gQjfz0u9A==:17 a=IkcTkHD0fZMA:10 a=pUM-KoujPXoA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=yx91gb_oNiZeI1HMLzn7:22 a=EUspDBNiAAAA:8 a=qQZcVRfFv-8Z6W5NjaYA:9 a=QEXdDO2ut3YA:10 a=IoOABgeZipijB_acs4fv:22 X-Proofpoint-GUID: u-Fvc7MrPkkfBHUgsn50LpZfVrh0wLSC X-Proofpoint-ORIG-GUID: u-Fvc7MrPkkfBHUgsn50LpZfVrh0wLSC X-Proofpoint-Spam-Info: AW1haW4tMjYxMjAxMDA0NSBTYWx0ZWRfX4Z5wmIoX6m2J RVmVIJokRQ3MpOMP0YFByiuh6CzWF4cYRakKuhkgNi4QRbLO0yS/M2zRKiA00YdjBXTtTvWkFwa 1sw0v/HtQij9nRJecPbqULyHQT4NJC0= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMjAxMDA0NSBTYWx0ZWRfXxVi4lWQ5zQ6o PIgX/8fi1jfgeRjZ/cGna/ejq5EJmRIYUKvOtGQntFlKgRsUUV3/uWDWRzTngKSXN0Nmljfa7V9 hzodyf0rVtorBoUKhfj4G1EmkRwc7XBBrMV2sF27Fs70sOheKJH9MlIOAAH/bdLIO4jxBm3/xNE ut603BJUNMXiUAXNPd/nvetoAhIJHyw0Ok5PWoPfQArUhR/oxkYj5GaFgAM0mSn+cTq0aZ1MJYW /c8nvl0MjB6jZvQwg5nwz7D//NxZ0W4D0qpDhMdkJvr6neul02HtVRPr12cvJkbY109LWisgbXl 3TRR9yXUIeSSp05FNxjgc2h0qwxpqy7L9y9YCPRG01QDHR58xVVbUaN1bQ0A1HIpZMYyDaL5ajx mWJB4ItruAEj2oM1zBOmb8r2yb8PoPdpukqvRksWk090t1oLDaD2WBvylvFPsILR4Viy/ZEeuqN drE3uGhEo0+TgVXAi9Q== 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-12-01_02,2026-11-30_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 phishscore=0 priorityscore=1501 bulkscore=0 spamscore=0 malwarescore=0 clxscore=1015 adultscore=0 lowpriorityscore=0 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2612010045 On 11/30/2026 6:53 PM, Shawn Guo wrote: > 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) > Agreed, I will reword the commit message in v3 and explain these three. >> >> 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 > Checked against the Nord SID mapping, will fix it in v3. - Gourav Kumar >> + iommu-ranges = <0x25800000 0xda600000>; >> + }; >> + >> + pixel { >> + iommus = <&apps_smmu_1 0x0943 0x0>; >> + }; >> + }; >> + >> pdc: interrupt-controller@b220000 { >> compatible = "qcom,nord-pdc", >> "qcom,pdc"; >> >> -- >> 2.34.1 >>