Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp107408iob; Tue, 17 May 2022 20:25:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw261q0p11bk/yyNSMlCU02QWCmJiZ6r9uqay+TFc5hXF8Rr2Irey7MVX4IcE1qKWUrq45Q X-Received: by 2002:a17:902:7144:b0:15f:399e:1c91 with SMTP id u4-20020a170902714400b0015f399e1c91mr25179611plm.167.1652844327268; Tue, 17 May 2022 20:25:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652844327; cv=none; d=google.com; s=arc-20160816; b=WtTiMnsaB9MMPSeRmj93wevBBMcurDBdklTxXg9yW6pgWooUz3Z0RCSUNa6hdVRom8 Tffc2c/hUAkb5rTxgQTfX9wgkDXqNgJHDZDQ+Rn84qRatAolG/G8lQlWaopnmFJ30LSu YGCDvw0htrKhrpbJhAr5bRhDkKUvS4wFSmf3Nq0MHRvvS6QhjSB1TnXI63NWikp3Gd8z HY3X4rXPIpIe6SZreiHgMYrwMjANKDoWfLOUMkjrT/VAZ6GN8JXZPYBXUqu0fghMnPZ2 1+3mfGJRP5mFa/0JEt6dSrTUDClhxhldPWGkjZURAjQjVKV/d/TZ/NDbq+JX+mVXi++9 EjqA== 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; bh=p/MnfFetCNPy/OGaJyPe/9LawJdkP2TbRs1icnabz0g=; b=0K/gtwTT0PG2drWYmoJUeuiOYcZfIVkuCdnMg4Gzn60I4Pv+RH5HJOg3pIAi5QhGSM E+BqLPkWJY6J4Ovd+/fapYzxrf1v1qKznGwNIZl9zTJY2Cy/1NWJ7ich8lf2vKhDp6iX xctM7QXLaCxuzoWY8T1u+dFnd5Akrp92LEHvSdxzQW6qFlw9tAKYK4ctb1RQpd9LB1nf vIW/4c99GDkv5EN83uXhCyx6FeXns+BKJ6UBMHo7KY8Xeytlbu5izAP3+N8OvnHOGRsA +SaD2pW0cmtZvNEIuiiXDQYzrvt1klYQPLIG4p0cYByVeZNTYWf8Rf+z7YUEhC3zuD3W NL7Q== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id n17-20020a170902e55100b00161946cd293si1380523plf.44.2022.05.17.20.25.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 May 2022 20:25:27 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D47B55C361; Tue, 17 May 2022 20:21:39 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232878AbiERAw3 (ORCPT + 99 others); Tue, 17 May 2022 20:52:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52930 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231883AbiERAw1 (ORCPT ); Tue, 17 May 2022 20:52:27 -0400 Received: from mail-oa1-f46.google.com (mail-oa1-f46.google.com [209.85.160.46]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C269527E5; Tue, 17 May 2022 17:52:26 -0700 (PDT) Received: by mail-oa1-f46.google.com with SMTP id 586e51a60fabf-d39f741ba0so740638fac.13; Tue, 17 May 2022 17:52:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=p/MnfFetCNPy/OGaJyPe/9LawJdkP2TbRs1icnabz0g=; b=0hSRJAmywelMurkmvorrwdM8kP4n8TlwqFnZ1s8TfJDN7Nt9BwRJLkqwhoBNlkz2ou bM3dV3eesbvIOFspqDq8vzRJcLmZfUekd7wc2E3yOhJ8O4fEqVh9XcZClFNUglC4MBaW 0P+QTJwlA45J3pnFEKVeFs8o+IQPh0rRrfbGS4vITosipMPR6ZYR69aehMh5P0adSgdq QDvc8D76u/nYEEqmdeex3mASTkN/Ty6V2QAf1HgxDQftXTMoIFhxN/FA8aBmSdYgxWu0 fCCYpkzAUspJEXDOzV/83RACIe+JXrNmWUoZq6rcOs6/uXmmyc0/CdrbogJ5EHWvrFJU +gEg== X-Gm-Message-State: AOAM533uhMCqORYMTC2qdKzpLyrw+W6m28ES1EYbL+TAncnNcmOMyB28 jbfkLAM67ev7X7LCzHM7YsPX7cNQ2w== X-Received: by 2002:a05:6870:5ba6:b0:f1:5840:f3a5 with SMTP id em38-20020a0568705ba600b000f15840f3a5mr12208951oab.254.1652835145409; Tue, 17 May 2022 17:52:25 -0700 (PDT) Received: from robh.at.kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id i3-20020a056870044300b000ead8b89484sm408601oak.5.2022.05.17.17.52.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 May 2022 17:52:24 -0700 (PDT) Received: (nullmailer pid 1974016 invoked by uid 1000); Wed, 18 May 2022 00:52:23 -0000 Date: Tue, 17 May 2022 19:52:23 -0500 From: Rob Herring To: Maxime Chevallier Cc: davem@davemloft.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, thomas.petazzoni@bootlin.com, Andrew Lunn , Florian Fainelli , Heiner Kallweit , Russell King , linux-arm-kernel@lists.infradead.org, Vladimir Oltean , Luka Perkov , Robert Marko Subject: Re: [PATCH net-next v2 4/5] net: dt-bindings: Introduce the Qualcomm IPQESS Ethernet controller Message-ID: <20220518005223.GA1970862-robh@kernel.org> References: <20220514150656.122108-1-maxime.chevallier@bootlin.com> <20220514150656.122108-5-maxime.chevallier@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220514150656.122108-5-maxime.chevallier@bootlin.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Sat, May 14, 2022 at 05:06:55PM +0200, Maxime Chevallier wrote: > Add the DT binding for the IPQESS Ethernet Controller. This is a simple > controller, only requiring the phy-mode, interrupts, clocks, and > possibly a MAC address setting. > > Signed-off-by: Maxime Chevallier > --- > V1->V2: > - Fixed the example > - Added reset and clocks > - Removed generic ethernet attributes > > .../devicetree/bindings/net/qcom,ipqess.yaml | 104 ++++++++++++++++++ > 1 file changed, 104 insertions(+) > create mode 100644 Documentation/devicetree/bindings/net/qcom,ipqess.yaml > > diff --git a/Documentation/devicetree/bindings/net/qcom,ipqess.yaml b/Documentation/devicetree/bindings/net/qcom,ipqess.yaml > new file mode 100644 > index 000000000000..ea0023509737 > --- /dev/null > +++ b/Documentation/devicetree/bindings/net/qcom,ipqess.yaml > @@ -0,0 +1,104 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/net/qcom,ipqess.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Qualcomm IPQ ESS EDMA Ethernet Controller > + > +maintainers: > + - Maxime Chevallier > + > +allOf: > + - $ref: "ethernet-controller.yaml#" > + > +properties: > + compatible: > + const: qcom,ipq4019e-ess-edma > + > + reg: > + maxItems: 1 > + > + interrupts: > + minItems: 2 > + maxItems: 32 > + description: One interrupt per tx and rx queue, with up to 16 queues. > + > + clocks: > + maxItems: 1 > + > + clock-names: > + const: ess Always kind of pointless to have a single *-names entry when it's just the block name. > + > + resets: > + maxItems: 1 > + > + reset-names: > + const: ess ditto > + > +required: > + - compatible > + - reg > + - interrupts > + - clocks > + - clock-names > + - resets > + - phy-mode > + > +unevaluatedProperties: false > + > +examples: > + - | > + #include > + #include > + #include > + gmac: ethernet@c080000 { > + compatible = "qcom,ipq4019-ess-edma"; > + reg = <0xc080000 0x8000>; > + resets = <&gcc ESS_RESET>; > + reset-names = "ess"; > + clocks = <&gcc GCC_ESS_CLK>; > + clock-names = "ess"; > + interrupts = , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + ; > + > + phy-mode = "internal"; > + fixed-link { > + speed = <1000>; > + full-duplex; > + pause; > + asym-pause; > + }; > + }; > + > +... > -- > 2.36.1 > >