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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2E041C19F2B for ; Wed, 3 Aug 2022 20:40:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236912AbiHCUks (ORCPT ); Wed, 3 Aug 2022 16:40:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47894 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235884AbiHCUkl (ORCPT ); Wed, 3 Aug 2022 16:40:41 -0400 Received: from mail-io1-f52.google.com (mail-io1-f52.google.com [209.85.166.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 06B7E26C2; Wed, 3 Aug 2022 13:40:40 -0700 (PDT) Received: by mail-io1-f52.google.com with SMTP id s7so1348324ioa.0; Wed, 03 Aug 2022 13:40:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc; bh=e7d61MtbAqIhTPAJtqOPhqsXJEq15naLy9VOm7xbRLc=; b=14ZwRW9Jh4JVBfxkLtKX6sbZyQb8rz3w0jzyu11o1Bk+f/yMJvhSPqKR2j6CBEBL3T 2JjVXnFKH9TQ9VJmnf01LlsbNaeLX1MR9nex3BDj1VkRXOuwfjO13HFDwKumRtf38ITK PiX6nnahzB/viIivtBJzZMha28t2/MCk2QWulpBAVD+quXY9PKLawWeETluhoK6I/v9g 1ub9aAc2mNRPNaWHUu83/2pf7/O661DvEYmsKEOl1lDgVWVSpsYRXjKnHYvUDLxDDg+b PLBdHZVg5sqDWlUmKqmtqJXtpYf317s+JcYPBiC4eqBepQ4CF6Jw276WuV7+bIr11X6m xBxQ== X-Gm-Message-State: ACgBeo1BzARt/XJ2b54qn4VtV5nGFLNmQcsFENW97YAjHrmxTKCYSS6o ujzPijoH9mQ23sTpn/0xLw== X-Google-Smtp-Source: AA6agR6T0gg1QanRocjsUtRCxVAzvpPriklD63k5r+J0Z6AmYlxq2sr43p8fQ1ZGc1kfdV80bDwTlw== X-Received: by 2002:a02:b098:0:b0:342:9c0a:6254 with SMTP id v24-20020a02b098000000b003429c0a6254mr653937jah.81.1659559239204; Wed, 03 Aug 2022 13:40:39 -0700 (PDT) Received: from robh.at.kernel.org ([64.188.179.248]) by smtp.gmail.com with ESMTPSA id bc11-20020a0566383ccb00b00335b403c3b4sm8077066jab.48.2022.08.03.13.40.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Aug 2022 13:40:38 -0700 (PDT) Received: (nullmailer pid 2585450 invoked by uid 1000); Wed, 03 Aug 2022 20:40:36 -0000 Date: Wed, 3 Aug 2022 14:40:36 -0600 From: Rob Herring To: andrei.tachici@stud.acs.upb.ro Cc: linux-kernel@vger.kernel.org, andrew@lunn.ch, hkallweit1@gmail.com, linux@armlinux.org.uk, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, vegard.nossum@oracle.com, joel@jms.id.au, l.stelmach@samsung.com, krzysztof.kozlowski+dt@linaro.org, devicetree@vger.kernel.org Subject: Re: [net-next v3 3/3] dt-bindings: net: adin1110: Add docs Message-ID: <20220803204036.GA2583313-robh@kernel.org> References: <20220802155947.83060-1-andrei.tachici@stud.acs.upb.ro> <20220802155947.83060-4-andrei.tachici@stud.acs.upb.ro> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220802155947.83060-4-andrei.tachici@stud.acs.upb.ro> Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Tue, Aug 02, 2022 at 06:59:47PM +0300, andrei.tachici@stud.acs.upb.ro wrote: > From: Alexandru Tachici > > Add bindings for the ADIN1110/2111 MAC-PHY/SWITCH. > > Signed-off-by: Alexandru Tachici > --- > .../devicetree/bindings/net/adi,adin1110.yaml | 82 +++++++++++++++++++ > 1 file changed, 82 insertions(+) > create mode 100644 Documentation/devicetree/bindings/net/adi,adin1110.yaml > > diff --git a/Documentation/devicetree/bindings/net/adi,adin1110.yaml b/Documentation/devicetree/bindings/net/adi,adin1110.yaml > new file mode 100644 > index 000000000000..b929b677f16a > --- /dev/null > +++ b/Documentation/devicetree/bindings/net/adi,adin1110.yaml > @@ -0,0 +1,82 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/net/adi,adin1110.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: ADI ADIN1110 MAC-PHY > + > +maintainers: > + - Alexandru Tachici > + > +description: | > + The ADIN1110 is a low power single port 10BASE-T1L MAC- > + PHY designed for industrial Ethernet applications. It integrates > + an Ethernet PHY core with a MAC and all the associated analog > + circuitry, input and output clock buffering. > + > + The ADIN2111 is a low power, low complexity, two-Ethernet ports > + switch with integrated 10BASE-T1L PHYs and one serial peripheral > + interface (SPI) port. The device is designed for industrial Ethernet > + applications using low power constrained nodes and is compliant > + with the IEEE 802.3cg-2019 Ethernet standard for long reach > + 10 Mbps single pair Ethernet (SPE). > + > + The device has a 4-wire SPI interface for communication > + between the MAC and host processor. > + > +allOf: > + - $ref: ethernet-controller.yaml# > + - $ref: /schemas/spi/spi-peripheral-props.yaml# > + > +properties: > + compatible: > + enum: > + - adi,adin1110 > + - adi,adin2111 > + > + '#address-cells': > + const: 1 > + > + '#size-cells': > + const: 0 These apply to child nodes, but you don't have any child nodes. > + > + reg: > + maxItems: 1 > + > + adi,spi-crc: > + description: | > + Enable CRC8 checks on SPI read/writes. > + type: boolean > + > + interrupts: > + maxItems: 1 > + > +required: > + - compatible > + - reg > + - interrupts > + > +unevaluatedProperties: false > + > +examples: > + - | > + #include > + > + spi { > + ethernet@0 { > + compatible = "adi,adin2111"; > + reg = <0>; > + spi-max-frequency = <24500000>; > + > + adi,spi-crc; > + > + #address-cells = <1>; > + #size-cells = <0>; > + > + interrupt-parent = <&gpio>; > + interrupts = <25 IRQ_TYPE_LEVEL_LOW>; > + > + local-mac-address = [ 00 11 22 33 44 55 ]; > + }; > + }; > -- > 2.25.1 > >