From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3FC5AC00523 for ; Sat, 4 Jan 2020 00:24:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 08CF5222C3 for ; Sat, 4 Jan 2020 00:24:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1578097474; bh=EGp+TvV6PwfbirwSPv1b1DDAEdNU47BRsj035pCBmZw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=TpDYdhd43nBsCS4L180ocO+Q9FAsR1KX3/UHdsGEp2zYkAbQ5D2xoW/iNojEe+Y0y 5+e6dTSG2R73K1LmGHOFWHyVknIbFB577z8yx4jlpXH4BKc/9Q4fSxGkzbU1ujCw8A gd6rQR0kctCeGVeC0zowLbKRQ16628mVgsWM6Hz0= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726697AbgADAYd (ORCPT ); Fri, 3 Jan 2020 19:24:33 -0500 Received: from mail-il1-f193.google.com ([209.85.166.193]:35824 "EHLO mail-il1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726659AbgADAYd (ORCPT ); Fri, 3 Jan 2020 19:24:33 -0500 Received: by mail-il1-f193.google.com with SMTP id g12so38032071ild.2 for ; Fri, 03 Jan 2020 16:24:32 -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=agQTk715jZ12pzZcYWvv8pR7ZMON7tU9y+ZuFK9EJrQx8lXkfPGO78cTOEfMB9Yp71 pobPhUwflcCKz82Zj7AuAQ8Gzyu3qi/Z019TcOBI3uRuXnWCVpae0CKoxwh/PpGoQsoG SAZBX3j1XbBvuDJu+0Wyxk3e+6CsYVUckNgm7qvYIFDB8TZ8lZzGj94Oc1/vcP+WcNwF NJqfrz5oSbMhyfgpYtPl4KKriS2uoIXzMx0r9N1QD4HiAfFfYvobQW/DqSfsgPHQZFTl HZQIsco+4GDx5m3bJ9oQRt96Mok1veBTPFcpJeA9p2/+vXRcyeoVc4KgryIlow346es5 Xr0Q== X-Gm-Message-State: APjAAAWpha3b2AAflR6R6AFhSEMy+fWGVMLgODZm9vkkPWaEuhVRD1sW j5Ba9CnqymZyqJ++mgbvwxQ1hJw= X-Google-Smtp-Source: APXvYqwF/mZ8Vsc17BcQmUk2/Nsf+v/k+ASNwGfBEniQvz5QoiBe+qAMdvMFEnxefkKMpdlxtkV44g== X-Received: by 2002:a92:1699:: with SMTP id 25mr77334313ilw.234.1578097472103; Fri, 03 Jan 2020 16:24:32 -0800 (PST) Received: from rob-hp-laptop ([64.188.179.251]) by smtp.gmail.com with ESMTPSA id m24sm15330313ioc.37.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-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@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 >