Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp301359rdb; Thu, 22 Feb 2024 04:25:46 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWEtzZEvNAcLgUZZ8uhAfhDQ7NNc04C1Ikmt1T1gPvRlW8wfVECsxhqYLuaJgo0kai6k+OovUp6h2MFaGHyRz8tyTv3lOo8snmLVAGXLg== X-Google-Smtp-Source: AGHT+IHCPCLtEgm/pV8lNfttOqrwlOBD1o+FRhmeh8wzQaSyYmEYEfldbrq53b17ihig/y6cabs6 X-Received: by 2002:a92:c110:0:b0:363:c1ce:1a6 with SMTP id p16-20020a92c110000000b00363c1ce01a6mr19888236ile.13.1708604746177; Thu, 22 Feb 2024 04:25:46 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708604746; cv=pass; d=google.com; s=arc-20160816; b=n5vmDiSG4q/r+KrNHXmKNmuYMxmaH9ImtcQux4Jn7BRnZH8x+5+zp6bYCo46nHb4xp gOm947jRxX0ljer5bJrgZ9h6G7RYQYukO/QCFn//ynyiZiX8v1r4YfGiIBjZCQwg42Hk Ds1kppezm6U1gNfqyVyQiZj0c48DrGsbty3beftgSOnEsGQONA1eBEUN++4On3Xy5unS FiiN590LF2fSOepTzwczsYVwPsxGbHH+HiycvLpOx9Ngex8KYZp2SZsvyi8fOsC8bZn5 vxw7iCr/rh1/MAYkOr+0GW5hoL9f64Mbf/CeqrK6uihI977XJ6e142ZHTWoB/QHeUZlv 0OMA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=subject:message-id:references:in-reply-to:cc:to:from:mime-version :list-unsubscribe:list-subscribe:list-id:precedence :content-transfer-encoding:date:dkim-signature; bh=fZbUpdXvbrgVdU+eNuY8AhOXdFNvnKlI84PH1Hws/oM=; fh=HqmqsYmkvNuwmctv9ebgd59ViCr5E07Me9YHSX3aEyk=; b=EQCu/ONYYVgZwlAoYJOkleW9VOTo5FQvPE40LZqNDK16/OjEDJr2WstccujhqjCieg EuR+5+XzYE8D3Il5vigFHuYB8RB5i0bkr3FDKpVIy1lFTNBzZODj0CxvEdl1GYqmiPQR +j4Kni9OXgd0+t+zGi3aKf5Q+TE1wmtp6sUcPNW5rcEnanFq2ZWeZgVqXgFU3AcfEQAM wv8opkJjDAgCTYgK5SZYzHtv/hzlKzSwQbIXN7HZxFWH1T0HD5pL4ijelE86lwPiWdc6 DAseu2AAsyDuXdT87+TPDX6o3fHO6lCub8qDgsu8LUdr754wv3wamCloFG7KtSjliCbC KaPg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dScpg8Iw; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-76509-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-76509-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id a26-20020a637f1a000000b005ceca1094c3si9997617pgd.853.2024.02.22.04.25.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 04:25:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-76509-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dScpg8Iw; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-76509-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-76509-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 B18712889F0 for ; Thu, 22 Feb 2024 12:25:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F38B160BBB; Thu, 22 Feb 2024 12:25:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="dScpg8Iw" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 E63E842078; Thu, 22 Feb 2024 12:25:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708604715; cv=none; b=mdwTFEjvMBLs8BFG1MCGdteq2Xrrl74mL7zeteBI/vVyFU8oRNnruuCizHXsCqC7z6xZtrpA66nLMAZ9ge+lwDS6RoxEt4r1LjPr2Q74UYJz46oqj/SzA/Zw79TAD2n/nYQka9bMrUqsBYbN8cLtr+dzsYZBv7wXiHw0hvpyfo4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708604715; c=relaxed/simple; bh=69qHeUTOH4zPzO8rZQNYTRNkVJ/vxf11CHJWT0bGgow=; h=Date:Content-Type:MIME-Version:From:To:Cc:In-Reply-To:References: Message-Id:Subject; b=B5UZ2aU6Blifzkl56NEZMqvbNXZfMWym8J0N3BbIErsPY7AE6NB74KlH/XYVUOpCukn/0uW5JxJ7HeQCl+lmW3FjYHSEfaaWyFkVDrnbbAhXiIRS7vocEC2FEaSZl0ux2RyriJ8myaB/ZmKlUAGzNjAP/iwDZys2IFJ7Jj1erqc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=dScpg8Iw; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9A8D5C433C7; Thu, 22 Feb 2024 12:25:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708604714; bh=69qHeUTOH4zPzO8rZQNYTRNkVJ/vxf11CHJWT0bGgow=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From; b=dScpg8IwFvkPsh9NDss/Hw/60geFbodRVS21pH+glD717mGn7AvrPXO2kBi4EOlGR 73Dbn2oU9hroH7sT8bfUTem8R7rdQ6tTEeZkxj6q2f/Pciw85c9lnwp2lVU4Fy9sbO 92EtwpkU2L6cOqOm9RHA0T3YjHYTjydco7+XSjAQcvEMpWF3CUWRunr6hG61omhdjN yhjxr0nNMKoW8O7VpRZEffPFHxUde5NUm6B5l2gEUlLH6Fa8uJHE+ZetM7GWFODBcV zXv6lM5yIh1ESZenM7NJgRthuKLhzC089xGf0wV4KPhuGQ82HGrCYfrHvSEv7rpbJi 4coy5XdE29lsg== Date: Thu, 22 Feb 2024 05:25:13 -0700 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Rob Herring To: Jai Luthra Cc: Vaishnav Achath , Sakari Ailus , Jayshri Pawar , Jack Zhu , Julien Massot , Hans Verkuil , Changhuang Liang , Maxime Ripard , Conor Dooley , linux-media@vger.kernel.org, devicetree@vger.kernel.org, Vignesh Raghavendra , Aradhya Bhatia , Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, Devarsh Thakkar , Krzysztof Kozlowski , Tomi Valkeinen In-Reply-To: <20240222-multistream-v1-4-1837ed916eeb@ti.com> References: <20240222-multistream-v1-0-1837ed916eeb@ti.com> <20240222-multistream-v1-4-1837ed916eeb@ti.com> Message-Id: <170860471258.2476270.8232202066004725650.robh@kernel.org> Subject: Re: [PATCH RFC 04/21] dt-bindings: media: ti,j721e-csi2rx-shim: Support 32 dma chans On Thu, 22 Feb 2024 17:01:20 +0530, Jai Luthra wrote: > The CSI2RX SHIM IP can support a maximum of 32x DMA channels. > > These can be used to split incoming "streams" of data on the CSI-RX > port, distinguished by MIPI Virtual Channel (or Data Type), into > different locations in memory (/dev/videoX nodes). > > Actual number of DMA channels reserved is different for each SoC > integrating this IP, but a maximum of 32x channels are always available > in this IP's register space, so set minimum as 1 and maximum as 32. > > Link: https://www.ti.com/lit/pdf/spruiv7 > Signed-off-by: Jai Luthra > --- > .../bindings/media/ti,j721e-csi2rx-shim.yaml | 40 ++++++++++++++++++++-- > 1 file changed, 37 insertions(+), 3 deletions(-) > My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' on your patch (DT_CHECKER_FLAGS is new in v5.13): yamllint warnings/errors: dtschema/dtc warnings/errors: /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/media/ti,j721e-csi2rx-shim.yaml: properties:dma-names: {'minItems': 1, 'maxItems': 32, 'items': [{'const': 'rx0'}, {'const': 'rx1'}, {'const': 'rx2'}, {'const': 'rx3'}, {'const': 'rx4'}, {'const': 'rx5'}, {'const': 'rx6'}, {'const': 'rx7'}, {'const': 'rx8'}, {'const': 'rx9'}, {'const': 'rx10'}, {'const': 'rx11'}, {'const': 'rx12'}, {'const': 'rx13'}, {'const': 'rx14'}, {'const': 'rx15'}, {'const': 'rx16'}, {'const': 'rx17'}, {'const': 'rx18'}, {'const': 'rx19'}, {'const': 'rx20'}, {'const': 'rx21'}, {'const': 'rx22'}, {'const': 'rx23'}, {'const': 'rx24'}, {'const': 'rx25'}, {'const': 'rx26'}, {'const': 'rx27'}, {'const': 'rx28'}, {'const': 'rx29'}, {'const': 'rx30'}, {'const': 'rx31'}]} should not be valid under {'required': ['maxItems']} hint: "maxItems" is not needed with an "items" list from schema $id: http://devicetree.org/meta-schemas/items.yaml# doc reference errors (make refcheckdocs): See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20240222-multistream-v1-4-1837ed916eeb@ti.com The base for the series is generally the latest rc1. A different dependency should be noted in *this* patch. If you already ran 'make dt_binding_check' and didn't see the above error(s), then make sure 'yamllint' is installed and dt-schema is up to date: pip3 install dtschema --upgrade Please check and re-submit after running the above command yourself. Note that DT_SCHEMA_FILES can be set to your schema file to speed up checking your schema. However, it must be unset to test all examples with your schema.