From patchwork Wed Jan 8 13:46:57 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 22950 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qe0-f69.google.com (mail-qe0-f69.google.com [209.85.128.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C0E4A202E2 for ; Wed, 8 Jan 2014 13:48:47 +0000 (UTC) Received: by mail-qe0-f69.google.com with SMTP id 1sf2628671qec.0 for ; Wed, 08 Jan 2014 05:48:47 -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=Km1Y2dy/Di5d1hsqfY8u0XW4T0m91IsmNvILlCcwsZlDWqrf6awkU8XoeTa1VuEuQT uO+EbZ5eXmsNyNGtpRwvJJA8eNzUcEF4dHizkoiZMgNVvIzyLQiiy0yOG7762V4p0svt AaJF23XsDwKigQQm9r8Kowq8SOnKiJRIhR37tL7ZdScG2ahifMSxYlQ9O7nxC0eakELr LlDHxmApaa/7PHOsCZe902ltwCgwrYS84U/SUZw4hvpeoL08fw2bka4dw9IyVamAs5Tm ivmEzCKnWVs2uVyftlhrBut9zYu7SmNxI2JwNe6EHuzQ+dzAkhQlP8cLuEzyUCMtstC9 K9PA== X-Gm-Message-State: ALoCoQnQJiYUggH5ogbC9WT0q1vKJ1F/ecV8VZNoG7/t/ceu8zvgI15GFJBXy1svZuSnzt9bCKVk X-Received: by 10.58.34.2 with SMTP id v2mr40198322vei.25.1389188927019; Wed, 08 Jan 2014 05:48:47 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.86.232 with SMTP id s8ls605635qez.67.gmail; Wed, 08 Jan 2014 05:48:46 -0800 (PST) X-Received: by 10.52.116.200 with SMTP id jy8mr23583485vdb.15.1389188926900; Wed, 08 Jan 2014 05:48:46 -0800 (PST) Received: from mail-ve0-f181.google.com (mail-ve0-f181.google.com [209.85.128.181]) by mx.google.com with ESMTPS id pu5si616507veb.21.2014.01.08.05.48.46 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 08 Jan 2014 05:48:46 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.181 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.181; Received: by mail-ve0-f181.google.com with SMTP id oy12so1242357veb.26 for ; Wed, 08 Jan 2014 05:48:46 -0800 (PST) X-Received: by 10.52.187.232 with SMTP id fv8mr2559177vdc.60.1389188926788; Wed, 08 Jan 2014 05:48:46 -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.59.13.131 with SMTP id ey3csp226614ved; Wed, 8 Jan 2014 05:48:46 -0800 (PST) X-Received: by 10.180.184.105 with SMTP id et9mr20940317wic.36.1389188925777; Wed, 08 Jan 2014 05:48:45 -0800 (PST) Received: from mail-we0-f175.google.com (mail-we0-f175.google.com [74.125.82.175]) by mx.google.com with ESMTPS id z18si2577628wij.82.2014.01.08.05.48.45 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 08 Jan 2014 05:48:45 -0800 (PST) Received-SPF: neutral (google.com: 74.125.82.175 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=74.125.82.175; Received: by mail-we0-f175.google.com with SMTP id w62so1444454wes.20 for ; Wed, 08 Jan 2014 05:48:45 -0800 (PST) X-Received: by 10.180.89.193 with SMTP id bq1mr21690461wib.22.1389188925230; Wed, 08 Jan 2014 05:48:45 -0800 (PST) Received: from localhost.localdomain (cpc15-aztw25-2-0-cust493.aztw.cable.virginm.net. [92.233.57.238]) by mx.google.com with ESMTPSA id j9sm48125217wjx.18.2014.01.08.05.48.43 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 08 Jan 2014 05:48:44 -0800 (PST) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: computersforpeace@gmail.com, angus.clark@st.com, Lee Jones , devicetree@vger.kernel.org Subject: [PATCH v4 14/37] mtd: st_spi_fsm: Add device-tree binding documentation Date: Wed, 8 Jan 2014 13:46:57 +0000 Message-Id: <1389188840-14306-15-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1389188840-14306-1-git-send-email-lee.jones@linaro.org> References: <1389188840-14306-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.128.181 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"; + }; +