Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp157489ybe; Wed, 18 Sep 2019 14:41:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqzEC00FEBwrZV0SK3HaL+Hy71kEyua1cUFIHz43pBhE6LUttAXDXAO5ydRPmmOCLCOESQiD X-Received: by 2002:aa7:c749:: with SMTP id c9mr12838658eds.232.1568842919700; Wed, 18 Sep 2019 14:41:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568842919; cv=none; d=google.com; s=arc-20160816; b=Y5k2GCsK8Nnah22IZlf6jTwJfNN5/DHDMq1COZugJpQnxDWVQznVy3pmWhYsLTR9FF cTdB5gJARSC33iGe7BPOufiQfp09NuTFm3YGzvnHFvDDzEzJXV4Vc/b//Xpohv7sMVlj KmsVOMff5RXRJiwDHxHPp4FIVC6s/045xzJmTbMQL0tgYiEODiVHGo9RmRCr4BG1uqdN FVQGXz7+2PA+L+lh0AtXXn0N1ewRN+TGjO3eV9mTNPUeT82bf0eFbgywsMA4viizUihO jSVB6c5ySO91N5/HiOr/moZI9mZc7DGJr9azT1lbxKI0d3KDeWzFprwHKqNhkbPP62W2 1/MA== 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=9gPHsl5MGafDizMhJaXlJwLXsMzDh1ZKR3owfwW7eEw=; b=gaQqAySh8ypLIzBc0aosChkA4OID5mDdAGK+LoypaWXQxbpxOr/YwQ6D+hvv/g7nLt hKO2HZvfJCm2j45h6ZKCxc4zy9U5z3174HOd38PPHbVq+Lbb2O/7r8Dpj7NsdDLLHOM1 uOWWRjNsnyCN+sQogXOlW3INI9ymcy+5bLJ1QEJiUNox8CfMdArcBfVKKcuEPIxg0FMO oWmOVMBp+Jwso2uAGrZPZ7pTN1I7dniIz4kGZSuI66YI/UhPwvPMhe86qJM6Q5nVaawH Cte+RGlVtoxhIcCIyUuc3Y9L3pvrPu3oDFTuxcnPwE7ksJykEUP+6wSKCydaL2Yra6Gk xVAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=KS7mlFR2; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j2si3860110edp.114.2019.09.18.14.41.33; Wed, 18 Sep 2019 14:41:59 -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; dkim=pass header.i=@sifive.com header.s=google header.b=KS7mlFR2; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388804AbfIRSYv (ORCPT + 99 others); Wed, 18 Sep 2019 14:24:51 -0400 Received: from mail-io1-f68.google.com ([209.85.166.68]:35408 "EHLO mail-io1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388789AbfIRSYu (ORCPT ); Wed, 18 Sep 2019 14:24:50 -0400 Received: by mail-io1-f68.google.com with SMTP id q10so1554090iop.2 for ; Wed, 18 Sep 2019 11:24:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9gPHsl5MGafDizMhJaXlJwLXsMzDh1ZKR3owfwW7eEw=; b=KS7mlFR2kYZtKZLYic9KTEy8y8YhqrWC5gUb9WrC/SSt6dH2xLi5fyfB/IM9nURwQz DUekaLCyNL1i8ITYPCZLY8Flwm/fzYSvKtMI9KJT+w8tPLuuwJ3zJICqSBQTqXISknro ew4MTUtCP5sGGMDVAKzpG040d6oFFUAVnLJMxMJw0rUoOY9zZx0IsLwegNvTjEiVy3fL U4zN7gPCjvhfmtqjm37dJwPBXyTpyWZ0aTz7xeBwpfKePUwCanSzWXODZg3khJTvtznz lQNOy8kDW5X+A9BKks9UgwPd43GkXChYA+gH+RdTqg5nOG6eLwvA4IBQAaN3rRT3mgA7 evSA== 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=9gPHsl5MGafDizMhJaXlJwLXsMzDh1ZKR3owfwW7eEw=; b=oDW2alp19GJPyVId87U1dfbbpHY/HaRBB+THoeGDcW0tlZm7/zGOr/q+weDZrxNBQr mBHlij+Q4vluC8Y7RcR1zlfI2BzrGFAt5LW321Vb2MxyKY2vE7DnQHEMsDoyi+zngQoM n+cido/pkYbYLvZr2kjkpGYV/GIO2+6FHIylPaBLr9ylLGqiW/cxD8vPiVyoanQEXURF wKVQyIJ1k/+peq7x7DSHusjjycbrryB97jobdoewJAaR426y8BVvg3JsKLGOxDBW6tHl cteQmr4eGaejDQRkwzvxqy5GYjoZktXc12xQKWiWtq67J+biXxZVvp62h2J+TB42nX3e P9Pw== X-Gm-Message-State: APjAAAVm2QU9ilHPzh+nGaN9rXVQom+N3iIMG1ilzS03X4Ek7yTCv8D6 JJDRRAGVfQSGxYydgUjfk4zbQoApp26/g8bZ3dQOiA== X-Received: by 2002:a5d:8b07:: with SMTP id k7mr740866ion.20.1568831089859; Wed, 18 Sep 2019 11:24:49 -0700 (PDT) MIME-Version: 1.0 References: <1568815340-30401-1-git-send-email-pragnesh.patel@sifive.com> In-Reply-To: From: Pragnesh Patel Date: Wed, 18 Sep 2019 23:54:36 +0530 Message-ID: Subject: Re: [PATCH] regulator: dt-bindings: Fix building error for dt_binding_check To: Rob Herring Cc: Liam Girdwood , Mark Brown , Mark Rutland , "linux-kernel@vger.kernel.org" , devicetree@vger.kernel.org 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 On Wed, Sep 18, 2019 at 7:58 PM Rob Herring wrote: > > On Wed, Sep 18, 2019 at 9:02 AM Pragnesh Patel > wrote: > > > > The subject could be more specific rather than being one that applies > to any dt_binding_check breakage in regulators. > Thanks for pointing me out, I will take care this in future patches. > > Compatible property is not of type 'string' so replace enum > > with items. > > > > Signed-off-by: Pragnesh Patel > > --- > > Documentation/devicetree/bindings/regulator/fixed-regulator.yaml | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml b/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml > > index a78150c..8d4a7b2 100644 > > --- a/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml > > +++ b/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml > > @@ -29,7 +29,7 @@ if: > > > > properties: > > compatible: > > - enum: > > + items: > > - const: regulator-fixed > > - const: regulator-fixed-clock > > This means you expect: compatible = "regulator-fixed", "regulator-fixed-clock"; > > Did you actually run 'dt_binding_check' because it should fail on the example? > > I gave you exact change to make. Just remove 'const: ' on each entry. Thanks for correcting me, i rechecked "make dt_binding_check" and it's failed. I will send the patch again with the updated subject line. > > Rob