Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp353734pxk; Thu, 1 Oct 2020 04:16:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz9jn32DuofqJIiblhyC2/HApgzPJHvrEMfUoDnAhcVxZdD03VbD+7IEb7rEdx1C3OJgSWv X-Received: by 2002:a50:d987:: with SMTP id w7mr7593926edj.113.1601550979611; Thu, 01 Oct 2020 04:16:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601550979; cv=none; d=google.com; s=arc-20160816; b=cAnS6w21fJiVzlrQmZ/Tq/bcsZJilJ7v0D7mWADis9e4Khf0H9P4ApX50PLf0W07JF W2Zitv5WbHIhQOLhpqKiWrA7GY5HyG0s1wmISpHLJuvEzMMt8uo0/z0bWV+JJp1ewbKK dZBsJvHfmHqNbj4ZhT679jed4oihDtlJKzAOGPSb3pZEfCNo+2cZCq+dSwqnM/Fpahk9 xUiMHNAwOXNMX2UmHbCC0eX1VUoMLZaOg2FstkOkzLKY38+35dMBlHB/QB7XxFYB1WHr mXs//Y8NBkLdRHGOBLAG+A0M/JdWkd2yhFmora4Ea/KjjEOZ/oqR8HgsHDVAX42HBESF Ljgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Blq5UkAEfric/X5P5tO8DttayQweOmWGzHwc9oqP1zQ=; b=C1AeJ6zivpRngfCTIT0pu2evK402NRsmAaha2Q36yEU1h2egs0iz65oPoiwnTzoxvb Yf4LSIWcnV7wHUbdgkCHQaIB563rZTqcwtgVUXZ6DB2v+6L5zGp9ZLTko6WfNIUg4PXP nYyfj0f0NIMBhw7kh7iY3Knkwd46wIbYEwdz7O326ytIDF30tdtM0sZzPkmwn66JQg/h /8SjDgJnf/VxISeg7iB9+8rHun+y9q/UAtx1gVwszTDCVwA43rWNDCymYan+pQ4kXbgX W13RHUzDfqmATQZc8neMhPp5fSIXsioo0IrhorxUkPARdTxWZa11yP96l2a3V/YAVZ12 Pk7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=1QmK0tqB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t22si3518989edi.341.2020.10.01.04.15.57; Thu, 01 Oct 2020 04:16:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=1QmK0tqB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731903AbgJALPA (ORCPT + 99 others); Thu, 1 Oct 2020 07:15:00 -0400 Received: from mail.kernel.org ([198.145.29.99]:43252 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726992AbgJALPA (ORCPT ); Thu, 1 Oct 2020 07:15:00 -0400 Received: from localhost (unknown [122.167.37.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8DCD72087D; Thu, 1 Oct 2020 11:14:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601550899; bh=cxQnqQEDntZ0aFpinDWrTCtr5C68zBwmYfLs04V0NQ0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=1QmK0tqBrnzWdIfBjfeBwjFFwSWLDU31/OzJYfN/8MDFjcSmf7CNJHaHtYVmggGNx FRL+PrW8PPZrD3WrYbEKebFarwzn/o+IvnnYvo913WWC5FrQEXa4Giq2FDs6IHANr2 tj1lirpAhlfroTcv6n5pGac9O3a7fUl0Ze0ifJcE= Date: Thu, 1 Oct 2020 16:44:54 +0530 From: Vinod Koul To: Rob Herring Cc: dmaengine@vger.kernel.org, Bjorn Andersson , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Peter Ujfalusi Subject: Re: [PATCH v3 1/3] dt-bindings: dmaengine: Document qcom,gpi dma binding Message-ID: <20201001111454.GW2968@vkoul-mobl> References: <20200923063410.3431917-1-vkoul@kernel.org> <20200923063410.3431917-2-vkoul@kernel.org> <20200929184424.GA935309@bogus> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200929184424.GA935309@bogus> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rob, On 29-09-20, 13:44, Rob Herring wrote: > > +description: | > > + QCOM GPI DMA controller provides DMA capabilities for > > + peripheral buses such as I2C, UART, and SPI. > > + > > +allOf: > > + - $ref: "dma-controller.yaml#" > > + > > +properties: > > + compatible: > > + enum: > > + - qcom,gpi-dma > > Should be SoC specific. Okay, will add > > + > > + reg: > > + maxItems: 1 > > + > > + interrupts: > > + description: > > + Interrupt lines for each GPII instance > > GPII or GPI? Hw uses GPII as "GPI Instance" :) so will update this > > + maxItems: 13 > > + > > + "#dma-cells": > > + const: 3 > > + description: > > > + DMA clients must use the format described in dma.txt, giving a phandle > > + to the DMA controller plus the following 3 integer cells: > > + - channel: if set to 0xffffffff, any available channel will be allocated > > + for the client. Otherwise, the exact channel specified will be used. > > + - seid: serial id of the client as defined in the SoC documentation. > > + - client: type of the client as defined in dt-bindings/dma/qcom-gpi.h > > + > > + iommus: > > + maxItems: 1 > > + > > + dma-channels: > > + maxItems: 1 > > Not an array. Is there a maximum number of channels or 2^32 is valid? I have not seen any max limit put, but we can be assured that it will not go to 2^32, we can put a reasonable limit .. Will add maximum :) > > + > > + dma-channel-mask: > > + maxItems: 1 > > So up to 32 channels? yep! -- ~Vinod