Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp3897927ybv; Tue, 25 Feb 2020 09:14:52 -0800 (PST) X-Google-Smtp-Source: APXvYqyPsKYJrbT7ONu60vUld8D9A9WXIlSe0sOj4gxrBsKyI4jSe5WlS7JVWPzKwY5Gh46rLGSu X-Received: by 2002:aca:1011:: with SMTP id 17mr19454oiq.72.1582650891975; Tue, 25 Feb 2020 09:14:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582650891; cv=none; d=google.com; s=arc-20160816; b=o4l9GsiIC/PJbb6r/g3YFWeYUjd20jCyQQzpNEEXllobkzRzcaZj0epDYSbA8gDBjO ryNhfAKDtPP/R/rTD/qT+vhUL9HBM+STOx5OvWo1YRyaMPp9d7frKILBZ5OxWsqSntRy U9kszlqa1OjjqHiIDUJIr7QKLKBCMk4ZKaBwTgtmxSkHRAWsEgiVVJsQWq3oC535SP40 xSYumjDH+e1oE45TXktcGrvs7LmNlbfRed1zZkswImR4xiNMcg8gZvHEF/9aX7ZRxIvT Dm/ZgXosG0PGY8wK770YtiO3CmmTov+upNi958B4ZSR/o3uX3DNQ4saN19CTvzrdKzD9 sItw== 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=+ORMkC9e+M5bYfB6H3dD3CXVdSxjKhxcycEg/FlZ4lU=; b=zaneU8NojpIVMMqp3/8EzJyJyavUnJvf6UozU1NwSOM1Q/kdrumxU1HqPNF7dXmXOA mRENTIrSTpHb9sw/NTkLWssKkLZbiXkFhyOAiEb1y3jsLEF9CUMGuKxHAlDI1x6pvRfT HMG8IkZJ6EDQ3IWqmz0j26bBjEhNSPKuzDSzudrS4PJB/2qVzjMgD5LstulXZdBFGSjF bsA7CkiZAPrLkfbmURqh8uQptWQcKqMWA0NLYmIr8kiQ5l2Y+NzXtJBQSJW6wssq8dRn hi6l2ukWp2hM5oWv04zaKTdo1wp0CsONOUNRjUq/TD+P4mWVrdUyRfRXnfn8jlTOnyJ1 MReA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=2OT1bZXD; 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 v26si8980412otj.0.2020.02.25.09.14.39; Tue, 25 Feb 2020 09:14:51 -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; dkim=pass header.i=@kernel.org header.s=default header.b=2OT1bZXD; 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 S1731200AbgBYQ5O (ORCPT + 99 others); Tue, 25 Feb 2020 11:57:14 -0500 Received: from mail.kernel.org ([198.145.29.99]:55846 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727983AbgBYQ5N (ORCPT ); Tue, 25 Feb 2020 11:57:13 -0500 Received: from mail-qt1-f172.google.com (mail-qt1-f172.google.com [209.85.160.172]) (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 B664C21927; Tue, 25 Feb 2020 16:57:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1582649832; bh=90JBCZvuUwjkSs1Hnc3LpN1N/kPAIDcqYTB1iAObgdY=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=2OT1bZXD227lBlfGSt2jsJ3rPt6z/gNKbLuKbylKTau3IUc7jhdLumNvYIIHHYJDq i6YDuBL/cysZRA31xcnYBbQO4vvATKpFxNsLrndeYJtf5zqLIlEwxoNSpU5EeTNjtA TNoO1adeYDCBYlu7+PdEgXhJOI/a6sF/0axR8Tf4= Received: by mail-qt1-f172.google.com with SMTP id d9so96461qte.12; Tue, 25 Feb 2020 08:57:12 -0800 (PST) X-Gm-Message-State: APjAAAU3RjHl+H/RQcjTIL09oKRc0kQxC+GUlD7glqe7N8TjZpoy6Ecc V5nk/AomzA6E5j5Y+7CN0y+oYRu1/NsbsXVnFw== X-Received: by 2002:ac8:5513:: with SMTP id j19mr54927970qtq.143.1582649831805; Tue, 25 Feb 2020 08:57:11 -0800 (PST) MIME-Version: 1.0 References: <20200224211035.16897-1-ansuelsmth@gmail.com> <20200224211035.16897-2-ansuelsmth@gmail.com> In-Reply-To: <20200224211035.16897-2-ansuelsmth@gmail.com> From: Rob Herring Date: Tue, 25 Feb 2020 10:57:00 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v7 2/2] Documentation: devictree: Add ipq806x mdio bindings To: Ansuel Smith Cc: Andy Gross , Bjorn Andersson , "David S. Miller" , Mark Rutland , Andrew Lunn , Florian Fainelli , Heiner Kallweit , Russell King , linux-arm-msm , netdev , devicetree@vger.kernel.org, "linux-kernel@vger.kernel.org" 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 Mon, Feb 24, 2020 at 3:10 PM Ansuel Smith wrote: > typo in the subject. Use 'dt-bindings: net: ...' for the subject prefix. > Add documentations for ipq806x mdio driver. > > Signed-off-by: Ansuel Smith > --- > Changes in v7: > - Fix dt_binding_check problem Um, no you didn't... > > .../bindings/net/qcom,ipq8064-mdio.yaml | 55 +++++++++++++++++++ > 1 file changed, 55 insertions(+) > create mode 100644 Documentation/devicetree/bindings/net/qcom,ipq8064-mdio.yaml > > diff --git a/Documentation/devicetree/bindings/net/qcom,ipq8064-mdio.yaml b/Documentation/devicetree/bindings/net/qcom,ipq8064-mdio.yaml > new file mode 100644 > index 000000000000..3178cbfdc661 > --- /dev/null > +++ b/Documentation/devicetree/bindings/net/qcom,ipq8064-mdio.yaml > @@ -0,0 +1,55 @@ > +# SPDX-License-Identifier: GPL-2.0-or-later Dual license new bindings please: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/net/qcom,ipq8064-mdio.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Qualcomm ipq806x MDIO bus controller > + > +maintainers: > + - Ansuel Smith > + > +description: |+ Don't need '|+' unless you need specific formatting. > + The ipq806x soc have a MDIO dedicated controller that is > + used to comunicate with the gmac phy conntected. > + Child nodes of this MDIO bus controller node are standard > + Ethernet PHY device nodes as described in > + Documentation/devicetree/bindings/net/phy.txt > + > +allOf: > + - $ref: "mdio.yaml#" > + > +properties: > + compatible: > + const: qcom,ipq8064-mdio blank line between properties please. > + reg: > + maxItems: 1 > + description: address and length of the register set for the device That's every 'reg', you can drop this. > + clocks: > + maxItems: 1 > + description: A reference to the clock supplying the MDIO bus controller That's every 'clocks', you can drop this. > + > +required: > + - compatible > + - reg > + - clocks > + - "#address-cells" > + - "#size-cells" > + > +examples: > + - | > + mdio0: mdio@37000000 { > + #address-cells = <1>; > + #size-cells = <0>; > + > + compatible = "qcom,ipq8064-mdio", "syscon"; 'syscon' doesn't match the schema and is wrong. > + reg = <0x37000000 0x200000>; > + resets = <&gcc GMAC_CORE1_RESET>; > + reset-names = "stmmaceth"; Not documented. > + clocks = <&gcc GMAC_CORE1_CLK>; You need to include the header for these defines. > + > + switch@10 { > + compatible = "qca,qca8337"; > + /* ... */ > + }; > + }; > -- > 2.25.0 >