Received: by 2002:a05:7412:8d11:b0:fa:4934:9f with SMTP id bj17csp321854rdb; Sun, 14 Jan 2024 19:57:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IF8p2F2GClNw0MmTQ8Ty6DE95OzaNuV0cITV2BZBrGXwJE1xcjAv7fVJvkmq24EhqSSnZsW X-Received: by 2002:a05:6e02:1211:b0:360:7403:3cca with SMTP id a17-20020a056e02121100b0036074033ccamr3979773ilq.51.1705291056539; Sun, 14 Jan 2024 19:57:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705291056; cv=none; d=google.com; s=arc-20160816; b=W8Lq8GKCnFpPKH+1wEb1HBfV3duO+WaSNePJbjhMFsg8l5zMb6gSY7s0jFM1nkV7VR 8xtVQVfcjFdFQcJp3Fh64v7/UUy5TB+bykP/4aDSunfrksRxIuOdlR6p4FpqC1dDCK4k f2vlW9ZtfLJBp4vBtKMJopJk1ErjmBZ8wRsW/pzQsvHL7aK8eJaFQ/5ZHWNND019sRxt RYCBz9bPG21jP+GGJkcXpMFNUg8EKdMD/hnd3zEX10Xgu5KOVd4/tYJH2us/koatyGWA NfW+AIACcW0k7svYMYPsp2h0yLqb1ISqoszPfMpn4B9mFneuRDfT73cG3IkVVBY973cH WP2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=Q+F3Qza7mnrNNprDYg3j48g6YC78svGZWDg6nZj/gQ8=; fh=VC178TKcLR+isudS30zIAbEcG29ZvD+dQBzGjdj7b6Y=; b=0T5A0ODqtMSFxb8Gohl1iT1hhJw2yE1forxV5rthyP9oEHmumuCd5icNyqVjFBaOrZ brXl39/eK3KPTnoNQtq130D2ZLONtbDk62JqqhVU8pMcprZd0aqlhrRqhRnnbnAiv53W zEuzo72xMIl+celjUqdmbj9kllxNGo1NvcoqS3wIHa3Ny30V3pIEEpm3Sr9NsutQKvwo xuv8mIJfLl5Q8zVIqu88m1loYiqG5RwTE3jBiNUyfy/oq0s+HRSGv1Ru0jaN1CkdsLbD VYWYgaJDGgsoIgR484TxVkTw5krAn5EVHgqAoCA9VlLYJ413RZVr/co+599J03sR805+ OpRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=IQQqkaVZ; spf=pass (google.com: domain of linux-kernel+bounces-25612-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25612-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id bj7-20020a170902850700b001d4acc302e2si8032288plb.4.2024.01.14.19.57.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 Jan 2024 19:57:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-25612-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=IQQqkaVZ; spf=pass (google.com: domain of linux-kernel+bounces-25612-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25612-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 3EB88B20C7A for ; Mon, 15 Jan 2024 03:57:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 137B323B7; Mon, 15 Jan 2024 03:57:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="IQQqkaVZ" 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 AA8EC1FAA; Mon, 15 Jan 2024 03:57:19 +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=1705291029; bh=gE9f3UIrT8NLh3MU9oG58RY7ipRU2KmEb7/90wbvBuM=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=IQQqkaVZ7ckQeiFkbhaMfASgeJu9n1eMACAVZLlzjlLu+I074ad0rVl022oIIWkWW ks+B2pXyuEw833mkdN8LMhKatddZh+OZZ975lwtHYseUcqkR7/U6k8amMAbH6FKiWo UJAWN/gEe/W4imsClXpjRqLFzFyIKZ/2VBLQos34W8nXkXPSnopP9gN/Seh5Rp/pxH X+lC3Cyzr1sugmM/9SC8vV4CgIKmiX+n2hUDEQVQYSB431t1C4+MM+5fjKW+8HUjhT KW0Q/u2PoYFLDRYl9gNf0mWtBJbSfLCRdm10MsUBsT8f2SebpDBxcnSdopCdi4OTZB IVhhRGUSGHQmQ== Received: from [100.90.194.27] (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 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 77B0337811D0; Mon, 15 Jan 2024 03:57:07 +0000 (UTC) Message-ID: <94beea2a-c4b9-4241-bbfe-8c57ca50fbf7@collabora.com> Date: Mon, 15 Jan 2024 05:57:04 +0200 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 1/2] dt-bindings: media: mediatek-jpeg-encoder: change max ioomus count To: Rob Herring Cc: bin.liu@mediatek.com, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org References: <20231227130812.148914-1-eugen.hristev@collabora.com> <20240109032731.GA2578937-robh@kernel.org> Content-Language: en-US From: Eugen Hristev In-Reply-To: <20240109032731.GA2578937-robh@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 1/9/24 05:27, Rob Herring wrote: > On Wed, Dec 27, 2023 at 03:08:11PM +0200, Eugen Hristev wrote: >> 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. > > maxItems alone means minItems is the same size. If IOMMU is required, > then 'required' is where that is defined. Is there a case where 1 IOMMU > is valid? If so, what h/w has this case. > > Rob > > Hello Rob, Without setting a minItems , the example in the binding fails, because it has just 2 items, while the maxItems is now 4. I set minItems as 1 to avoid restricting any kind of hardware to have at least 2 items, but if you claim that previously, maxItems=minItems=2 , I will change this to 2. Is that fine with you ? Eugen