From: Vikash Garodia <vikash.garodia@oss.qualcomm.com>
To: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Cc: Dikshita Agarwal <dikshita.agarwal@oss.qualcomm.com>,
Abhinav Kumar <abhinav.kumar@linux.dev>,
Bryan O'Donoghue <bod@kernel.org>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Saravana Kannan <saravanak@kernel.org>,
Joerg Roedel <joro@8bytes.org>, Will Deacon <will@kernel.org>,
Robin Murphy <robin.murphy@arm.com>,
Stefan Schmidt <stefan.schmidt@linaro.org>,
Hans Verkuil <hverkuil@kernel.org>,
Krzysztof Kozlowski <krzk@kernel.org>,
Vishnu Reddy <busanna.reddy@oss.qualcomm.com>,
Hans Verkuil <hverkuil+cisco@kernel.org>,
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 <bryan.odonoghue@linaro.org>
Subject: Re: [PATCH v2 1/7] media: dt-bindings: qcom-kaanapali-iris: Add kaanapali video codec binding
Date: Wed, 4 Mar 2026 20:32:53 +0530 [thread overview]
Message-ID: <b0d04ced-8f3c-4bd5-a5b5-0b2f12aae25a@oss.qualcomm.com> (raw)
In-Reply-To: <fjvug6snigssgheuduzjomzjq6apte2ggixqzjzziwcycee4l2@irh2mkholacy>
On 3/4/2026 5:23 AM, Dmitry Baryshkov wrote:
> On Tue, Mar 03, 2026 at 11:43:40PM +0530, Vikash Garodia wrote:
>>
>>
>> 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 <vikash.garodia@oss.qualcomm.com>
>>>> ---
>>>> .../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
>
> I'm not a pro in the DT. Is the itemization of the first item reused for
> the rest of the items?
yes. As a trial, if i remove one of the itemization from above schema,
then checker throws error saying 5x9 arguments in the example is *too
long* as it tries to fit it as per schema i.e 4x9.
>
>> - 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
>
next prev parent reply other threads:[~2026-03-04 15:03 UTC|newest]
Thread overview: 47+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-27 14:11 [PATCH v2 0/7] media: iris: add support for kaanapali platform Vikash Garodia
2026-02-27 14:11 ` [PATCH v2 1/7] media: dt-bindings: qcom-kaanapali-iris: Add kaanapali video codec binding Vikash Garodia
2026-02-27 15:42 ` Rob Herring (Arm)
2026-02-27 15:50 ` Krzysztof Kozlowski
2026-02-27 15:55 ` Krzysztof Kozlowski
2026-03-03 18:10 ` Vikash Garodia
2026-03-04 15:07 ` Krzysztof Kozlowski
2026-03-05 12:23 ` Vikash Garodia
2026-02-27 19:52 ` Dmitry Baryshkov
2026-03-03 18:13 ` Vikash Garodia
2026-03-03 23:53 ` Dmitry Baryshkov
2026-03-04 15:02 ` Vikash Garodia [this message]
2026-03-05 3:33 ` Dmitry Baryshkov
2026-02-27 14:11 ` [PATCH v2 2/7] media: iris: switch to hardware mode after firmware boot Vikash Garodia
2026-02-27 16:49 ` Konrad Dybcio
2026-03-03 18:15 ` Vikash Garodia
2026-03-04 8:57 ` Konrad Dybcio
2026-02-27 14:11 ` [PATCH v2 3/7] media: iris: add iris vpu bus support and register it with iommu_buses Vikash Garodia
2026-02-27 15:49 ` Krzysztof Kozlowski
2026-03-03 18:26 ` Vikash Garodia
2026-02-27 20:14 ` Dmitry Baryshkov
2026-02-27 14:11 ` [PATCH v2 4/7] media: iris: add context bank devices using iommu-map Vikash Garodia
2026-02-27 20:20 ` Dmitry Baryshkov
2026-03-03 18:46 ` Vikash Garodia
2026-03-03 22:25 ` Dmitry Baryshkov
2026-03-05 12:49 ` Vikash Garodia
2026-03-05 14:21 ` Dmitry Baryshkov
2026-03-05 17:26 ` Vikash Garodia
2026-03-05 18:32 ` Dmitry Baryshkov
2026-03-05 21:34 ` Vikash Garodia
2026-03-13 19:26 ` Dmitry Baryshkov
2026-02-27 14:11 ` [PATCH v2 5/7] media: iris: add helper to select context bank device Vikash Garodia
2026-02-27 20:27 ` Dmitry Baryshkov
2026-03-03 19:16 ` Vikash Garodia
2026-03-03 22:27 ` Dmitry Baryshkov
2026-03-04 15:29 ` Vikash Garodia
2026-03-05 3:40 ` Dmitry Baryshkov
2026-02-27 14:11 ` [PATCH v2 6/7] media: iris: add iris4 specific H265 line buffer calculation Vikash Garodia
2026-02-27 20:28 ` Dmitry Baryshkov
2026-03-03 18:48 ` Vikash Garodia
2026-03-03 22:28 ` Dmitry Baryshkov
2026-03-04 15:40 ` Vikash Garodia
2026-03-05 3:41 ` Dmitry Baryshkov
2026-02-27 14:11 ` [PATCH v2 7/7] media: iris: add platform data for kaanapali Vikash Garodia
2026-02-27 15:48 ` Krzysztof Kozlowski
2026-02-28 7:31 ` Dmitry Baryshkov
2026-02-27 15:42 ` [PATCH v2 0/7] media: iris: add support for kaanapali platform Bryan O'Donoghue
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b0d04ced-8f3c-4bd5-a5b5-0b2f12aae25a@oss.qualcomm.com \
--to=vikash.garodia@oss.qualcomm.com \
--cc=abhinav.kumar@linux.dev \
--cc=bod@kernel.org \
--cc=bryan.odonoghue@linaro.org \
--cc=busanna.reddy@oss.qualcomm.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dikshita.agarwal@oss.qualcomm.com \
--cc=dmitry.baryshkov@oss.qualcomm.com \
--cc=hverkuil+cisco@kernel.org \
--cc=hverkuil@kernel.org \
--cc=iommu@lists.linux.dev \
--cc=joro@8bytes.org \
--cc=krzk+dt@kernel.org \
--cc=krzk@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=robh@kernel.org \
--cc=robin.murphy@arm.com \
--cc=saravanak@kernel.org \
--cc=stefan.schmidt@linaro.org \
--cc=will@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox