Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp831803imu; Tue, 20 Nov 2018 07:37:52 -0800 (PST) X-Google-Smtp-Source: AJdET5eO9ky/gS/MngKoKNwEEi/Aor5OWhXHZGYN/EOrMImtrqJY5nK/o+cHeUTVq/0pZnV/hWhy X-Received: by 2002:a62:434d:: with SMTP id q74-v6mr2688933pfa.242.1542728272455; Tue, 20 Nov 2018 07:37:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542728272; cv=none; d=google.com; s=arc-20160816; b=W9PHD7Colv2RPwY1oubEmDZHHUadCsXuXwTZcRa76Scg7fASQaWAyXWx15Kf3rrol3 JzLN4geCqGL74eYI8D7x+V75EnHpZpxBk9mOW2fVpNOb5I4/gJqckdyO6rUizUekyS/l lTX210IIC5U/qBBtMcICQ8UUMTm5yPuSjqBwnRu/HgzXzgCb+ZQ0g/MPp/8lz7lZVKEZ Ho4kmbw/CzLQjgirk3Kdlq8S8VxsOqyE6Ye1ntZBRdoqEGs8wf9X6gd+eKvEr3QSbbrE D3FrOX8QHzE70Uk3qsKwB62xH+l6hewxIlbT+JTdkmw57LtoCb3A1iHvarQy0dkPJC45 pqRg== 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; bh=SxxJgmbLU8DQm4q7pBzucwRse/NWd1WEcuZvJUw+NKI=; b=S9p7+MygjQ6HiyR+EM9BbIos/n8C4KEgjpUt1jEEAdI/F6VHWbHSaKSg/yRgBsVkjd YO+yoHb1pw7omIv+4Wx26FZRytGYdFW/yOMQ9975FSP+plD8vf1B5FizaxQWsYMoBqU4 L667Sk9sD9dT0TTS0KSR4Ut2gfLi/tjSOj4kBDy+ZQSFEAjbP/SIIesUFrNv7+PV0Kf6 jUP1ntWglKJp2LGpoKgDnjzHvVLv7EHvJV4LrWqH9HChCPD/BMOHwVM7WXgTP3+bvzlN XN68Er1Qgmv+oD4zHJOnQIklhUtik+ikpXYtB5cM7c/w3EG7txIOyu4yq91/EErAewHP z7ZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=U6QOMPNJ; 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 w17si37281420pgl.6.2018.11.20.07.37.36; Tue, 20 Nov 2018 07:37:52 -0800 (PST) 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=U6QOMPNJ; 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 S1730147AbeKUCCU (ORCPT + 99 others); Tue, 20 Nov 2018 21:02:20 -0500 Received: from mail-wm1-f66.google.com ([209.85.128.66]:33558 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726001AbeKUCBp (ORCPT ); Tue, 20 Nov 2018 21:01:45 -0500 Received: by mail-wm1-f66.google.com with SMTP id 79so5272299wmo.0; Tue, 20 Nov 2018 07:32:02 -0800 (PST) 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=SxxJgmbLU8DQm4q7pBzucwRse/NWd1WEcuZvJUw+NKI=; b=U6QOMPNJUyhfC/t+E0nqJFlqLMKQKzaoeT366uCCF1TyI92BG03x7DFM04vXwIE1Ji sCDCWvteWf3q7ZWdFbBqJ3e6bV50Fy0idU8XJ/KMZvo4CqAbszPFPwBxKB39W5i2vxfm H9ZcMvq2iLFseuYaNaxQiEf/HP988C7/VbUZV1lox/9vlE33Q6ymBCfIPY/55aSMh6Ke U+zAOlUhzAFXTS8k6eMCRVjd2yAh4HOHsQrBiLIoa/gtoutKFwit5aARaUTw4caMM0Vz w6eZ1qq65QKqUcOfzVPyK17o3XdEnGkAL1z+7g2i9sz2KMrl/ckhZroNeJitqUaoSMBm RLMQ== 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=SxxJgmbLU8DQm4q7pBzucwRse/NWd1WEcuZvJUw+NKI=; b=U69Qt54nBbvo//ACs8eykhpq5riRMGuQW/sef4FFUlAUy1AVQKrhG5Eiqf2nrRveXO vDAuG38gOv/U+UeC8qenZEiqL9ScwQPFlNUjGkziOYQDqOYNY261jEiKT6fnrjYBNiGw znpjWBcKpeK+FCBaahwvDf2WZsxN0lpMnM1GjS74Nlo0yaq3vPJKrT2YLWcpC1PV3jiv sZ+K8g89j8tMihXG0hGW1F7aqyJwTRtlpyFIJ7aCL9QqgMtI+8QWhJ+x+U6fVP1+nI6T ICGMRoUM0JpuHdUTwQxuHTEiJtzke3g/wGZud56bUOY6oNfzY4NK5bCHx39PcA+2ho/3 BkIQ== X-Gm-Message-State: AA+aEWYMb7f+6xP2raNjLCrxxuJwM8EiGkc9UbclCsytfAYJNuIzt9Tx l2B5svchlfHFhHdKOvIUszs= X-Received: by 2002:a1c:7209:: with SMTP id n9mr2485909wmc.5.1542727921993; Tue, 20 Nov 2018 07:32:01 -0800 (PST) Received: from NewMoon.iit.local ([90.147.180.254]) by smtp.gmail.com with ESMTPSA id k73sm14677464wmd.36.2018.11.20.07.32.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Nov 2018 07:32:00 -0800 (PST) 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: linux-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 v6 3/7] dt-bindings: dmaengine: xilinx_dma: add optional xlnx,sg-length-width property Date: Tue, 20 Nov 2018 16:31:47 +0100 Message-Id: <20181120153151.18024-3-andrea.merello@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181120153151.18024-1-andrea.merello@gmail.com> References: <20181120153151.18024-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 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 Changes in v5: - commit message trivial fix - fix spaces before tab Changes in v6: None --- 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 174af2c45e77..2fce9fb4b270 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