Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp1284820rdb; Sat, 18 Nov 2023 09:48:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IE4HFsL5ykluzOS8g1V37ccJ+g2PWuxlPOPb0cF/kAGqzi2AiyrSYszrb/3y8yS74CxPehL X-Received: by 2002:a05:6a21:7899:b0:187:61a4:86fa with SMTP id bf25-20020a056a21789900b0018761a486famr2564311pzc.28.1700329697840; Sat, 18 Nov 2023 09:48:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700329697; cv=none; d=google.com; s=arc-20160816; b=PMs7B8OqCZQ3wosrj+aH7XfJDgaFfMC43uongfHaw9Qfnn+dZee+0Lc93uvE9bBK4D jHewz2siMkSH/zHShROhtLWVDn5QOtoz9FhbINHQYpJlETHLgXq02pLPQRwDmlvJ7QK3 Ht+VxZujy7cJPDp+XR+Z/zjkbLRWUO0bIoAeM+9+vUNwdXoLfZYTEOYavDrD5np0AK6Q 5p5LvnDOXPe4wtjnqWeqp1CGEcxg2/zEllMINP6cOxPkXeekdUjg3cuPJIkc2IG79rFA 10doz97A4cIsHgKVE0AsP/B4aIctY7S+Pa5ivZv0TMkq22R3hF2hpYi/BHt+9zoCZ4WT w4hg== 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:dkim-signature; bh=+oEK+naRT7fW5EmkfkwfcZ0PjJ55q4+LYYoW9SH6u1U=; fh=anR83VnebCnFk0PXjNd0u5aPkueoSFMWJfmpcwd/gG0=; b=K8lBplEuJpZ0gsHNVqvLW4WgYXr48XE9sga2yk8V3BNfDbcGppjbcs2RB6cPkSYg8C 7J+ZMUE06Yjj1TVR/5jmb7SrPpHzKVIKwjncxCQEZbQ2Q4KEeza/23LLmnHa31w/0/Qt SO7G1Adip6FCdO6e+o1FAoRFmHz2t0BgPFdiI5+X5GPGVlahKYNZKeC3ty7xvUjHtcam r4oICqHr9XKB6TLYCDp83kFSNcqCDvUJ+BCE8cF3tA6GlzHZy6usckDM20Yo5HBCSLP5 DBrUuooBTOs8NdCqkLOQ9ohEPiOm2nySVI93W7oNhN0DdA7tig8EpXvs0pA6rKSQRbaW Ba1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=HePM0ZXP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id o12-20020a170902d4cc00b001ce6273ff3bsi3709126plg.402.2023.11.18.09.48.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Nov 2023 09:48:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=HePM0ZXP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 8A2EA805365E; Sat, 18 Nov 2023 09:48:15 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230258AbjKRRsJ (ORCPT + 99 others); Sat, 18 Nov 2023 12:48:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56352 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229884AbjKRRsI (ORCPT ); Sat, 18 Nov 2023 12:48:08 -0500 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 33F1B1AD; Sat, 18 Nov 2023 09:48:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=+oEK+naRT7fW5EmkfkwfcZ0PjJ55q4+LYYoW9SH6u1U=; b=HePM0ZXPAC/PI8Lw9i2KLfA7mi 4EuQtKy3Y7iuastmCWwV8xra5eppTwA+BrM10mzpmi26wbpVpU9I0DwoGDtQHOojDHxjfQzccwCmO U3gNgkxehXqEdI3JkjHR/pWiEPfOxd2+2kr9Fj+XaovLLh/ZtaZwpBsyi2LKHeMtNiQE=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1r4PQ6-000WHI-4p; Sat, 18 Nov 2023 18:47:50 +0100 Date: Sat, 18 Nov 2023 18:47:50 +0100 From: Andrew Lunn To: Krzysztof Kozlowski Cc: 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 , Thomas Petazzoni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH net-next 8/9] dt-bindings: net: pse-pd: Add bindings for PD692x0 PSE controller Message-ID: <2332a2e2-740f-49a6-8bef-d90ed010a434@lunn.ch> References: <20231116-feature_poe-v1-0-be48044bf249@bootlin.com> <20231116-feature_poe-v1-8-be48044bf249@bootlin.com> <6b39c522-1486-4e30-b958-b8a57104cede@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6b39c522-1486-4e30-b958-b8a57104cede@linaro.org> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email 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 (lipwig.vger.email [0.0.0.0]); Sat, 18 Nov 2023 09:48:15 -0800 (PST) > > + ports-matrix: > > + description: Port conversion matrix configuration > > I do not see such property defined anywhere. Your description should > explain what the purpose is and what it is exactly. Currently you just > repeat property name, so quite pointless. I have to agree. You appear to have a device which can supply power to 48 RJ-45 connectors on the front panel? Which probably maps to 48 ports of a Ethernet switch. How do i use these properties described here to say that eth42 connects to port 42 of the PSE? > > + $ref: /schemas/types.yaml#/definitions/uint32-matrix > > + minItems: 1 > > + maxItems: 48 > > + items: > > + items: > > + - description: Logical port number > > + minimum: 0 > > + maximum: 47 > > + - description: Physical port number A (0xff for undefined) > > + oneOf: > > + - minimum: 0 > > + maximum: 95 > > + - const: 0xff > > + - description: Physical port number B (0xff for undefined) It would be good to explain what Port A and B are. It might be obvious to somebody who knows PSE, but i have no idea... Andrew