From patchwork Fri Nov 29 12:19:03 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 21874 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pb0-f69.google.com (mail-pb0-f69.google.com [209.85.160.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 2F91423FC4 for ; Fri, 29 Nov 2013 12:20:09 +0000 (UTC) Received: by mail-pb0-f69.google.com with SMTP id md12sf25521035pbc.8 for ; Fri, 29 Nov 2013 04:20:08 -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=DToSUw/z3JtoyBWb9o09NvGFgFxeXqbgMprpL+d3kGdc81tUa4QRgQn9py5Nk2ZT50 ipaiiKlvq640OknTGnsHI7PR5xIPhY8oKYOf4fnjlkZgGDkfuipWHrd1PSJc2HAQTFm3 88P1sk3Ojsd7x9j3+4FfoArwiFp4tcwUxqdWQiXMpNLk1I0i+/N6aRT0wQdq7gwuc1Xw CXJ91SGXEs+vJM5hJbXfrsB5sK1Oc9Twbp7b4t/WrSTSjhfrz2Ed9p1PSnHQF6a7aWG0 1MZzxHN0Px053d3W0CPONCNlXFvwhWwlvi420mYB5LoD2ilmezCz4fBhLuw0C6P7UrEb CJOg== X-Gm-Message-State: ALoCoQnSYeWi/QCR9q6lgYOCYLFBE0FFmpkOlW5dqqocGxV/BUktuw651dOUGII5gk7pNCf10eej X-Received: by 10.66.51.33 with SMTP id h1mr18225118pao.30.1385727608439; Fri, 29 Nov 2013 04:20:08 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.16.35 with SMTP id c3ls256462qed.83.gmail; Fri, 29 Nov 2013 04:20:08 -0800 (PST) X-Received: by 10.52.241.105 with SMTP id wh9mr28015vdc.83.1385727606766; Fri, 29 Nov 2013 04:20:06 -0800 (PST) Received: from mail-vb0-f42.google.com (mail-vb0-f42.google.com [209.85.212.42]) by mx.google.com with ESMTPS id e3si24798585vek.55.2013.11.29.04.20.06 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 29 Nov 2013 04:20:06 -0800 (PST) Received-SPF: neutral (google.com: 209.85.212.42 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.42; Received: by mail-vb0-f42.google.com with SMTP id w18so6856168vbj.1 for ; Fri, 29 Nov 2013 04:20:06 -0800 (PST) X-Received: by 10.58.207.15 with SMTP id ls15mr42238137vec.17.1385727605197; Fri, 29 Nov 2013 04:20:05 -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 u4csp87413vcz; Fri, 29 Nov 2013 04:20:04 -0800 (PST) X-Received: by 10.49.120.8 with SMTP id ky8mr20719193qeb.29.1385727603050; Fri, 29 Nov 2013 04:20:03 -0800 (PST) Received: from mail-yh0-f45.google.com (mail-yh0-f45.google.com [209.85.213.45]) by mx.google.com with ESMTPS id s9si21653257qas.163.2013.11.29.04.20.02 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 29 Nov 2013 04:20:03 -0800 (PST) Received-SPF: neutral (google.com: 209.85.213.45 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=209.85.213.45; Received: by mail-yh0-f45.google.com with SMTP id v1so5648574yhn.18 for ; Fri, 29 Nov 2013 04:20:02 -0800 (PST) X-Received: by 10.236.139.198 with SMTP id c46mr1948859yhj.78.1385727602806; Fri, 29 Nov 2013 04:20:02 -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 m29sm101911689yho.14.2013.11.29.04.20.00 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 29 Nov 2013 04:20:02 -0800 (PST) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, dwmw2@infradead.org Cc: linus.walleij@linaro.org, linux-mtd@lists.infradead.org, angus.clark@st.com, Lee Jones , devicetree@vger.kernel.org Subject: [PATCH v3 14/36] mtd: st_spi_fsm: Add device-tree binding documentation Date: Fri, 29 Nov 2013 12:19:03 +0000 Message-Id: <1385727565-25794-15-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1385727565-25794-1-git-send-email-lee.jones@linaro.org> References: <1385727565-25794-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.42 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"; + }; +