From patchwork Thu May 22 11:59:27 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 30611 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ig0-f197.google.com (mail-ig0-f197.google.com [209.85.213.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 261CD20369 for ; Thu, 22 May 2014 11:59:37 +0000 (UTC) Received: by mail-ig0-f197.google.com with SMTP id hn18sf9393395igb.8 for ; Thu, 22 May 2014 04:59: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:delivered-to:date:from:to:cc:subject:message-id :references:mime-version:in-reply-to:user-agent:sender:precedence :list-id:x-original-sender:x-original-authentication-results :mailing-list:list-post:list-help:list-archive:list-unsubscribe :content-type:content-disposition; bh=WulBH7mMLXYSbqjfYEX7bU0mgQXJkddhShyl3FLBUEc=; b=ShviAoNG3zekI9ye+9egZrCzcYcMZ82tlFrmnSj3JS+pXScXy39MLf9ymrqqLT4TjN YMPgjMifKdHsz31NgPjB4EjeB14z5UmXJ43jfnk0h3/J8CK/GtY2PJrIgu81Ho8vS9N0 uS3L14sloOawizzE0Qez69PjsIlvZUEr9ieKZwQIK2IRbaq1ICkvi5BJhzDslry/ifEK lC/4GKvfChsHhtE+VxnARGyyTQqr5DqCad5VHUvjkwp0tjUi9upAzqkmVXCTJQcjmlqk GHWid8+vvwqByA/ePHe1mv7rkI2LiRsrdncxYA+sd00feDsn6nwFz6fgPv05UI5n5Za1 AsJA== X-Gm-Message-State: ALoCoQmJkMMrqECfxg/N9EYxal/6KCxeqmeeVXNRmyAuNSMCUfcFb68nacNoQYmXZQGVhe5X8aX8 X-Received: by 10.50.141.161 with SMTP id rp1mr7731003igb.2.1400759976671; Thu, 22 May 2014 04:59:36 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.21.85 with SMTP id 79ls1225449qgk.41.gmail; Thu, 22 May 2014 04:59:36 -0700 (PDT) X-Received: by 10.52.255.98 with SMTP id ap2mr13034285vdd.3.1400759976539; Thu, 22 May 2014 04:59:36 -0700 (PDT) Received: from mail-vc0-f177.google.com (mail-vc0-f177.google.com [209.85.220.177]) by mx.google.com with ESMTPS id a20si2406291vej.36.2014.05.22.04.59.36 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 22 May 2014 04:59:36 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.177 as permitted sender) client-ip=209.85.220.177; Received: by mail-vc0-f177.google.com with SMTP id if11so882171vcb.22 for ; Thu, 22 May 2014 04:59:36 -0700 (PDT) X-Received: by 10.58.23.6 with SMTP id i6mr48629304vef.12.1400759976458; Thu, 22 May 2014 04:59:36 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp192225vcb; Thu, 22 May 2014 04:59:35 -0700 (PDT) X-Received: by 10.66.248.228 with SMTP id yp4mr67295610pac.94.1400759974722; Thu, 22 May 2014 04:59:34 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id kp9si10364192pbc.11.2014.05.22.04.59.34; Thu, 22 May 2014 04:59:34 -0700 (PDT) Received-SPF: none (google.com: devicetree-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754725AbaEVL7d (ORCPT + 8 others); Thu, 22 May 2014 07:59:33 -0400 Received: from mail-ie0-f179.google.com ([209.85.223.179]:37002 "EHLO mail-ie0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754772AbaEVL7c (ORCPT ); Thu, 22 May 2014 07:59:32 -0400 Received: by mail-ie0-f179.google.com with SMTP id rd18so3423857iec.10 for ; Thu, 22 May 2014 04:59:32 -0700 (PDT) X-Received: by 10.42.204.197 with SMTP id fn5mr1701179icb.95.1400759972020; Thu, 22 May 2014 04:59:32 -0700 (PDT) Received: from lee--X1 (host109-148-113-200.range109-148.btcentralplus.com. [109.148.113.200]) by mx.google.com with ESMTPSA id y7sm12822145igl.13.2014.05.22.04.59.30 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 22 May 2014 04:59:31 -0700 (PDT) Date: Thu, 22 May 2014 12:59:27 +0100 From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: computersforpeace@gmail.com, linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, arnd@arndb.de Subject: [PATCH v2 08/10] mtd: st_spi_fsm: Provide documentation for boot device mask property Message-ID: <20140522115927.GY6679@lee--X1> References: <1400757848-18075-1-git-send-email-lee.jones@linaro.org> <1400757848-18075-9-git-send-email-lee.jones@linaro.org> MIME-Version: 1.0 In-Reply-To: <1400757848-18075-9-git-send-email-lee.jones@linaro.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@vger.kernel.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.220.177 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Content-Disposition: inline mtd: st_spi_fsm: Provide documentation for boot device mask property 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 --- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/Documentation/devicetree/bindings/mtd/st-fsm.txt b/Documentation/devicetree/bindings/mtd/st-fsm.txt index c248939..2ef9710 100644 --- a/Documentation/devicetree/bindings/mtd/st-fsm.txt +++ b/Documentation/devicetree/bindings/mtd/st-fsm.txt @@ -11,6 +11,10 @@ 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 + NB: If any of the st,boot-device-* properties are missing, the driver falls + back to the default assumption of 'booted from SPI'. Example: spifsm: spifsm@fe902000{