Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp19124047ybl; Fri, 3 Jan 2020 16:25:25 -0800 (PST) X-Google-Smtp-Source: APXvYqxi0k5XD/7Cc4bgnqeVCzyn3GxFOYbgbVaqztXG3VBGOXxIGy5AvnOOBf3ExkRP4+OmANAd X-Received: by 2002:a9d:7851:: with SMTP id c17mr81355755otm.58.1578097525570; Fri, 03 Jan 2020 16:25:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578097525; cv=none; d=google.com; s=arc-20160816; b=QCrf5rwDIa6UGjyzuDGPS4gojB5cBoHP1aOb/qjQM19GWlVo0+E1DUAML4riE8BKFM Gn3SkSDCPIUwo/ISPwYRxELmKjINzhkguOlaeFsn+WXNp1u8FS4avXPFiaD5OM/LT8ja ke2JcwmAXG2z1WTImyvXjnTJIOX0eVcvoO+xdW4ifwBQ5WVWVcTd76OwgS+tdTn1u9J1 pMhjeSNvkF7Q64FT/YBByJPmrj9TdYzjN6+wnNBSXDvkdQXODNAANPd6/905T5gfGKmj /wUf7GPOf6IQrWPIl02L0mRnoUEjZxQWhyBiPyUy4xw6ub7dMySh6HQITzXZZXsUQY8G rgkg== 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=RHzS3lmjvqBu923Z3jA1u6CAnoZKf0aTLGdAiWMkzuM=; b=iho5Oj+G8oRtfYmcJTghGjknwA1tSFHoWM1T/dBZskyVH6tGAavY2htIPkZAA/ImeM 460SKWN+3R4rwImTSYHzVaEGvOYR/6PbEJpE11FcaA5s2OzP+aUmlS6fA6tUvWdPyXrO VWSxuv5/2Gam0hBeYEv1UQBzKIeeqn2rJIzfyY2egFo/3UFAWg8sXJXkvRyhPm3hYwe+ 6TIJ4NxDFAgEAYI90/UYC7/O0vzcios1pD3QdvTM6QOOhPZ2vIU/eV6W1K1NFkkJl9xq F0Ku5yjZqwYYTPIsCbl6X0p4MTfyeHZKqVGyJABCIkbdleQ8bgnbesonMzocrvkxN/ZV k2ZQ== 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 u84si23841773oib.34.2020.01.03.16.25.12; Fri, 03 Jan 2020 16:25:25 -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 S1727141AbgADAYe (ORCPT + 99 others); Fri, 3 Jan 2020 19:24:34 -0500 Received: from mail-il1-f195.google.com ([209.85.166.195]:33866 "EHLO mail-il1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726703AbgADAYe (ORCPT ); Fri, 3 Jan 2020 19:24:34 -0500 Received: by mail-il1-f195.google.com with SMTP id s15so38053214iln.1 for ; Fri, 03 Jan 2020 16:24:33 -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=RHzS3lmjvqBu923Z3jA1u6CAnoZKf0aTLGdAiWMkzuM=; b=sHbxVU0IMCR3Kayy+iHcqplEKSZmGNRmafhsWgDqEVu3wzERx090SM9yNS49vRaUTq XxNSjWFqyYgXUynF8JgHY5h/NyU24l/3sQyaP7aEXAKBEDv4b2mQNxIbr94PnnwNtrlq zyC9wyS+I9vhe8J22GZYBlkE6AEZz5YPWP7vdoJaKE1waB4besEWR4r0Fu5YxLb4YAyU qrbPJa45N3QyzNpltBSm4+zhAaX+568wsuTdcydb4vn0mVYdEqcwDfjE/Uc4iRpYtmQf cKWjU32LpYMZaNTmHzVvAJzg/HGmOLmwRffFsr4J/ucOoLDAnVAXvAz92yQr5kL4tYVG 7XvQ== X-Gm-Message-State: APjAAAVWy+1PL7K7WqDjVozTTRvWY6aRgOUh+tC4dlMZ4TTRQ2Ezb/OI dr9ynXYGe9+uzRIwulFEWvGOcRQ= X-Received: by 2002:a92:d451:: with SMTP id r17mr77089065ilm.201.1578097473014; Fri, 03 Jan 2020 16:24:33 -0800 (PST) Received: from rob-hp-laptop ([64.188.179.251]) by smtp.gmail.com with ESMTPSA id m18sm19526149ila.54.2020.01.03.16.24.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Jan 2020 16:24:31 -0800 (PST) Received: from rob (uid 1000) (envelope-from rob@rob-hp-laptop) id 2219b7 by rob-hp-laptop (DragonFly Mail Agent v0.11); Fri, 03 Jan 2020 17:24:29 -0700 Date: Fri, 3 Jan 2020 17:24:29 -0700 From: Rob Herring To: Remi Pommarel Cc: Kishon Vijay Abraham I , Yue Wang , Lorenzo Pieralisi , Andrew Murray , Neil Armstrong , Kevin Hilman , Martin Blumenstingl , Jerome Brunet , linux-amlogic@lists.infradead.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH v3 5/5] dt-bindings: Add AXG PCIE PHY bindings Message-ID: <20200104002429.GA18966@bogus> References: <20191224173942.18160-1-repk@triplefau.lt> <20191224173942.18160-6-repk@triplefau.lt> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191224173942.18160-6-repk@triplefau.lt> 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, Dec 24, 2019 at 06:39:42PM +0100, Remi Pommarel wrote: > Add documentation for PCIE PHYs found in AXG SoCs. > > Signed-off-by: Remi Pommarel > --- > .../bindings/phy/amlogic,meson-axg-pcie.yaml | 51 +++++++++++++++++++ > 1 file changed, 51 insertions(+) > create mode 100644 Documentation/devicetree/bindings/phy/amlogic,meson-axg-pcie.yaml > > diff --git a/Documentation/devicetree/bindings/phy/amlogic,meson-axg-pcie.yaml b/Documentation/devicetree/bindings/phy/amlogic,meson-axg-pcie.yaml > new file mode 100644 > index 000000000000..c622a1b38ffc > --- /dev/null > +++ b/Documentation/devicetree/bindings/phy/amlogic,meson-axg-pcie.yaml > @@ -0,0 +1,51 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +# Copyright 2019 BayLibre, SAS > +%YAML 1.2 > +--- > +$id: "http://devicetree.org/schemas/phy/amlogic,meson-axg-pcie.yaml#" > +$schema: "http://devicetree.org/meta-schemas/core.yaml#" > + > +title: Amlogic AXG PCIE PHY > + > +maintainers: > + - Remi Pommarel > + > +properties: > + compatible: > + enum: > + - amlogic,axg-pcie-phy Do you expect another compatible? If not, use 'const' instead. > + > + reg: > + maxItems: 1 > + > + aml,hhi-gpr: > + maxItems: 1 > + > + resets: > + maxItems: 1 > + > + reset-names: > + items: > + - const: phy You don't need *-names when there's only one entry. > + > + "#phy-cells": > + const: 0 > + > +required: > + - compatible > + - reg > + - aml,hhi-gpr > + - resets > + - reset-names > + - "#phy-cells" > + > +examples: > + - | > + pcie_phy: pcie-phy@ff644000 { > + compatible = "amlogic,axg-pcie-phy"; > + reg = <0x0 0xff644000 0x0 0x2000>; > + aml,hhi-gpr = <&sysctrl>; > + resets = <&reset RESET_PCIE_PHY>; > + reset-names = "phy"; > + #phy-cells = <0>; > + }; > -- > 2.24.0 >