Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp5219447ybv; Tue, 11 Feb 2020 11:24:43 -0800 (PST) X-Google-Smtp-Source: APXvYqzG/YCkXqJq6I4DiTPbHO/U19srPC5N+bbcHTd/CApjvui+gglOP0n/BjvO0XdMv/qNhP1e X-Received: by 2002:a9d:6e14:: with SMTP id e20mr6574983otr.283.1581449083685; Tue, 11 Feb 2020 11:24:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581449083; cv=none; d=google.com; s=arc-20160816; b=n+xr9GHxnRnKdQAvekXH5av3zzpiy0D84dX65UAjeOBZEF8kgPB+A7Z1KpzR8kAbRR IF7DdnBxVEkzhUOQ2zbROsSSgbf7MHl3otYGhEg9v+RQA/0vpFSg8yG9XNyViPdCz8ju efkXsGB3U67NOOU3xCIRVU8eTXwhJQ821A08T0LA6N3hMjq9C6k3rfQH1MQBb+SDMwDb zz609xvLUfxkKzl2V+mB6U4FUUQWrc5pPIwAkhBOOnoeE1KjCpav6+FIyYlj+TMvRT3N l02nU/bk6PVauvOBWi1c7UfkNwlreB+8+pAY+r5rtvO8f6MAHPp/FXdjF4iKilQBllp+ L11g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=KHkfZzNh1B4XmJZnXfgIQNWZsT5whG1kE8qQBYWXMgc=; b=ijqDabMeFqIYRPkdsKnVcGei8JSA2K7ODLOtCP9iM5KQxjNVmy8RIGsHuHGkh3+wht trME4a3fSPHZHtlhC/LvSYgKKqGtHwCi058hEAEFzwUhqF+EmzeNEWpsWAKXZOtRvKqs silh7P3ycCjOm5VADqCMKJnyWw+pa9X5EOOwC6+opGS2E53HDjE8/1FyOpiTtVOTqJI6 gHx/Ybo3wspwXCox74rHwQe+0xEFUbqxc7Xr8DtLAcagPe0vi7tLD79C3y/dLxagX0aq XZa9qQGDkvoQ9aCMY5kkb4ZfStpBxRSKpu3eExFBekkVVAE/QXci8eHG+rUF0F+Vdyr9 Jq6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=WqyC94s0; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z199si2156753oia.192.2020.02.11.11.24.31; Tue, 11 Feb 2020 11:24:43 -0800 (PST) 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; dkim=pass header.i=@google.com header.s=20161025 header.b=WqyC94s0; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729737AbgBKQmQ (ORCPT + 99 others); Tue, 11 Feb 2020 11:42:16 -0500 Received: from mail-vs1-f65.google.com ([209.85.217.65]:45766 "EHLO mail-vs1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728049AbgBKQmQ (ORCPT ); Tue, 11 Feb 2020 11:42:16 -0500 Received: by mail-vs1-f65.google.com with SMTP id v141so6689355vsv.12 for ; Tue, 11 Feb 2020 08:42:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=KHkfZzNh1B4XmJZnXfgIQNWZsT5whG1kE8qQBYWXMgc=; b=WqyC94s0CD5d0ZPRr4dlQ93j+b50OoCaoHuxaKOKZ9lGE/26eG7Zpz10axDbzf5cxb agJY2MIEOmDQnmVeVxsWhCyJlffhvrtK79hVkzi4usTyPTyl3c9gdHucQAN6P9UAgoYx nArWP2wSBEJ1rS5b1O2lHsPS6x/yo/iTXctxezgmJsdLoyJlqvpWzge5pVPLcoU06f8E G6oLEE7mUeGdksmjfGbnMX+hoNNlbG4oxSYRlzwIb/R52rtvOPBSDc2MY48vpEV+dG97 55ylTus7812YtsujzGDOnd4LmnifnC4HV86nRK0NaOuphuOpMPKW+5WOtR80XRx0/onh 4xJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=KHkfZzNh1B4XmJZnXfgIQNWZsT5whG1kE8qQBYWXMgc=; b=cgEjrJnDYGTK6mjTd5gjzBBBSKcofpTCwy5i1VxVwMIhGyOJr3FrH41RLepnHK1z0x PBaZ1D4BPE9akjgi1Yyo59473Dj64OSlbN5YxltI6Jj1wr0jEMmMrtNMfwXx/NmmwRXn WGnu1hMrbiuvZNg8BmGG8a0XA/0GTZ1uUXYlltv42RWRNn4T3epSKlSPxmMFmp78Ps/d JGGUgXX7BXAYg4DktuoddhHjNLgddp/8LpR2ZY8/3pBEb35SbuuOem5XzmxNzjdofZlV s36Uf5B86YycnMtVEn/RxqZkmSEqF1Bjg8VKCd1+KAZ6Hlts4Aw3uc3J607ufPXZVnQr BvXw== X-Gm-Message-State: APjAAAWNackGW6pyfNVanS18gdjL+eTRLaotkKPdKpoi/qLPqw5TRFan yPfL3M1OFJeCypTdhE0SxJJ1kudfUSIWRAaaS6NjQg== X-Received: by 2002:a67:fa1a:: with SMTP id i26mr9638813vsq.169.1581439335360; Tue, 11 Feb 2020 08:42:15 -0800 (PST) MIME-Version: 1.0 References: <1581434955-11087-1-git-send-email-vbadigan@codeaurora.org> In-Reply-To: <1581434955-11087-1-git-send-email-vbadigan@codeaurora.org> From: Doug Anderson Date: Tue, 11 Feb 2020 08:42:01 -0800 Message-ID: Subject: Re: [PATCH V1] dt-bindings: mmc: sdhci-msm: Add CQE reg map To: Veerabhadrarao Badiganti Cc: Ulf Hansson , Adrian Hunter , Asutosh Das , Sahitya Tummala , Sayali Lokhande , cang@codeaurora.org, Ram Prakash Gupta , Linux MMC List , LKML , linux-arm-msm , Rob Herring , Mark Rutland , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Tue, Feb 11, 2020 at 7:29 AM Veerabhadrarao Badiganti wrote: > > CQE feature has been enabled on sdhci-msm. Add CQE reg map > that needs to be supplied for supporting CQE feature. > > Change-Id: I788c4bd5b7cbca16bc1030a410cc5550ed7204e1 > Signed-off-by: Veerabhadrarao Badiganti > --- > Documentation/devicetree/bindings/mmc/sdhci-msm.txt | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/Documentation/devicetree/bindings/mmc/sdhci-msm.txt b/Documentation/devicetree/bindings/mmc/sdhci-msm.txt > index 7ee639b..eaa0998 100644 > --- a/Documentation/devicetree/bindings/mmc/sdhci-msm.txt > +++ b/Documentation/devicetree/bindings/mmc/sdhci-msm.txt > @@ -27,6 +27,11 @@ Required properties: > - reg: Base address and length of the register in the following order: > - Host controller register map (required) > - SD Core register map (required for msm-v4 and below) > + - CQE register map (Optional, needed only for eMMC and msm-v4.2 above) I did a quick search and it appears that SD cards implementing 6.0 of the spec can also use CQE. Is that correct? If so, maybe remove the part about "eMMC"? Maybe also change "needed" to "useful" to make it clear that this entry isn't actually required for all msm-v4.2 controllers? > +- reg-names: When CQE register map is supplied, below reg-names are required > + - "hc_mem" for Host controller register map > + - "core_mem" for SD cpre regoster map s/regoster/register > + - "cqhci_mem" for CQE register map I'm at least slightly confused. You say that reg-names are there only if CQE register map is supplied. ...and that requires 4.2 and above. ...but "core_mem" is only there on 4.0 and below. So there should never be a "core_mem" entry? Trying to specify that sanely in free-form text seems like it's gonna be hard and not worth it. You should probably transition to yaml first? I will also note that Rob isn't a huge fan of "reg-names". In a different conversation I think you mentioned you had a reason for having it. I guess just be prepared to defend yourself against Rob if you feel strongly about keeping reg-names. -Doug