From patchwork Wed Jan 21 15:24:19 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 43462 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f71.google.com (mail-la0-f71.google.com [209.85.215.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id ECF25218DB for ; Wed, 21 Jan 2015 15:25:03 +0000 (UTC) Received: by mail-la0-f71.google.com with SMTP id pn19sf11999328lab.2 for ; Wed, 21 Jan 2015 07:25:02 -0800 (PST) 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:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=3gGFGzXTAAuLeaGoATNkv9J2DghDEECqtt0jxhI7nyo=; b=HuxMhnk7rQuYVtYN3RdPrM/LmFq98BfrEKDpsMVbUtsVsfA5rdwfuQgEuxY0bCGYwy AoN8uiFQvdGuhN6M+3DmrP50NJnzGeuv7FPgag2ZtgPagFg+TYBEaawURHMu9hE1XvAy KRv/VEMFOGUe3ZZRbcCIHQ3JAPE77DoVUbw4lRSRX459DwTGAsmImaX0CSGdig0PNASL ZUX838YNHqE9gfvY+kylXMUZaCRq7U7C+9Mulm1O9fOoltXWttYDmvHRm5azeH+G9Fuv /tCcCUoiPlCoS1t0Avp6nYgDma61nzOTRN2DyhpZgMX4wi6F6p14LowwLq2bIk+CdgK9 Vxtg== X-Gm-Message-State: ALoCoQnfS+fxcmT0Z8y3mIMV+txycpvOL26KoAueJABZhO5okdqjssu6mA5I9XSvgU4P/uQ3J8Aw X-Received: by 10.112.64.197 with SMTP id q5mr5266048lbs.4.1421853902863; Wed, 21 Jan 2015 07:25:02 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.26.200 with SMTP id n8ls47676lag.15.gmail; Wed, 21 Jan 2015 07:25:02 -0800 (PST) X-Received: by 10.112.144.136 with SMTP id sm8mr3685630lbb.95.1421853902727; Wed, 21 Jan 2015 07:25:02 -0800 (PST) Received: from mail-la0-f47.google.com (mail-la0-f47.google.com. [209.85.215.47]) by mx.google.com with ESMTPS id we6si10939067lbb.1.2015.01.21.07.25.02 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 21 Jan 2015 07:25:02 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.47 as permitted sender) client-ip=209.85.215.47; Received: by mail-la0-f47.google.com with SMTP id hz20so7500464lab.6 for ; Wed, 21 Jan 2015 07:25:02 -0800 (PST) X-Received: by 10.112.26.135 with SMTP id l7mr43836610lbg.56.1421853902590; Wed, 21 Jan 2015 07:25:02 -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.9.200 with SMTP id c8csp1812483lbb; Wed, 21 Jan 2015 07:25:01 -0800 (PST) X-Received: by 10.68.110.161 with SMTP id ib1mr63549584pbb.36.1421853900112; Wed, 21 Jan 2015 07:25:00 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id km10si8781028pbd.45.2015.01.21.07.24.59; Wed, 21 Jan 2015 07:25:00 -0800 (PST) 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 S1754141AbbAUPY4 (ORCPT + 5 others); Wed, 21 Jan 2015 10:24:56 -0500 Received: from mail-ie0-f176.google.com ([209.85.223.176]:36847 "EHLO mail-ie0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754088AbbAUPYo (ORCPT ); Wed, 21 Jan 2015 10:24:44 -0500 Received: by mail-ie0-f176.google.com with SMTP id rd18so13851045iec.7 for ; Wed, 21 Jan 2015 07:24:42 -0800 (PST) X-Received: by 10.50.142.38 with SMTP id rt6mr4966698igb.17.1421853882357; Wed, 21 Jan 2015 07:24:42 -0800 (PST) Received: from localhost.localdomain (host86-181-29-86.range86-181.btcentralplus.com. [86.181.29.86]) by mx.google.com with ESMTPSA id y5sm1411873ign.7.2015.01.21.07.24.40 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 21 Jan 2015 07:24:41 -0800 (PST) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: lee.jones@linaro.org, kernel@stlinux.com, linux-mtd@lists.infradead.org, computersforpeace@gmail.com, devicetree@vger.kernel.org Subject: [PATCH v4 01/10] mtd: st_spi_fsm: dt-bindings: Deprecate generic compatible string Date: Wed, 21 Jan 2015 15:24:19 +0000 Message-Id: <1421853868-8262-2-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1421853868-8262-1-git-send-email-lee.jones@linaro.org> References: <1421853868-8262-1-git-send-email-lee.jones@linaro.org> 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.215.47 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: , 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. Cc: devicetree@vger.kernel.org Signed-off-by: Lee Jones --- Documentation/devicetree/bindings/mtd/st-fsm.txt | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/Documentation/devicetree/bindings/mtd/st-fsm.txt b/Documentation/devicetree/bindings/mtd/st-fsm.txt index c248939..389e43d 100644 --- a/Documentation/devicetree/bindings/mtd/st-fsm.txt +++ b/Documentation/devicetree/bindings/mtd/st-fsm.txt @@ -1,26 +1,19 @@ * ST-Microelectronics SPI FSM Serial (NOR) Flash Controller Required properties: - - compatible : Should be "st,spi-fsm" + - compatible : 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"; }; -