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: 30605 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yk0-f198.google.com (mail-yk0-f198.google.com [209.85.160.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 6A03420369 for ; Thu, 22 May 2014 11:24:39 +0000 (UTC) Received: by mail-yk0-f198.google.com with SMTP id 9sf7243586ykp.9 for ; Thu, 22 May 2014 04:24:39 -0700 (PDT) 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=RspRyQZjoxanHG+BvkDWQcrFXx34q8POZa1f6vXHUEc=; b=Z1NkmHjTuPdtvY5z/xCWp+ivWbjdGRzV3l0XE4fUJbh0ZSivQhHcljYuZo/DLb13Ge rqh7HTBvwZ5288cubtSpym/xxVuJOgD0xsqhnS9en1spbjGZEYAk2s5ZrCQiwI5lMTzH eGb6Jv+0SCnBTzY0wxUW5qDmMckzw+JQFOyF3thUdSPjZrv0cJEaJwyDZQNwbc6zgmSQ NpO+EINGBf/ZUf3mYeTslddISv26ltBOkiPaAd4CVzoUNGQmByTw0gIaT6i6EX7YyXVg YT1E0p8EKOgvQcgnUx02ek4dTXzxRv0nssw0GvM1s8QaBT3aMdfXiPDdukyTXIr4WkBW y42g== X-Gm-Message-State: ALoCoQntVs9nmDA4X1JD5NJ0llKTZVFxgrFhtK8rzbwYXh5w7leiy9J9ZG2dY9aIAXTKo/z1KtyK X-Received: by 10.236.203.113 with SMTP id e77mr21724811yho.15.1400757879270; Thu, 22 May 2014 04:24:39 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.87.33 with SMTP id q30ls1269925qgd.10.gmail; Thu, 22 May 2014 04:24:39 -0700 (PDT) X-Received: by 10.52.143.6 with SMTP id sa6mr8867973vdb.22.1400757879167; Thu, 22 May 2014 04:24:39 -0700 (PDT) Received: from mail-ve0-f182.google.com (mail-ve0-f182.google.com [209.85.128.182]) by mx.google.com with ESMTPS id b8si4648245vcf.7.2014.05.22.04.24.39 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 22 May 2014 04:24:39 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.182 as permitted sender) client-ip=209.85.128.182; Received: by mail-ve0-f182.google.com with SMTP id sa20so4215510veb.13 for ; Thu, 22 May 2014 04:24:39 -0700 (PDT) X-Received: by 10.220.253.132 with SMTP id na4mr559620vcb.39.1400757879109; Thu, 22 May 2014 04:24:39 -0700 (PDT) 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.221.72 with SMTP id ib8csp189970vcb; Thu, 22 May 2014 04:24:36 -0700 (PDT) X-Received: by 10.42.203.11 with SMTP id fg11mr39861056icb.17.1400757876528; Thu, 22 May 2014 04:24:36 -0700 (PDT) Received: from mail-ig0-f169.google.com (mail-ig0-f169.google.com [209.85.213.169]) by mx.google.com with ESMTPS id n6si8243968ige.22.2014.05.22.04.24.36 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 22 May 2014 04:24:36 -0700 (PDT) Received-SPF: pass (google.com: domain of lee.jones@linaro.org designates 209.85.213.169 as permitted sender) client-ip=209.85.213.169; Received: by mail-ig0-f169.google.com with SMTP id hl10so7936455igb.0 for ; Thu, 22 May 2014 04:24:36 -0700 (PDT) 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 Cc: computersforpeace@gmail.com, linux-mtd@lists.infradead.org, Lee Jones , devicetree@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-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: lee.jones@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.182 as permitted sender) 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: , 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{