From patchwork Wed Jun 10 10:38:20 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ranjit Waghmode X-Patchwork-Id: 6578491 Return-Path: X-Original-To: patchwork-linux-spi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 02DC19F1C1 for ; Wed, 10 Jun 2015 10:40:38 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 16D35205E3 for ; Wed, 10 Jun 2015 10:40:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 53661205DC for ; Wed, 10 Jun 2015 10:40:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753877AbbFJKke (ORCPT ); Wed, 10 Jun 2015 06:40:34 -0400 Received: from mail-bl2on0065.outbound.protection.outlook.com ([65.55.169.65]:41312 "EHLO na01-bl2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751615AbbFJKkc (ORCPT ); Wed, 10 Jun 2015 06:40:32 -0400 Received: from BL2FFO11FD034.protection.gbl (10.173.160.31) by BL2FFO11HUB008.protection.gbl (10.173.160.228) with Microsoft SMTP Server (TLS) id 15.1.190.9; Wed, 10 Jun 2015 10:40:29 +0000 Authentication-Results: spf=pass (sender IP is 149.199.60.83) smtp.mailfrom=xilinx.com; vger.kernel.org; dkim=none (message not signed) header.d=none; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.60.83 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.60.83; helo=xsj-pvapsmtpgw01; Received: from xsj-pvapsmtpgw01 (149.199.60.83) by BL2FFO11FD034.mail.protection.outlook.com (10.173.161.130) with Microsoft SMTP Server (TLS) id 15.1.190.9 via Frontend Transport; Wed, 10 Jun 2015 10:40:29 +0000 Received: from unknown-38-66.xilinx.com ([149.199.38.66] helo=xsj-pvapsmtp01) by xsj-pvapsmtpgw01 with esmtp (Exim 4.63) (envelope-from ) id 1Z2dQq-00025j-GZ; Wed, 10 Jun 2015 03:40:28 -0700 Received: from [127.0.0.1] (helo=localhost) by xsj-pvapsmtp01 with smtp (Exim 4.63) (envelope-from ) id 1Z2dQq-0004Bi-An; Wed, 10 Jun 2015 03:40:28 -0700 Received: from xsj-pvapsmtp01 (xsj-mail.xilinx.com [149.199.38.66]) by xsj-smtp-dlp1.xlnx.xilinx.com (8.13.8/8.13.1) with ESMTP id t5AAdxWu028121; Wed, 10 Jun 2015 03:39:59 -0700 Received: from [172.23.64.207] (helo=xhd-lin64re117.xilinx.com) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from ) id 1Z2dQl-00049d-Dv; Wed, 10 Jun 2015 03:40:23 -0700 Received: by xhd-lin64re117.xilinx.com (Postfix, from userid 32810) id 943A4209DA; Wed, 10 Jun 2015 16:10:22 +0530 (IST) From: Ranjit Waghmode To: , , , , , , , CC: , , , , , , , "Ranjit Waghmode" Subject: [LINUX RFC v3 1/2] devicetree: Add DT bindings documentation for Zynq Ultrascale+ MPSoC GQSPI controller Date: Wed, 10 Jun 2015 16:08:20 +0530 Message-ID: <1433932701-5834-1-git-send-email-ranjit.waghmode@xilinx.com> X-Mailer: git-send-email 2.1.2 X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.0.0.1202-21604.005 X-TM-AS-User-Approved-Sender: Yes;Yes X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD034; 1:ZeAHdjRZxjqpyKY2CZ3NkJeOG6k0aTuLoK1M2iZdtYZZdsJzlBNVeCC6osVjcrHMi4jlkSJs4g9Uu/+EGkK9Bcb5FYUnPKRY+5hstklT9ZMz4wpTcVYTEUW22K7FTJ8rSv78S5W7jvzkfBzBLpyq6mDG6/xh2sbJTS2IkiJSBZ4obfWhLbp6Ny/OJ3lv7BVO7AsFsrFF8UZHoAWdBtLqsskclmC/R2JP5/3Kqf42uzvMUYd11qzOfCC1rzuRQI5oJYYjYFmZ++ePImQOwgBafBKiPHva1ILdBXyZZ8fTaJ80A2+YEBvLKbfexEK5w0Ip X-Forefront-Antispam-Report: CIP:149.199.60.83; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(438002)(52084003)(199003)(189002)(5001960100002)(229853001)(106466001)(189998001)(46386002)(50466002)(107886002)(45336002)(36756003)(50226001)(63266004)(6806004)(47776003)(48376002)(103686003)(2201001)(77156002)(19580405001)(19580395003)(62966003)(5001770100001)(86362001)(46102003)(33646002)(575784001)(87936001)(42186005)(50986999)(92566002)(107986001)(90966001)(217873001)(4001430100001); DIR:OUT; SFP:1101; SCL:1; SRVR:BL2FFO11HUB008; H:xsj-pvapsmtpgw01; FPR:; SPF:Pass; MLV:sfv; A:1; MX:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11HUB008; 2:Nq5ydY3MRBmtcmMIjY720uTxAnnZgn8QHZgQWBnkIVshIsG0uHtYISZXwwWKcLiT; 2:CaSIGDvIU4jq/eXpV73M0auDKuKgpo9Ce7QZ7ep4krhEQMSRHx+nXrxV5QStaiE7oxE5s0lEi1KmnNoFTr9OUqPZFSQ10TW7cZa90tGw+boNjAvsf+ztT6omad6lrRvWGi0cBIL5deYgpFH+/p7sAcIVxQfFTEA90oakQiKJ1ID2yoC1NubE/aFcfxBPDtW4rgLjnyH4jXNqEDjtpsjXiOBBHctit0XH0GkYzNYCqGU=; 6:0zbW9LzNEMa4Z4+bFnh2h1/zZuqDeyO0SuxzP5QzKi5HzzMPa337S50tU59F+8DFQtNIIZV7RRn0uJ0+V20jo53QPQABCLr4sShhDpF3eDn3n9IwVlqtA2JJcR0Ucg5zdmDOxfbNikvFN8ZVXqz8BPwNxw3W2lHJP01+Wo+Mwhrwnucq3JlM4IcT8Z12pAHT2ajHUkyn7qvLgjjILmCEBJ3tnETePRphy2MgkJN83P6fQWgpE9v+BR/FYzyMqjHqYTUEB1nPexow8TwH6pcToVYL3My0gzZ+0/ixuR0b8+WLgIWeYA2dst8wSfsTKzkgLgnikwP8GZk68ObaQICa0a2YrPLd1LgIH/DLISAH8pcuf6LWvkq/pbu+593r29Qr88BMePHcOepJdq5ZQLv7Te+TB6O7vcP98siCI4d76HWJQM+mVHVO6WsFt+n7A2uS1wzv03Vl/svibZBvh48HlPVv0Ox7ToO+Us+k+NjVrGe8WRf2ztDBwQdlL7pwDebk X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BL2FFO11HUB008; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5005006)(520003)(3002001); SRVR:BL2FFO11HUB008; BCL:0; PCL:0; RULEID:; SRVR:BL2FFO11HUB008; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11HUB008; 3:T5r3jDWCUGv4AtzwXAWHCa5Uv+p/YNokSXxP73buluWKqEmGv5be/BGKPQD36+CZ3OwTg7ySj9qP4HCXESXB7wtHuk5wSIk4rFqE+4dILp83pxgxr3T2IystLrssfgzxZA/o2tUtzRjUUMIEroySfz+5O7jcbyHYLWQDyS2bQBNbDiTi/Z1SqTdZIdiOQ2LbTwXhCV4+4zV8tvwLz1+05i+xN302iuJF5taax8Pc1P8bYeT0UPOZ+clba82cZahON0g1E8sqeml8LXWNiR8tWTPAFPB8bswaATf3Z/UC90k8i/d10bAgOjZ8MfKvtvXy X-Forefront-PRVS: 06036BD506 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BL2FFO11HUB008; 9:1voMClDflaMBpS2urOBz7UkN9tgEPRg8ojR82IUnr?= =?us-ascii?Q?qd50ve+4OvR1Cz8KGFw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ii?Q?Iknmb7ZwO+5TfMUAeM3Xia+VxNxQe4r2bPsjeIpFa18cFFoRfOaWrcx7UVl/?= =?us-ascii?Q?AQ=3D?= X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11HUB008; 3:um9NARX3HIpQuoBvfQ+QrH8LSwou10BQEhKXzA/FY7jaNjkv+BGb0M5fgppKfviffRYxbfSm10K74mT8XGKZB3pjw1IEgB9WtR43/3S6FIzhabCvI65OKtNbIai8/iVOKUjeBS0t/VK8zd5xT1JcHg==; 10:vIFDPNiZNAdNzjVVw0horY06LJ05n4+2eDa38s8vsBBkSq3/CEDvyM3uBi6t94h2c3XxG7egi3VPa5WdGRE5YwaVIWcBsLdK9waarI1p93k= X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jun 2015 10:40:29.1873 (UTC) X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c; Ip=[149.199.60.83]; Helo=[xsj-pvapsmtpgw01] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL2FFO11HUB008 Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add bindings documentation for GQSPI controller driver used by Zynq Ultrascale+ MPSoC Signed-off-by: Ranjit Waghmode --- Changes in v3: - Did split in register addressing as per Sorens request Changes in v2: No changes in v2 --- .../devicetree/bindings/spi/spi-zynqmp-qspi.txt | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Documentation/devicetree/bindings/spi/spi-zynqmp-qspi.txt -- 2.1.2 -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/Documentation/devicetree/bindings/spi/spi-zynqmp-qspi.txt b/Documentation/devicetree/bindings/spi/spi-zynqmp-qspi.txt new file mode 100644 index 0000000..c8f50e5 --- /dev/null +++ b/Documentation/devicetree/bindings/spi/spi-zynqmp-qspi.txt @@ -0,0 +1,26 @@ +Xilinx Zynq UltraScale+ MPSoC GQSPI controller Device Tree Bindings +------------------------------------------------------------------- + +Required properties: +- compatible : Should be "xlnx,zynqmp-qspi-1.0". +- reg : Physical base address and size of GQSPI registers map. +- interrupts : Property with a value describing the interrupt + number. +- interrupt-parent : Must be core interrupt controller. +- clock-names : List of input clock names - "ref_clk", "pclk" + (See clock bindings for details). +- clocks : Clock phandles (see clock bindings for details). + +Optional properties: +- num-cs : Number of chip selects used. + +Example: + qspi: spi@ff0f0000 { + compatible = "xlnx,zynqmp-qspi-1.0"; + clock-names = "ref_clk", "pclk"; + clocks = <&misc_clk &misc_clk>; + interrupts = <0 15 4>; + interrupt-parent = <&gic>; + num-cs = <1>; + reg = <0x0 0xff0f0000 0x1000>,<0x0 0xc0000000 0x8000000>; + };