From patchwork Thu Jul 30 19:59:22 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 6906731 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 6748EC05AC for ; Thu, 30 Jul 2015 19:59:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 85F1920600 for ; Thu, 30 Jul 2015 19:59:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AB3F4205FD for ; Thu, 30 Jul 2015 19:59:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750884AbbG3T72 (ORCPT ); Thu, 30 Jul 2015 15:59:28 -0400 Received: from mail-lb0-f178.google.com ([209.85.217.178]:34718 "EHLO mail-lb0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750780AbbG3T71 (ORCPT ); Thu, 30 Jul 2015 15:59:27 -0400 Received: by lbqc9 with SMTP id c9so8579409lbq.1 for ; Thu, 30 Jul 2015 12:59:25 -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:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=9dE+cuYW77cygd8a8UBu2pKH/vFbVKUgUr+a9FSoGYk=; b=ait5JGYyGL3HNJhoyKuuaQpfhjgAgZpEBUoesik4CxMTrbyPY6akgB6/rbf/x2VC4D L67MnXiWQdMrVpGt4LkMd+q1buB8WPeD28KvQEYDw+8IHqtWwJo6+LhK93OSDYlhkmDq S0Ml1QXjXL9mIx5D1IJh53ICCLxSpckzQsmZen/USTLb9tU7eL60vS+rW15MABGsyxD+ QYZyReKqWkoPjX39VyVEuNJF3nA4yDhwALgnnRIelGPfsjIRIb3U3yJY055iwhtVQLcJ Aro9VBciQk1BITWYwiYJtJFfGW3c027RWZdJvavRxoEx5HbJVgwkfCjpwoCB2f/Xxv1s Nf+w== X-Gm-Message-State: ALoCoQnUpykhIBv8pdqn+5f4/IFOyY61IkN2egfO1swfBAPApKAllsW+pdnYLsx929GhWwQEtB+L X-Received: by 10.152.245.43 with SMTP id xl11mr43218119lac.26.1438286365617; Thu, 30 Jul 2015 12:59:25 -0700 (PDT) Received: from wasted.cogentembedded.com (ppp18-93.pppoe.mtu-net.ru. [81.195.18.93]) by smtp.gmail.com with ESMTPSA id r8sm457896lby.17.2015.07.30.12.59.23 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Jul 2015 12:59:24 -0700 (PDT) From: Sergei Shtylyov To: robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, devicetree@vger.kernel.org, ulf.hansson@linaro.org, linux-mmc@vger.kernel.org Cc: linux-sh@vger.kernel.org Subject: [PATCH] DT: mmc: sh_mmcif: fix "compatible" property text Date: Thu, 30 Jul 2015 22:59:22 +0300 Message-ID: <3979266.lQrOKbu0yo@wasted.cogentembedded.com> Organization: Cogent Embedded Inc. User-Agent: KMail/4.14.9 (Linux/4.0.8-200.fc21.x86_64; KDE/4.14.9; x86_64; ; ) In-Reply-To: <201404250239.39150.sergei.shtylyov@cogentembedded.com> References: <201404250239.39150.sergei.shtylyov@cogentembedded.com> MIME-Version: 1.0 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-8.3 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The "compatible" property text contradicts even the example given in the MMCIF binding document itself; moreover, the Renesas MMCIF driver only matches on the generic "compatible" string, and doesn't look for at SoC specific strings currently at all. Thus describe "renesas,sh-mmcif" string as mandatory and the others as optional. Fixes: b4c27763d749 ("mmc: sh_mmcif: Document DT bindings") Signed-off-by: Sergei Shtylyov --- Documentation/devicetree/bindings/mmc/renesas,mmcif.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Index: renesas/Documentation/devicetree/bindings/mmc/renesas,mmcif.txt =================================================================== --- renesas.orig/Documentation/devicetree/bindings/mmc/renesas,mmcif.txt +++ renesas/Documentation/devicetree/bindings/mmc/renesas,mmcif.txt @@ -6,11 +6,11 @@ and the properties used by the MMCIF dev Required properties: -- compatible: must contain one of the following +- compatible: must contain "renesas,sh-mmcif"; may also contain one of + the following: - "renesas,mmcif-r8a7740" for the MMCIF found in r8a7740 SoCs - "renesas,mmcif-r8a7790" for the MMCIF found in r8a7790 SoCs - "renesas,mmcif-r8a7791" for the MMCIF found in r8a7791 SoCs - - "renesas,sh-mmcif" for the generic MMCIF - clocks: reference to the functional clock