Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp65500lqz; Fri, 29 Mar 2024 08:41:12 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU5QjruzoP4LltNDHFQ2eOUK0m8kkn/RjBel+qDgN3dgjcsVObg7YsG3qHsEvu3hZHatjHLaOCBNi/SRHSwPh2zOLzNaLad9BQVUv8V0A== X-Google-Smtp-Source: AGHT+IEp8zZAGGnzq0OQSzmq6Wus/0eY9v99CeKLVZ6IOq23oa1gawOD/zqmCiTeGdJAJSAQ4kWq X-Received: by 2002:ac2:4109:0:b0:515:a530:d570 with SMTP id b9-20020ac24109000000b00515a530d570mr1623765lfi.59.1711726872438; Fri, 29 Mar 2024 08:41:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711726872; cv=pass; d=google.com; s=arc-20160816; b=vjghAFX6lxEIL5u4fXTWpb3wXT97nRInRYtH8BDtG1ADsJM+P2Tb8luZzT96ntQ003 WQ7JW+OkiyxmCumtLIerYuLb9tBlZJsAzdKHvk84eUnrkkvIEjU+bklGXVdGLWsaTtK2 iKrCtFBtcUJeLo1uJt+foIDvA3rsJeR46Jr3f84PYts7VjCUeGOoLn5HJWFwirZoQnzz qYH9WjH11HT25SH3nCnqsW/e+XVuB09hepznacmaDqPyJXWdDRQ3WXRk5SpuqP/6Dxw0 N0ZgvgT/29JGKj3jzaDTdUARCs0K+Ly1BLh/+tigI3dOiasUNl3ATzFKTlDUy5/Ojxu9 p+AA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=dov0YoViybrYOBuKIb5e7/YoUjMkoN4SZyy1BcCQ2uc=; fh=8SM85ErhlQfYLcF189sQYkmIabC/buy3GazC2NpCpZs=; b=CeuDHQwyw3NIxqxLGHWhwSpq7L4tmNaT2bpMBQFIEmsnZ8UQiIGwsFCJKoTwsyeXHl M8Cdw56lsrcmVbCyZHyzxRwFUgRYP5/S1+ai0N7pciFjV82hzpXzVNRMsLQnwQxJJazd VKNeB+jEtWOIZzXVaYZx0ALMHQTA/QBB3ow5qk5Dq8BsxNqaYRkiK0rlj6gIliR/5PxP tsOsiTQmUDY6EuzZZZZKODvO3lpQiBMU8yC0mzbnH/Bi0NOp5l0rre84dD1bKqpgNK1X 4z0Sp8ZJtNeZcTT+IvM4RSDbgl3DGu6CkPfMmtw4+aVHP88xoq9Z8bAcVTsHzxPHM4EW LpHA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HPuJTw+U; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-125140-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-125140-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id q8-20020a056402518800b0056bda0e1bc0si2038913edd.195.2024.03.29.08.41.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Mar 2024 08:41:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-125140-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HPuJTw+U; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-125140-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-125140-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 2BC701F2A49E for ; Fri, 29 Mar 2024 15:41:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F19C51E491; Fri, 29 Mar 2024 15:41:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="HPuJTw+U" 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 100E21DDEA; Fri, 29 Mar 2024 15:41:01 +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=1711726862; cv=none; b=M1QIVgw4prWTQk4WXsc3K57sYUJ8/tMq/rL0NePo8xAlW6QBUFUVZtma3n0M035jBycazgXPv6oeHJRZ1nR31inZ1WFGaF2s9yTdLqPD+EyUPzSo4nn0rn2WSo4f8aZounGhXCUHVP58pLBeQlz6wMKrJUxV2IcT6QvL6kCOYqE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711726862; c=relaxed/simple; bh=bzeVKulJy/hP5GNpCoE2RYDk0i6XfvDfXpyD/AV4Lg4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=IQWneDmnPQ/u7ICo2vjUJMcQ1CBZATdtzV2Gqiz9WEQGaUGD3us2yG6C94EgARiks47bVZrE9PlTPFlj6HIqZVbVgFxNDYUhBT+h/iKZchCQKxEgN6xLZYfEC7ipt7PyVA0Un0yiCjhLUuj6CYiUJPKUcDvsYcF5uS26v3aBOcg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=HPuJTw+U; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7B77EC433F1; Fri, 29 Mar 2024 15:40:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711726861; bh=bzeVKulJy/hP5GNpCoE2RYDk0i6XfvDfXpyD/AV4Lg4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=HPuJTw+U4Lwdm2PhfqOl7arf9uQWMGDioUT4VPWqocBfmxF5bvrua6lI0nk5bEpF6 S23TW/S8CiFM5Qf3RMQp6KaLR0dTfRYMP/FLCCA7LVkJ6+zws5TeYnIyJSuS9a+FED WrMiY4ehrh6eoBrpVMO4ehijdQ9ocyo77sA1L93U7RRM9jgtR0pZw18rx8CfF/7q8y J8aJWUSCZZg5OgGscongYcMrs+CBY3zwtHztIpc42MFTTbCB6JG8fhtiuNJjXjEaGu +teoxnY9ElCdOZN+j29yFxogg4puEYmznow+hseIeYDj+UW25btqU4GNSA3z5emh9K v9GWw22lvHLxg== Date: Fri, 29 Mar 2024 15:40:57 +0000 From: Conor Dooley To: keguang.zhang@gmail.com Cc: Vinod Koul , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Huacai Chen , linux-mips@vger.kernel.org, dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v7 1/2] dt-bindings: dma: Add Loongson-1 APB DMA Message-ID: <20240329-destruct-giggling-b27e373295ba@spud> References: <20240329-loongson1-dma-v7-0-37db58608de5@gmail.com> <20240329-loongson1-dma-v7-1-37db58608de5@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="0+H86LmlfZrUlS4b" Content-Disposition: inline In-Reply-To: <20240329-loongson1-dma-v7-1-37db58608de5@gmail.com> --0+H86LmlfZrUlS4b Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 29, 2024 at 07:26:57PM +0800, Keguang Zhang via B4 Relay wrote: > From: Keguang Zhang >=20 > Add devicetree binding document for Loongson-1 APB DMA. >=20 > Signed-off-by: Keguang Zhang > --- > Changes in v7: > - Change the comptible to 'loongson,ls1*-apbdma' (suggested by Huacai Che= n) > - Update the title and description part accordingly > - Rename the file to loongson,ls1b-apbdma.yaml > - Add a compatible string for LS1A > - Delete minItems of 'interrupts' > - Change patterns of 'interrupt-names' to const >=20 > Changes in v6: > - Change the compatible to the fallback > - Some minor fixes >=20 > Changes in v5: > - A newly added patch > --- > .../bindings/dma/loongson,ls1b-apbdma.yaml | 65 ++++++++++++++++= ++++++ > 1 file changed, 65 insertions(+) >=20 > diff --git a/Documentation/devicetree/bindings/dma/loongson,ls1b-apbdma.y= aml b/Documentation/devicetree/bindings/dma/loongson,ls1b-apbdma.yaml > new file mode 100644 > index 000000000000..449da9fc2de1 > --- /dev/null > +++ b/Documentation/devicetree/bindings/dma/loongson,ls1b-apbdma.yaml > @@ -0,0 +1,65 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/dma/loongson,ls1b-apbdma.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Loongson-1 APB DMA Controller > + > +maintainers: > + - Keguang Zhang > + > +description: > + Loongson-1 APB DMA controller provides 3 independent channels for > + peripherals such as NAND, audio playback and capture. > + > +properties: > + compatible: > + oneOf: > + - const: loongson,ls1b-apbdma > + - items: > + - enum: > + - loongson,ls1a-apbdma > + - loongson,ls1c-apbdma > + - const: loongson,ls1b-apbdma > + > + reg: > + maxItems: 1 > + > + interrupts: > + description: Each channel has a dedicated interrupt line. If there's a respin, make this an items list. If you do, you can then drop the maxItems and description. Ideally with that change made, Reviewed-by: Conor Dooley Thanks, Conor. --0+H86LmlfZrUlS4b Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZgbhCQAKCRB4tDGHoIJi 0obNAQDHSnU+L7QN0TvySd5Y0LJgYUIxoxrj+cqFE3M6JzCtuwD/elNAaXBx1lsH jQzAYajJtRWsOWzHjRne3oSnDKRFmAg= =Mb/N -----END PGP SIGNATURE----- --0+H86LmlfZrUlS4b--