Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp3356125rwo; Mon, 24 Jul 2023 09:46:41 -0700 (PDT) X-Google-Smtp-Source: APBJJlGce+095qvOHN1cyo0Lfb7Wy63SW9c6RQIQC/pGxRd+tMVDq5gLeZQU+lQkQgfBsB6Gd/hL X-Received: by 2002:a05:6a00:a13:b0:668:7209:1856 with SMTP id p19-20020a056a000a1300b0066872091856mr10269203pfh.14.1690217200742; Mon, 24 Jul 2023 09:46:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690217200; cv=none; d=google.com; s=arc-20160816; b=ZhLf8k8FyrGvrCCD3XiXRPdqG/iN1YrvUPSTp+Flr/fZybDARxpBAsFPyyDCPjHqFV YDW4u55ECYIMHNNt3DUZ5RLL6lAZPtKoTi59wWTCnqiU4grZ6UVjvuGmYHNKYBL3IpJh zbYwkOc7c5n4eO4TUDs+fhIWEF4MOiYWMPtVrDDoSujJgZpZPX1LgBUScnb8YEqH3WMc QmGiyjeNVGaVsCULWETSEUfLIPaCY71w1sTjqpIAH2KrBs87TO3FKgCA61NoaQo9W4Ry KSwjY7lnmeIi0ALvz/Xf7vZIEH1A0djTNvn0TXG0pWKi5s1U5+mhQ7k3JtkQCIjVPpaK TSXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=mtxa8oxq2EktO+EO7GzThF8VKBXHpt2By3bIrH1BNuU=; fh=4okdgIfrMan9iB44Y3wUSpASc214WfZoNh+HM4vBtFk=; b=dCSa+7hfBEY0hMJ6113vlSQKu57eOlxDWq6cifwvmj4QrftNYtiTYsDOIkdH5T1Gyk 2TABtZiL3GpbVh/N2bOWfvcEhtJLf8Q6/IOnrD6HrC/6Ha5B1sRS1dRbMloddIohq20J AjMsWrnUwrdVuA40iS/U0m+mOGCzNsokVM91/AXP76s2sd5KXSwOKzM0zXfBBqE7R/Sj ep+7LyR3C2x9hrUWreHmxWPqDWWZilhwblhCv70CtRRhOWzVDLv/WYmYMyTORbRSa8Ip wwner9Yp/Hat/INaOzyjNnH5TrtXynM6PV4PZlMnqQE9IgJSFjBwXZSEZ+eEczkXFCfT DUsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SiewppIA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ch4-20020a056a00288400b006828982043csi9625491pfb.141.2023.07.24.09.46.28; Mon, 24 Jul 2023 09:46:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SiewppIA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S229541AbjGXQUs (ORCPT + 99 others); Mon, 24 Jul 2023 12:20:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230165AbjGXQUq (ORCPT ); Mon, 24 Jul 2023 12:20:46 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A8A3710DE; Mon, 24 Jul 2023 09:20:44 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 31A2A6125F; Mon, 24 Jul 2023 16:20:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AD9E8C433C8; Mon, 24 Jul 2023 16:20:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690215643; bh=khO482gMaPy/qQC9weIQw3jsGa/RDBqNnCmrs6ht9LM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=SiewppIA19f9TVyl+yKSWnfIkY1Vz5gl4qq/f5gFz5OsQ6RWXGSO1rWdlMhDikwru Oip9q/s0adtYJHCKdFdpkA14yUIV9vhvR3oxY9D5zi9egQGpY3xunv2+FNjbz2895f 4nYV1/yg20tdUUmCZdQCw2F3kZk4hacTIagSI5/1SCOSIzSD9d3k7n6IMY4uzy9vKg S0vUqsCgkH18vCbKD/vNzTIazLApwCGFEsOta8+B3JEKkSR1sWfnsf8g29W6jgRV2u zo9qoglmLhIWj+Ji0P56cxDLQMSLzbyaQnLUqKZFVZ8LTiSKxOy0e5jbNiMUaJVvo7 z3XtauDIkL1Vg== Received: (nullmailer pid 3744805 invoked by uid 1000); Mon, 24 Jul 2023 16:20:41 -0000 Date: Mon, 24 Jul 2023 10:20:41 -0600 From: Rob Herring To: nick.hawkins@hpe.com Cc: verdun@hpe.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1 3/5] dt-bindings: net: Add HPE GXP UMAC Message-ID: <20230724162041.GA3716283-robh@kernel.org> References: <20230721212044.59666-1-nick.hawkins@hpe.com> <20230721212044.59666-4-nick.hawkins@hpe.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230721212044.59666-4-nick.hawkins@hpe.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 21, 2023 at 04:20:42PM -0500, nick.hawkins@hpe.com wrote: > From: Nick Hawkins > > Provide access to the register regions and interrupt for Universal > MAC(UMAC). The driver under the hpe,gxp-umac binding will provide an > interface for sending and receiving networking data from both of the > UMACs on the system. > > Signed-off-by: Nick Hawkins > --- > .../devicetree/bindings/net/hpe,gxp-umac.yaml | 111 ++++++++++++++++++ > 1 file changed, 111 insertions(+) > create mode 100644 Documentation/devicetree/bindings/net/hpe,gxp-umac.yaml > > diff --git a/Documentation/devicetree/bindings/net/hpe,gxp-umac.yaml b/Documentation/devicetree/bindings/net/hpe,gxp-umac.yaml > new file mode 100644 > index 000000000000..c3b68c4ba7f2 > --- /dev/null > +++ b/Documentation/devicetree/bindings/net/hpe,gxp-umac.yaml > @@ -0,0 +1,111 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/net/hpe,gxp-umac.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: HPE GXP Unified MAC Controller > + > +maintainers: > + - Nick Hawkins > + > +description: | Don't need '|' if no formatting to maintain. Here and elsewhere. > + HPE GXP 802.3 10/100/1000T Ethernet Unifed MAC controller. > + Device node of the controller has following properties. > + > +properties: > + compatible: > + const: hpe,gxp-umac > + > + use-ncsi: > + type: boolean > + description: | > + Indicates if the device should use NCSI (Network Controlled > + Sideband Interface). > + > + reg: > + maxItems: 1 > + > + interrupts: > + maxItems: 1 > + > + mac-address: true > + > + ethernet-ports: > + type: object > + additionalProperties: false > + description: Ethernet ports to PHY > + > + properties: > + "#address-cells": > + const: 1 > + > + "#size-cells": > + const: 0 > + > + patternProperties: > + "^port@[0-1]$": > + type: object > + additionalProperties: false > + description: Port to PHY > + > + properties: > + reg: > + minimum: 0 > + maximum: 1 > + > + phy-handle: > + maxItems: 1 > + > + required: > + - reg > + - phy-handle > + > + mdio: > + $ref: mdio.yaml# > + unevaluatedProperties: false > + > +additionalProperties: false > + > +required: > + - compatible > + - reg > + - interrupts > + - ethernet-ports > + > +examples: > + - | > + ethernet@4000 { > + compatible = "hpe,gxp-umac"; > + reg = <0x4000 0x80>; > + interrupts = <22>; > + mac-address = [00 00 00 00 00 00]; /* Filled in by U-Boot */ > + ethernet-ports { > + #address-cells = <1>; > + #size-cells = <0>; > + > + port@0 { > + reg = <0>; > + phy-handle = <ð_phy0>; > + }; > + > + port@1 { > + reg = <1>; > + phy-handle = <ð_phy1>; > + }; > + }; > + > + mdio { > + #address-cells = <1>; > + #size-cells = <0>; > + > + eth_phy0: ethernet-phy@0 { > + reg = <0>; > + }; > + > + eth_phy1: ethernet-phy@1 { > + reg = <1>; > + }; > + }; > + }; > +... > -- > 2.17.1 >