From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 24496C433FE for ; Thu, 17 Nov 2022 13:13:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239737AbiKQNNH (ORCPT ); Thu, 17 Nov 2022 08:13:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33984 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239267AbiKQNNF (ORCPT ); Thu, 17 Nov 2022 08:13:05 -0500 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 19E9F6868A for ; Thu, 17 Nov 2022 05:13:04 -0800 (PST) Received: by mail-lf1-x129.google.com with SMTP id p8so2680701lfu.11 for ; Thu, 17 Nov 2022 05:13:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=TvNNhN9Y8CERDACcTQTBMLAUA43DbdubBtZBLlWg5yg=; b=NSII2LFzYkrCXROZWs8qd5ufIxgYuk7sjyYdelVazxg6QrxRFntmhvWP7W2MC9V892 K4IZwBSdtcSdikc4XJlyp7OKyaXokTeH/VvNzTrMLVXTKkbrT8OOSEHRUK8ZyW2L5aVc 3GMPYtknPagI0xAweCAaDVvo0YdYgc5XVtJuYCnCTtUIUxTieewBxHYDENCXpWPial6z q3/40Ifwi3EoZyMpZxsshg2KHoUrbkSPbzKtl1W/+xaB6fa21vItuP71PM4WvSGFWADW 1u1KK7+qlHUaJTDrK0poRBMo8tzKpPxp943JaCCUClEJVWxPByl0tzBMaTfFmwIc72ai qefA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=TvNNhN9Y8CERDACcTQTBMLAUA43DbdubBtZBLlWg5yg=; b=KZo6/TzgNBVFmtn6Kn9MigzXddzXLXkxSXo8qQhAPUVB4KUOQOqXKJvrXCykg+qffD yodeB0dBO9eY7rIrgG4NsSg1HD8bS4SIyJbAcbxxkVWkb9QgFTT2GIY5joqhcxotYwaa tfS53aepqkwjY7AHdHTfcGFzpoGq34CklFHgUtT5Wrp1byrqS7jF+ntZsM9yj01L3Rhg t5ar0jL9J5bJj+6o1Zh8wWHsLMnVkatRCcNduvdMtzII9yOc/eYC1FWf6b1ARa0Jt3um MeT3QqiV84vZX19LvpYN91Uuy2JMyb+0dxerevbtF6AhIoo/eqf3fk5/foFEbWAndsrI 9iBQ== X-Gm-Message-State: ANoB5plSL0RWKet+TgeqmNB5mDP5ii8SiqCuRI/EDQGSN4HTaaqhp+7m g6wCCIvxrFkV/j64o2XTbCY9IA== X-Google-Smtp-Source: AA0mqf6dXCtAnwcI18KHJ+hSEK62P7P1YpzMiwZxE1aZLBVxTFepM9qnMh8+tlCk0GT4+V3CThxoww== X-Received: by 2002:a05:6512:a93:b0:4a2:6337:872d with SMTP id m19-20020a0565120a9300b004a26337872dmr876100lfu.35.1668690782504; Thu, 17 Nov 2022 05:13:02 -0800 (PST) Received: from [192.168.0.20] (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id n4-20020a195504000000b00492ce573726sm147123lfe.47.2022.11.17.05.13.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 17 Nov 2022 05:13:01 -0800 (PST) Message-ID: Date: Thu, 17 Nov 2022 14:13:00 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH v2 1/2] media: dt-bindings: allwinner: video-engine: Fix number of IOMMU channels Content-Language: en-US To: Jernej Skrabec , mchehab@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, wens@csie.org, samuel@sholland.org Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org References: <20221117060704.367945-1-jernej.skrabec@gmail.com> <20221117060704.367945-2-jernej.skrabec@gmail.com> From: Krzysztof Kozlowski In-Reply-To: <20221117060704.367945-2-jernej.skrabec@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 17/11/2022 07:07, Jernej Skrabec wrote: > Cedrus (video engine) on Allwinner H6 actually uses two IOMMU channel, > not just one. However, Cedrus on SoCs like D1 only uses one channel. > > Allow up to 2 IOMMU channels. > > Fixes: 62a8ccf3a248 ("arm64: dts: allwinner: h6: Fix Cedrus IOMMU usage") > Signed-off-by: Jernej Skrabec > --- > .../bindings/media/allwinner,sun4i-a10-video-engine.yaml | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/media/allwinner,sun4i-a10-video-engine.yaml b/Documentation/devicetree/bindings/media/allwinner,sun4i-a10-video-engine.yaml > index 541325f900a1..6446004d59d9 100644 > --- a/Documentation/devicetree/bindings/media/allwinner,sun4i-a10-video-engine.yaml > +++ b/Documentation/devicetree/bindings/media/allwinner,sun4i-a10-video-engine.yaml > @@ -55,7 +55,8 @@ properties: > description: Phandle to the device SRAM > > iommus: > - maxItems: 1 > + minItems: 1 > + maxItems: 2 You have several compatibles in the file, so usually this is further constrained per each variant in allOf:if:then:. Best regards, Krzysztof