Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp223476rdb; Sat, 17 Feb 2024 06:02:16 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXoQ7UGUtSv2M/v6Mxmrxv2N+44sw3n76EVx+hyjaiNT6y4qMklKNC/VwfFFvW7XaLNGtlgE+qz8c7+K9C9ENU0AaIMVL+c0xJhTyD0ig== X-Google-Smtp-Source: AGHT+IF5V1lJ43rRDOd+5bV1mHQLcCZQ9k68ySXdsz3b6PCfhg8ZswDhFd7SYPQp080yOHlYykcP X-Received: by 2002:a17:90a:af92:b0:295:cfb4:9d4c with SMTP id w18-20020a17090aaf9200b00295cfb49d4cmr6746365pjq.33.1708178535722; Sat, 17 Feb 2024 06:02:15 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708178535; cv=pass; d=google.com; s=arc-20160816; b=lnEpnCgnNvZPsxpJlaVePfQ0zJkorOY9UfhJlnuOoM0zvk0Q7AWt+ifRsIdy4Cq6ws Bsj9p4cP1PelyPvDdk2xBls3HilTmBYg9Pnlzfj6lmQTkKW8NYNbo3MZzFbQZmKh/FCP Coil5dyqIBUQn/uG+sSt0s+QModKudLTeMxnr2ItJMxkFbAlH5JE46lO/k1pZEhzO40c J3o7vudVbHsNREDPEgLfDSWOCdeygVEZaWloh3q0c7+taQxm/+MnF1FnJ1Vi4l0FI+K6 OwZRu8MMUE8Ex8ZFTcufQgNjeDrMFocY0zrtOZxrt5CbH9dMm+fmxT2c9VTImYo6z+so zQ1A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=XausAk3wcLMS6aTKh7J69TRAU825TD7w7U2A7K837UA=; fh=AzG+aMcBE3pwd46dGW535zXAu6hwbqLS4y2wK+4np2Q=; b=rtDIxZ2UarMcwDn3r5SVlGGmn+SS/FVTx6ktT0UO0su88btncpcBNZkbE1rApWsQVi j3XnMRjGwv7zTcBRnT4NqCvKKqGD5AdxExqnuScLNIWYaB9INdptvHqbgGF4v+SRiJxA 5ay62/YWPCb7RXFT0LKsfXDTer5KDuBYK2R9gLPF/kRsGepLne2fUjGI/d1Xi2gKLlWK gLaEO6GhStdCd6LZSBzv+5DksjMUV3bhqq+s/CvPWWL+LWr2umz4FFpQXo5E8n6+Oq1y Ama45Mx/9MjQYefwhVGWx+l/I32nNxvXfoPDWCbJuH5Se3wQh8BhJIctcJ6TQ0XPy6Vj KpnQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HFfH7NS+; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-69889-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-69889-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d10-20020a17090a498a00b002997626b137si77067pjh.61.2024.02.17.06.02.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Feb 2024 06:02:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-69889-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HFfH7NS+; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-69889-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-69889-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 4C01C282DBD for ; Sat, 17 Feb 2024 14:02:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7ECF57B3CD; Sat, 17 Feb 2024 14:02:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="HFfH7NS+" Received: from mail-lj1-f172.google.com (mail-lj1-f172.google.com [209.85.208.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6DF697A727 for ; Sat, 17 Feb 2024 14:01:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708178521; cv=none; b=PLoi8WcZjNTVJsUw0d3LaVHmrGreehLGtYqE3SUB4yfXj152u+InQv3Pfcu7+U+4suh15fCfAuGsUlZ05P18O7C92iN4INPo7lGucfhb/XeFCW23McBqaICfAU9fS1VwB+lvuw5yls2f/efErYf7yF3U4AAjgv+A4eAr1EoU5zU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708178521; c=relaxed/simple; bh=UqbGwt0t6wp2BJOZU3Pyz2nrZoLA3E0RRUpLzG5ehA8=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Jio0Z+U9FYnIFprvuwAUqCpybpqHCD/3/HKtYoCmp9iE9i8Y2og9qASJBqUq34WFBxO2RS7FfNQOqvJEF3+hf5U7SyrHqLe9WkX3OTNWsrJFgEVEbWqJlXaEh5p6ThFiIjBvzw2Gy79LakRO3g+xtL/xRHv7sNz6YdwWJThTmGo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=HFfH7NS+; arc=none smtp.client-ip=209.85.208.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-lj1-f172.google.com with SMTP id 38308e7fff4ca-2d109e7bed2so37482121fa.2 for ; Sat, 17 Feb 2024 06:01:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708178517; x=1708783317; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=XausAk3wcLMS6aTKh7J69TRAU825TD7w7U2A7K837UA=; b=HFfH7NS+Jm1ayYZNpvdC4j7VUVlwtmFqnubAEbqSTMHY23Eb80Ad8tWeOByMZUeAEd gHlTWY3/k8pyxNilg+llxMXnfvKNM2JDKidIDUKGsSigmuphvcmcFRt+OY6u2DDvFNQC Qmvg/RQ7Lfu85rc+SS2YCs+Cv0S1UnF0RTPyySUUCEVSaGjd6HXjUKVMp2lIZg7yn1Y8 1t0hfdI/8xvT7wT2sytbUFf3u8s+Lo3FoHeO5U5m68UabottirMA/+i854dw1kTtNgch cg+ShLMIAQQjZTFXNqckVrx6OJlnBWlP3XRtWFTixH3kizJmYY3reK3o5oLs9WwDVZnw EmIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708178517; x=1708783317; h=content-transfer-encoding:in-reply-to:autocrypt: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=XausAk3wcLMS6aTKh7J69TRAU825TD7w7U2A7K837UA=; b=wvRFjKD4kMPpuR5qxS0xjgIAXXLeZjb/LhOwhvQBMKuCvIcljcjncDHsSOaEsrWHgc ImMYcmi4WznJcONGTpAtRFlgLJ1CTqf9fXrueJbsTxd8Le3iAsOWEdEGxELmzTTovC4M ZSrlsXTOYMCJIS1q4RCqd72SZ48YXmztrInlMcP2VFQ8QtJWRgnwZJgqwlwiokEw9MXC zZ1kHdpa+Wms7wibFN8x7YWn3NYQl97+Tyz5rn8sQi3theBtapmwhAtR3in6QHRVICKZ Gua9/qXe+wUVgcMsnOKSGtNyxpm8V4EWHcHy81TVH9DwsDG45d/VspRlN3r20z3nYvDD Lcyg== X-Forwarded-Encrypted: i=1; AJvYcCUf9i010I9FWMAMt7zw2xpkO0X17kkPhb7cShByFMaYXhPoH0pPP1MMJmFCHyaW0YETFcxXnvvbpnoXyzjrDWuxT320AbT4BE175+JO X-Gm-Message-State: AOJu0Yw2xRqvuj6n+H1S3BSHnzsqUbJQKgFuYkhnhtgYPul6rh7bEHYy ARlwY8CJiWo50RClzqmtBlqE/lZALVBuD+ngtWvjQ1DKY5LXiLai5/XrXgeebTQ= X-Received: by 2002:ac2:5926:0:b0:511:694b:245a with SMTP id v6-20020ac25926000000b00511694b245amr4853944lfi.58.1708178517566; Sat, 17 Feb 2024 06:01:57 -0800 (PST) Received: from [192.168.0.22] ([78.10.207.130]) by smtp.gmail.com with ESMTPSA id vh6-20020a170907d38600b00a3cf436af4fsm1008809ejc.3.2024.02.17.06.01.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 17 Feb 2024 06:01:56 -0800 (PST) Message-ID: <0d7b5549-f56b-4693-878f-e513fbf5ca16@linaro.org> Date: Sat, 17 Feb 2024 15:01:55 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net-next v4 11/17] dt-bindings: net: pse-pd: Add another way of describing several PSE PIs Content-Language: en-US To: Kory Maincent , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Jonathan Corbet , Luis Chamberlain , Russ Weight , Greg Kroah-Hartman , "Rafael J. Wysocki" , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Oleksij Rempel , Mark Brown , Frank Rowand , Andrew Lunn , Heiner Kallweit , Russell King Cc: Thomas Petazzoni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, devicetree@vger.kernel.org, Dent Project References: <20240215-feature_poe-v4-0-35bb4c23266c@bootlin.com> <20240215-feature_poe-v4-11-35bb4c23266c@bootlin.com> From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQ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hSJrvMJzPT/+u /oVmYDFZkbLlqs2XpWaVCo2jv8+iHxZZ9FL7F6AHFzqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <20240215-feature_poe-v4-11-35bb4c23266c@bootlin.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 15/02/2024 17:02, Kory Maincent wrote: > PSE PI setup may encompass multiple PSE controllers or auxiliary circuits > that collectively manage power delivery to one Ethernet port. > Such configurations might support a range of PoE standards and require > the capability to dynamically configure power delivery based on the > operational mode (e.g., PoE2 versus PoE4) or specific requirements of > connected devices. In these instances, a dedicated PSE PI node becomes > essential for accurately documenting the system architecture. This node > would serve to detail the interactions between different PSE controllers, > the support for various PoE modes, and any additional logic required to > coordinate power delivery across the network infrastructure. > > The old usage of "#pse-cells" is unsuficient as it carries only the PSE PI > index information. > > This patch is sponsored by Dent Project . > > Signed-off-by: Kory Maincent > --- > > Changes in v3: > - New patch > > Changes in v4: > - Remove $def > - Fix pairset-names item list > - Upgrade few properties description > - Update the commit message > --- > .../bindings/net/pse-pd/pse-controller.yaml | 84 +++++++++++++++++++++- > 1 file changed, 81 insertions(+), 3 deletions(-) > > diff --git a/Documentation/devicetree/bindings/net/pse-pd/pse-controller.yaml b/Documentation/devicetree/bindings/net/pse-pd/pse-controller.yaml > index 2d382faca0e6..6f4faec216a5 100644 > --- a/Documentation/devicetree/bindings/net/pse-pd/pse-controller.yaml > +++ b/Documentation/devicetree/bindings/net/pse-pd/pse-controller.yaml > @@ -13,6 +13,7 @@ description: Binding for the Power Sourcing Equipment (PSE) as defined in the > > maintainers: > - Oleksij Rempel > + - Kory Maincent > > properties: > $nodename: > @@ -22,11 +23,88 @@ properties: > description: > Used to uniquely identify a PSE instance within an IC. Will be > 0 on PSE nodes with only a single output and at least 1 on nodes > - controlling several outputs. > + controlling several outputs which are not described in the pse_pis > + subnode. This property is deprecated, please use pse_pis instead. > enum: [0, 1] > > -required: > - - "#pse-cells" > + pse_pis: How did this appear here? Underscores are no allowed. > + type: object Missing description. > + > + properties: > + "#address-cells": > + const: 1 > + > + "#size-cells": > + const: 0 > + > + required: > + - "#address-cells" > + - "#size-cells" > + > + patternProperties: No underscores. > + "^pse_pi@[0-9a-f]+$": > + type: object > + description: > + PSE PI for power delivery via pairsets, compliant with IEEE > + 802.3-2022, Section 145.2.4. Each pairset comprises a positive and > + a negative VPSE pair, adhering to the pinout configurations > + detailed in the standard. > + See Documentation/networking/pse-pd/pse-pi.rst for details. > + > + properties: > + reg: > + description: > + Address describing the PSE PI index. > + maxItems: 1 > + > + "#pse-cells": > + const: 0 > + > + pairset-names: > + $ref: /schemas/types.yaml#/definitions/string-array > + description: > + Names of the pairsets as per IEEE 802.3-2022, Section 145.2.4. > + Valid values are "alternative-a" and "alternative-b". Each name > + should correspond to a phandle in the 'pairset' property > + pointing to the power supply for that pairset. > + minItems: 1 > + maxItems: 2 > + items: > + enum: > + - "alternative-a" > + - "alternative-b" No need for quotes. I believe you did not test it, so I will skip reviewing the rest. Best regards, Krzysztof