From patchwork Mon Sep 14 14:09:52 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eugen Hristev X-Patchwork-Id: 1363620 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=23.128.96.18; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=quarantine dis=none) header.from=microchip.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=microchip.com header.i=@microchip.com header.a=rsa-sha256 header.s=mchp header.b=sqFtk4vZ; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by ozlabs.org (Postfix) with ESMTP id 4BqpFj367Bz9sW9 for ; Tue, 15 Sep 2020 00:11:53 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726732AbgINOLZ (ORCPT ); Mon, 14 Sep 2020 10:11:25 -0400 Received: from esa2.microchip.iphmx.com ([68.232.149.84]:6850 "EHLO esa2.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726296AbgINOKS (ORCPT ); Mon, 14 Sep 2020 10:10:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1600092618; x=1631628618; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=qoBNbkKAab5vCz1WzJd2Q0kui0rzQACYA42GOpjUIoU=; b=sqFtk4vZ1mR9Zup6N6O2zXLo4NazmweOXkXU6W+bxcIURXY4GEb0Tfuz dWAnBCg8pinUooFZthNnWFV4pd/b7FK4PB8uVvdxzeNrmK2KywSQbtI95 YFvZJRcdEtLid8CO3UlYEN8aveMjmpDpahAPbFlH/6QfIOjRB1Yu/KMMD lZfGOmyA4GbdCN1ib8WcWD03h1JqTMn6zdaL/7E478iBqluoMOaZIYoBm CtGD1nMxFtcUPzmBi0+m8rW+0a2yz+alFT5HxBUPRpIa24i5ovB9911XC RCfPzfO0tc9uR6HNVJHC8x2H0TG7yUw18HyewDcWFS6VDBtoRJMTf/cqI g==; IronPort-SDR: 7oIQZaexsHimlVNbzcxjtkuhCzaBKIp8DHYo+1Cl4koOINEVVpTpio8OvfzfbuYE06Knkw9LIU 8rJ9ewawn/oSznX4Zn2ihrZyikJDyBrLOVLe4wDhibgPv4zV6N+tb5KCGUuPGGkjaubiQurP+S 74Vmo9VgswC+2n80uOLfftzu7RdnfXj0RssSmfAEzwEkBd4aNUNS+zovXQGBjV4Vl97o3GshDc zSy31tM4fXiDv5pMY4c0jgdzDIcRgKgLEz2je4riqroz9ZDPFau4Gq/V+R/xOAoRJsRoFgSohf jhw= X-IronPort-AV: E=Sophos;i="5.76,426,1592895600"; d="scan'208";a="88993937" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa2.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 14 Sep 2020 07:10:17 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1979.3; Mon, 14 Sep 2020 07:10:14 -0700 Received: from ROB-ULT-M18282.microchip.com (10.10.115.15) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.1979.3 via Frontend Transport; Mon, 14 Sep 2020 07:10:11 -0700 From: Eugen Hristev To: , , , CC: , , , , , Eugen Hristev Subject: [PATCH 3/7] dt-bindings: dmaengine: at_xdmac: add compatible with microchip,sama7g5 Date: Mon, 14 Sep 2020 17:09:52 +0300 Message-ID: <20200914140956.221432-4-eugen.hristev@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200914140956.221432-1-eugen.hristev@microchip.com> References: <20200914140956.221432-1-eugen.hristev@microchip.com> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add compatible to sama7g5 SoC. Signed-off-by: Eugen Hristev Acked-by: Rob Herring --- Documentation/devicetree/bindings/dma/atmel-xdma.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/dma/atmel-xdma.txt b/Documentation/devicetree/bindings/dma/atmel-xdma.txt index 4dc398e1a371..510b7f25ba24 100644 --- a/Documentation/devicetree/bindings/dma/atmel-xdma.txt +++ b/Documentation/devicetree/bindings/dma/atmel-xdma.txt @@ -2,7 +2,8 @@ * XDMA Controller Required properties: -- compatible: Should be "atmel,sama5d4-dma" or "microchip,sam9x60-dma". +- compatible: Should be "atmel,sama5d4-dma", "microchip,sam9x60-dma" or + "microchip,sama7g5-dma". - reg: Should contain DMA registers location and length. - interrupts: Should contain DMA interrupt. - #dma-cells: Must be <1>, used to represent the number of integer cells in From patchwork Mon Sep 14 14:09:55 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eugen Hristev X-Patchwork-Id: 1363617 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=23.128.96.18; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=quarantine dis=none) header.from=microchip.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=microchip.com header.i=@microchip.com header.a=rsa-sha256 header.s=mchp header.b=xRKMTyXM; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by ozlabs.org (Postfix) with ESMTP id 4BqpDZ5l2mz9sWQ for ; Tue, 15 Sep 2020 00:10:54 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726300AbgINOKp (ORCPT ); Mon, 14 Sep 2020 10:10:45 -0400 Received: from esa5.microchip.iphmx.com ([216.71.150.166]:19548 "EHLO esa5.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726822AbgINOKb (ORCPT ); Mon, 14 Sep 2020 10:10:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1600092631; x=1631628631; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=3vcZ3ZLnnd6S54k/d0i4PUQ85b1B7wkAsBhm1WELjkw=; b=xRKMTyXM1v15pnHKlfqByPmrhH7Yt0QLy5qnEF8xlHbGGuTA11OcYCr/ nQ7qMDXWByDjGIPSK1M9SCvzh3Si4VAsyjwZrgWO9zSbV6maFGrMmQbqK o9ILiMgyI50Kh0vh6pJAMbSutobJjLh5HPJ4ebgU+5/qnmUEb/JTZa6Zq 4xlFz9QETXO9REqd70b3Urw8YWX/VbxhrKpFJsz1mO/N8B5a7yl88CR2p nTPHQ0ZzklHo31+xU5dyT7k8N6OJpzVPoT/LUJhWBHLx9vJ2y2ugKKRRE 3u47mBIXv0yjdd3ppSkv04rCOlsfxmD1xNsqcPf8ssARsRlNxe/Th9uE9 w==; IronPort-SDR: 90DgTnYAFRQBucT4e3cNm+/hJMKFgwu5B2J/IyFUYT00CWnayQizJ3ngYiQJraAEvXuozBGWe2 prKUfcezWkEB7x2phFBJb1LjY9gl5Dhcie3MG9IiU6LPuJrluUC0I4qTXLr6Z3R3DdJKHX+dER HRcO7dQ4MKlCNJAaX7tJMZj58NP4f4Hm5G3OaYVwUJxy1L+hT6DyZefHiXADlut+r4lMXzGrrg 6WivrINUyJrnlfc/EZ7GpTPc76RONDapd4IwzjlvCOAlUlNsTfIVwYtCM9h22sdrEFzmU2Pveu 3vM= X-IronPort-AV: E=Sophos;i="5.76,426,1592895600"; d="scan'208";a="90900856" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa5.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 14 Sep 2020 07:10:31 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1979.3; Mon, 14 Sep 2020 07:10:27 -0700 Received: from ROB-ULT-M18282.microchip.com (10.10.115.15) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.1979.3 via Frontend Transport; Mon, 14 Sep 2020 07:10:23 -0700 From: Eugen Hristev To: , , , CC: , , , , , Eugen Hristev Subject: [PATCH 6/7] dt-bindings: dmaengine: at_xdmac: add optional microchip,m2m property Date: Mon, 14 Sep 2020 17:09:55 +0300 Message-ID: <20200914140956.221432-7-eugen.hristev@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200914140956.221432-1-eugen.hristev@microchip.com> References: <20200914140956.221432-1-eugen.hristev@microchip.com> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add optional microchip,m2m property that specifies if a controller is dedicated to memory to memory operations only. Signed-off-by: Eugen Hristev --- Documentation/devicetree/bindings/dma/atmel-xdma.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/dma/atmel-xdma.txt b/Documentation/devicetree/bindings/dma/atmel-xdma.txt index 510b7f25ba24..642da6b95a29 100644 --- a/Documentation/devicetree/bindings/dma/atmel-xdma.txt +++ b/Documentation/devicetree/bindings/dma/atmel-xdma.txt @@ -15,6 +15,12 @@ the dmas property of client devices. interface identifier, - bit 30-24: PERID, peripheral identifier. +Optional properties: +- microchip,m2m: this controller is connected on AXI only to memory and it's + dedicated to memory to memory DMA operations. If this option is + missing, it's assumed that the DMA controller is connected to + peripherals, thus it's a per2mem and mem2per. + Example: dma1: dma-controller@f0004000 {