From patchwork Thu Jan 23 10:31:02 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 23585 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f71.google.com (mail-oa0-f71.google.com [209.85.219.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id D0AD2218BD for ; Thu, 23 Jan 2014 10:32:18 +0000 (UTC) Received: by mail-oa0-f71.google.com with SMTP id g12sf6443104oah.6 for ; Thu, 23 Jan 2014 02:32:18 -0800 (PST) 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=fxxFx75SNSQrlJ4m5W/S60oxHkZgTByDokyqTVUva2I=; b=KN2QCGirS/gp7G5eWEZU+xM17AbCrhp+u4F0q/nraWkWE+2ZJ35+sCzAf2t41zH3L8 b7N/kf608W5P/06u/jVa64BAS0vHXbn8UXWnkaR16hPU/+SWTE15S04H8ki77ME7uTm6 QzpHzZqBoZB2Ztcj1UIa6KifzgC62C499IbjkzU1GST68D1wLmQ9eCCmTcHYzJ7wpCUy znN3Kd3WTuMkA9tv6kHngkh6hZ4GMikqVgsRqEobAb7SMBiAUCUotp2KOtrDUKk11z/c A8SEzwuiT/j16Wcs/r6u3ed9xRpSYTDHp1le+ajOz/ZyavSXYraY8kCdrMrrr8L8VRqC qwOw== X-Gm-Message-State: ALoCoQmz4w3ZFYGVBN82X0J+HaIC8kpy/Mf8YuF7CY7anujNZEMmPlSL13CYSvlVLkbnlD2sGJwE X-Received: by 10.43.4.4 with SMTP id oa4mr2365925icb.2.1390473137984; Thu, 23 Jan 2014 02:32:17 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.41.202 with SMTP id z68ls278638qgz.85.gmail; Thu, 23 Jan 2014 02:32:17 -0800 (PST) X-Received: by 10.221.7.132 with SMTP id oo4mr4083197vcb.31.1390473137856; Thu, 23 Jan 2014 02:32:17 -0800 (PST) Received: from mail-vb0-f46.google.com (mail-vb0-f46.google.com [209.85.212.46]) by mx.google.com with ESMTPS id yt16si6422627vcb.117.2014.01.23.02.32.17 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 Jan 2014 02:32:17 -0800 (PST) Received-SPF: neutral (google.com: 209.85.212.46 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.46; Received: by mail-vb0-f46.google.com with SMTP id o19so924412vbm.5 for ; Thu, 23 Jan 2014 02:32:17 -0800 (PST) X-Received: by 10.58.75.6 with SMTP id y6mr4157296vev.23.1390473137790; Thu, 23 Jan 2014 02:32:17 -0800 (PST) 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.174.196 with SMTP id u4csp15944vcz; Thu, 23 Jan 2014 02:32:17 -0800 (PST) X-Received: by 10.180.77.129 with SMTP id s1mr7179987wiw.56.1390473136559; Thu, 23 Jan 2014 02:32:16 -0800 (PST) Received: from mail-we0-f170.google.com (mail-we0-f170.google.com [74.125.82.170]) by mx.google.com with ESMTPS id ur6si8784713wjc.38.2014.01.23.02.32.16 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 Jan 2014 02:32:16 -0800 (PST) Received-SPF: neutral (google.com: 74.125.82.170 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=74.125.82.170; Received: by mail-we0-f170.google.com with SMTP id u57so955186wes.1 for ; Thu, 23 Jan 2014 02:32:16 -0800 (PST) X-Received: by 10.181.8.66 with SMTP id di2mr7176813wid.43.1390473136141; Thu, 23 Jan 2014 02:32:16 -0800 (PST) Received: from localhost.localdomain ([80.76.198.141]) by mx.google.com with ESMTPSA id ay6sm21257831wjb.23.2014.01.23.02.32.13 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 Jan 2014 02:32:15 -0800 (PST) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: linus.walleij@linaro.org, dwmw2@infradead.org, linux-mtd@lists.infradead.org, computersforpeace@gmail.com, Angus.Clark@st.com, DCG_UPD_stlinux_kernel@list.st.com, olivier.clergeaud@st.com, Lee Jones , devicetree@vger.kernel.org Subject: [PATCH RESEND v4 14/37] mtd: st_spi_fsm: Add device-tree binding documentation Date: Thu, 23 Jan 2014 10:31:02 +0000 Message-Id: <1390473085-24626-15-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1390473085-24626-1-git-send-email-lee.jones@linaro.org> References: <1390473085-24626-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.212.46 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 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"; + }; +