Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp6459158rdb; Tue, 2 Jan 2024 02:38:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IEpDfcp8wi7cmZqWsVGLTDBFuMzI/2SKdiszvw3rMDhjHUH5qAvmlMuOdRhByNtwHj17MrR X-Received: by 2002:a17:90b:3555:b0:28c:ca4c:3868 with SMTP id lt21-20020a17090b355500b0028cca4c3868mr558428pjb.70.1704191901886; Tue, 02 Jan 2024 02:38:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704191901; cv=none; d=google.com; s=arc-20160816; b=eY86IXjXlKQeevuV5W8u9ahL2F2u53Ry8JwnOV4NImqgDpfIITsvOR3B9di6fdB91D mQGfk7V9KFOL5U6XKM+kta8egjjKL4IJoAFP71ZZ5MXkbMPT6L3uBaVgmRaEbZCI4tcZ kiK8SQ0R+QeCUv7SM9Wh3vYHhhP523GEP1uduZpwSLL/0amJ2ZbZvxBQydAHVgfzZuxK n1xd9X3nPiX8pR9roSxE0wcjJI1lLglnsx70ZNM3lQcBkXAHFaLDdwruFI7pB7g2mCf/ B/4JWGeTUTlYm52PPDIZAyiAgCC7vOvK78rsy4jlvMGejHlcRhbqB9hNP8+z9n3sZIo7 8QJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=ci7nW5O76X1a58+iI4kZgrCVhPN75VjT3qyOK0pXYnw=; fh=4YI6TwX5O8ZcgLK1DnJJBVdjJ9FJjDAQQ6czY3EjhMQ=; b=OPVjLNJLQR8YmBhXim85jW7w/xAHUeB+wQQN3p/XL6j7ruueyo1GVm6Fi5IqLJdjtI 5G8wopGVHxbM7EX3Bw3kT6m4h+u04cZnYgVDeqHayzFxG0Z/tHacxBk8+0DsZ+GX+1Ok gmFcp6mpbY4FvNm2iObYn2aRqQ8WVGFMK6Gdk8C3/eWZCAmk/dIuEcj26AZNCF7jCvmu 7J30O/CnJXsnbQ6002aSeagb5PVQr3Qm1MrPJJ22CSnJby4i1R53HLura9lT5Q7DsQqx Qwur8onAaxzbkXvTMYe5jEQ7mBHvdfUQo2ojUvhl9PvB9Bt/4quHLbP0mTWT1rs6dEnO cJUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=M6FRHFMn; spf=pass (google.com: domain of linux-kernel+bounces-14254-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14254-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id r17-20020a17090aa09100b0028aea7a9f59si23197864pjp.3.2024.01.02.02.38.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jan 2024 02:38:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-14254-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=M6FRHFMn; spf=pass (google.com: domain of linux-kernel+bounces-14254-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14254-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 66030282F47 for ; Tue, 2 Jan 2024 10:38:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9DE4BDDB3; Tue, 2 Jan 2024 10:38:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="M6FRHFMn" X-Original-To: linux-kernel@vger.kernel.org Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (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 4B716D507; Tue, 2 Jan 2024 10:38:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1704191886; bh=M7Xvx7dEYV5/Uj992gYqxQaLymoVlWi/PbPy7cgkjUQ=; h=From:To:Cc:Subject:Date:From; b=M6FRHFMnNf101tyVbQwluru0ACn738DHhwyLERK/KmF+dRrs3xYWo9tKuyPw82ufs hLrbXcwc6ZO6rSlEITpP1N7DgnlNSPTLjG4V15Hxsf8bvtwVvrzYPaZOvDDgdkIonl 3j8wFrj8yUD6dwdebN/gQU0zLXcD/7eQuI2cbEF7jvfbSYT1dw9hTPr7QD3wl7J0lI tySu70fkNZN/s0cTU6TjsuNAOd24aJmBSfpH6vGb82ImrZGVxIaQ+F432LnfhGz3jz y6GnyphNK7onHffNSkBT5ncqUVx0cMVgxsRfUM6it7WLur1Gu1NaM9lWAibZNII945 lD4i5HpdeyuOw== Received: from eugen-station.. (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: ehristev) by madrid.collaboradmins.com (Postfix) with ESMTPSA id BD17D3781FFA; Tue, 2 Jan 2024 10:38:05 +0000 (UTC) From: Eugen Hristev To: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-mediatek@lists.infradead.org, bin.liu@mediatek.com Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, angelogioacchino.delregno@collabora.com, kernel@collabora.com, eugen.hristev@collabora.com, matthias.bgg@gmail.com Subject: [PATCH v2 1/2] dt-bindings: media: mediatek-jpeg-encoder: change max iommus count Date: Tue, 2 Jan 2024 12:38:00 +0200 Message-Id: <20240102103801.268647-1-eugen.hristev@collabora.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Reviewed-by: AngeloGioacchino Del Regno --- 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..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