Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1193247ybl; Fri, 13 Dec 2019 11:09:36 -0800 (PST) X-Google-Smtp-Source: APXvYqy8QQWxrPnnSEROCAjS7/fqQH94CpNvFSJ7yp8pJpTHsmLfpkiewY3aEkyxDc0IMFzzbAWx X-Received: by 2002:a05:6808:681:: with SMTP id k1mr7831891oig.117.1576264176681; Fri, 13 Dec 2019 11:09:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576264176; cv=none; d=google.com; s=arc-20160816; b=JJKnKElnf1myd/QaPgnykTxBz/mY26YQe4c1DVU2LJX4V8M7M97tqAtRPDe+6oe9xF XLAEC9ZHmVXHGqOFjmxGj51ln20lsAAnwrw6bTen5sdcVdOxoGwThoFsrhvYxQtGrENS JgiCNEHq5cQXiVMb3DHGmxaY/zrxcm0zj1A61BLdF2e5axH/oyAJSgbfzMLoFjNHnEgA GHUYUFLsy34zSg3jxv71el2qGITAFHx9sdFjX79l863X3cwYYoU2AnLlSFcuhFL5t+T2 GSXLLF63N/i5KMTQe26O3zyAQhmfz8R3mTL7s1z0gZHkV53COoJ4nJ5Q2ySwq36rE78/ 6Jfg== 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=KJzuDD0sBx2lePcpDmxYWTvEn9GcdeWOo5ZChsyIqJU=; b=eDOqlilu4yiZO+TyVB5EyykrBGwSfrSrMIOYmZquZtN5zfpA9XC/hR3yY4hnxfxooT dtf9Eoi2NyTEyV4qoZyL27lTtQme6HRK+EtsUO232Flm9Rjfmal9XQ/4HgHpAIjhicdG pwA2IOiItzY1IfRXa+GoZ0q0Aug0TH2xUD4RHACE6B+MJuD4/oiK4sGdpnwplMj7yGq9 09uigp6nQje8Jy9gnyboigBnwofG5IDj2oednleAjIjacvCCONSgkA+DQf6r2E+zbkUb C9m9MfoLgA4hbFQMtG2VEIC2Gi/TL0fmbcLwJyDvhvhyLSEc7FZ/Br/cPLjri1APmdgX toeg== 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 z62si5457679oiz.271.2019.12.13.11.09.24; Fri, 13 Dec 2019 11:09:36 -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 S1728728AbfLMTIW (ORCPT + 99 others); Fri, 13 Dec 2019 14:08:22 -0500 Received: from mail-ot1-f68.google.com ([209.85.210.68]:38344 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728489AbfLMTIW (ORCPT ); Fri, 13 Dec 2019 14:08:22 -0500 Received: by mail-ot1-f68.google.com with SMTP id h20so318307otn.5; Fri, 13 Dec 2019 11:08:21 -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=KJzuDD0sBx2lePcpDmxYWTvEn9GcdeWOo5ZChsyIqJU=; b=JtbD4vZ107RusKFy+4BqIvwfX8/p9Vc2/Jj0ov29KfLElCM73EbcxI7d32PzZ2BISn 3w51Oy53hlEu4pO3KI3FHcvDNIGqYSAWTZjK5nZBI0X6clT925ePM8sZarVcg0NgHY7a 47o0YDIlqh3RIKplmVOrpEUyfmunqAk/puC3kDfqzEtafH5dNSrrpnEFbn6ep0JgJUyE 1w5pdC1n4TfrcAciL1bAIPOSmJPmiYoFY5+2iebCGbsLGt1x9Djr/360/qCNagA3krkN cRtAku6qBZX3y1/58iOhRMr7M8NRsWfPGHpZav8TAZWcY2f8gLnppuSoM1zB4C1Lf1OX 2FMw== X-Gm-Message-State: APjAAAUA/UOuXMWlMcMm50x7k26+dQlbHknqN2o+LcDDwix0VNVhWzG9 D9R5R9wdy+eNI0KYDEFrlg== X-Received: by 2002:a05:6830:2116:: with SMTP id i22mr17156164otc.0.1576264101295; Fri, 13 Dec 2019 11:08:21 -0800 (PST) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id f1sm3653214otq.4.2019.12.13.11.08.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Dec 2019 11:08:19 -0800 (PST) Date: Fri, 13 Dec 2019 13:08:19 -0600 From: Rob Herring To: "Ramuthevar,Vadivel MuruganX" Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, kishon@ti.com, andriy.shevchenko@intel.com, cheol.yong.kim@intel.com, qi-ming.wu@intel.com, peter.harliman.liem@intel.com Subject: Re: [PATCH v8 1/2] dt-bindings: phy: intel-emmc-phy: Add YAML schema for LGM eMMC PHY Message-ID: <20191213190819.GA19560@bogus> References: <20191212015320.20969-1-vadivel.muruganx.ramuthevar@linux.intel.com> <20191212015320.20969-2-vadivel.muruganx.ramuthevar@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191212015320.20969-2-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 Thu, Dec 12, 2019 at 09:53:19AM +0800, Ramuthevar,Vadivel MuruganX wrote: > From: Ramuthevar Vadivel Murugan > > Add a YAML schema to use the host controller driver with the > eMMC PHY on Intel's Lightning Mountain SoC. > > Signed-off-by: Ramuthevar Vadivel Murugan > --- > .../bindings/phy/intel,lgm-emmc-phy.yaml | 62 ++++++++++++++++++++++ > 1 file changed, 62 insertions(+) > create mode 100644 Documentation/devicetree/bindings/phy/intel,lgm-emmc-phy.yaml > > diff --git a/Documentation/devicetree/bindings/phy/intel,lgm-emmc-phy.yaml b/Documentation/devicetree/bindings/phy/intel,lgm-emmc-phy.yaml > new file mode 100644 > index 000000000000..aed11258d96d > --- /dev/null > +++ b/Documentation/devicetree/bindings/phy/intel,lgm-emmc-phy.yaml > @@ -0,0 +1,62 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/phy/intel,lgm-emmc-phy.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Intel Lightning Mountain(LGM) eMMC PHY Device Tree Bindings > + > +maintainers: > + - Ramuthevar Vadivel Murugan > + > +description: |+ > + Bindings for eMMC PHY on Intel's Lightning Mountain SoC, syscon > + node is used to reference the base address of eMMC phy registers. > + > + 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 > + > +properties: > + compatible: > + contains: You need to drop 'contains'. That implies other strings can also be present. > + const: intel,lgm-emmc-phy > + > + "#phy-cells": > + const: 0 > + > + reg: > + maxItems: 1 > + > + clocks: > + maxItems: 1 > + > + clock-names: > + maxItems: 1 Drop maxItems. It should be: const: emmcclk Or just drop clock-names because you don't really need *-names when there is only 1. > + > +required: > + - "#phy-cells" > + - compatible > + - reg > + - clocks > + - clock-names > + > +examples: > + - | > + sysconf: chiptop@e0200000 { > + compatible = "intel,lgm-syscon", "syscon"; > + reg = <0xe0200000 0x100>; > + > + emmc-phy: emmc-phy@a8 { > + compatible = "intel,lgm-emmc-phy"; > + reg = <0x00a8 0x10>; > + clocks = <&emmc>; > + clock-names = "emmcclk"; > + #phy-cells = <0>; > + }; > + }; > +... > -- > 2.11.0 >