From patchwork Thu May 22 11:24:06 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 351459 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2001:1868:205::9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 8CF87140083 for ; Thu, 22 May 2014 21:28:35 +1000 (EST) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WnR9U-0006bz-Rf; Thu, 22 May 2014 11:27:12 +0000 Received: from mail-ie0-f172.google.com ([209.85.223.172]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WnR7J-0003gL-NM for linux-mtd@lists.infradead.org; Thu, 22 May 2014 11:24:58 +0000 Received: by mail-ie0-f172.google.com with SMTP id tp5so3383552ieb.31 for ; Thu, 22 May 2014 04:24:36 -0700 (PDT) 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=RspRyQZjoxanHG+BvkDWQcrFXx34q8POZa1f6vXHUEc=; b=lHRA+pw3uuPr5rnWVbXWSq0aCtsXonDZ8TJ5thbe1vQGznK3FovijwQpVxwJJ6CXeR vnXLfJ0IW1JxTcK7dOVBEE3Xpaj3SEvqobmqNDh4KIpsR4hR8n5qhqYhA8uUT34PigHy vl3fW1P2UyXh9qiULJB05MfNkLHtpd2gSqinMenPZnwMF1DCCh/djwp4q07C4zYOYfh4 IAx6AVZkk0GwY1LqgJgVP9+nkOyXj8P6PQi4kfKh0V0kcaETnEMaqsANcJBTSozZZm0o bmhsT0aUQu95th5K3qf4Nj9wS3hpmQKNpE1h/0Aw1iPKnpNWX5D2na5g+rhFcq/nYci3 UQSw== X-Gm-Message-State: ALoCoQm6wKiKSNjUd6n3hHRYe6UK+on7ziatkfsafW85w6V4rzZGSDeJ9EXiPIFNyW1R/fARemfm X-Received: by 10.43.70.12 with SMTP id ye12mr616388icb.46.1400757876308; Thu, 22 May 2014 04:24:36 -0700 (PDT) Received: from localhost.localdomain (host109-148-113-200.range109-148.btcentralplus.com. [109.148.113.200]) by mx.google.com with ESMTPSA id z4sm12643314igl.13.2014.05.22.04.24.34 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 22 May 2014 04:24:35 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 08/10] mtd: st_spi_fsm: Provide documentation for boot device mask property Date: Thu, 22 May 2014 12:24:06 +0100 Message-Id: <1400757848-18075-9-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1400757848-18075-1-git-send-email-lee.jones@linaro.org> References: <1400757848-18075-1-git-send-email-lee.jones@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140522_042457_855012_52DE99EC X-CRM114-Status: UNSURE ( 9.26 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) X-Spam-Report: SpamAssassin version 3.3.2 on bombadil.infradead.org summary: Content analysis details: (-0.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.223.172 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record Cc: Lee Jones , computersforpeace@gmail.com, linux-mtd@lists.infradead.org, devicetree@vger.kernel.org X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-mtd" Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org The system configuration registers which display which device the system booted on are in the same place on all boards which support the FSM. However, the bits do shift every so slightly. To combat these we're adding a new property which supplies the necessary mask used to abstract the required information. Cc: devicetree@vger.kernel.org Signed-off-by: Lee Jones --- Documentation/devicetree/bindings/mtd/st-fsm.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/mtd/st-fsm.txt b/Documentation/devicetree/bindings/mtd/st-fsm.txt index c248939..0523fd4 100644 --- a/Documentation/devicetree/bindings/mtd/st-fsm.txt +++ b/Documentation/devicetree/bindings/mtd/st-fsm.txt @@ -11,6 +11,8 @@ 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 + - st,boot-device-msk : Mask to use when extracting boot device from the + above system config registers Example: spifsm: spifsm@fe902000{