devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 1/2] dt-bindings: media: mediatek-jpeg-encoder: change max iommus count
@ 2024-01-27  8:42 Eugen Hristev
  2024-01-27  8:42 ` [PATCH v3 2/2] arm64: dts: mediatek: mt8186: Add jpgenc node Eugen Hristev
  2024-01-29 10:41 ` [PATCH v3 1/2] dt-bindings: media: mediatek-jpeg-encoder: change max iommus count AngeloGioacchino Del Regno
  0 siblings, 2 replies; 9+ messages in thread
From: Eugen Hristev @ 2024-01-27  8:42 UTC (permalink / raw)
  To: linux-media, devicetree, linux-mediatek, bin.liu
  Cc: linux-kernel, linux-arm-kernel, angelogioacchino.delregno, kernel,
	eugen.hristev, matthias.bgg

MT8186 has 4 iommus in the list, to cope with this situation, adjust
the maxItems to 4 (instead of previous 2).
Add also minItems as 2 to keep compatibility with current devices.

Signed-off-by: Eugen Hristev <eugen.hristev@collabora.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
---
Changes in v3:
minItems changed to 2.

Changes in v2:
fixed typo in subject

 .../devicetree/bindings/media/mediatek-jpeg-encoder.yaml       | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/media/mediatek-jpeg-encoder.yaml b/Documentation/devicetree/bindings/media/mediatek-jpeg-encoder.yaml
index 37800e1908cc..83c020a673d6 100644
--- a/Documentation/devicetree/bindings/media/mediatek-jpeg-encoder.yaml
+++ b/Documentation/devicetree/bindings/media/mediatek-jpeg-encoder.yaml
@@ -38,7 +38,8 @@ properties:
     maxItems: 1
 
   iommus:
-    maxItems: 2
+    minItems: 2
+    maxItems: 4
     description: |
       Points to the respective IOMMU block with master port as argument, see
       Documentation/devicetree/bindings/iommu/mediatek,iommu.yaml for details.
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-01-30  8:39 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-27  8:42 [PATCH v3 1/2] dt-bindings: media: mediatek-jpeg-encoder: change max iommus count Eugen Hristev
2024-01-27  8:42 ` [PATCH v3 2/2] arm64: dts: mediatek: mt8186: Add jpgenc node Eugen Hristev
2024-01-29 10:32   ` AngeloGioacchino Del Regno
2024-01-29 10:41 ` [PATCH v3 1/2] dt-bindings: media: mediatek-jpeg-encoder: change max iommus count AngeloGioacchino Del Regno
2024-01-29 10:47   ` AngeloGioacchino Del Regno
2024-01-30  3:24     ` Chen-Yu Tsai
2024-01-30  8:39       ` AngeloGioacchino Del Regno
2024-01-29 15:46   ` Matthias Brugger
2024-01-30  8:35     ` AngeloGioacchino Del Regno

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).