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 5A12B3D75AD for ; Tue, 3 Mar 2026 18:13:52 +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=1772561635; cv=none; b=ciXAaWp9HDQf+GOFR/dM/tJisYPVo1i4TgYt/M7JUjDE65EU5HERW9HXPtWdCGhvWBFPQH4paYWTZpRHkoVSoTECQyStQBMEnlfjupTw2uXn7dknzFBsLYcL/sf64Yj6BhZ296g0CRnUQTAOzUoyTSjTl7Wbt7s/PA8UfXbQ1BI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772561635; c=relaxed/simple; bh=RcXwqXfS7Q5UFVrsfUc/MKGMCy848BRRPAW+m1ka48E=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=pHe860OZOqcPHwzlei3/MHc2pTCj35yOS9hCpPyVI59yXuZJfqmW6VRkF7oZsy8kEXGUn6HS+ygiTcCN6CJvogZtSBk464TWxSNTYqGqtaymD/ehXFAccXoN00RdQQ1qu7dVCc6krL9ddFaYQDIjaddF6KV22bSSxKeRK/vQRZ4= 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=owZThwJh; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=E0fQo2i9; 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="owZThwJh"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="E0fQo2i9" Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 623H0WO2686984 for ; Tue, 3 Mar 2026 18:13:51 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= u3Uqm7HnmfbRYpPRyjqAGfV/78GMbwg16ye8LCZyPMk=; b=owZThwJh90AMnzRV paDO7cq59E1QOE3ULFAyQheUv2KstgXkYWoyfoFOaENT6WsPcGmwVGp1I1S8jWeK hkPkWWycWG1XDk8vQtLqDG+JrpBhi9k2oaN03YTIvNwbsdUnal8jrVTIuO0sPdCI PRz7TiFTFluTlq2oJXHa0R0LR8JiG5kRvO6/tScNlnJi81ae+yNmc8k7I7ZNscXi 2QL6F1rG/oN+KTDgjWMtz3YKNdkXYkjhWesZEQUoXJy0Ar/HPXWepg78FMEcC2JT xnVWkgGiHB/mygYn9Bm/cFWupgTiCJDqJOksBBmOCUyFbajJh7dkXEGsinjRy46p t+W3fQ== Received: from mail-pj1-f71.google.com (mail-pj1-f71.google.com [209.85.216.71]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4cnu3na3pn-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 03 Mar 2026 18:13:51 +0000 (GMT) Received: by mail-pj1-f71.google.com with SMTP id 98e67ed59e1d1-35641c14663so6110648a91.2 for ; Tue, 03 Mar 2026 10:13:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1772561630; x=1773166430; darn=vger.kernel.org; h=content-transfer-encoding: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; bh=u3Uqm7HnmfbRYpPRyjqAGfV/78GMbwg16ye8LCZyPMk=; b=E0fQo2i9GkpyHtS4xGyKGs1gaKlqDLewQvs+9RnrviGB+tY1l3fWl3eFPzXiy9iCgK BlhpSvVn57AbbkLPgteCUKNFhVtzK9AYE3OxIXZ5wS6KQnrNX5uxvTUUmsS7akbo+Ild cDDPflj4M+8lOVE7a1XJXTrv5PcOgfLijkNlGrglGtJF8y9iiXIbFaxbdOanNpYeaEp9 +vD+otUSSm+bplsh0hz0Wx/sE0lXD7r+1HcFQJD1QztRdw2Ljg842aK6SVDX+O7L04we NysbjNvsBdRANEX6ifeGs2Dvm8PPnZWqf6thsjxi5eM3iMeMN0tnaOZMaa744fzwy8B/ U6fA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772561630; x=1773166430; h=content-transfer-encoding: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; bh=u3Uqm7HnmfbRYpPRyjqAGfV/78GMbwg16ye8LCZyPMk=; b=ItTXkRy1bArW1vReHVJbNKe3z79VTjpt4ipl4O4J+dRfDbycBZ5PsWGfC5LfxVePwP Anj9dZsDiXSHtve9ZkKjFeeO8XNR/OsxzfkNmPWcXK5+NAIyXDCH/Vyogs8WfSB2RZS9 K7ruJeOP0aAStozKFzb5qIYaTw7+gNk4mXHJBsry9hIFolMgYsRu+J/jGJ52ivJT97ai TTZqINEaGWpm46Xbgq2A8hP0CGnuU012RUVIOVanZXSg2AHgA4NSnz1TgSJ98Uezepuq weEo3Omn84/CTD+NZnBUJcgGyq9pnK9HfjWncMMKcTOnwz7lRhRearCgVAmAfcSHNREg PAhw== X-Forwarded-Encrypted: i=1; AJvYcCU5s+n8dCZISsOiOyAK2uZMYDzwzdYmEhUbgUl9gnxcfHY2UK05vgwRsxwm/hrEmF+pawjaT6eRz8ubzCQ=@vger.kernel.org X-Gm-Message-State: AOJu0Yx0xpoqcoHLrY1/BKswk6VVwh0B0B9ybgEGD3OGfke5m6/3gm/L uT4nCdMz6fXRtP87X8fYnbiFm5yPWc5aVi+yTrR2LHIZ3VjnCaTFLFE0lBczw5u9rtr4M7rhVIb 89qjb9YZERVqiBvxWBcCntaVszSkeu0dUctl4heCMaXCFyRGsziEmq2Jl4Nb4igbPRIU= X-Gm-Gg: ATEYQzzBUOWJtgsxPU/WF8qZ/WyL6QWBZjdEI71gefo9WjUFAr1TpEypaklD9bUOUC1 sNXo/AqF94Na1sO/jnMLDeoNn1khZtFs0xI+B6g/tP8sOoW6DhZUC+DjI/m1NIsSkWlWczFkJSD lp4xQQ1GyoI53lgRMH4wo7NBB/bkGXI2+FMPzSxkKPSlXobUyakuLK9inFOMfYsCcN+asWcdF9R H/kt/A9tTQEh3muzFY12GR1rgFoE24vnJ/WogFEtI0+ljSJvvb9cEfUeE1yYIuqQ4vDAhjEcLI8 b5sC8VgW9OQb4mnlGSfXfTkSiyuZU/YCswQxTZOAlGsRWzVxd6kDuqYs+PJnYbKElWgvmbnS9pk D55RkmKGgsX+zcZ9shqSlWzkvVTFzmYfuIBRhiJOVhMCH1gldRP0x3Rk= X-Received: by 2002:a17:90b:1f8c:b0:359:7c55:c160 with SMTP id 98e67ed59e1d1-3597c55c28emr10322560a91.13.1772561630179; Tue, 03 Mar 2026 10:13:50 -0800 (PST) X-Received: by 2002:a17:90b:1f8c:b0:359:7c55:c160 with SMTP id 98e67ed59e1d1-3597c55c28emr10322519a91.13.1772561629667; Tue, 03 Mar 2026 10:13:49 -0800 (PST) Received: from [192.168.0.172] ([49.205.248.49]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3599ca38be9sm2030588a91.4.2026.03.03.10.13.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 03 Mar 2026 10:13:49 -0800 (PST) Message-ID: <635cc998-d530-42eb-95cf-99b0d5baab68@oss.qualcomm.com> Date: Tue, 3 Mar 2026 23:43:40 +0530 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 1/7] media: dt-bindings: qcom-kaanapali-iris: Add kaanapali video codec binding To: Dmitry Baryshkov Cc: Dikshita Agarwal , Abhinav Kumar , Bryan O'Donoghue , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Saravana Kannan , Joerg Roedel , Will Deacon , Robin Murphy , Stefan Schmidt , Hans Verkuil , Krzysztof Kozlowski , Vishnu Reddy , Hans Verkuil , linux-arm-msm@vger.kernel.org, linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, iommu@lists.linux.dev, Bryan O'Donoghue References: <20260227-kaanapali-iris-v2-0-850043ac3933@oss.qualcomm.com> <20260227-kaanapali-iris-v2-1-850043ac3933@oss.qualcomm.com> Content-Language: en-US From: Vikash Garodia In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Authority-Analysis: v=2.4 cv=JaexbEKV c=1 sm=1 tr=0 ts=69a724df cx=c_pps a=UNFcQwm+pnOIJct1K4W+Mw==:117 a=KPiuay1jFzAquJblYynD6w==:17 a=IkcTkHD0fZMA:10 a=Yq5XynenixoA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=gowsoOTTUOVcmtlkKump:22 a=NEAV23lmAAAA:8 a=EUspDBNiAAAA:8 a=yfRxjFk6VvuiwaCZe6sA:9 a=QEXdDO2ut3YA:10 a=uKXjsCUrEbL0IQVhDsJ9:22 X-Proofpoint-ORIG-GUID: QB4n1Xbqp2tUtkZCngzjSBXn8nEhovST X-Proofpoint-GUID: QB4n1Xbqp2tUtkZCngzjSBXn8nEhovST X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMzAzMDE0NiBTYWx0ZWRfXwNiV5TfsMQRG mCIksrGwGHOoHYeZCTJDa7+noNjmnn6agjG9VlMGDtO0x5nOQMFgYPmG33ib95La+4il8ae+m5X l4vDXX+yLz1+zz4MUzIbQsN9e1BB61vyvA5yC5D9DRQYssFheBNem0LNZ6cDXYgKu9NhfnhgzvL +MP/vICDDcAgiPkBOZlJVAIZj+P1UfMZQhxPsqvPgDT0mVUu3YuzPMKYMy2qzn6RN8n0zIJNLtL Uzo5DzPxttZrB4LfbM41wsYpLaB1z78xzRnTWqYQXtAns9adCNRqc5/wd1n5C6a9PiCQXywa9V+ D+b5ApvyLqeBuDR1rUrUgyIQOwLMsrnt07vXEDBZ9ZurMoLqC5Sh34hIDP55aTNjwKF9B/yIQei N7PffEPf0rAXnsEYbZPWaXAfRasqJh2Kp4CoCXNHc/eY90SX2pNZPebuIPMYBC69Y4lHGtkMa/D 8ilzP1pIPfjhrqDwJew== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.51,FMLib:17.12.100.49 definitions=2026-03-03_02,2026-03-03_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 suspectscore=0 impostorscore=0 malwarescore=0 lowpriorityscore=0 adultscore=0 bulkscore=0 priorityscore=1501 phishscore=0 spamscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2602130000 definitions=main-2603030146 On 2/28/2026 1:22 AM, Dmitry Baryshkov wrote: > On Fri, Feb 27, 2026 at 07:41:17PM +0530, Vikash Garodia wrote: >> Kaanapali SOC brings in the new generation of video IP i.e iris4. When >> compared to previous generation, iris3x, it has, >> - separate power domains for stream and pixel processing hardware blocks >> (bse and vpp). >> - additional power domain for apv codec. >> - power domains for individual pipes (VPPx). >> - different clocks and reset lines. >> >> iommu-map include all the different stream-ids which can be possibly >> generated by vpu4 hardware as below, >> bitstream stream from vcodec >> non-pixel stream from vcodec >> non-pixel stream from tensilica >> pixel stream from vcodec >> secure bitstream stream from vcodec >> secure non-pixel stream from vcodec >> secure non-pixel stream from tensilica >> secure pixel stream from vcodec >> firmware stream from tensilica (might be handled by the TZ / hyp) >> >> This patch is depend on the below dt-schema patch. >> Link: https://github.com/devicetree-org/dt-schema/pull/184/changes/d341298d62805bc972dfba691da6b3b62aa3ff15 >> Signed-off-by: Vikash Garodia >> --- >> .../bindings/media/qcom,kaanapali-iris.yaml | 261 +++++++++++++++++++++ >> include/dt-bindings/media/qcom,iris.h | 18 ++ >> 2 files changed, 279 insertions(+) >> >> + >> + iommu-map: >> + description: | >> + - bitstream stream from vcodec >> + - non-pixel stream from vcodec >> + - non-pixel stream from tensilica >> + - pixel stream from vcodec >> + - secure bitstream stream from vcodec >> + - secure non-pixel stream from vcodec >> + - secure non-pixel stream from tensilica >> + - secure pixel stream from vcodec >> + # firmware might be handled by the TZ / hyp >> + - firmware stream from tensilica > > Why are you providing description as a list rather than describing each > item separately? Then you wouldn't need maxItems. > rewrote them as below and dropped maxItems. Please review. iommu-map: $ref: /schemas/types.yaml#/definitions/uint32-matrix items: - description: bitstream stream from vcodec items: - description: Function ID - description: Phandle to IOMMU - description: IOMMU stream ID base - description: IOMMU stream ID mask - description: Number of stream IDs - description: non-pixel stream from vcodec - description: non-pixel stream from tensilica - description: pixel stream from vcodec - description: secure bitstream stream from vcodec - description: secure non-pixel stream from vcodec - description: secure non-pixel stream from tensilica - description: secure pixel stream from vcodec # firmware might be handled by the TZ / hyp - description: firmware stream from tensilica minItems: 8 >> + $ref: /schemas/types.yaml#/definitions/uint32-matrix >> + items: >> + $ref: '#/definitions/iommu-types' >> + minItems: 5 >> + minItems: 8 >> + maxItems: 9 >> + > Regards, Vikash