From patchwork Thu Mar 20 09:20:45 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 26646 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f199.google.com (mail-ve0-f199.google.com [209.85.128.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C8331202E0 for ; Thu, 20 Mar 2014 09:21:48 +0000 (UTC) Received: by mail-ve0-f199.google.com with SMTP id cz12sf1460948veb.6 for ; Thu, 20 Mar 2014 02:21:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=Y6ACyb8reX4jlvuoke5MuTVf5NvfYVXt7UBYqwVZkpo=; b=CjI86jiQZqJPIWWiqkqcVykxis39oNT02x/fwkyPUrL0XreNUF1ShY7QBT3X1bvRxo eY7yXVQp5QkTBdHa+gx4lsKdM6wGCiZ0jkvhdfV39drY44sekrVODDixem+ezvzUipiF eRtX7QuOVXTTqE4dN/44gJVD4xu+Ql2kS96x/7A0F0o7BigYPaKKLg10y4F8MiRhmkqm xqhyJ/p5o2nJM9QYVFD3s49ja/AD495TDDD6ERmFocrdB/gfzNMwWOiQTCO1HupWa2rz gQZDPqgLyoH8ca8CQfac9bL5h6r4st9GCAxDPSIRkWz/7iKQcvU3BgBGhV02GkrxwfqU 0PZw== X-Gm-Message-State: ALoCoQkjav5gXGmkb/BUoDYI9m/fyTMSTExlVcUOQylxoXBSIhw+tAeQn1dZCgRE7G41C2jxithH X-Received: by 10.236.93.38 with SMTP id k26mr10685339yhf.20.1395307308438; Thu, 20 Mar 2014 02:21:48 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.47.239 with SMTP id m102ls152389qga.8.gmail; Thu, 20 Mar 2014 02:21:48 -0700 (PDT) X-Received: by 10.52.108.228 with SMTP id hn4mr2788645vdb.43.1395307308327; Thu, 20 Mar 2014 02:21:48 -0700 (PDT) Received: from mail-vc0-f173.google.com (mail-vc0-f173.google.com [209.85.220.173]) by mx.google.com with ESMTPS id ku5si91651vec.82.2014.03.20.02.21.48 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 20 Mar 2014 02:21:48 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.173 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.173; Received: by mail-vc0-f173.google.com with SMTP id il7so600691vcb.18 for ; Thu, 20 Mar 2014 02:21:48 -0700 (PDT) X-Received: by 10.52.104.68 with SMTP id gc4mr28066718vdb.2.1395307308246; Thu, 20 Mar 2014 02:21:48 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.78.9 with SMTP id i9csp372521vck; Thu, 20 Mar 2014 02:21:47 -0700 (PDT) X-Received: by 10.194.186.170 with SMTP id fl10mr6318295wjc.67.1395307307065; Thu, 20 Mar 2014 02:21:47 -0700 (PDT) Received: from mail-wi0-f174.google.com (mail-wi0-f174.google.com [209.85.212.174]) by mx.google.com with ESMTPS id cc14si1124137wib.54.2014.03.20.02.21.46 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 20 Mar 2014 02:21:47 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.174 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=209.85.212.174; Received: by mail-wi0-f174.google.com with SMTP id d1so5969868wiv.13 for ; Thu, 20 Mar 2014 02:21:46 -0700 (PDT) X-Received: by 10.194.219.132 with SMTP id po4mr32964983wjc.7.1395307306651; Thu, 20 Mar 2014 02:21:46 -0700 (PDT) Received: from lee--X1.home (host109-148-116-196.range109-148.btcentralplus.com. [109.148.116.196]) by mx.google.com with ESMTPSA id di9sm4735120wid.6.2014.03.20.02.21.44 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 20 Mar 2014 02:21:45 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, computersforpeace@gmail.com Cc: linux-mtd@lists.infradead.org, dwmw2@infradead.org, Angus.Clark@st.com, Lee Jones , devicetree@vger.kernel.org Subject: [PATCH v6 13/36] mtd: st_spi_fsm: Add device-tree binding documentation Date: Thu, 20 Mar 2014 09:20:45 +0000 Message-Id: <1395307268-12721-14-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1395307268-12721-1-git-send-email-lee.jones@linaro.org> References: <1395307268-12721-1-git-send-email-lee.jones@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: lee.jones@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.173 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Cc: devicetree@vger.kernel.org Acked-by Angus Clark Signed-off-by: Lee Jones --- Documentation/devicetree/bindings/mtd/st-fsm.txt | 26 ++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Documentation/devicetree/bindings/mtd/st-fsm.txt diff --git a/Documentation/devicetree/bindings/mtd/st-fsm.txt b/Documentation/devicetree/bindings/mtd/st-fsm.txt new file mode 100644 index 0000000..c248939 --- /dev/null +++ b/Documentation/devicetree/bindings/mtd/st-fsm.txt @@ -0,0 +1,26 @@ +* ST-Microelectronics SPI FSM Serial (NOR) Flash Controller + +Required properties: + - compatible : Should be "st,spi-fsm" + - reg : Contains register's location and length. + - reg-names : Should contain the reg names "spi-fsm" + - interrupts : The interrupt number + - pinctrl-0 : Standard Pinctrl phandle (see: pinctrl/pinctrl-bindings.txt) + +Optional properties: + - st,syscfg : Phandle to boot-device system configuration registers + - st,boot-device-reg : Address of the aforementioned boot-device register(s) + - st,boot-device-spi : Expected boot-device value if booted via this device + +Example: + spifsm: spifsm@fe902000{ + compatible = "st,spi-fsm"; + reg = <0xfe902000 0x1000>; + reg-names = "spi-fsm"; + pinctrl-0 = <&pinctrl_fsm>; + st,syscfg = <&syscfg_rear>; + st,boot-device-reg = <0x958>; + st,boot-device-spi = <0x1a>; + status = "okay"; + }; +