Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp355504rdb; Thu, 8 Feb 2024 07:52:38 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUdyq6/Jb6TOGb5PFSuSirI0PBW1lNo0HBzaGRxvPtRlDJVItlGouM/x5vr/VRu4s1RNYYuCNuiBogTgYz2pNUraXg9yc/KzsFip+rkQg== X-Google-Smtp-Source: AGHT+IEHK7YcG8Hj6DKYMP4em1ZM9cRZyy78asecAnNBmgBllf9N4WfY2Jv8gM0pZ5pKaqRHwb3L X-Received: by 2002:a05:620a:1471:b0:783:bd4b:d617 with SMTP id j17-20020a05620a147100b00783bd4bd617mr9774743qkl.5.1707407558111; Thu, 08 Feb 2024 07:52:38 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCWhiuuuNugxLY9Q9zmBaarPlJRQqcC26LHGs698mG9IfZZ/5zuPyoCdSnw7m0b5NaOaCN/LxissHw/iXM8tU8R9wS4cnWFiNNQ/xzmnPA== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id p7-20020a05620a22a700b007859e49411bsi228171qkh.456.2024.02.08.07.52.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 07:52:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-58308-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=k20201202 header.b=mAjaHjvE; arc=fail (body hash mismatch); spf=pass (google.com: domain of linux-kernel+bounces-58308-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58308-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 54C531C224C5 for ; Thu, 8 Feb 2024 15:51:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A09DE7E568; Thu, 8 Feb 2024 15:51:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="mAjaHjvE" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B42117D3EF; Thu, 8 Feb 2024 15:51:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707407497; cv=none; b=Mh4qSkxqz+jVVpDqgf557UHp8L4vNAqpR4okaSENyhXoPX24PPh6IIi3ar3cqD6jQxkbYN4VtWaGacye//itkorCWTt81BNGt0yzLo7fVaNVRDqryET0Gl21+Q9EW4doM+8YRla8BuVNsFQkjLHIJlgrLki6RDIUzkEh0wdssEU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707407497; c=relaxed/simple; bh=pZfXrBkwGay5L9BMtIlCVo0mfp2MwiUrwSuB47mE3nw=; h=Date:Content-Type:MIME-Version:From:To:Cc:In-Reply-To:References: Message-Id:Subject; b=jonjDM4WB6BRNPKpn0N+T/D/QWO3/6bPaVO70/IQdJmjx5J3gC7BdWi1uEw7YYJYmDMe36j/5Eh+j7he9qFLkSqKenE0YonCbUV8E8KgkDBUPUsSNpnVwfhFcDQYd6Qoitt1adQsLPkMiziTIPpvXGR8UTEvot3HtRkghpq6q8w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=mAjaHjvE; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B4177C433F1; Thu, 8 Feb 2024 15:51:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707407497; bh=pZfXrBkwGay5L9BMtIlCVo0mfp2MwiUrwSuB47mE3nw=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From; b=mAjaHjvERjl4qwIpijalwfrTU7vg66Vk6ElIpkZ5fqnM0e3gFhG/OTwtpp1GM/T53 o945l9J7uXnt6sg2wUkv7DT/x80n2QWnlt4sAzb0469yjdhuOuf3ikkbTWnhzXjhs+ QpkLOsp05LvLG2L0z3ixQDe8fck1buWnV1U9/BL3WTbhWS1ZbhIH3NnsOqi+R3kcPF GKTgEKNQi1IUr3un61uaseuqU0LV1elp1pd/ihVo8R5RlUd4Z79NOjoEIWe4cDJvrk V8bLMhSEa1GBDMjZKoVMOqESYLhX5D5DkFpZAI7o8qwdc18fINO1wcX7mykrwxwJTd MMu4TlI0bBEQA== Date: Thu, 08 Feb 2024 15:51:35 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Rob Herring To: Kory Maincent Cc: Conor Dooley , Greg Kroah-Hartman , Dent Project , Jakub Kicinski , Luis Chamberlain , Mark Brown , Russell King , Russ Weight , linux-doc@vger.kernel.org, Krzysztof Kozlowski , Heiner Kallweit , netdev@vger.kernel.org, Oleksij Rempel , "David S. Miller" , devicetree@vger.kernel.org, Eric Dumazet , Rob Herring , Frank Rowand , Paolo Abeni , linux-kernel@vger.kernel.org, Thomas Petazzoni , Andrew Lunn , "Rafael J. Wysocki" , Jonathan Corbet In-Reply-To: <20240208-feature_poe-v3-10-531d2674469e@bootlin.com> References: <20240208-feature_poe-v3-0-531d2674469e@bootlin.com> <20240208-feature_poe-v3-10-531d2674469e@bootlin.com> Message-Id: <170740748991.3230450.367502029480356760.robh@kernel.org> Subject: Re: [PATCH net-next v3 10/17] dt-bindings: net: pse-pd: Add another way of describing several PSE PIs On Thu, 08 Feb 2024 14:08:47 +0100, Kory Maincent wrote: > Before hand we set "#pse-cell" to 1 to define a PSE controller with > several PIs (Power Interface). The drawback of this was that we could not > have any information on the PI except its number. > Add support for pse_pis and pse_pi node to be able to have more information > on the PI like the number of pairset used and the pairset pinout. > > Sponsored-by: Dent Project > Signed-off-by: Kory Maincent > --- > > Changes in v3: > - New patch > --- > .../bindings/net/pse-pd/pse-controller.yaml | 101 ++++++++++++++++++++- > 1 file changed, 98 insertions(+), 3 deletions(-) > My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' on your patch (DT_CHECKER_FLAGS is new in v5.13): yamllint warnings/errors: /Documentation/devicetree/bindings/net/pse-pd/pse-controller.yaml:80:13: [warning] wrong indentation: expected 14 but found 12 (indentation) /Documentation/devicetree/bindings/net/pse-pd/pse-controller.yaml:80:15: [error] string value is redundantly quoted with any quotes (quoted-strings) /Documentation/devicetree/bindings/net/pse-pd/pse-controller.yaml:81:15: [error] string value is redundantly quoted with any quotes (quoted-strings) dtschema/dtc warnings/errors: /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/net/pse-pd/pse-controller.yaml: $defs:pse_pi:properties:pairset-names: {'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.', '$ref': '/schemas/types.yaml#/definitions/string-array', 'minItems': 1, 'maxItems': 2, 'items': [{'enum': ['alternative-a', 'alternative-b']}]} should not be valid under {'required': ['maxItems']} hint: "maxItems" is not needed with an "items" list from schema $id: http://devicetree.org/meta-schemas/items.yaml# /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/net/pse-pd/pse-controller.yaml: $defs:pse_pi:properties:pairset-names: 'oneOf' conditional failed, one must be fixed: [{'enum': ['alternative-a', 'alternative-b']}] is too short False schema does not allow 1 hint: "minItems" is only needed if less than the "items" list length from schema $id: http://devicetree.org/meta-schemas/items.yaml# doc reference errors (make refcheckdocs): See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20240208-feature_poe-v3-10-531d2674469e@bootlin.com The base for the series is generally the latest rc1. A different dependency should be noted in *this* patch. If you already ran 'make dt_binding_check' and didn't see the above error(s), then make sure 'yamllint' is installed and dt-schema is up to date: pip3 install dtschema --upgrade Please check and re-submit after running the above command yourself. Note that DT_SCHEMA_FILES can be set to your schema file to speed up checking your schema. However, it must be unset to test all examples with your schema.