From patchwork Thu Jul 10 08:50:07 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Harini Katakam X-Patchwork-Id: 4522251 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.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 38A8E9F26C for ; Thu, 10 Jul 2014 08:51:21 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 615B82024C for ; Thu, 10 Jul 2014 08:51:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8FD342021B for ; Thu, 10 Jul 2014 08:51:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752486AbaGJIuz (ORCPT ); Thu, 10 Jul 2014 04:50:55 -0400 Received: from mail-pa0-f48.google.com ([209.85.220.48]:53322 "EHLO mail-pa0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752460AbaGJIuu (ORCPT ); Thu, 10 Jul 2014 04:50:50 -0400 Received: by mail-pa0-f48.google.com with SMTP id et14so10719406pad.35 for ; Thu, 10 Jul 2014 01:50:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=XrG1elRwDtqUliITEHvJj+09LhKKGbciz0UdDlEoyFY=; b=RJo98INkaYT7Os2xSykhBBCo4wvAv/kBicMfUn66uEpJoWlUtCsLqzz9aYfwvrv+fG +R37E/ykaINInTdYalAElydpYXkAgTuxXoFpRRzMl7y+ILJ6KcRFX3YgveBidFMIsl4W TIA6XXvshceOyfBaYpaE9Mz8R27qeXpQS+f/YyVrT+QV0ICqgsTi2Nx6ECO1MFXh+0DV yc9YoqcV1k9GimOWU0dHWfDOPcBN2LS7WwPNwHDq8k5EyAw3qd5dO5XjYNKJXQeK08Fp 34Lxl4PuegBgg0zJJM0kWgo6iA5Rh8EclhEqGSFb7d1PiHK1Q1m51Js+tJIabl2VPLu8 LtoA== X-Received: by 10.70.118.166 with SMTP id kn6mr15998184pdb.18.1404982250155; Thu, 10 Jul 2014 01:50:50 -0700 (PDT) Received: from localhost ([149.199.62.254]) by mx.google.com with ESMTPSA id bh9sm29910088pdb.58.2014.07.10.01.50.48 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 10 Jul 2014 01:50:49 -0700 (PDT) From: Harini Katakam To: broonie@kernel.org, grant.likely@linaro.org, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-doc@vger.kernel.org, dwmw2@infradead.org, computersforpeace@gmail.com, marex@denx.de, artem.bityutskiy@linux.intel.com, geert+renesas@linux-m68k.org, s.hauer@pengutronix.de, jg1.han@samsung.com, sourav.poddar@ti.com Cc: michals@xilinx.com, punnaia@xilinx.com, harinikatakamlinux@gmail.com, Harini Katakam Subject: [RFC PATCH 2/2] devicetree: Add devicetree bindings documentation for Zynq QSPI Date: Thu, 10 Jul 2014 14:20:07 +0530 Message-Id: <1404982207-4707-3-git-send-email-harinik@xilinx.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1404982207-4707-1-git-send-email-harinik@xilinx.com> References: <1404982207-4707-1-git-send-email-harinik@xilinx.com> Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,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 Zynq QSPI driver. Signed-off-by: Harini Katakam --- .../devicetree/bindings/spi/spi-zynq-qspi.txt | 28 ++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Documentation/devicetree/bindings/spi/spi-zynq-qspi.txt diff --git a/Documentation/devicetree/bindings/spi/spi-zynq-qspi.txt b/Documentation/devicetree/bindings/spi/spi-zynq-qspi.txt new file mode 100644 index 0000000..288c551 --- /dev/null +++ b/Documentation/devicetree/bindings/spi/spi-zynq-qspi.txt @@ -0,0 +1,28 @@ +Xilinx Zynq QSPI controller Device Tree Bindings +------------------------------------------------- + +Required properties: +- compatible : Should be "xlnx,zynq-qspi-1.0". +- reg : Physical base address and size of QSPI 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. +- xlnx,qspi-mode : Single - 0; Dual Stacked - 1; Dual Parallel - 2. + +Example: + qspi@e000d000 { + compatible = "xlnx,zynq-qspi-1.0"; + clock-names = "ref_clk", "pclk"; + clocks = <&clkc 10>, <&clkc 43>; + interrupt-parent = <&intc>; + interrupts = <0 19 4>; + num-cs = <1>; + xlnx,qspi-mode = <0x0>; + reg = <0xe000d000 0x1000>; + } ;