Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp647351rdh; Sun, 24 Sep 2023 06:05:29 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG3YBcTkns7PInc96togbS7vSZX5+Z2whnr+92Z0CoVNY+Z8YBeWdMLUe8eChrdLIjCOqvI X-Received: by 2002:aca:1c14:0:b0:3a7:250a:7948 with SMTP id c20-20020aca1c14000000b003a7250a7948mr6162348oic.13.1695560729244; Sun, 24 Sep 2023 06:05:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695560729; cv=none; d=google.com; s=arc-20160816; b=OjkRzg//3qYjgvaaTCXcWqvcxvRk0R7nTritRjzCL2YOgtixTdLrEHfdkJovg+LoUf dhUSHKgGc5cfbbn00ADAA8MrIzqJlDSnGi/k7SJxjBJ9KaRWaGvkFaFiwGzb2tSOm+gr cu27uqIb52KSt0MUmB4NLhOFpN4wwvNbxyf9lYbO11yPm0YpaTxD5w/w6r+27LOB5rl7 eQSc1eJ6EQZzwHjhldWbTSAGwSkbTxkGZq6+q9Qb+d4fE80JaZB9TczvPSKUKmR2p/UB 4x/mNGQwgEotA/2oR8xzYeCtZ3z7ew99/D40xJEcKPEuQM7A0OIW1b2QlAPg+VUjZUG3 wNaw== 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=ZKXfDq8RFlFcunVG3b5trMiuX2cCUltogo9A0LQGHcA=; fh=lqLOykNsE02JG3rKcoer9yljkT4oIppQ6ctttKWzlfw=; b=Wt0LBN0tBZKLnxuhRa80BKMV4Z9qqYXnsdsmIwVaBwU3NIEiiaXDO5b0T/GK9Pec58 O11f9sRiaKfy/waZRU5T5n5ZIoNNxAApQGUW9yhuGTiKgP0L1tv5eXldSH4ov2jn6kMQ RHypHfAsQ5adyfaGKtSa2IwDf6uq2Cf5uOVtgyeKwI2kJDITd2iaH873shZ3iQszPZJn Pl2mGom84t+UfovRQvqdT4Y0MkpDJ1+aPyiseWNJ+3N+49dfEn4mNAEQUD6iN9gB4Ymt ST4WSGx5w8UwEKa+SBeFNrhrS2sP3qm9sGVj0iC8tqZZrQ6dPC02RIUH+ZNOpHky56Ug GUgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nTRsnw6E; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id by28-20020a056a02059c00b005702257f332si8642965pgb.21.2023.09.24.06.05.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Sep 2023 06:05:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nTRsnw6E; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 2333480BBC6B; Sun, 24 Sep 2023 04:49:33 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229482AbjIXLtg (ORCPT + 99 others); Sun, 24 Sep 2023 07:49:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35386 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229459AbjIXLtf (ORCPT ); Sun, 24 Sep 2023 07:49:35 -0400 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A3DEAB for ; Sun, 24 Sep 2023 04:49:29 -0700 (PDT) Received: by mail-ej1-x62b.google.com with SMTP id a640c23a62f3a-99c1c66876aso570850466b.2 for ; Sun, 24 Sep 2023 04:49:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1695556167; x=1696160967; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=ZKXfDq8RFlFcunVG3b5trMiuX2cCUltogo9A0LQGHcA=; b=nTRsnw6EL0jyn+nqscuJdE2iZEo1YgzK5Ytdal9FS4U8kKn/HCFWxhX7Wj/1hRNeK3 xnN6wT6DXCkl38Gv1jy9dSWBSfHfeuTkBCbBUEKwSpRfn2f/3dJ+zecNDxaSmT8usrJD iUEKGHsQurAEtQ7VEBScOK7nYB4OfEpU88zrD5l1upmzGaNB5c473YVL5f8PlVHqbdxf eOgvZb1rrse1p6RnNP/aAgQVu5RP6ra5PDfj+b3mpdtDd9HavLavMl64DXGa1enhDzja MKxQI6eewWEQcP/TmbZ8OnE+ljj0Z7ks/1tAiSV0Ow/+BtWqV4IxYrtWoluHU5c8vvJF WQJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695556167; x=1696160967; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ZKXfDq8RFlFcunVG3b5trMiuX2cCUltogo9A0LQGHcA=; b=I7KfRqNA+eS3AeGGBMYULeg9sjvxp1Yb1x8fRThS14WsVgsL6mFlmjN81x+E1crhP+ C/ZYr45Pb16vSrQ+HQ2WO/hCVfbSMfnzGkIJ0Kkxx9WPR9o7u06iCpdUDbp8oPI+V3uZ ashyOIglaAteJVB8c2c1ifXk3G2oNM6qSYVWixu/0+6sKkZ2UBU55qegn45zfyUqnm5c XT4z62qUQuVHtITiUmWH463NA5fDcLfKdFsGG5RcnwFIcmwwqfiSdSERLq9R1BhKes3d IbzIM7gfxTDTBfiD8e9CVg60/6K5Cfh4gVYTs/zu984D2bA9jbSA/xFPcmtc2CHTfWGA ZmVA== X-Gm-Message-State: AOJu0Yy/2LsPHx5cTmL6D8tlE2RhCZb1Mk8ky6O/lJz1D4hqcDDAb8Uz X0yMS0jt6JU5HQTjt4heyt6ZPSKROGy3LB9x2gM= X-Received: by 2002:a17:906:101a:b0:9ad:f143:e554 with SMTP id 26-20020a170906101a00b009adf143e554mr3628124ejm.30.1695556167561; Sun, 24 Sep 2023 04:49:27 -0700 (PDT) Received: from [192.168.1.20] ([178.197.219.100]) by smtp.gmail.com with ESMTPSA id a19-20020a170906275300b0099290e2c163sm4899657ejd.204.2023.09.24.04.49.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 24 Sep 2023 04:49:26 -0700 (PDT) Message-ID: Date: Sun, 24 Sep 2023 13:49:24 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [RFC PATCH v2 net-next 13/15] dt-bindings: lynx-pcs: add properties for backplane mode Content-Language: en-US To: Vladimir Oltean , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org Cc: "Russell King (Oracle)" , Heiner Kallweit , Andrew Lunn , Florian Fainelli , Madalin Bucur , Ioana Ciornei , Camelia Groza , Li Yang , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sean Anderson , Maxime Chevallier , Vinod Koul , Kishon Vijay Abraham I References: <20230923134904.3627402-1-vladimir.oltean@nxp.com> <20230923134904.3627402-14-vladimir.oltean@nxp.com> From: Krzysztof Kozlowski In-Reply-To: <20230923134904.3627402-14-vladimir.oltean@nxp.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Sun, 24 Sep 2023 04:49:33 -0700 (PDT) On 23/09/2023 15:49, Vladimir Oltean wrote: > When the Lynx PCS is deployed on a copper backplane link, it must be > prepared to handle clause 73 autoneg and clause 72 link training, which > it can do using a dedicated AN/LT block. The latter doesn't need to be > described in the device tree, because it is discoverable from the SerDes > lanes. > > The media type that is deployed on the link is not discoverable though, > so the introduction of a fsl,backplane-mode boolean property appears > necessary to determine whether the AN/LT block should be employed, or > left bypassed. > > Signed-off-by: Vladimir Oltean > --- > v1->v2: patch is new > > .../devicetree/bindings/net/pcs/fsl,lynx-pcs.yaml | 15 ++++++++++++++- > 1 file changed, 14 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/net/pcs/fsl,lynx-pcs.yaml b/Documentation/devicetree/bindings/net/pcs/fsl,lynx-pcs.yaml > index fbedf696c555..40fbcd80ee2a 100644 > --- a/Documentation/devicetree/bindings/net/pcs/fsl,lynx-pcs.yaml > +++ b/Documentation/devicetree/bindings/net/pcs/fsl,lynx-pcs.yaml > @@ -16,11 +16,24 @@ description: | > > properties: > compatible: > - const: fsl,lynx-pcs > + enum: > + - fsl,lx2160a-lynx-pcs > + - fsl,lynx-pcs > > reg: > maxItems: 1 > > + phys: > + maxItems: 4 > + description: > + phandle for the SerDes lanes that act as PMA/PMD layer when the PCS is > + part of a copper backplane PHY. > + > + fsl,backplane-mode: > + $ref: /schemas/types.yaml#/definitions/flag > + description: > + Indicates that the PCS is deployed over a copper backplane link. > + Please extend also existing example. If these do not apply to lynx-pcs, then they should be disallowed in allOf:if:then. Best regards, Krzysztof