Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp219021imn; Mon, 25 Jul 2022 14:29:11 -0700 (PDT) X-Google-Smtp-Source: AGRyM1twId5i1UZhkA2ObRfEfuRhlTlX/aYC8qSYDChjJUUGIBjZ45RiwvLw8lh0bXgiuFUW28/e X-Received: by 2002:a17:90a:ff09:b0:1f2:67ac:7bbf with SMTP id ce9-20020a17090aff0900b001f267ac7bbfmr14371501pjb.139.1658784551304; Mon, 25 Jul 2022 14:29:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658784551; cv=none; d=google.com; s=arc-20160816; b=riidpg9J8yD9kgtVi9pdZirQ3Dv129XXRoONKpoM05oyb/TlDTA9ofEhWu3+z8l3dJ pfB9oQErKOWf+izSU5XAxX4ehc5cEEvozOIQYKXK3v5X4GbRTFKixZQhd2hrZ33w06ZP 12/7HOH2CavUuY/Av6dpEXph+Zeu5Tq3ZZn8+AjBjnM44Sdz6uOxoSUr5AAuMitI0Xz6 GN0C4o9h959v/LxcLURD6+sD4aZ86yWGUA3G/IL/znPLGSQ6fcjogO3jeCpAM5VzTeyP AHFT2Oekksw8REnooAbMN9ERxTbJtj9ID1YZFESRTQ0MZamPi2CLsLcXW2PrQcB/q5Q2 k/6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=TbcWMIxOgS2eY9LKbWN7Jh5YaS16I8ZOe/jkBgpK/pc=; b=w3uPezmg86X+5HuGMbHQGjjK/z9ng65pJ+wVWIus5rsNcBL03CgKhefK4YVh74Xmur +yx9eDZPKH+SkKDIs19HXqykxzroTcX1n563URbtX61O2INX/Rs0W+28yZlhLLtrwuw8 VBGW2d0orWxgndFlUwK9FORU7orcu35l3gh7PFqMQqs7sM4dXjwgLy4QG6aojKzmgOH/ JcfwzH2R7HvtT4ybc9ktnb02DorZEXPA9pzdyK5sxY7c8lY+9WRQ29O/7I2FYnBwpsam tMRmRfA+qGqBcs+ycsPZwWlTAF6gb3tcaY+c9u9JYnMO1hPApjsuMdKiZOGHfMC5MiVa A4cw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xtQo5uH9; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b27-20020a631b1b000000b00412b40fe63esi15081513pgb.677.2022.07.25.14.28.56; Mon, 25 Jul 2022 14:29:11 -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=@linaro.org header.s=google header.b=xtQo5uH9; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231873AbiGYUYo (ORCPT + 99 others); Mon, 25 Jul 2022 16:24:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58782 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236236AbiGYUYm (ORCPT ); Mon, 25 Jul 2022 16:24:42 -0400 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7BB2921838 for ; Mon, 25 Jul 2022 13:24:41 -0700 (PDT) Received: by mail-lf1-x133.google.com with SMTP id w15so11720878lft.11 for ; Mon, 25 Jul 2022 13:24:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=TbcWMIxOgS2eY9LKbWN7Jh5YaS16I8ZOe/jkBgpK/pc=; b=xtQo5uH95PEf7n57pRRLiQb5kBjmQyJpg4Sngxr8ubmZim6bXxyig0k9B1xnXSX5/v AkTfTgl9FPPczL003j4tClh7RPkq89K8wDVMn0/+zKl73RCWD7lwXKCZ46Escj/FWHL9 Uw8Q0yCtVupJjrtrW3cqWlwBFghJdKu4TyDDaDLDtN45hkIYPEoxXj+i1BUyfcjj4J5C 0nsPgq14gwFjdLMslqbw7HljlxdMaT7pzvuZGa7Y9+VrI+RmSKaVQYGuTTwG01wBLvya TcHoSp5i9DsPqGuU3tMwvPU6srXR86HIMbgYc6Gj4S/QInQrmkD4oumCMvEecbudIcqK QYZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=TbcWMIxOgS2eY9LKbWN7Jh5YaS16I8ZOe/jkBgpK/pc=; b=HrTXtEpLOC6CaVsXAA873NAcXzjs9zBFjerLQJgQ2DRYdGxfP/yy+6Xn6O/TXVzbni JTaguycVrFYfUkLOxsW1pgxJBG8PjUi1Eza3w36XUG2k2lkFQp4CCmKCEut9bhe4tItP v0/th4SOvMnZrv0C3v1DaL/ARTYbnyJlyYT2JKzgKvDa6lxzYxnWhTaaXqt8tPqgLH+K yjjBES9vlAEnmAF+L994JZ88bVJqkoB1oeeobQ6M1EtajE06Ha6tXsOc8yDFFW7bt8ns Leeh8qJDBpFPV5ox+UFfUWq2i2TgnKnQKvtP7bM+c3sCyuG8x8NNe+mIKWCaqmcFvmbQ IMVg== X-Gm-Message-State: AJIora9wwnkwQPKsiLs9Me7Q9QbSTX/GMuPjRBudhkmB1WeQZ27S+zOi CgInlm7HeonajwJzmV95Js0mTg== X-Received: by 2002:a05:6512:1523:b0:48a:9ef0:6c17 with SMTP id bq35-20020a056512152300b0048a9ef06c17mr202991lfb.666.1658780679738; Mon, 25 Jul 2022 13:24:39 -0700 (PDT) Received: from [192.168.3.197] (78-26-46-173.network.trollfjord.no. [78.26.46.173]) by smtp.gmail.com with ESMTPSA id v15-20020a2e87cf000000b0025de6edd4a0sm1273226ljj.83.2022.07.25.13.24.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 25 Jul 2022 13:24:39 -0700 (PDT) Message-ID: <739dcb53-3859-e53f-2bbe-9099d5bd0052@linaro.org> Date: Mon, 25 Jul 2022 22:24:37 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Subject: Re: [net-next v2 3/3] dt-bindings: net: adin1110: Add docs Content-Language: en-US To: alexandru.tachici@analog.com, netdev@vger.kernel.org Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, devicetree@vger.kernel.org, krzysztof.kozlowski+dt@linaro.org, gerhard@engleder-embedded.com, geert+renesas@glider.be, joel@jms.id.au, stefan.wahren@i2se.com, wellslutw@gmail.com, geert@linux-m68k.org, robh+dt@kernel.org, d.michailidis@fungible.com, stephen@networkplumber.org, l.stelmach@samsung.com, linux-kernel@vger.kernel.org References: <20220725165312.59471-1-alexandru.tachici@analog.com> <20220725165312.59471-4-alexandru.tachici@analog.com> From: Krzysztof Kozlowski In-Reply-To: <20220725165312.59471-4-alexandru.tachici@analog.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 25/07/2022 18:53, alexandru.tachici@analog.com wrote: > From: Alexandru Tachici > > Add bindings for the ADIN1110/2111 MAC-PHY/SWITCH. > > Signed-off-by: Alexandru Tachici > --- > .../devicetree/bindings/net/adi,adin1110.yaml | 81 +++++++++++++++++++ > 1 file changed, 81 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..cc83f08c0a55 > --- /dev/null > +++ b/Documentation/devicetree/bindings/net/adi,adin1110.yaml > @@ -0,0 +1,81 @@ > +# 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# > + > +properties: > + compatible: > + enum: > + - adi,adin1110 > + - adi,adin2111 > + > + '#address-cells': > + const: 1 > + > + '#size-cells': > + const: 0 > + > + 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>; Rob's bot complained about this. As a SPI slave device, this should also reference spi-peripheral-props.yaml Best regards, Krzysztof