Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp2099662rbb; Tue, 27 Feb 2024 10:31:49 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWmqLUwQYEorG3Gdaccx2Pu5fDvAN+PTE52Vs7nmYike2ycU3tk3SBK/75ORyO3b1UIYPGOnRjH43gvq4NjE6AIwkhTcizPMDBtBmeyig== X-Google-Smtp-Source: AGHT+IF2OWpHjf+PFGC24zQw3DzK2+kJz3VFf5VcljOgPdx5vcc6r35e9hqoygnhuZ/pyBHHtHjG X-Received: by 2002:a17:902:db02:b0:1dc:2d4d:45a1 with SMTP id m2-20020a170902db0200b001dc2d4d45a1mr12423140plx.19.1709058709726; Tue, 27 Feb 2024 10:31:49 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709058709; cv=pass; d=google.com; s=arc-20160816; b=IIXwaFhFTQAloJCfdjbTOtwnVEEqDaE08aIP6DzT6G6XhYVGcO5vnsLY7tqTaptoCK Y3kkLCIdQdWWRHqSVkfMNAOUES0dYtlvtp5MxcuGNQ6HFduhGO2+pVk4UdlIqj/dZvLl cXt+1kAQGpXD71Yx16TJW82CbBkhi+joNX2wbEuZOB3gPkcFClDFsUeSbEk1+DpXnVZ5 eJhM9KJyMDKg42a7FmvpRu1vyUswqdmYgEMNB23e9yI1oGTQLzob7zsWD+Ep69M5pKVE PUWZ8fAjQ5t0CNzxCgqc8P1TgYagY/X9Q1jKPo+I3ytmgGmgpdeBg8CnmA+YYKF3baqF E8aQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=gRYaqYRi+3F/3uHRenTFC45AylG9BESTewFZhEha2sQ=; fh=txAnyubenyWQ41ZJHkRxayA5Gq1Y5Uasl6jjGKBGm0c=; b=dJh4rB4y+Xs6c23kZl3XdsU9TQGsSbXFPC7wz/TG7037OIl2BcNWg+mQRhiIIi2xQc jOBYUNZOpItMlHtQpxcXz5XL9SvV+J74wzjnPxElIZDLMKgL3xGqViUSWxMBNam4lL5B 3emvOSeYUqJ8nnRJC58DvE6AvW+eOrCIv5mpeSInb/MDwC79PK6m1yVxMGSNuDw/drZF B44lPIXX4qHYf52p++qOLHiFKVfS7eIGWlkxeEZOYrzLccd57Rb2YrVcADhUX2Z3eBh4 0R0C401gXyy3Vx8GrEA1fow5W3IVRwjpceq0S8ZqWQJRBd6hYVgXFgGwWoFjkHyjf00U GZ5Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@mojatatu-com.20230601.gappssmtp.com header.s=20230601 header.b=F5WsoJYQ; arc=pass (i=1 dkim=pass dkdomain=mojatatu-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-83505-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83505-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id m8-20020a170902db0800b001d9f2674003si1774764plx.121.2024.02.27.10.31.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 10:31:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-83505-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=@mojatatu-com.20230601.gappssmtp.com header.s=20230601 header.b=F5WsoJYQ; arc=pass (i=1 dkim=pass dkdomain=mojatatu-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-83505-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83505-linux.lists.archive=gmail.com@vger.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 41A5328881C for ; Tue, 27 Feb 2024 15:31:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 727BB14534C; Tue, 27 Feb 2024 15:31:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=mojatatu-com.20230601.gappssmtp.com header.i=@mojatatu-com.20230601.gappssmtp.com header.b="F5WsoJYQ" Received: from mail-yw1-f177.google.com (mail-yw1-f177.google.com [209.85.128.177]) (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 A604E14532D for ; Tue, 27 Feb 2024 15:31:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709047879; cv=none; b=QmlqDhwufSeDn50JdeCcjHpBA5c2R/ai5HOsU6xPWYVdr7LTlMtbC0l3Yy3lxOU1VqOBHttwkBp0AIwfxBPpfqzTbqMXKZKRHK9Z8niS3M+W/Q3Ux0hDPPt3+LFiJHPPbwAcze8dqr+6MYH3f+WBfLbSOykl5twtO3O08gIjPT0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709047879; c=relaxed/simple; bh=/M8wynPJ9hWR3NdkG8xbaATbFhESmsZqG6LLBAZyUR4=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=uPnAKFWpA7YK3fv5zALQcRmcDUQ3wVc1F93qbFpTBghMWSgoU7GvS5iffJi3za/mvkVeuC3xI03C+RtK6wGpEbaufKEJHZSF9Gvxw2dMCeGRZ+hOGgQ4VQ36llLnrc0AT9377CsU+clMD3+rf6hNq6UyrUCGl0JGrcYKd1I5fvs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=mojatatu.com; spf=none smtp.mailfrom=mojatatu.com; dkim=pass (2048-bit key) header.d=mojatatu-com.20230601.gappssmtp.com header.i=@mojatatu-com.20230601.gappssmtp.com header.b=F5WsoJYQ; arc=none smtp.client-ip=209.85.128.177 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=mojatatu.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=mojatatu.com Received: by mail-yw1-f177.google.com with SMTP id 00721157ae682-608342633b8so40532507b3.1 for ; Tue, 27 Feb 2024 07:31:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mojatatu-com.20230601.gappssmtp.com; s=20230601; t=1709047876; x=1709652676; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=gRYaqYRi+3F/3uHRenTFC45AylG9BESTewFZhEha2sQ=; b=F5WsoJYQK5AH1MPqbbHIYhug+7Pyz8L8FB/wfVealauGGoMB4M3llImhTkTWnvVcxM l8idYkOFGQscDsEQs48Udv8mvGdWY8AoNujzuLPeiXcAgF57cUCpOGi73N85Nof+OfhX 6+xC9vtN0d1vuLSiOzGbV+Be5oQ3NKu4Z7G9jOOLjfPPIciCMiUqDRY5kLKDij8NTt4V izxpyv4lZbmUBhnl9/hhfiAOKwK6HRgObsHN1t4wOip2alc5illGJmIfFJSvnQii2g68 yS59Yg3QclVDh/samMgr6c0guF3+4YrXKszk74VFaQdWacwyMKxYwCaoY54UduJ/IUpM oPzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709047876; x=1709652676; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=gRYaqYRi+3F/3uHRenTFC45AylG9BESTewFZhEha2sQ=; b=I7rfGknHiwM6aThshXzX87cY+dxMumEEsviBZqZKPLnsTXp8+7FrC5sMSK6xbUnQZG 8x6AUhK0IU0DKjaOiIjyjWfBP4G36Yvgc/IPPmvc7UBLf5AI7a3FaZJn/+jG+/feKUVO 7jkDuY3U7sdkQfGmgOUdXi9V+WrP6YH1cVfWvhYY0L19UBU/KQNNIhPLHJDcCnUHcl4M uktt7LwPiXuz2Ah/f7Sq7J/YkO4aVqVnqW7dtOcN6obrQlbKWZ75MFkOKHgy2LhWYkz8 lszGJDl9vLYCr0xhZB7wZE8FRa+cpcE/pCBSreN3vPTEpOEkPH0NtaSK6GHX+yWu669N E+xw== X-Forwarded-Encrypted: i=1; AJvYcCWAquanWZN6grEwt4tOAfwyMv/o/XYQh2L27Sz3JKFE6dgLEk8M1uWOMFJ7W0fJU+Q4dKVcSuMFpmZeQjVjipsBV/zh3hxk6gclkRpq X-Gm-Message-State: AOJu0Yxt3v7PzpPdYU9o5yKSLeYiv27hyN4DLSlVNUqMKK1Gl1pP1Uza ujrKp4hSjCz2rpme5LPnvtwdpPYgHcWiLEqygJvOjmvLZ9UtHvqEPz4jYZ8kAUe81PsrKLTsg51 isVWbEnGuP7izzhUeZCtRr0XENlUNvz4sZazN X-Received: by 2002:a81:9107:0:b0:608:bc79:1af5 with SMTP id i7-20020a819107000000b00608bc791af5mr2680393ywg.18.1709047876681; Tue, 27 Feb 2024 07:31:16 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240227-feature_poe-v5-0-28f0aa48246d@bootlin.com> In-Reply-To: <20240227-feature_poe-v5-0-28f0aa48246d@bootlin.com> From: Jamal Hadi Salim Date: Tue, 27 Feb 2024 10:31:05 -0500 Message-ID: Subject: Re: [PATCH net-next v5 00/17] net: Add support for Power over Ethernet (PoE) To: Kory Maincent Cc: "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 , Thomas Petazzoni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, devicetree@vger.kernel.org, Dent Project Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Feb 27, 2024 at 9:43=E2=80=AFAM Kory Maincent wrote: > > This patch series aims at adding support for PoE (Power over Ethernet), > based on the already existing support for PoDL (Power over Data Line) > implementation. In addition, it adds support for two specific PoE > controller, the Microchip PD692x0 and the TI TPS23881. > > This patch series is sponsored by Dent Project > . Sorry, couldnt resist because it sounded like a commercial;-> And likely i am out of touch. I am all for giving credit but does it have to be explicitly called out as "this patch is sponsored by X"? cheers, jamal > In detail: > - Patch 1 to 13 prepare net to support PoE devices. > - Patch 14 and 15 add PD692x0 PoE PSE controller driver and its binding. > - Patch 16 and 17 add TI TPS23881 PSE controller driver and its binding. > > Changes in v5: > - Fix bindings nit. > - Add supported-polarity parameter to bindings. > - Fix yamllint binding errors. > - Remove the nested lock brought by the use of regulator framework. > - Link to v4: https://lore.kernel.org/r/20240215-feature_poe-v4-0-35bb4c2= 3266c@bootlin.com > > Changes in v4: > - Replaced sponsored-by tag by a simple sentence. > - Fix pse_pi node bindings. > - Add pse pi documentation written by Oleksij. > - Link to v3: https://lore.kernel.org/r/20240208-feature_poe-v3-0-531d267= 4469e@bootlin.com > > Changes in v3: > - Add patches to add Oleksij and myself to PSE MAINTAINERS. > - Add patches to add pse devlink. > - Add TI TPS23881 PSE controller driver with its binding. > - Replace pse_get_types helper by pse_has_podl and pse_has_c33 > - Changed the PSE core bindings. > - Add a setup_pi_matrix callback. > - Register regulator for each PSE PI (Power Interface). > - Changed the PD692x0 bindings. > - Updated PD692x0 drivers to new bindings and PSE PI description. > - Updated PD692x0 drivers according to the reviews and made fixes. > - Link to v2: https://lore.kernel.org/r/20231201-feature_poe-v2-0-56d8cac= 607fa@bootlin.com > > Changes in v2: > - Extract "firmware_loader: Expand Firmware upload error codes patches" t= o > send it alone and get it merge in an immutable branch. > - Add "c33" prefix for PoE variables and enums. > - Enhance few comments. > - Add PSE Documentation. > - Make several changes in pd692x0 driver, mainly for readibility. > - Link to v1: https://lore.kernel.org/r/20231116-feature_poe-v1-0-be48044= bf249@bootlin.com > > Signed-off-by: Kory Maincent > --- > Kory Maincent (17): > MAINTAINERS: net: Add Oleksij to pse-pd maintainers > of: property: Add fw_devlink support for pse parent > net: pse-pd: Rectify and adapt the naming of admin_cotrol member of= struct pse_control_config > ethtool: Expand Ethernet Power Equipment with c33 (PoE) alongside P= oDL > net: pse-pd: Introduce PSE types enumeration > net: ethtool: pse-pd: Expand pse commands with the PSE PoE interfac= e > netlink: specs: Modify pse attribute prefix > netlink: specs: Expand the pse netlink command with PoE interface > MAINTAINERS: Add myself to pse networking maintainer > net: pse-pd: Add support for PSE PIs > dt-bindings: net: pse-pd: Add another way of describing several PSE= PIs > net: pse-pd: Add support for setup_pi_matrix callback > net: pse-pd: Use regulator framework within PSE framework > dt-bindings: net: pse-pd: Add bindings for PD692x0 PSE controller > net: pse-pd: Add PD692x0 PSE controller driver > dt-bindings: net: pse-pd: Add bindings for TPS23881 PSE controller > net: pse-pd: Add TI TPS23881 PSE controller driver > > .../bindings/net/pse-pd/microchip,pd692x0.yaml | 158 +++ > .../bindings/net/pse-pd/pse-controller.yaml | 100 +- > .../bindings/net/pse-pd/ti,tps23881.yaml | 93 ++ > Documentation/netlink/specs/ethtool.yaml | 33 +- > Documentation/networking/ethtool-netlink.rst | 20 + > Documentation/networking/index.rst | 1 + > Documentation/networking/pse-pd/index.rst | 10 + > Documentation/networking/pse-pd/introduction.rst | 73 ++ > Documentation/networking/pse-pd/pse-pi.rst | 302 +++++ > MAINTAINERS | 8 + > drivers/net/mdio/fwnode_mdio.c | 29 +- > drivers/net/pse-pd/Kconfig | 20 + > drivers/net/pse-pd/Makefile | 2 + > drivers/net/pse-pd/pd692x0.c | 1223 ++++++++++++++= ++++++ > drivers/net/pse-pd/pse_core.c | 429 ++++++- > drivers/net/pse-pd/pse_regulator.c | 49 +- > drivers/net/pse-pd/tps23881.c | 818 +++++++++++++ > drivers/of/property.c | 2 + > include/linux/pse-pd/pse.h | 86 +- > include/uapi/linux/ethtool.h | 55 + > include/uapi/linux/ethtool_netlink.h | 3 + > net/ethtool/pse-pd.c | 60 +- > 22 files changed, 3451 insertions(+), 123 deletions(-) > --- > base-commit: f308eae1e1cdacca3cef65c7f4f691dfcb0c8976 > change-id: 20231024-feature_poe-139490e73403 > > Best regards, > -- > K=C3=B6ry Maincent, Bootlin > Embedded Linux and kernel engineering > https://bootlin.com > >