From patchwork Mon Jun 25 09:27:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrea Merello X-Patchwork-Id: 10485355 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id BDDD960230 for ; Mon, 25 Jun 2018 09:28:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B40AF28522 for ; Mon, 25 Jun 2018 09:28:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A89CB28531; Mon, 25 Jun 2018 09:28:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 461B728522 for ; Mon, 25 Jun 2018 09:28:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754991AbeFYJ2x (ORCPT ); Mon, 25 Jun 2018 05:28:53 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:55382 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753218AbeFYJ1u (ORCPT ); Mon, 25 Jun 2018 05:27:50 -0400 Received: by mail-wm0-f65.google.com with SMTP id v16-v6so8415395wmh.5; Mon, 25 Jun 2018 02:27:50 -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=JgUt5Sd6UFh+b813nY7URxLA4MuZZZjQ1TQiz0Ev88Y=; b=Vl7UvvSMTo4vhUuw94n841bP3Si2TeQNaFSSv9wDdNxR5f1VzedRR8XRVJi9zI3/je 82UGj3mPDZb8+vNDXZfjvQ6J8MsTLZPmO4Gzln+kTgXDpXLBNZHOe9tjM7DDaVR57UeL dYjCAtIfnwGhZdk00FA2I2hVz2p20aSiU8+pqpikVIA5hn+X37SDwbg70v900RSoUL76 x8gt6MPV1rujvpZ7Fm28wP3WybsR0bGdxAja5vQW5K0ICZDbFHCkpqvhoaaYTAuyl4Lj 3hxqEYb4cqJh7oTxWkJgYX8s5Z2ZLeuZmN/89LuYUashLx+OFN8IRgN0jgyaLRmXUSVO ZQeQ== 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=JgUt5Sd6UFh+b813nY7URxLA4MuZZZjQ1TQiz0Ev88Y=; b=QeS8RT1VzS5ljm+GKSfHlqZhb4rg2J3Jf7NhddMPoDD8qRCNbZEJ1AXUSHts290V1v lMvNrIfcApBIA2/dKuBPKJniI44wUSdRXIXeBob9HGrxodinelEhx3T+DtJGzLCGMDKc zYJebBtZKUfVOxFzmC24nNKyhVj48VtqSLO/W0qnPIvW71cRdgGa0NK/eqCM1KM2K7he X459qdQ+1+zaBmO/ZpRzuAx5Ff6KDQo25iO7tHOzOE+Fg6k0Qaq9qzI6BixkShQ2ZhtB LGPm4ri/P1HEBwFxiKf3DAKZ3gyIHWgN/zHuqCBrWUFkK+u0jVik5VQkg+guk9WUrnO+ gT2g== X-Gm-Message-State: APt69E1SV1iQS9wDFN9POXf/hI7OhxHRkcV/8ciVu6UIB8CWRPqNUTWT lwFiPiXVdToo3p9QhfWQILg= X-Google-Smtp-Source: ADUXVKJRVx4zKkYceboHNU72zfUFjQ8djlaEFo8474++sAw6yxslNmbn6IlOcxOGcFL5nAy9wTnf7g== X-Received: by 2002:a1c:47cf:: with SMTP id m76-v6mr357841wmi.80.1529918869400; Mon, 25 Jun 2018 02:27:49 -0700 (PDT) Received: from NewMoon.iit.local ([90.147.180.254]) by smtp.gmail.com with ESMTPSA id v2-v6sm15638779wrm.84.2018.06.25.02.27.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 25 Jun 2018 02:27:48 -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: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Andrea Merello , Rob Herring , Mark Rutland , devicetree@vger.kernel.org, Radhey Shyam Pandey Subject: [PATCH v3 2/5] dt-bindings: dmaengine: xilinx_dma: add optional xlnx, sg-length-width property Date: Mon, 25 Jun 2018 11:27:21 +0200 Message-Id: <20180625092724.22164-2-andrea.merello@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180625092724.22164-1-andrea.merello@gmail.com> References: <20180625092724.22164-1-andrea.merello@gmail.com> Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- Documentation/devicetree/bindings/dma/xilinx/xilinx_dma.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/dma/xilinx/xilinx_dma.txt b/Documentation/devicetree/bindings/dma/xilinx/xilinx_dma.txt index a2b8bfaec43c..c894abe28baa 100644 --- a/Documentation/devicetree/bindings/dma/xilinx/xilinx_dma.txt +++ b/Documentation/devicetree/bindings/dma/xilinx/xilinx_dma.txt @@ -41,6 +41,7 @@ Optional properties: - xlnx,include-sg: Tells configured for Scatter-mode in the hardware. Optional properties for AXI DMA: +- xlnx,sg-length-width: Should be the width of the length register as configured in h/w. - 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.