Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp4984598imm; Tue, 7 Aug 2018 10:33:51 -0700 (PDT) X-Google-Smtp-Source: AAOMgpclgVXHSrc9vqpi5sLrGvMtjBP/c712sF3CKZRYtqQMxf3VVmxOWPCTp/mZE4dodeLyshWM X-Received: by 2002:a62:828a:: with SMTP id w132-v6mr22916348pfd.121.1533663231520; Tue, 07 Aug 2018 10:33:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533663231; cv=none; d=google.com; s=arc-20160816; b=GQ2aJ++DAxiwc4cbL2qnPtOWyqmmP+QxOSBamZYWU444j5sK18Gk22R1mrPHSbfIRy YIffkmL+tFLQOocuH4zfpp+ddenFdVAfJ5Z21ZJ8Ghz8lvE7SvqCKbJx+q87DSGWsBCX 6HtDoduBeZcGmJE+DfPrIriT8BUdL1W6Po3KH9O4KhDeRh3rGIQ62eJ3LU/mf+Gzant9 fJBOHTWwtgi6p+mfM0CRCK2lEYxn55fqJFydgeA6XoZ+8gOvrAmXj2cTFko+tcg+btOr 1JFD8gR4+ts7E1KiiTRxQWsuc0PczNy1yhdeTr9vuAaTBijy3pX7czIfRVZcL1pVU2jn 57vw== 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:arc-authentication-results; bh=NUdpm81RdynnIJTR7hXpzPEoMJn9+iFYlTGC5WW0MzQ=; b=OkvwiAyngQKZcvARoVVZWopJAWLzfNrObPx//qV7rOTeUqoabb6YfiarSih65/ksxN S0cNEb53Cn5hGK4uT7u5mSt/BNI8xQn0fN7me52a9+kzRJ12ig9MuyHxJXnES8Dqe60m 3Wdi0klMH8db8k0cjHYPwca12+zKAnw0J9xaOnWSLmwkI+HzcxpBM0jkN2SimNq7cAz+ a0SYeGwzmacSkfypiu2vgcSW0NMpEc/ybXiBm7rqLL86zffVlT7iwGikElyZ1YyolJSW bWkLVoeg59EQjJwD/c3f1jBKc1znIbFbaF1ggkmZS3lnwdwR3qmc2LIQCP7/MzDQqEx3 KvQA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (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 68-v6si1811324pga.113.2018.08.07.10.33.36; Tue, 07 Aug 2018 10:33:51 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389276AbeHGRKr (ORCPT + 99 others); Tue, 7 Aug 2018 13:10:47 -0400 Received: from mail-it0-f67.google.com ([209.85.214.67]:55194 "EHLO mail-it0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388961AbeHGRKr (ORCPT ); Tue, 7 Aug 2018 13:10:47 -0400 Received: by mail-it0-f67.google.com with SMTP id s7-v6so22397596itb.4; Tue, 07 Aug 2018 07:56:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=NUdpm81RdynnIJTR7hXpzPEoMJn9+iFYlTGC5WW0MzQ=; b=uO9eVPlO1U2M4vTi4zmBaAtj1u3Ddw0NuFHpyddQI5tMM5odGK7dZRVZdrGPPg7vsV 78ELnq5UOkzCTO3VeuDXciNLk94WiOrhqF+/piHYpoXKyjXOGlLKC4m8rz9r/Su0JlWx Myx4aQx3/cYVUILYe6ny982nTtwX7UwZ9b2FiHCmgJyu3Xz6w8mcliqR6g04hD7FOWBM Flq18ozYNDQXkCd6ybLyAWlGGBPMWNpvW9HwA8y+iZIG3qsF76o7zdXc51S0IFGQqcoP zD1/A4A1iFstBEJ1e1MPj993ERnIVIbf24Kbxgn3ey9ksNm+364NMn9alvRzFJiR1hlq 5vug== X-Gm-Message-State: AOUpUlHUd4EE98WBh2IBJzzsJ+oeOlrqtEOtoSBcYI+ulCf1evVbZfUQ hd4rosnz3tIkhqIPTL3Lvw== X-Received: by 2002:a24:4511:: with SMTP id y17-v6mr2339788ita.67.1533653764688; Tue, 07 Aug 2018 07:56:04 -0700 (PDT) Received: from localhost ([24.51.61.72]) by smtp.gmail.com with ESMTPSA id i20-v6sm440885ioj.57.2018.08.07.07.56.03 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 07 Aug 2018 07:56:04 -0700 (PDT) Date: Tue, 7 Aug 2018 08:56:03 -0600 From: Rob Herring To: Andrea Merello Cc: vkoul@kernel.org, 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, 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: <20180807145603.GA1664@rob-hp-laptop> 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.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 02, 2018 at 04:10:08PM +0200, 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. > > 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. If 23 is the max, then why is the range 8-26?