From patchwork Tue Feb 18 14:55:40 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 24877 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f200.google.com (mail-ie0-f200.google.com [209.85.223.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 91A3E202B2 for ; Tue, 18 Feb 2014 15:00:23 +0000 (UTC) Received: by mail-ie0-f200.google.com with SMTP id to1sf13219856ieb.7 for ; Tue, 18 Feb 2014 07:00:22 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:subject:date:message-id :in-reply-to:references:cc:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:mime-version:sender :errors-to:x-original-sender:x-original-authentication-results :mailing-list:content-type:content-transfer-encoding; bh=BUKF3ZgSDndcEGzb5fmAqh3w+gA+PdaRAzVr+AZO6Io=; b=CNTzaDZRX2oaElvIGK1bDtmP3/YKH0KD/TVOo/MKFnAxvkqq515eKH1QMHEJS3wPYl XBnWoTGF++j5dEYrF3IWqvzGNhLIOsbK4lj6mI11L2Bj2ChpeKzyO0ciGirRg1POKKlY hDrnBjWH/cc0U4jElDhqtxPVwN0dm3gvFZaUsAwjWGZQsKfocnfWqk2ivXho7widvuZR dYv4kdkbZYGLGXuAMhG2YYKSJICQQX2dR9s0edUxKnV8u6r4CX58d088h34XqCNlfDCE aTicZxsy5MuLS+xjUrnn6ctfWORcuUav7TMOsz6QmRcGFLCg8Wa0YSyk6bc+gYMVArME vEyQ== X-Gm-Message-State: ALoCoQkHZM51RlivcJWoYMFUpkfWDio+Eh/mxYkNhglHME7V34JCkPpzTp1tpeR/Z1MGzwKoN0mh X-Received: by 10.43.103.136 with SMTP id di8mr11198812icc.14.1392735622607; Tue, 18 Feb 2014 07:00:22 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.92.65 with SMTP id a59ls1402160qge.72.gmail; Tue, 18 Feb 2014 07:00:22 -0800 (PST) X-Received: by 10.220.12.193 with SMTP id y1mr57520vcy.75.1392735622505; Tue, 18 Feb 2014 07:00:22 -0800 (PST) Received: from mail-vc0-f175.google.com (mail-vc0-f175.google.com [209.85.220.175]) by mx.google.com with ESMTPS id eb8si5551715vdb.125.2014.02.18.07.00.22 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 18 Feb 2014 07:00:22 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.175 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.175; Received: by mail-vc0-f175.google.com with SMTP id ij19so13287063vcb.34 for ; Tue, 18 Feb 2014 07:00:22 -0800 (PST) X-Received: by 10.220.191.134 with SMTP id dm6mr21745724vcb.16.1392735622398; Tue, 18 Feb 2014 07:00:22 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.174.196 with SMTP id u4csp222774vcz; Tue, 18 Feb 2014 07:00:21 -0800 (PST) X-Received: by 10.194.57.239 with SMTP id l15mr19057392wjq.40.1392735621404; Tue, 18 Feb 2014 07:00:21 -0800 (PST) Received: from casper.infradead.org (casper.infradead.org. [2001:770:15f::2]) by mx.google.com with ESMTPS id a2si10987362wix.51.2014.02.18.07.00.21 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Feb 2014 07:00:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:770:15f::2 as permitted sender) client-ip=2001:770:15f::2; Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WFm8c-000753-0z; Tue, 18 Feb 2014 14:59:11 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WFm84-0007aC-Dz; Tue, 18 Feb 2014 14:58:36 +0000 Received: from mail-wg0-f42.google.com ([74.125.82.42]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WFm6s-0007H4-K8 for linux-mtd@lists.infradead.org; Tue, 18 Feb 2014 14:57:24 +0000 Received: by mail-wg0-f42.google.com with SMTP id k14so3144648wgh.5 for ; Tue, 18 Feb 2014 06:57:02 -0800 (PST) X-Received: by 10.180.100.72 with SMTP id ew8mr18516361wib.16.1392735421959; Tue, 18 Feb 2014 06:57:01 -0800 (PST) Received: from localhost.localdomain ([80.76.198.141]) by mx.google.com with ESMTPSA id h13sm46039687wjr.22.2014.02.18.06.56.59 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 18 Feb 2014 06:57:00 -0800 (PST) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 13/35] mtd: st_spi_fsm: Add device-tree binding documentation Date: Tue, 18 Feb 2014 14:55:40 +0000 Message-Id: <1392735362-1245-14-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1392735362-1245-1-git-send-email-lee.jones@linaro.org> References: <1392735362-1245-1-git-send-email-lee.jones@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140218_095722_917169_6F215A45 X-CRM114-Status: UNSURE ( 9.31 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [74.125.82.42 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Angus.Clark@st.com, devicetree@vger.kernel.org, lee.jones@linaro.org, DCG_UPD_stlinux_kernel@list.st.com, linux-mtd@lists.infradead.org, computersforpeace@gmail.com, dwmw2@infradead.org X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Sender: "linux-mtd" Errors-To: linux-mtd-bounces+patch=linaro.org@lists.infradead.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.175 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 Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 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"; + }; +