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: 313502 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id A2E672C007C for ; Thu, 23 Jan 2014 21:40:26 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753781AbaAWKcV (ORCPT ); Thu, 23 Jan 2014 05:32:21 -0500 Received: from mail-wg0-f45.google.com ([74.125.82.45]:49219 "EHLO mail-wg0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753690AbaAWKcR (ORCPT ); Thu, 23 Jan 2014 05:32:17 -0500 Received: by mail-wg0-f45.google.com with SMTP id n12so1290666wgh.24 for ; Thu, 23 Jan 2014 02:32:16 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=fxxFx75SNSQrlJ4m5W/S60oxHkZgTByDokyqTVUva2I=; b=B4lK2O24CDXYYkoZW7uR57kMVapI1vMQGkMljONXjZMpZAJVY/QH6rOllNN+y5dtnk n9vtKdPbwZI9n0scxld9T1efrX4c2dgQ7zsNnEbPc40sBC/J+pdYoko1BNaM9mk5FNQ1 Yzn3qJsf0n7y8Adxv3OpKVGDZIClvHK6dSUQe7kvMHqaFjDMvH6PCTjIoFT37vsWSBdV Tf0MIlbkaXo0lbqjIdAAbTwjaMKBZJiB2PjrrgS2+4QldpVt5/GCRELTXXJ1wjO46PZE 95F+r+uoLi0KVWw20yNaG6oDWZ+Sy3DiWCVCdmzRLnL4D0nO0dYTogUTo4Zb9IxQrMpq ILRA== X-Gm-Message-State: ALoCoQkgBPsUxw4zZOew7okQhhCOTVl+75cbK9Lm4rBjglvdmr4XDoCj54mldBaQ7o9XmqRytDqg 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> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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"; + }; +