Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp857661ybl; Wed, 21 Aug 2019 06:38:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqwfEVZxjNzw4aNcIORtrb4pBq5fOXYg9tKZ6/KGa8ykphbOwCCRwcIWT87xySPdW81WPrjv X-Received: by 2002:a17:902:2ae9:: with SMTP id j96mr24772429plb.10.1566394733952; Wed, 21 Aug 2019 06:38:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566394733; cv=none; d=google.com; s=arc-20160816; b=DgcZByN5hD+e9w242yHUPYfA3AFaevTBFdM8cqw4XDxMm3erdRrekKmsfRpHascwq0 zJk7NlsFzA/ToLqw2K5j/NXITKI+Lk9kZIykT378jmypIzCXUYbkbxJpw92qo7HGy5ad dSyK+fQ4iurTpTtlnP/50iWXNvVT8L+jn9GTu2Rw7sRoyFWZrFusAcjZTT/VDzkYHraX o55/KsByRPs4UAO8Qb9WS1/VLQHytc8wjAu/G10oI2mCcQzmubZ6dlAXuMZScET14QJN 9G70rhfbMwKH9NlzKqXx/dBfesaLNmiVOsJ3MGNwQ5BpS0jeaSDjz2qq7xDsWlGxRYj/ j1Gg== 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=vHdQt/sbkMG+icizqPBBQP2PuaGUk8avxSK+LZYfVFw=; b=a2WkXGrx2QxjWVA8XyUhpRtIyWt/44tjUlJEKNQRpBz2gsJK2xOJB9Z/i/2Yx0/rLe 6F6edrRkH7/Aul6YMnh4tJliBD5dGzGSSjAXA6oT90CikJleza26+YSejW/iW3fmTUVR UyxaT2Lf4HFzK5VyXtPN15WlLGLze5C93ZqFW+JpmDnQ9XEAIm72YLhFvxkGiNHLtBQA 1oZQoXp8K7U0GjQB9QePue0dswPqJ0AVjRP0vFni5FxBGwCOB8OBbGWWrid0N8iBiK4G FRHaue+dtCdC3sw8/IZnt4srP/TjLRKlWM6VgkZVNPmuGJ4aP+UXe8r4H8O9UlcfP1uM MfuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=QjIyG27v; 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=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 14si14362587pga.452.2019.08.21.06.38.39; Wed, 21 Aug 2019 06:38:53 -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=@kernel.org header.s=default header.b=QjIyG27v; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728925AbfHUNgH (ORCPT + 99 others); Wed, 21 Aug 2019 09:36:07 -0400 Received: from mail.kernel.org ([198.145.29.99]:58690 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726372AbfHUNgH (ORCPT ); Wed, 21 Aug 2019 09:36:07 -0400 Received: from mail-qk1-f176.google.com (mail-qk1-f176.google.com [209.85.222.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id DA06F233A1; Wed, 21 Aug 2019 13:36:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1566394566; bh=/NmeYW95Exo7cKy4d0fywRhRlKRIlx9ue+Ya7TM9/fY=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=QjIyG27vI7EvoSIXoKX79El+gjRukM9gfyxCM4f1AF5hhT6Ft4+2C9PGPVPX7OCJc CPGylJR0wMuzBY2HImXWScou9vol0g4TvEfTiUjzWOQIbC37AIEseL5VZ1EGg6tK2j CggsMXtIRWVG8EcTG3fZxP5Z3KN6QpwDYJYlTnKY= Received: by mail-qk1-f176.google.com with SMTP id 201so1775952qkm.9; Wed, 21 Aug 2019 06:36:05 -0700 (PDT) X-Gm-Message-State: APjAAAWt2yBHYAVQHOGI7cM97oZXOYEv4UImANGqwQrhhn3oWxsYCYVK tyusDmXzP7xXtywcgfchS3yVRhi5M5N2lw3Nlw== X-Received: by 2002:a37:a010:: with SMTP id j16mr32191854qke.152.1566394565049; Wed, 21 Aug 2019 06:36:05 -0700 (PDT) MIME-Version: 1.0 References: <20190821101118.42774-1-vadivel.muruganx.ramuthevar@linux.intel.com> In-Reply-To: <20190821101118.42774-1-vadivel.muruganx.ramuthevar@linux.intel.com> From: Rob Herring Date: Wed, 21 Aug 2019 08:35:53 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 1/2] dt-bindings: phy: intel-emmc-phy: Add YAML schema for LGM eMMC PHY To: "Ramuthevar,Vadivel MuruganX" Cc: Kishon Vijay Abraham I , "linux-kernel@vger.kernel.org" , devicetree@vger.kernel.org, Andy Shevchenko , cheol.yong.kim@intel.com, qi-ming.wu@intel.com, peter.harliman.liem@intel.com 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, Aug 21, 2019 at 5:11 AM 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 > --- > changes in v3: > - resolve 'make dt_binding_check' warnings > > changes in v2: > As per Rob Herring review comments, the following updates > - change GPL-2.0 -> (GPL-2.0-only OR BSD-2-Clause) > - filename is the compatible string plus .yaml > - LGM: Lightning Mountain > - update maintainer > - add intel,syscon under property list > - keep one example instead of two > --- > .../bindings/phy/intel,lgm-emmc-phy.yaml | 59 ++++++++++++++++++++++ > 1 file changed, 59 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..9342e33d8b02 > --- /dev/null > +++ b/Documentation/devicetree/bindings/phy/intel,lgm-emmc-phy.yaml > @@ -0,0 +1,59 @@ > +# 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 > + > +properties: > + "#phy-cells": > + const: 0 > + > + compatible: > + const: intel,lgm-emmc-phy > + > + reg: > + maxItems: 1 > + > + syscon: intel,syscon like the example. You must have used 5.2 as on 5.3-rc the example will fail validation. > + items: Drop items as there is only 1. > + $ref: "/schemas/types.yaml#definitions/phandle" > + > + clocks: > + items: > + - description: e-MMC phy module clock > + > + clock-names: > + items: > + - const: emmcclk > + > + resets: > + maxItems: 1 > + > +required: > + - "#phy-cells" > + - compatible > + - reg > + - clocks > + - clock-names > + - resets > + - ref Not documented. > + > +additionalProperties: false > + > +examples: > + - | > + emmc_phy: emmc_phy { > + compatible = "intel,lgm-emmc-phy"; > + reg = <0xe0020000 0x100>; > + intel,syscon = <&sysconf>; > + clocks = <&emmc>; > + clock-names = "emmcclk"; > + #phy-cells = <0>; > + }; > + > +... > -- > 2.11.0 >