From patchwork Tue Oct 15 03:33:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jassi Brar X-Patchwork-Id: 176363 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp5337295ill; Mon, 14 Oct 2019 20:33:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqz+ETi1KiDdHy7UcIdfc04PjONfFMTf8YC7/UeqZHQt/runT7+DV2tRQgGclmll6+ZasHdI X-Received: by 2002:a17:906:b817:: with SMTP id dv23mr31942923ejb.22.1571110435436; Mon, 14 Oct 2019 20:33:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571110435; cv=none; d=google.com; s=arc-20160816; b=HqBa8txBQ5DcI69o44yAcLt2flfiDQY3vCVEzb/k7866J57Hpo3ZE5pQQ5gZEV2mHh j5upnaZqT9yi2xOe0RabYQOuL4VBb0jHWYH715yWTXNYai59wdEVb/ZcnguQwRbp6JoF hhfD7me0KnTZ7JpjP9BxMJSLYp//UfsdnskDqnXBGlq5N5nL/59m46hBekL0un5DC0d6 n+KXiAWJSmDLomgT2BscYAajI/OPZ5LzUK19JE8/cO4AQXqjuphZtCroQN9mqbeorRR6 /wsBCSk9tJJjmgN4OIJwVxv+Eyr+nfE6okREDiteFVtPIun4h2/mSonLmb1B1mipNM03 fGeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=5VxMaYUDhGvjPs63iaiTixHwZKtvhNFibU+RwYL+rHM=; b=nfQXwnLkY0k2YAMSYEyiMOA6cjz8gQtub41k3S7NbFOpA47VC7mepVA3QW5CqEI6tp DrxOK2gx9ve0H2begbOzeg+L1eX0VwttlQ8RioXXRvoBsSMOr+D4Sp283jSSzzON2bi5 lR43YjynDBK3ywA/dRcZMTuRtArWX4aRUIQQND/OA4TNHchxAQawvRkZOQJ0VJL/TbB9 /L9IMr5Z6GV3+ljj2iinAKcRTJuscM3VU9tKbA/WPiEZ3FXTAdyIUvBcI86//skbgP8K eooqdjcJju3RSVxKqlIRzpfu/9wtkneGFLizu0AesuW9qpMcyFCl2BcIopkMmVTnhslq krYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Z4lO4m6R; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 be13si11775727edb.362.2019.10.14.20.33.55; Mon, 14 Oct 2019 20:33:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-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=Z4lO4m6R; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 S1727946AbfJODdy (ORCPT + 8 others); Mon, 14 Oct 2019 23:33:54 -0400 Received: from mail-pg1-f194.google.com ([209.85.215.194]:34364 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727931AbfJODdy (ORCPT ); Mon, 14 Oct 2019 23:33:54 -0400 Received: by mail-pg1-f194.google.com with SMTP id k20so3888069pgi.1; Mon, 14 Oct 2019 20:33:54 -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 :mime-version:content-transfer-encoding; bh=5VxMaYUDhGvjPs63iaiTixHwZKtvhNFibU+RwYL+rHM=; b=Z4lO4m6Re1dwgpnnPRFo9OvicbDWZOSYxWogJk/emHGpsSoUEYHxiGxUJbbOMN6UaP VdGN9ZmD85TH/AqGQsglQ0ZNweFX4JBYPj3KX/K6ulRlPhKh3cUhLMpSnrKSoU/AXVJV TYFXw7dHiEGk8Tjr32ZyrqqkN/fi6pyncG3gh2tFdKxC50Z4OgGyk5A+eWZ66Vu0OIll s4hs4CFTnkMAoXAE4z0aq/HXoXXdqCTxPtQqSszJlI8yqh3L6jHN4+TTVH3W/j6OYuDM k6UQQfWW0hqjBu3OTtwqUeuqJ1cqbAQ5gdg5hdw9ehqe55SUeq5dYQ2lEPgzq3TNK9bZ M+rA== 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:mime-version:content-transfer-encoding; bh=5VxMaYUDhGvjPs63iaiTixHwZKtvhNFibU+RwYL+rHM=; b=It529IhF8xcAQ7KUTJG3ZQK6T9/YUp7QQLIy3nspwSta2KEHEpl8SaC28Bb4uJ00M/ EuXRbTMQ0NxidzFZPFTvHDF/hRJi84YaCBexPD6R9E5mQUxFeXihA0c8PpPsl6qxjhGK szE0itVqMcIBaqLxFLGdlc6jK6ap9Te77TbRR+SRHmLCsYdyYQto3UrnEQn4f0yR5wUU jRByaYrohfHfVobBB9lvI8vzIs+Cc9DupE6FqKYlsyKYz9N3LNWF9LjaIhSkTITK8kH1 JpgbCqoj8qOqpPqAKUTdpn8pgwsn3pOY2C1SQtYh7Wimbme+sPg+3Ah9TTooYkGDqfr4 NyhA== X-Gm-Message-State: APjAAAUXHEH0xdA3gdjply7E802uh6R+uF4FNi7Imy4KwG2GV8wtgVlE ZOmrn8WZ+quB76+qygxCMVwpXH0A X-Received: by 2002:a17:90a:a411:: with SMTP id y17mr40990822pjp.116.1571110433697; Mon, 14 Oct 2019 20:33:53 -0700 (PDT) Received: from localhost.localdomain (S0106d80d17472dbd.wp.shawcable.net. [24.79.253.190]) by smtp.gmail.com with ESMTPSA id 14sm20564794pfn.21.2019.10.14.20.33.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Oct 2019 20:33:53 -0700 (PDT) From: jassisinghbrar@gmail.com To: dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: vkoul@kernel.org, masami.hiramatsu@linaro.org, orito.takao@socionext.com, Jassi Brar , Rob Herring Subject: [PATCH v4 1/2] dt-bindings: milbeaut-m10v-hdmac: Add Socionext Milbeaut HDMAC bindings Date: Mon, 14 Oct 2019 22:33:50 -0500 Message-Id: <20191015033350.14866-1-jassisinghbrar@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191015033301.14791-1-jassisinghbrar@gmail.com> References: <20191015033301.14791-1-jassisinghbrar@gmail.com> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Jassi Brar Document the devicetree bindings for Socionext Milbeaut HDMAC controller. Controller has upto 8 floating channels, that need a predefined slave-id to work from a set of slaves. Reviewed-by: Rob Herring Signed-off-by: Jassi Brar --- .../bindings/dma/milbeaut-m10v-hdmac.txt | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 Documentation/devicetree/bindings/dma/milbeaut-m10v-hdmac.txt -- 2.20.1 diff --git a/Documentation/devicetree/bindings/dma/milbeaut-m10v-hdmac.txt b/Documentation/devicetree/bindings/dma/milbeaut-m10v-hdmac.txt new file mode 100644 index 000000000000..1f0875bd5abc --- /dev/null +++ b/Documentation/devicetree/bindings/dma/milbeaut-m10v-hdmac.txt @@ -0,0 +1,32 @@ +* Milbeaut AHB DMA Controller + +Milbeaut AHB DMA controller has transfer capability below. + - device to memory transfer + - memory to device transfer + +Required property: +- compatible: Should be "socionext,milbeaut-m10v-hdmac" +- reg: Should contain DMA registers location and length. +- interrupts: Should contain all of the per-channel DMA interrupts. + Number of channels is configurable - 2, 4 or 8, so + the number of interrupts specified should be {2,4,8}. +- #dma-cells: Should be 1. Specify the ID of the slave. +- clocks: Phandle to the clock used by the HDMAC module. + + +Example: + + hdmac1: dma-controller@1e110000 { + compatible = "socionext,milbeaut-m10v-hdmac"; + reg = <0x1e110000 0x10000>; + interrupts = <0 132 4>, + <0 133 4>, + <0 134 4>, + <0 135 4>, + <0 136 4>, + <0 137 4>, + <0 138 4>, + <0 139 4>; + #dma-cells = <1>; + clocks = <&dummy_clk>; + };