Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp5519955imm; Sun, 26 Aug 2018 22:32:40 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdaw2SO9MMg/NHYrHMXg58Uve6rmJuQy6lhREPM8mDRMzCKAxOf1IZsJmYEWdgE0ZV1tqyPt X-Received: by 2002:a62:280a:: with SMTP id o10-v6mr12661370pfo.129.1535347960486; Sun, 26 Aug 2018 22:32:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535347960; cv=none; d=google.com; s=arc-20160816; b=DpdN3vuAl9Xw5DB/kdCzApCYEVBY0RGiT38ah+skoc28OcCbHKIjEfObtOtepTUTqs AX3Tw/E5+p6mXC5d/Nm+awypI1Jv3bjj3ALGpOL9rNIzCd8IduWMTJ/Eec/2pn3arbeK AcNexnCWzacots1UZDiGBnEqOvmW9o28fpraux30tDyZVMFcmR6UloQcL44YpG6QCuaO DmmwfKzAJLJdLxkPi+RpzxO0n1d15SgivnJrMOu1It12RAHc9c2PS/T/naHP+/PK+5oJ SMRpbgIZZh4namUGhhOmuAi8AyWy1Al5rICB+Lh+FhEqXHoM7R65ClWXPueqz2m0NQW5 7ktA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=Iwle6vZ5wSX6ja0DwG1lLsZlstO+OOHCM4ZsMUU0/Ls=; b=M1h1wxtFUlapiG0j87FKoV+sq383zD9aCH7aCffbtARC6u7K+KIaFbmTacoIsJDC2Q z3EX7AC9uz7y6D0DnH2JI25fHwAPtJeuB7tgP9qMVLGsEGjeNaZ7EPXG2C85NwZBkptx YKslKmIKWXWge8jlNqFhiFfpWMbLPR4TXvzXhAfGM+VHM3Ydn0ifSM9DMq9cr2vNT0h9 bbzQHS8utjqUj/hEWAbvdBuFoZ2EhK9QNjmvZfAKtk2R2EbQ0qzO27FiQE8Kt/VhfvnR /L0fsPRiitOgzx9dbZ3ncwoTki64wp7uLBVNH4a9FKDqIKoPiDIygQCVQn52GX7JQAmC pHlw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=cBWj5sLF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id 24-v6si11211583pft.235.2018.08.26.22.32.25; Sun, 26 Aug 2018 22:32:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=cBWj5sLF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1726969AbeH0JQR (ORCPT + 99 others); Mon, 27 Aug 2018 05:16:17 -0400 Received: from mail.kernel.org ([198.145.29.99]:49410 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726785AbeH0JQQ (ORCPT ); Mon, 27 Aug 2018 05:16:16 -0400 Received: from localhost (unknown [106.200.197.151]) (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 3BBD42152E; Mon, 27 Aug 2018 05:31:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1535347872; bh=iceIk3PsQvO2kcj+aVqULVmqb1TU/T93OCdFbjwwkjs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cBWj5sLFHSMLKN83UOHFMqXyYFfntiF4HgET47HZ4Xd92TsTkdZ5Bi8OkS9zrykov cIgInQAqGBPOwiZjRmw+5x3lbmp9YOclLNFwqCWtjiwvI6+El83tUVN2ToDYm1ETaX rauviKPt5ojfjoD2zMe8WYl/heLWwfEl04mOgMfM= Date: Mon, 27 Aug 2018 11:01:03 +0530 From: Vinod To: Andrea Merello Cc: dan.j.williams@intel.com, michal.simek@xilinx.com, appana.durga.rao@xilinx.com, dmaengine@vger.kernel.org, v4-000linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org, radhey.shyam.pandey@xilinx.com Subject: Re: [PATCH v4 3/7] dt-bindings: dmaengine: xilinx_dma: add optional xlnx,sg-length-width property Message-ID: <20180827053103.GU2388@vkoul-mobl> References: <20180802141012.19970-1-andrea.merello@gmail.com> <20180802141012.19970-3-andrea.merello@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180802141012.19970-3-andrea.merello@gmail.com> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02-08-18, 16:10, Andrea Merello wrote: > The width of the "length register" cannot be autodetected, and it is now > specified with a DT property. Add DOC for it. Add Documentation for it... > > Cc: Rob Herring > Cc: Mark Rutland > Cc: devicetree@vger.kernel.org > Cc: Radhey Shyam Pandey > Signed-off-by: Andrea Merello > Reviewed-by: Radhey Shyam Pandey > --- > Changes in v2: > - change property name > - property is now optional > - cc DT maintainer > Changes in v3: > - reword > - cc DT maintainerS and ML > Changes in v4: > - specify the unit, the valid range and the default value > --- > Documentation/devicetree/bindings/dma/xilinx/xilinx_dma.txt | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/Documentation/devicetree/bindings/dma/xilinx/xilinx_dma.txt b/Documentation/devicetree/bindings/dma/xilinx/xilinx_dma.txt > index a2b8bfaec43c..aec4a41a03ae 100644 > --- a/Documentation/devicetree/bindings/dma/xilinx/xilinx_dma.txt > +++ b/Documentation/devicetree/bindings/dma/xilinx/xilinx_dma.txt > @@ -41,6 +41,10 @@ Optional properties: > - xlnx,include-sg: Tells configured for Scatter-mode in > the hardware. > Optional properties for AXI DMA: > +- xlnx,sg-length-width: Should be set to the width in bits of the length > + register as configured in h/w. Takes values {8...26}. If the property > + is missing or invalid then the default value 23 is used. This is the > + maximum value that is supported by all IP versions. > - xlnx,mcdma: Tells whether configured for multi-channel mode in the hardware. > Optional properties for VDMA: > - xlnx,flush-fsync: Tells which channel to Flush on Frame sync. > -- > 2.17.1 -- ~Vinod