Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4166392ybl; Tue, 21 Jan 2020 14:16:10 -0800 (PST) X-Google-Smtp-Source: APXvYqyk7MQpGWkcvd+wV87LamXe0qC0o5ZVCc9yNStjnYRykIVIxW1lrwl/fousLL6EyFenbDmz X-Received: by 2002:aca:cdd6:: with SMTP id d205mr4638567oig.90.1579644970557; Tue, 21 Jan 2020 14:16:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579644970; cv=none; d=google.com; s=arc-20160816; b=pmQFiSLiPRvigZFtsh4zg79uTVYSDLJa7MwQq6wTNYb5Zn0ajJ6cdVojzMV0CLXaeK I+bfufYehMGZm+koJ4dK824Lcx5L5aClBBVKZTLv7ZLukUoixTTXnh6zwYSyG56s0S0J ZEX98QiC/ICYkhks2VtGyDePIEQj107VhSvWi0Bj9EuSO3v1j6J/6Saw/ZT5FkNI4rOF zFfrcy2hocjlQn2+YQFUb2ilTyGC1ZsBRqFEA32cjSMKtIgcnE1F+WXFhpym8p+byv2U xsCtGhpIAo9/7gd8jI1wWtpkaXs5jeISxdriJJsWrzhUD4r4wOswKc/ashEtjoPGREAJ 6JQw== 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; bh=XeT9kzkIHCvSt/qNrsfQn5oLTaIKQtpNqKnbt7XpRAU=; b=vwFuN1QxGPVTd33qYxx0BVrRLZViqCN/ZrOh7fqXzx9VTfycwD3pI4d2jaJVWcLXNE oKw5YWQJCvT9MkiJlceHRsZe/PlxI174E44s/EBgTsg4sbdXIQIp9AlnIFn5sO79oezo Aok0026wPIwY3kF99zJWiH85uFBsGMIF4JY75YbG/mzcwsCjL91X60JtGpxot0RUm65+ ltUfI9JLXlwMWmbeExcB1w+HTGvt+JIO8Vtk3o7W247zVyhIgfIYNDsLiR6tnjuESJRt zI5By5RUZpvZd09iTVTB7awaaATC2GzyyribF1Ba6d2JP4tpPEwICXOZ1rNRufD+i3L8 MrJg== 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 w202si19557368oiw.194.2020.01.21.14.15.50; Tue, 21 Jan 2020 14:16:10 -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; 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 S1729031AbgAUWOw (ORCPT + 99 others); Tue, 21 Jan 2020 17:14:52 -0500 Received: from mail-oi1-f193.google.com ([209.85.167.193]:46897 "EHLO mail-oi1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728609AbgAUWOw (ORCPT ); Tue, 21 Jan 2020 17:14:52 -0500 Received: by mail-oi1-f193.google.com with SMTP id 13so4157232oij.13; Tue, 21 Jan 2020 14:14:51 -0800 (PST) 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=XeT9kzkIHCvSt/qNrsfQn5oLTaIKQtpNqKnbt7XpRAU=; b=tqwvsjnurKGu9rQOG0U26erhb0Q5i3S1Ov2rrsl6/Y8RlQEqrxKgn6K10mApKy2a0x IpDF4gh2ZHAZRpgLe8RjHwMkOxk3q2dBSBEAhoqHa4Zsfv2fLQhoi2Jr6nDb+YRhIdfe twlkQDs4w/yRsAJLYrw4yzEm5Twt2/j+e4RLi/4AtF1OLfwx44dLH3v/wfGoUEHcpps7 Yay8CILP+/wYZJfslmVjaIcFIXfegN9ms9ph3X5yGdEX4Y2fG8JXwPiBcO8r75a9Hmu3 hDGcwo3q0xYcN5GQjbPFuvVViB8Cj2rWJEhdwFxqdFG5LIluZ/3pEh5pnVfRNTvpiUvY EomA== X-Gm-Message-State: APjAAAWuY4gdGO02zRa2tEBUQGQXnUtHuKzGC+7WU2GV5DWOc5R3p0lF Y/2z/1i4J7HIXLtGTQkYYA== X-Received: by 2002:a05:6808:683:: with SMTP id k3mr4558084oig.50.1579644890978; Tue, 21 Jan 2020 14:14:50 -0800 (PST) Received: from rob-hp-laptop (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id i13sm12372864oik.7.2020.01.21.14.14.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Jan 2020 14:14:50 -0800 (PST) Received: (nullmailer pid 1380 invoked by uid 1000); Tue, 21 Jan 2020 22:14:49 -0000 Date: Tue, 21 Jan 2020 16:14:49 -0600 From: Rob Herring To: "Ramuthevar,Vadivel MuruganX" Cc: linux-kernel@vger.kernel.org, kishon@ti.com, devicetree@vger.kernel.org, cheol.yong.kim@intel.com, andriy.shevchenko@intel.com, qi-ming.wu@intel.com Subject: Re: [PATCH v1] dt-bindings: phy: Fix for intel,lgm-emmc-phy.yaml build error Message-ID: <20200121221449.GA25322@bogus> References: <20200114104710.23135-1-vadivel.muruganx.ramuthevar@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200114104710.23135-1-vadivel.muruganx.ramuthevar@linux.intel.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 14, 2020 at 06:47:10PM +0800, Ramuthevar,Vadivel MuruganX wrote: > From: Ramuthevar Vadivel Murugan > > This patch fixes the devicetree binding yaml build errors > in linux-next kernel Error: Documentation/devicetree/bindings/ > phy/intel,lgm-emmc-phy.example.dts:21.19-20 > syntax error FATAL ERROR: Unable to parse input tree > > Signed-off-by: Ramuthevar Vadivel Murugan > Reported-by: Rob Herring > --- > .../devicetree/bindings/phy/intel,lgm-emmc-phy.yaml | 15 ++++++++++----- > 1 file changed, 10 insertions(+), 5 deletions(-) > > diff --git a/Documentation/devicetree/bindings/phy/intel,lgm-emmc-phy.yaml b/Documentation/devicetree/bindings/phy/intel,lgm-emmc-phy.yaml > index ff7959c21af0..d9bd2e47dfe7 100644 > --- a/Documentation/devicetree/bindings/phy/intel,lgm-emmc-phy.yaml > +++ b/Documentation/devicetree/bindings/phy/intel,lgm-emmc-phy.yaml > @@ -16,10 +16,7 @@ description: |+ > The eMMC PHY node should be the child of a syscon node with the > required property: > > - - compatible: Should be one of the following: > - "intel,lgm-syscon", "syscon" > - - reg: > - maxItems: 1 > + should be compatible strings are - "intel,lgm-syscon", "syscon" What's this change for? > > properties: > compatible: > @@ -34,6 +31,12 @@ properties: > clocks: > maxItems: 1 > > + "#address-cells": > + const: 1 > + > + "#size-cells": > + const: 1 > + This schema is properties in the emmc-phy node, so these don't belong here. But the example change is correct. > required: > - "#phy-cells" > - compatible > @@ -45,8 +48,10 @@ examples: > sysconf: chiptop@e0200000 { > compatible = "intel,lgm-syscon", "syscon"; > reg = <0xe0200000 0x100>; > + #address-cells = <1>; > + #size-cells = <1>; > > - emmc-phy: emmc-phy@a8 { > + emmc_phy: emmc_phy@a8 { Don't use '_' in node names. The error was in the label. emmc_phy: emmc-phy@a8 { > compatible = "intel,lgm-emmc-phy"; > reg = <0x00a8 0x10>; > clocks = <&emmc>; > -- > 2.11.0 >