Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp3740798rwb; Fri, 30 Sep 2022 07:45:14 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6y36BVbMdLjm83VFMRonc2E1pS9+wD6SBL2Ro89qu6H7F7JVb6i+T7RCT0eVUCTohzdkex X-Received: by 2002:a05:6a00:1ace:b0:546:94a3:b235 with SMTP id f14-20020a056a001ace00b0054694a3b235mr9644302pfv.50.1664549113930; Fri, 30 Sep 2022 07:45:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664549113; cv=none; d=google.com; s=arc-20160816; b=mCr3lapE3Gv2bynZbOdTc+ZMOKU0lGkkNUNfhGcJxM6WcM/cWCHl9pa6uZEGA9k85v O78AIqZG0PvZoCo0vV0z91k6oJOgRrH+EQhlJy9qvlM+3QF2O9W6F1y+01knyAUqZmLG cfPV8BAi/TX9fEfxPOZ3rOQ375/Ma3IUiL7wfHq2NVi+72/MvaBysP4E4rKrO77Phn+B 9lZxW6Eh/xaMseetMFReDqa5SoPQiGLUA6oET+AVsVHu4/Q7SJpyPbyHsuCau2zX8nnR CsGIZxZHkFHBIkW0XWN/teYeLF1rhC35o1Giec9P3oeS8yFFPyyuBOHT7N0cw/LQFxkc evqg== 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=jevZr+HvLkIfabkJ9RHCFEAmFsQ/4U9+lScQ8KdTR4U=; b=MkY6nL1GmFsLfkffGNuUtmVBXo89m61kUqQ9jghcNnT5vqq55wi5EbD5a1M+15js6c h0KRInkaVjCsm93TZbZ6yePu6Zo3MHcVBIYWpzducd5qMcnhTuTvCiT5UKsCs5NTFEdg isYj+47P+bbRyBB1Z0bTeQwMnZ6FyAuaPveEA4YD8yQ1uQzJ+oisLIZyWawYl/uHqjZN MceqHyNEpOXu/CGPz/iI10aduybq1bnCOGDjADBwWsaDxlodOptCsuTECjewCAJ5w8oN 0Skju5I4YK9ZCyqdqPYY+UVBKZr/ZRu36Q8Lex7FeGQBpsd99UxNZWVi1l/RVwoYcnmS zE+A== ARC-Authentication-Results: i=1; mx.google.com; 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 t39-20020a056a0013a700b0053dca9e1efcsi2823394pfg.321.2022.09.30.07.45.01; Fri, 30 Sep 2022 07:45:13 -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; 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 S230491AbiI3OiB (ORCPT + 99 others); Fri, 30 Sep 2022 10:38:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32772 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230152AbiI3Oh7 (ORCPT ); Fri, 30 Sep 2022 10:37:59 -0400 Received: from mail-oi1-f178.google.com (mail-oi1-f178.google.com [209.85.167.178]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E208C1A88E2; Fri, 30 Sep 2022 07:37:58 -0700 (PDT) Received: by mail-oi1-f178.google.com with SMTP id s125so4944296oie.4; Fri, 30 Sep 2022 07:37:58 -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:subject:date; bh=jevZr+HvLkIfabkJ9RHCFEAmFsQ/4U9+lScQ8KdTR4U=; b=pUBWgz0dR2M+dt4QpXi3rK2yssu4mME5nkCe81RQnoXcU+/1k3tCxPqqbs3hZYe0mX ekuW8EPFkBkhRhNgz8N1w/H1S3oU652DZ7KL9V0yzpYuOQD8WcEVCS3IvwbS3ew96ylc 7EUTNF2zp7mBCDSm6ZFIKApp7uFPGWMovCsZylHNmDv4pdDjzBMk5gjfb9r0nvWJcc4E p3UqTXwDofVh90NtcbissDBVthGxMhtVe9xw+gdef31RKsuMmQn8/jWOSYGdaNqp1oRo SLEhTBg5rU+H0YRF2ojQAMXpwwXq+VzDyjacdUqP1OVJMURqmjJiGSZNSMIWrou8RseK /Thw== X-Gm-Message-State: ACrzQf1Z14573MfJkFmadpaLdqKCkvuv+s62kQNKXRBzBv8NASel0QYC Qv1iouMqbBXgIfUJK72Mln9r382wvQ== X-Received: by 2002:a05:6808:19a:b0:34f:ddfc:5986 with SMTP id w26-20020a056808019a00b0034fddfc5986mr3930580oic.30.1664548677906; Fri, 30 Sep 2022 07:37:57 -0700 (PDT) Received: from macbook.herring.priv (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id g26-20020a056830161a00b00616d25dc933sm606700otr.69.2022.09.30.07.37.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Sep 2022 07:37:57 -0700 (PDT) Received: (nullmailer pid 281631 invoked by uid 1000); Fri, 30 Sep 2022 14:37:56 -0000 Date: Fri, 30 Sep 2022 09:37:56 -0500 From: Rob Herring To: Sean Anderson Cc: "linuxppc-dev @ lists . ozlabs . org" , linux-arm-kernel@lists.infradead.org, Rob Herring , netdev@vger.kernel.org, Russell King , devicetree@vger.kernel.org, Madalin Bucur , Krzysztof Kozlowski , linux-kernel@vger.kernel.org, Jakub Kicinski , "David S . Miller" , Camelia Alexandra Groza , Paolo Abeni , Eric Dumazet Subject: Re: [PATCH net-next v5 2/9] dt-bindings: net: Add Lynx PCS binding Message-ID: <166454867358.281536.13914577954285422823.robh@kernel.org> References: <20220926190322.2889342-1-sean.anderson@seco.com> <20220926190322.2889342-3-sean.anderson@seco.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220926190322.2889342-3-sean.anderson@seco.com> X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS 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 Mon, 26 Sep 2022 15:03:14 -0400, Sean Anderson wrote: > This binding is fairly bare-bones for now, since the Lynx driver doesn't > parse any properties (or match based on the compatible). We just need it > in order to prevent the PCS nodes from having phy devices attached to > them. This is not really a problem, but it is a bit inefficient. > > This binding is really for three separate PCSs (SGMII, QSGMII, and XFI). > However, the driver treats all of them the same. This works because the > SGMII and XFI devices typically use the same address, and the SerDes > driver (or RCW) muxes between them. The QSGMII PCSs have the same > register layout as the SGMII PCSs. To do things properly, we'd probably > do something like > > ethernet-pcs@0 { > #pcs-cells = <1>; > compatible = "fsl,lynx-pcs"; > reg = <0>, <1>, <2>, <3>; > }; > > but that would add complexity, and we can describe the hardware just > fine using separate PCSs for now. > > Signed-off-by: Sean Anderson > --- > > Changes in v5: > - New > > .../bindings/net/pcs/fsl,lynx-pcs.yaml | 40 +++++++++++++++++++ > 1 file changed, 40 insertions(+) > create mode 100644 Documentation/devicetree/bindings/net/pcs/fsl,lynx-pcs.yaml > Reviewed-by: Rob Herring