devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] dt-bindings: media: mediatek-jpeg-encoder: change max ioomus count
@ 2023-12-27 13:08 Eugen Hristev
  2023-12-27 13:08 ` [PATCH 2/2] arm64: dts: mediatek: mt8186: Add jpgenc node Eugen Hristev
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Eugen Hristev @ 2023-12-27 13:08 UTC (permalink / raw)
  To: bin.liu, matthias.bgg, angelogioacchino.delregno, linux-media,
	devicetree
  Cc: linux-kernel, linux-arm-kernel, linux-mediatek, Eugen Hristev

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 1 since iommus are mandatory, to avoid warning
on the example.

Signed-off-by: Eugen Hristev <eugen.hristev@collabora.com>
---
 .../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..60c75b9312e8 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: 1
+    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] 7+ messages in thread

end of thread, other threads:[~2024-01-22  7:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-27 13:08 [PATCH 1/2] dt-bindings: media: mediatek-jpeg-encoder: change max ioomus count Eugen Hristev
2023-12-27 13:08 ` [PATCH 2/2] arm64: dts: mediatek: mt8186: Add jpgenc node Eugen Hristev
2024-01-02  9:28   ` AngeloGioacchino Del Regno
2024-01-02  9:29 ` [PATCH 1/2] dt-bindings: media: mediatek-jpeg-encoder: change max ioomus count AngeloGioacchino Del Regno
2024-01-09  3:27 ` Rob Herring
2024-01-15  3:57   ` Eugen Hristev
2024-01-22  7:54     ` Matthias Brugger

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).