Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp17760658ybl; Thu, 2 Jan 2020 11:31:10 -0800 (PST) X-Google-Smtp-Source: APXvYqx8C7/X8HRazw9v88H/SlVad6Onr+iIvdbA2QW8LKEnR/W4f5KoQaY+g20/x+0pO2Z+2nbj X-Received: by 2002:a9d:5786:: with SMTP id q6mr73809432oth.164.1577993470134; Thu, 02 Jan 2020 11:31:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577993470; cv=none; d=google.com; s=arc-20160816; b=0qR9UlBtRyP9YvsshagrVtgSfZIfxkE/Qxjkhm2bjLHj/0W94Uy8rxzX3MHMLZMBHH 3o8TKgVqPF56cbvkCMQ1LFn/RMx1kbasJxzbXdw1ugkp8G8S7Ey8UApYAQ+30qcpN7KO 46kNdD3bxD0z4oPNhJ11RicHctyNO3drSfc5gQZy0S8kHsluPF2gCcz5CGilr19aDQYn CoXSntCWUXgCSljwpUrr4ea/IUdzORhQ+8OTOgt6Uh8/ewlCB0zVC2dBPWKOLPVABYGa gDjklb+x7bzVBW0Fdov+8VuMrF1YRf2dDc3mPwpBzfvJjTRNCDX7396b4qg9rF0pEkRT 0x+w== 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=c+iuX1ZSC7YjfF4R1CX3ODfi7o6bsuVAmw6xepkRat0=; b=pnxtCn8EOSXKobZMw5PFiREOpivM1ErjoflA4fKpbmdHwvlKtJXhWj69WjWqktbnEa 8h+ftSm6ykrHrUh5TO/0v1fCGreRNkpn1T31Y8LdndrIXNhu+9uHhs2BaumFKK3lkbay LwuCbYqT/jrW0cnTn2AMvJqHRpFB0GbVdJwx0Sd/MG9Qs2D8JSNMVwuKMfOJfoE+TQj9 tomFKlFA8N7jaqnzhN1CeMs/rDZk/zIy5N/rylbBp6RPSHwFoR64UoWc4k7kmta0lxHA +KOf8n8G0zcl9GyJal0mwFtU3j1uUjUMmz7UxaarlVAr7dL7KS6Hcs6ysO2D5eBuxIme zA5g== 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 f98si31010510otf.145.2020.01.02.11.30.58; Thu, 02 Jan 2020 11:31:10 -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 S1728669AbgABT2u (ORCPT + 99 others); Thu, 2 Jan 2020 14:28:50 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:17168 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728243AbgABT2R (ORCPT ); Thu, 2 Jan 2020 14:28:17 -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 002JGwFK013201; Thu, 2 Jan 2020 14:28:03 -0500 Received: from ppma02wdc.us.ibm.com (aa.5b.37a9.ip4.static.sl-reverse.com [169.55.91.170]) by mx0a-001b2d01.pphosted.com with ESMTP id 2x6n6nhxf4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 02 Jan 2020 14:28:03 -0500 Received: from pps.filterd (ppma02wdc.us.ibm.com [127.0.0.1]) by ppma02wdc.us.ibm.com (8.16.0.27/8.16.0.27) with SMTP id 002JFLT1000313; Thu, 2 Jan 2020 19:28:01 GMT Received: from b03cxnp07029.gho.boulder.ibm.com (b03cxnp07029.gho.boulder.ibm.com [9.17.130.16]) by ppma02wdc.us.ibm.com with ESMTP id 2x5xp6k0d8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 02 Jan 2020 19:28:01 +0000 Received: from b03ledav005.gho.boulder.ibm.com (b03ledav005.gho.boulder.ibm.com [9.17.130.236]) by b03cxnp07029.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 002JS0tk29360402 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 2 Jan 2020 19:28:01 GMT Received: from b03ledav005.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id E1AC6BE04F; Thu, 2 Jan 2020 19:28:00 +0000 (GMT) Received: from b03ledav005.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 5A96BBE051; Thu, 2 Jan 2020 19:28:00 +0000 (GMT) Received: from talon7.ibm.com (unknown [9.41.103.158]) by b03ledav005.gho.boulder.ibm.com (Postfix) with ESMTP; Thu, 2 Jan 2020 19:28:00 +0000 (GMT) From: Eddie James To: linux-aspeed@lists.ozlabs.org Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, mark.rutland@arm.com, jason@lakedaemon.net, maz@kernel.org, robh+dt@kernel.org, tglx@linutronix.de, joel@jms.id.au, andrew@aj.id.au, eajames@linux.ibm.com Subject: [PATCH v4 05/12] dt-bindings: soc: Add Aspeed XDMA Engine Date: Thu, 2 Jan 2020 13:27:49 -0600 Message-Id: <1577993276-2184-6-git-send-email-eajames@linux.ibm.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1577993276-2184-1-git-send-email-eajames@linux.ibm.com> References: <1577993276-2184-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=2020-01-02_06:2020-01-02,2020-01-02 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 clxscore=1015 adultscore=0 mlxscore=0 spamscore=0 malwarescore=0 lowpriorityscore=0 phishscore=0 priorityscore=1501 impostorscore=0 suspectscore=1 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-1910280000 definitions=main-2001020156 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 v3: - Switch "scu" property to "aspeed,scu" .../devicetree/bindings/soc/aspeed/xdma.txt | 40 +++++++++++++++++++ MAINTAINERS | 6 +++ 2 files changed, 46 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 000000000000..e0740ccfa910 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/aspeed/xdma.txt @@ -0,0 +1,40 @@ +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 cells; the first specifies the global + interrupt for the XDMA engine and the second + specifies the PCI-E reset or PERST interrupt. + - aspeed,scu : a phandle to the syscon node for the system control + unit of the SOC + - memory : contains the address and size of the memory area to + be used by the XDMA engine for DMA operations + +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>; + pcie-device = "bmc"; + memory = <0x9f000000 0x01000000>; + }; diff --git a/MAINTAINERS b/MAINTAINERS index 5b1048799508..0ed53fcfb181 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2709,6 +2709,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 -- 2.24.0