Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1937594ybl; Thu, 5 Dec 2019 09:17:39 -0800 (PST) X-Google-Smtp-Source: APXvYqxePIlAYH6PUTwJMdSq4SFMAXPHtPdO43LYYS7wo56SqHXSgxn+MYfY3SeDYqxrAWRgBo4B X-Received: by 2002:a9d:7757:: with SMTP id t23mr7490865otl.315.1575566259399; Thu, 05 Dec 2019 09:17:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575566259; cv=none; d=google.com; s=arc-20160816; b=ZOCgdEyTWD3ZdCU3vBYZXfxCyYj0016w1p3mYVsC5/5Envd5PO0ge0vom0tzX6d2LK Fg4qSKlTIhZIgFD4fRQ6aPQaN6HTs09YznlFJW469ghRlLS4BwgFBI36qxxwp6mhSalO hFw4o4oHEovCpUxZbA/EKBZJOUy2azm8NZ6Nh/EFkLqhnCKZV+1BNIJZJ0R0eAIDqQXr lKQ1oD94twnRXUdKpwtNrq9tUVAX8uzIClFWzPR1FgISYXl4Yf1Utjkqda2WKgH7BT3/ GcnbLNhNniFOkA5cVus/ITKlJcRkP7+ucvCdjwSiw0jzDLWrrNphLLxzIb10pVRUd0aj utIw== 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; bh=sp7wFAk+/gxe7wJWLrg8EYkSjz447gFdJDYGD86PADM=; b=TrAMEfaI8iiGkNa6JpOc/ttJmRhKrrTdBhWaU9Nqok0io5ljTEjtYke3klrpb5HDym 8PpxIdUA2bEvsVjz3BD/3O7QN10WBA5TJTXL917gCOuuliz75bPgwGvo8WWujgZL/Wu3 ubGG8qrVXFXOG2y+o+Hua65aCgUNjRRWagqqHrfxgsoQOajliBO2SkTZ2woqJySlaKAK MeFOR8WxqRePOvjOHM7NLn6qvkvRhqxwWEO0Fpg68pjMA1QaG0HCqZsq3S8lmbsCnjzf eUYmHfBtP0gd2o4c69f8RKO2X0PPHRU1LAE77uArh678ERAeT5Ph1MubOCbLRAcfKVPb NapA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s17si4878250otr.155.2019.12.05.09.17.26; Thu, 05 Dec 2019 09:17:39 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730040AbfLERPf (ORCPT + 99 others); Thu, 5 Dec 2019 12:15:35 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:52292 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726028AbfLERPe (ORCPT ); Thu, 5 Dec 2019 12:15:34 -0500 Received: from pps.filterd (m0098394.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id xB5H8CvB015468; Thu, 5 Dec 2019 12:15:20 -0500 Received: from ppma03wdc.us.ibm.com (ba.79.3fa9.ip4.static.sl-reverse.com [169.63.121.186]) by mx0a-001b2d01.pphosted.com with ESMTP id 2wq2xc1qtm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 05 Dec 2019 12:15:20 -0500 Received: from pps.filterd (ppma03wdc.us.ibm.com [127.0.0.1]) by ppma03wdc.us.ibm.com (8.16.0.27/8.16.0.27) with SMTP id xB5HFHLC014850; Thu, 5 Dec 2019 17:15:19 GMT Received: from b03cxnp07028.gho.boulder.ibm.com (b03cxnp07028.gho.boulder.ibm.com [9.17.130.15]) by ppma03wdc.us.ibm.com with ESMTP id 2wkg278cn6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 05 Dec 2019 17:15:18 +0000 Received: from b03ledav001.gho.boulder.ibm.com (b03ledav001.gho.boulder.ibm.com [9.17.130.232]) by b03cxnp07028.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id xB5HFIvL48628090 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 5 Dec 2019 17:15:18 GMT Received: from b03ledav001.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 04C386E052; Thu, 5 Dec 2019 17:15:18 +0000 (GMT) Received: from b03ledav001.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 65A6A6E05D; Thu, 5 Dec 2019 17:15:17 +0000 (GMT) Received: from talon7.ibm.com (unknown [9.41.103.158]) by b03ledav001.gho.boulder.ibm.com (Postfix) with ESMTP; Thu, 5 Dec 2019 17:15:17 +0000 (GMT) From: Eddie James To: linux-kernel@vger.kernel.org Cc: devicetree@vger.kernel.org, jason@lakedaemon.net, linux-aspeed@lists.ozlabs.org, maz@kernel.org, robh+dt@kernel.org, tglx@linutronix.de, mark.rutland@arm.com, joel@jms.id.au, andrew@aj.id.au Subject: [PATCH v2 05/12] dt-bindings: soc: Add Aspeed XDMA Engine Date: Thu, 5 Dec 2019 11:15:05 -0600 Message-Id: <1575566112-11658-6-git-send-email-eajames@linux.ibm.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1575566112-11658-1-git-send-email-eajames@linux.ibm.com> References: <1575566112-11658-1-git-send-email-eajames@linux.ibm.com> X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,18.0.572 definitions=2019-12-05_05:2019-12-04,2019-12-05 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 priorityscore=1501 mlxlogscore=999 bulkscore=0 mlxscore=0 adultscore=0 clxscore=1015 spamscore=0 suspectscore=1 malwarescore=0 impostorscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-1910280000 definitions=main-1912050144 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Document the bindings for the Aspeed AST25XX and AST26XX XDMA engine. Signed-off-by: Eddie James Reviewed-by: Rob Herring --- Changes since v1: - Add 'clocks', 'scu', 'sdmc', 'vga-mem', and 'pcie-device' property documentation .../devicetree/bindings/soc/aspeed/xdma.txt | 43 ++++++++++++++++++++++ MAINTAINERS | 6 +++ 2 files changed, 49 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/aspeed/xdma.txt diff --git a/Documentation/devicetree/bindings/soc/aspeed/xdma.txt b/Documentation/devicetree/bindings/soc/aspeed/xdma.txt new file mode 100644 index 0000000..942dc07 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/aspeed/xdma.txt @@ -0,0 +1,43 @@ +Aspeed AST25XX and AST26XX XDMA Engine + +The XDMA Engine embedded in the AST2500 and AST2600 SOCs can perform automatic +DMA operations over PCI between the SOC (acting as a BMC) and a host processor. + +Required properties: + - compatible : must be "aspeed,ast2500-xdma" or + "aspeed,ast2600-xdma" + - reg : contains the address and size of the memory region + associated with the XDMA engine registers + - clocks : clock specifier for the clock associated with the + XDMA engine + - resets : reset specifier for the syscon reset associated with + the XDMA engine + - interrupts-extended : two interrupt nodes; the first specifies the global + interrupt for the XDMA engine and the second + specifies the PCI-E reset or PERST interrupt. + - scu : a phandle to the syscon node for the system control + unit of the SOC + - sdmc : a phandle to the syscon node for the SDRAM memory + controller of the SOC + - vga-mem : contains the address and size of the VGA memory space + to be used by the XDMA engine + +Optional properties: + - pcie-device : should be either "bmc" or "vga", corresponding to + which device should be used by the XDMA engine for + DMA operations. If this property is not set, the XDMA + engine will use the BMC PCI-E device. + +Example: + + xdma@1e6e7000 { + compatible = "aspeed,ast2500-xdma"; + reg = <0x1e6e7000 0x100>; + clocks = <&syscon ASPEED_CLK_GATE_BCLK>; + resets = <&syscon ASPEED_RESET_XDMA>; + interrupts-extended = <&vic 6>, <&scu_ic ASPEED_AST2500_SCU_IC_PCIE_RESET_LO_TO_HI>; + scu = <&syscon>; + sdmc = <&edac>; + pcie-device = "bmc"; + vga-mem = <0x9f000000 0x01000000>; + }; diff --git a/MAINTAINERS b/MAINTAINERS index 398861a..528a142 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2707,6 +2707,12 @@ S: Maintained F: drivers/media/platform/aspeed-video.c F: Documentation/devicetree/bindings/media/aspeed-video.txt +ASPEED XDMA ENGINE DRIVER +M: Eddie James +L: linux-aspeed@lists.ozlabs.org (moderated for non-subscribers) +S: Maintained +F: Documentation/devicetree/bindings/soc/aspeed/xdma.txt + ASUS NOTEBOOKS AND EEEPC ACPI/WMI EXTRAS DRIVERS M: Corentin Chary L: acpi4asus-user@lists.sourceforge.net -- 1.8.3.1