Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2161492imm; Thu, 2 Aug 2018 07:12:29 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcgfaDccozlmACdrxVanJSH3fvEmd6jmRs9AqumbBgy1eRxevoBjkS0I0VOuRB0E/DTbmO4 X-Received: by 2002:a17:902:864b:: with SMTP id y11-v6mr2601599plt.335.1533219149597; Thu, 02 Aug 2018 07:12:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533219149; cv=none; d=google.com; s=arc-20160816; b=0UN+gqOjQ3ZsnhLKfk18Tw5e2VVEVHl3okbNSQduwagOYHHuUnEow4wV13Sv9Xn0Da ftVr8QR6nwB/97ahSkCbtebQIO6z1pd6uco41YwXetf2Yu0sf+OY/gYM11uMN1buQNl/ gay7j9zv2F7ybfgeB8eijw0MbO8nvTpI6uUxP6XEwuW6sK6POuZmIoRmPNXEvEht6qYI k1qbdtcC770I8p0sFHzz9RexLswt0wu751pjBVXsDHVFdInk/JMHuGw3VzXVVf4AGkNM W7o7s57hnQcjfJkZobBiukH7X9IGgA3/MzeIafaRPvb5flAkdkJRT3J6GpDpnKcsEfz5 Nk5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=nFjdJlN5uSi6gOX8L6ohs2T0Z1o07cnerZr+JKHCTXw=; b=Z1RqnbsdHYrITOgjdMS4O589o1vpgVuum0GTrHjUedJE4cl9JawWamypBWUHumAQPd iL9tX6SONoBcXNH/EixK9cMi9x+8GcVmVKZEZumfdCpp0PsWZn3cXVEUp1iQy/s6pePe e4MyZGHg0cEMuo60WRntEg/8dlEyyc5F2V51eVxuYQj40ZPWlrfLhFa2fGUhf0cdGe9+ c9uqUZuhMtmUiHA/2gxApIlS4O3R9UNZ48rbn1bN+Nlf+kJcej46D6ukjRePHJzoEOi4 js5E+RjAzi+8xQn7lVi6Jn3YUDHbrs9/E/YfJzgccdduBuVQTEX+Ip3/xjUFOIRZU++1 aGAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=cbFaVvW0; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h185-v6si2068568pfc.172.2018.08.02.07.12.15; Thu, 02 Aug 2018 07:12:29 -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=@gmail.com header.s=20161025 header.b=cbFaVvW0; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732611AbeHBQCO (ORCPT + 99 others); Thu, 2 Aug 2018 12:02:14 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:46032 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732141AbeHBQBo (ORCPT ); Thu, 2 Aug 2018 12:01:44 -0400 Received: by mail-wr1-f65.google.com with SMTP id f12-v6so2258012wrv.12; Thu, 02 Aug 2018 07:10:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=nFjdJlN5uSi6gOX8L6ohs2T0Z1o07cnerZr+JKHCTXw=; b=cbFaVvW0btnyTVvGDGO5bp7mlpsgQvWqMQH60G9TEgiorzDNv2PGcTGSf6ERmNxnBt st+PU+gao6VD2Z6f0+7zGjwvj1lCDzk23p5lpRL9mCqH4D6YQDyzqi7heq/zKzMZcMdo sQe5QX9u8qSPa5QWISzno5UbqOfyMCjFz4dhX1gI0w8E8otqmS/JCaWWREGib80vKG+3 2VCwBqRggxFLLEEyLLfMYP5Bglnc8EhvyAC9MO4ZALFQFRtaa7cKVmlD2Usnb5ebUu8m CByk/QlxOgDiYLK08m+M+lC/ykxzKrbqHqLRtvpaNHSJ7xc/2+neCN2SFtdWJ1EmPkvb 7/Aw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=nFjdJlN5uSi6gOX8L6ohs2T0Z1o07cnerZr+JKHCTXw=; b=cy+JvX2I4lMzTnPWH5rXy0FvWicLAPISKvtfJN5/rxYgnka6mUVX11CbSaYJ0Q6kE7 SmC9efXupK1T8POIGM4Tc8VVe+TM5VlK5+OolVcn2ZBh7PQzfe2cA0BKNw31s6O1fl84 axpNI3oApNGKAJxWkYyr3ZUFLye59ZSYBiy1EegLa4V+NvEnSapPPpdfU0h+B7ak8oyu 9mhwVtI2JOgXcOXaKD/OFS30acnWkMzXFEV4gRFZMmLvfpuW4hACuJXDgMXQY3+ydA7P VYSaDZYe7kA3A+a/5bwIrvtwgsqsIR835+kCClu1060OGg6U32ILRTuHjeBP0ZDlZsON hviQ== X-Gm-Message-State: AOUpUlFXgcWrcSZ+B6USiyxn3ZrSEytQNF65QIcuutFbhbi+lkxh4woP /6kdsEu0cZnxQFzJNyCqBMM= X-Received: by 2002:adf:88e3:: with SMTP id g32-v6mr2015453wrg.62.1533219020734; Thu, 02 Aug 2018 07:10:20 -0700 (PDT) Received: from NewMoon.iit.local ([90.147.180.254]) by smtp.gmail.com with ESMTPSA id d78-v6sm3392310wma.37.2018.08.02.07.10.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 Aug 2018 07:10:19 -0700 (PDT) From: Andrea Merello To: vkoul@kernel.org, dan.j.williams@intel.com, michal.simek@xilinx.com, appana.durga.rao@xilinx.com, dmaengine@vger.kernel.org Cc: 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, Andrea Merello Subject: [PATCH v4 3/7] dt-bindings: dmaengine: xilinx_dma: add optional xlnx,sg-length-width property Date: Thu, 2 Aug 2018 16:10:08 +0200 Message-Id: <20180802141012.19970-3-andrea.merello@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180802141012.19970-1-andrea.merello@gmail.com> References: <20180802141012.19970-1-andrea.merello@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. - 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