Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp2934509lqo; Tue, 21 May 2024 01:27:10 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVgj+kIkxovftL7l8lIfKLmhID6cJ2dTFds1u88Yy8tJfm/SvDIZ9RFyctkmQB1IWeRh/XB2SoCWg2nbxw7CUF+2GrMuUrZ2r1d+S3QDw== X-Google-Smtp-Source: AGHT+IG8dvUrqv01fzVKaxYHcGQR+etlxAVO9FGx9BJUKgeV320BIiFZgy53qmjVzTPIZ5GFKoPE X-Received: by 2002:a05:6a21:19c:b0:1a3:df1d:deba with SMTP id adf61e73a8af0-1afde0dc95amr32841312637.31.1716280030622; Tue, 21 May 2024 01:27:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716280030; cv=pass; d=google.com; s=arc-20160816; b=gLNrEMUn4knEF00yoOerpm27mMfeIzjmRoP+qzqfEeWp20iRgjb+2GrLElNiHk2/ia ca6fDnb14CIMJw4ypwRxoBCyxGCTIL61oqF9oVA3OCJU/IU16SSkawLWO4M8zG6OuigM rQkaH9QKkNxB+w+t90FuSQKsTu3dTMJMoh+FWGaAnVGboAI8LebMV9lTXdOi1Y0bvq02 Wlj7hhKMRyD5fozSi8BO74M95m6LRALwqSBCpfNjugP6bAX+m+IOJFNO5JzPsdAZWhH4 3Pcx7E8A14ZORYeokE8aaJW0vPWdg8widCI7o64NW9EDmwSOJEjmK7M+7571y2kBaStY DUIg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=kk+TM7SYQvKMaRj3Fk86Xd3d3zSGCky8lbVQ0YbHHgY=; fh=IRQcRh19b8Gst4zRkUNq1EhS2wFRG8sfRf0P9Wxl21Y=; b=VSjCSDOAIaTvbcnvePiYKseiB3L3CvNGscuMt5Nnm/whBLduP8id3NbXPpOI5s2n5s uon5OKqWK9Mn0PLPVKenmTbZi1vtX6ZzLJFGFa/tUQ8BcvY+UAumjaIb9myt5rBRH0w8 BF9Ow8XL/XFz71sveVXlLYOyphWSiMvxhsbpyh42/1SFzTYTljAOEWboJYK+LV54mvbk Wv38jGnMtmP4NufFGhMd9JXuFr+F3wTUXRNuVDc+Su0y2aRyDSip0P8AmoJ3jfuaShHc HyPZ5tsRZA+VX6BS3qT/byMUejcE/wUPaW8Vt15NYTwaLHEv+eyHPXbAH+Xx65YIMyEI +6Ug==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="DeAtIO/I"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-184638-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184638-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id d9443c01a7336-1ef0c14c891si44359145ad.461.2024.05.21.01.27.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 May 2024 01:27:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-184638-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=@kernel.org header.s=k20201202 header.b="DeAtIO/I"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-184638-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184638-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 04953B20D79 for ; Tue, 21 May 2024 08:27:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2AD8254F8D; Tue, 21 May 2024 08:26:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="DeAtIO/I" 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 2CE2D54777; Tue, 21 May 2024 08:26:54 +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=1716280015; cv=none; b=SWmJn9d1LxL+P1IJ5xz6WwYXaHCxfGhtlWxKzyE+X+4qdtdsTeMkNR/9E72Ye9Mz5RTRLHhjhorKw2lVPyIWdPYAevkw9r6Fq/IwuRjWOn1yCZ9iBQxpgcM4i9c3O/U8wibbWreHQoXAL5K1XWG5e3MjBgG9AVM9Z3hu1z1ey80= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716280015; c=relaxed/simple; bh=tv6yy5kHc6AAE39BqUVHJ2LFtdoFuzOvYG6HtKaB4Pk=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Yh0j8Tkg2EKoTXI7+AMw2vQ1QY6A12ffUeWF+4SVsMiHjXNjHmeFug1p1BGr5VwlBQuMm0u35EV1QNG4Fa07pWkT00PtagX/CY1Mp/vUujrngEUmHyEO3qDwnaIfXbZl3UfPH+jh2OV5jxvos4N8hgA0XVM4o5z7iZCOvV9u23s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=DeAtIO/I; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id A6B9CC2BD11; Tue, 21 May 2024 08:26:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716280014; bh=tv6yy5kHc6AAE39BqUVHJ2LFtdoFuzOvYG6HtKaB4Pk=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=DeAtIO/IMKUgSJl2VhFPZMh2EPp+bLNHxDBVjluZ+tQeUif3WB/9HJvhdNwNKKnPk K3Nb17yJHuMjwnV6MRjnKCOxTLlW4Z01tbjHf8v6/f+ZH6XtQhNAy79rL+YbRDnh+4 MC4ZYfWDuEq8SSlgJudgRA/ZzFDWYEridFAPzhuulzP35UEwi75Ahx0v27RKFoP1/q iiDUQ40YzFR9JXX584cyYVpyRfc1622rzORW+FaFFFrV49x0jh6j5e/h8is80uL777 qQMaaEOjOyveietda0tsTrA+UHZvDtsGCRePJUngawYvLhs3UCjJ3t/STdZb64Fxvk Rx5NQmww9FVgw== Message-ID: <8a0e5863-27f7-47e4-9325-a686d5adffec@kernel.org> Date: Tue, 21 May 2024 10:26:48 +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/1] dt-bindings: fsl-qdma: Convert to yaml format To: Frank Li , Vinod Koul , Rob Herring , Krzysztof Kozlowski , Conor Dooley , "open list:DMA GENERIC OFFLOAD ENGINE SUBSYSTEM" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , open list Cc: imx@lists.linux.dev References: <20240520203907.749347-1-Frank.Li@nxp.com> From: Krzysztof Kozlowski Content-Language: en-US Autocrypt: addr=krzk@kernel.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzSVLcnp5c3p0b2Yg S296bG93c2tpIDxrcnprQGtlcm5lbC5vcmc+wsGVBBMBCgA/AhsDBgsJCAcDAgYVCAIJCgsE FgIDAQIeAQIXgBYhBJvQfg4MUfjVlne3VBuTQ307QWKbBQJgPO8PBQkUX63hAAoJEBuTQ307 QWKbBn8P+QFxwl7pDsAKR1InemMAmuykCHl+XgC0LDqrsWhAH5TYeTVXGSyDsuZjHvj+FRP+ gZaEIYSw2Yf0e91U9HXo3RYhEwSmxUQ4Fjhc9qAwGKVP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IBE+NUqckM+3zJHGmVPqJP/h2Iwv6nw8U+7Yyl6gU BLHFTg2hYnLFJI4Xjg+AX1hHFVKmvl3VBHIsBv0oDcsQWXqY+NaFahT0lRPjYtrTa1v3tem/ JoFzZ4B0p27K+qQCF2R96hVvuEyjzBmdq2esyE6zIqftdo4MOJho8uctOiWbwNNq2U9pPWmu 4vXVFBYIGmpyNPYzRm0QPwARAQABwsF8BBgBCgAmAhsMFiEEm9B+DgxR+NWWd7dUG5NDfTtB YpsFAmA872oFCRRflLYACgkQG5NDfTtBYpvScw/9GrqBrVLuJoJ52qBBKUBDo4E+5fU1bjt0 Gv0nh/hNJuecuRY6aemU6HOPNc2t8QHMSvwbSF+Vp9ZkOvrM36yUOufctoqON+wXrliEY0J4 ksR89ZILRRAold9Mh0YDqEJc1HmuxYLJ7lnbLYH1oui8bLbMBM8S2Uo9RKqV2GROLi44enVt vdrDvo+CxKj2K+d4cleCNiz5qbTxPUW/cgkwG0lJc4I4sso7l4XMDKn95c7JtNsuzqKvhEVS oic5by3fbUnuI0cemeizF4QdtX2uQxrP7RwHFBd+YUia7zCcz0//rv6FZmAxWZGy5arNl6Vm lQqNo7/Poh8WWfRS+xegBxc6hBXahpyUKphAKYkah+m+I0QToCfnGKnPqyYIMDEHCS/RfqA5 t8F+O56+oyLBAeWX7XcmyM6TGeVfb+OZVMJnZzK0s2VYAuI0Rl87FBFYgULdgqKV7R7WHzwD uZwJCLykjad45hsWcOGk3OcaAGQS6NDlfhM6O9aYNwGL6tGt/6BkRikNOs7VDEa4/HlbaSJo 7FgndGw1kWmkeL6oQh7wBvYll2buKod4qYntmNKEicoHGU+x91Gcan8mCoqhJkbqrL7+nXG2 5Q/GS5M9RFWS+nYyJh+c3OcfKqVcZQNANItt7+ULzdNJuhvTRRdC3g9hmCEuNSr+CLMdnRBY fv0= In-Reply-To: <20240520203907.749347-1-Frank.Li@nxp.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 20/05/2024 22:39, Frank Li wrote: > Convert binding doc from txt to yaml. > > Re-order interrupt-names to align example. > +properties: > + compatible: > + enum: > + - fsl,ls1021a-qdma > + - fsl,ls1028a-qdma > + - fsl,ls1043a-qdma > + - fsl,ls1046a-qdma > + > + reg: > + items: > + - description: Controller regs > + - description: Status regs > + - description: Block regs > + > + interrupts: > + minItems: 2 > + maxItems: 5 > + > + interrupt-names: > + minItems: 2 > + items: > + - const: qdma-error > + - const: qdma-queue0 > + - const: qdma-queue1 > + - const: qdma-queue2 > + - const: qdma-queue3 > + > + dma-channels: > + minItems: 1 > + maxItems: 64 That's not a list. Did you just copy buggy fsl-edma? > + > + fsl,dma-queues: > + $ref: /schemas/types.yaml#/definitions/uint32 > + description: Should contain number of queues supported. Constraints? > + > + block-number: > + $ref: /schemas/types.yaml#/definitions/uint32 > + description: the virtual block number > + > + block-offset: > + $ref: /schemas/types.yaml#/definitions/uint32 > + description: the offset of different virtual block > + > + status-sizes: > + $ref: /schemas/types.yaml#/definitions/uint32 > + description: status queue size of per virtual block > + > + queue-sizes: > + $ref: /schemas/types.yaml#/definitions/uint32-array > + description: > + command queue size of per virtual block, the size number > + based on queues > + > + big-endian: > + $ref: /schemas/types.yaml#/definitions/flag > + description: > + If present registers and hardware scatter/gather descriptors > + of the qDMA are implemented in big endian mode, otherwise in little > + mode. > + > +required: > + - compatible > + - reg > + - interrupts > + - interrupt-names > + - fsl,dma-queues > + - block-number > + - block-offset > + - status-sizes > + - queue-sizes > + > +unevaluatedProperties: false > + > +allOf: > + - $ref: dma-controller.yaml# This goes above unevaluatedProperties. Please constrain interrupts per variant. Best regards, Krzysztof