From patchwork Mon Dec 15 11:59:10 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 42254 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f197.google.com (mail-wi0-f197.google.com [209.85.212.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id ACBFF21772 for ; Mon, 15 Dec 2014 12:02:04 +0000 (UTC) Received: by mail-wi0-f197.google.com with SMTP id l15sf3439105wiw.0 for ; Mon, 15 Dec 2014 04:02:04 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:subject:date:message-id :in-reply-to:references:cc:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:mime-version :content-type:content-transfer-encoding:sender:errors-to :x-original-sender:x-original-authentication-results:mailing-list; bh=UM3mehKM+CxsGOiaJpzZBD9IVGxoACQdclm1zEibiRs=; b=Z+bh8vsCRXOPfE11lID7vBafcwQsVX/N9PcFianGaUcymwW3RH14yGFf5Yd1H6D/jt W4OZEouSgpPBX3vkRSUL6rxQO4jlJ4rMIq8OSJO2tCfja7scy8So1cNn7ml/rrtg74hI 9Cibc/TnKaj1gCr1GKBzMUymFAYqiinffYBQUMTaP+43MqlioJlsgE82rZBAi3fzD1D6 riGLk/zw71eEdHhxl5GLtq9ncFbCRDOBkJLk27il8kQAHogSUNN479ZJSuAzsIx8eMGv 4gjnXV7V0JlxhoHDAmKXgfIo1k8EdPTKBN63IV1F6ZPzY7WZd/+FviM4xtsMxpU5jfvd NOUA== X-Gm-Message-State: ALoCoQl3gmdpVeROe9AHxg6xE/7ChLRCpLzENfZ5ePzkUEwvx4Zgm2Itdiuu1saXE/PvLbvc0Urt X-Received: by 10.180.98.165 with SMTP id ej5mr3466096wib.1.1418644923963; Mon, 15 Dec 2014 04:02:03 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.87.50 with SMTP id u18ls706226laz.96.gmail; Mon, 15 Dec 2014 04:02:03 -0800 (PST) X-Received: by 10.152.42.169 with SMTP id p9mr29878215lal.94.1418644923635; Mon, 15 Dec 2014 04:02:03 -0800 (PST) Received: from mail-la0-f50.google.com (mail-la0-f50.google.com. [209.85.215.50]) by mx.google.com with ESMTPS id ku5si10252402lac.26.2014.12.15.04.02.03 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 15 Dec 2014 04:02:03 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.50 as permitted sender) client-ip=209.85.215.50; Received: by mail-la0-f50.google.com with SMTP id pn19so9151595lab.23 for ; Mon, 15 Dec 2014 04:02:03 -0800 (PST) X-Received: by 10.112.135.197 with SMTP id pu5mr29651725lbb.22.1418644923512; Mon, 15 Dec 2014 04:02:03 -0800 (PST) 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.112.142.69 with SMTP id ru5csp692462lbb; Mon, 15 Dec 2014 04:02:01 -0800 (PST) X-Received: by 10.66.138.41 with SMTP id qn9mr50633411pab.82.1418644917480; Mon, 15 Dec 2014 04:01:57 -0800 (PST) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id bj8si13532640pad.196.2014.12.15.04.01.56 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 Dec 2014 04:01:57 -0800 (PST) Received-SPF: none (google.com: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org does not designate permitted sender hosts) client-ip=2001:1868:205::9; 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 1Y0UKF-000238-AJ; Mon, 15 Dec 2014 12:00:31 +0000 Received: from mail-yh0-f45.google.com ([209.85.213.45]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Y0UJc-0000Vz-HK for linux-arm-kernel@lists.infradead.org; Mon, 15 Dec 2014 11:59:53 +0000 Received: by mail-yh0-f45.google.com with SMTP id f10so5053705yha.32 for ; Mon, 15 Dec 2014 03:59:35 -0800 (PST) X-Received: by 10.236.17.196 with SMTP id j44mr21144389yhj.194.1418644775228; Mon, 15 Dec 2014 03:59:35 -0800 (PST) Received: from localhost.localdomain (host109-148-232-11.range109-148.btcentralplus.com. [109.148.232.11]) by mx.google.com with ESMTPSA id d91sm5783468yhq.53.2014.12.15.03.59.33 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 15 Dec 2014 03:59:34 -0800 (PST) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, computersforpeace@gmail.com, linux-mtd@lists.infradead.org Subject: [PATCH v3 03/13] mtd: st_spi_fsm: dt-bindings: Deprecate generic compatible string Date: Mon, 15 Dec 2014 11:59:10 +0000 Message-Id: <1418644760-18773-4-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1418644760-18773-1-git-send-email-lee.jones@linaro.org> References: <1418644760-18773-1-git-send-email-lee.jones@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141215_035952_704930_1112C8CD X-CRM114-Status: GOOD ( 10.13 ) X-Spam-Score: -0.7 (/) X-Spam-Report: SpamAssassin version 3.4.0 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.213.45 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.213.45 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders Cc: lee.jones@linaro.org, kernel@stlinux.com X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.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.215.50 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 This driver now obtains platform information via DT matching, which requires a compatible string per platform. This change introduces the new specific strings and deprecates the old generic one. We also take out all of the old, unused properties which are no longer required. Signed-off-by: Lee Jones --- Documentation/devicetree/bindings/mtd/st-fsm.txt | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/Documentation/devicetree/bindings/mtd/st-fsm.txt b/Documentation/devicetree/bindings/mtd/st-fsm.txt index c248939..4e3a16c 100644 --- a/Documentation/devicetree/bindings/mtd/st-fsm.txt +++ b/Documentation/devicetree/bindings/mtd/st-fsm.txt @@ -1,26 +1,20 @@ * ST-Microelectronics SPI FSM Serial (NOR) Flash Controller Required properties: - - compatible : Should be "st,spi-fsm" + - compatible : "st,spi-fsm" is now DEPRECATED + Should be one of; + "st,stid127-spi-fsm" + "st,stih407-spi-fsm" + "st,stih416-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 + - st,syscfg : Phandle to boot-device system configuration registers Example: spifsm: spifsm@fe902000{ - compatible = "st,spi-fsm"; + compatible = "st,stih407-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"; }; -