Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2819247imm; Mon, 16 Jul 2018 15:00:09 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcdjMgGg1+aHe7L62kuigIcvUaCQ80QFUlGC8weQhOZHqI6NAqjYPAIX+DmokgvVoP/OEq0 X-Received: by 2002:a17:902:2c83:: with SMTP id n3-v6mr18078177plb.211.1531778409005; Mon, 16 Jul 2018 15:00:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531778408; cv=none; d=google.com; s=arc-20160816; b=uYQhK7DrRCnDgOIjtQMYGHu8jRsLQap2Ix+d86t9AXlKplu5K79rGDuQX8frTEJQhf gAHmbMg2i21LQ5+02+NGc4ZG4M9B25+0wEjtlR/tTSsoCshyukXD7yxW9aIcw4ehnPjW kBCuqme4mhd/X8INfz7FSE+j3rWOZbu7+cE+e/fc1f5O91dnqKQruH+9auhS8cjYkJAL OJ9pgjYuu9+GYgrCnd2BxxnycxeI7vkno2iBsTzzNayVXstsW3aGXKA+zLnGSaYNKsyC BQhjy58rPrBMjPPGXVb33bevZP6pqzLCvwsL3+85gReL4tY7d88qsr7m3vCt5HXKzzIs w+nA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=oU/oiYyCbZnjeYwr14HD6ydz17fIzIngQF4N1A2lJMg=; b=pffPvT2a8fBVpjzhW8SXoblkebrVQbSq3EnnDMxen2UfoKM631+Go1KBPPvYba90MO 5QkfOP4NMm/pJBMhrDk3o2OaXYuvze1Qx50H1sNfYigUEsoFETjVoZzZQ1VBXsxKDyN9 S0PQgE1VZ8Fo3VmLSv6fQOJw6T7Z0ijj49RZtNkWucpVC5S6lGbdXEYDYeFnRXRw6GP8 kMU7JsJxq3Hm6l727k385Vfaen8HMyOU+snbF2FUWG1VDewOFG1jxafk2nqUMalytBgP IaqCkViP/x2rrRNHKjUJg674K0QgSEtVRftJS1H0MFpKFhOSXjqm/QrzdsQlUvr2TRO6 dFKA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d16-v6si32971153pfe.267.2018.07.16.14.59.53; Mon, 16 Jul 2018 15:00:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730552AbeGPW2k (ORCPT + 99 others); Mon, 16 Jul 2018 18:28:40 -0400 Received: from mail-oi0-f66.google.com ([209.85.218.66]:44616 "EHLO mail-oi0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728758AbeGPW2j (ORCPT ); Mon, 16 Jul 2018 18:28:39 -0400 Received: by mail-oi0-f66.google.com with SMTP id s198-v6so77759261oih.11; Mon, 16 Jul 2018 14:59:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=oU/oiYyCbZnjeYwr14HD6ydz17fIzIngQF4N1A2lJMg=; b=VDkfVunffL4pEE5rky9rgKCszbi1oAP41V3DPAh9NPMGo7dfx4AnlPCPl9fh8ysJwU S3XLh9zsNg377IqRSzG2zUTFwBDhbKI5qTXPdpEglO4J6ZorHzzbe7zHPFCe6VHRrI3v i/h0kbl7SSReFh+VZgl3eXODr1+n8RscC0CZkEkth0hM3i5euvlnoI8WfTAdrXWWzgbm SuJq/ktwiJyOb+tCFSKhq0siALSa2A1kAisBpw0TTbmPemRE1EQfM+h8EKure5Wf9bET 2h5b2ZpiVwbuKluf5i/NNUc+v9Sn7jCBZGfHybZW6ASQospsm0TmcFnoxgEGU6ic8hJq ToZQ== X-Gm-Message-State: AOUpUlGLiDFTWXs/VDlt9X7TuHPIDEp38oPmlHxivgsyyk0QmaG0z6KK pbrfM9R0OQt9BiakioxA/w== X-Received: by 2002:aca:5cd4:: with SMTP id q203-v6mr1244246oib.217.1531778356677; Mon, 16 Jul 2018 14:59:16 -0700 (PDT) Received: from localhost (24-223-123-72.static.usa-companies.net. [24.223.123.72]) by smtp.gmail.com with ESMTPSA id p132-v6sm10707704oia.31.2018.07.16.14.59.15 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 16 Jul 2018 14:59:15 -0700 (PDT) Date: Mon, 16 Jul 2018 15:59:13 -0600 From: Rob Herring To: Jisheng Zhang Cc: Ulf Hansson , Mark Rutland , Adrian Hunter , devicetree@vger.kernel.org, linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, Manjunath M B , Prabu Thangamuthu , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v2 1/2] dt: bindings: Add bindings for SDHCI Synopsys DWC MSHC Message-ID: <20180716215913.GA4269@rob-hp-laptop> References: <20180706151930.78b3024b@xhacker.debian> <20180706152047.0b0a4944@xhacker.debian> <20180711161206.GA1558@rob-hp-laptop> <20180712100611.5887a195@xhacker.debian> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180712100611.5887a195@xhacker.debian> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 12, 2018 at 10:06:11AM +0800, Jisheng Zhang wrote: > Hi Rob, > > On Wed, 11 Jul 2018 10:12:06 -0600 Rob Herring wrote: > > > On Fri, Jul 06, 2018 at 03:20:47PM +0800, Jisheng Zhang wrote: > > > Synopsys SDHCI compatible DesignWare Cores Mobile Storage Host > > > Controller can support eMMC/SD/SDIO. Add the bindings. > > > > > > Signed-off-by: Jisheng Zhang > > > --- > > > .../bindings/mmc/sdhci-of-dwcmshc.txt | 20 +++++++++++++++++++ > > > 1 file changed, 20 insertions(+) > > > create mode 100644 Documentation/devicetree/bindings/mmc/sdhci-of-dwcmshc.txt > > > > > > diff --git a/Documentation/devicetree/bindings/mmc/sdhci-of-dwcmshc.txt b/Documentation/devicetree/bindings/mmc/sdhci-of-dwcmshc.txt > > > new file mode 100644 > > > index 000000000000..ee4253b33be2 > > > --- /dev/null > > > +++ b/Documentation/devicetree/bindings/mmc/sdhci-of-dwcmshc.txt > > > @@ -0,0 +1,20 @@ > > > +* Synopsys DesignWare Cores Mobile Storage Host Controller > > > + > > > +Required properties: > > > +- compatible: should be one of the following: > > > + "snps,dwcmshc-sdhci" > > > > Needs to note that there must also be an SoC specific compatible. > > Currently, there's no SoC specific code in this driver, so the binding could > be extended to SoC compatible if necessary. What do you think? Doesn't matter what's in the driver, it can use this compatible. But experience has shown that a compatible for a licensed IP is never sufficient. There are versions of the blocks, configuration options, and integration differences. I'm not asking you to add any SoC specific compatible now unless you are working on a particular SoC, but just state one is needed. Rob