Message ID | 20240215-feature_poe-v4-2-35bb4c23266c@bootlin.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-67262-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:b825:b0:106:860b:bbdd with SMTP id da37csp509397dyb; Thu, 15 Feb 2024 08:17:35 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVUYnRR2voiAPndJJ3EBymJCtYWL3iqBUdvYKd/+QondctuKebIQQg5k9iZlXt0wUeCnaC3uLILtk60ap8gRTnrNKlXmA== X-Google-Smtp-Source: AGHT+IGSc47ZbD3M5m0LeCiK4+0SvIN2McYcGtup0kuxwcfVCayxc8fXZKNYM3CeN00O0GdK/AlP X-Received: by 2002:a05:6512:401c:b0:511:6268:e66e with SMTP id br28-20020a056512401c00b005116268e66emr2615595lfb.38.1708013854780; Thu, 15 Feb 2024 08:17:34 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708013854; cv=pass; d=google.com; s=arc-20160816; b=V88xZLzhDWbNyIs210ch75W1izojZo5mq+XyuRvxS9pVlagGy4lDoHFua1lQsZX22S aM3lXo0//kRBggh2pY8pIuXGCz4mt/uK/ZBpTLeQkz3N9sEu5sJDrFLCPL//pjysUhUc 8nvknKiaLcbqhBl3yrFQRQNUelIqrbmmmJAoP4cn8cbsW4Ku/Wba7ntiozh8HG0TdAot yFomM+wRcw+GUIgjyGvqEjHPkYj2gH5++Riuq8HYITR6anBRZimuUJOaym0ZahNwSOX1 xebdhTr9rnnt/Z5e1cSKDTMreV+6BeBp0fzPsdX3FJxN2/acPknMpSwoy7THSp+pEy3B 03nQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=uFMErlkNGiLrVmVrsXCK1GzGqcaS3KMbud3bor7xdQo=; fh=7S+YztZcCxZKIOm2mMOwIzm96FjMcKQ7LjGMKaNLlnQ=; b=o7+G/ziHeqQXVZUyraSeAwflYjdYMJ4mIRkIk9rehmcAufAdiqHLJV5Gef63pOrvH+ 9rqcclBeAhFyFYAgtDntFjkpXRstrqM5Hg9OXXyOWGBsJfMvKD1YEqGUygFvHDElAWQ6 T71AArmtQJUJsg4hJMyajjXibYjSXcGHwZCh6wO5OnIHG7LktlI5kUX3QrjT8iX3Y7Qt t5VvEo8HsiG9yFlzi47mdmBoT5wtlWt5LMMi9H80larmim2dQysPsm8zdB2IvwTb6EUj ozpB2i1YhY6sgCvaU/pNnKcCEq511gKqebzGHHfwoADN2+8v+CUyZmURljCgC9ytgc2Z 8EtA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=dAWaFmK4; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-67262-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-67262-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id e5-20020a50ec85000000b00561e965cf12si799056edr.112.2024.02.15.08.17.34 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 08:17:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-67262-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=dAWaFmK4; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-67262-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-67262-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 5B2541F2A2BF for <ouuuleilei@gmail.com>; Thu, 15 Feb 2024 16:06:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D364113698A; Thu, 15 Feb 2024 16:03:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="dAWaFmK4" Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [217.70.183.200]) (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 C3F18133995; Thu, 15 Feb 2024 16:03:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.200 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708013008; cv=none; b=cEuVNE0kIA23+xDuXHgRn95YZdoVIxqbDEc/ZJjmzpBiIje4ojPciMKFnGtzTzci2fwKJnKuswWgyylFZoK1I5jU73bkG2A0Z3HHbicoxs9AsoA69Bdp79z267zgp6G+LlaoK1Gx+DqfBgfGvh8ZePqWJn5DjjHMx9XymJ5EYck= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708013008; c=relaxed/simple; bh=WWoJFH6JS+/MUkdHUvXnqLWUaYHcS71uwGUNY9Jhe7Q=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Xzy9MY3Cm8LaV+0Jh6A5YjJJt0sX3DZ0WDrlDNHVLwyml2zUkCNX4aWn5Kd6yq967u5ecgbUxfucCjdncrZe64FsU65lR6uvFrjPKot0vp/6HxW+TZSjQoAMOANIBGmwruElv4UCirMkVA2t/FciIjz+EASsvwnA3GSemk3/8Jg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=dAWaFmK4; arc=none smtp.client-ip=217.70.183.200 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id B56262000B; Thu, 15 Feb 2024 16:03:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1708013003; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=uFMErlkNGiLrVmVrsXCK1GzGqcaS3KMbud3bor7xdQo=; b=dAWaFmK4llcx//0h2LLi76TdU/0WbhaD4nfHH3rOE0Z0JrQoJXwnCyof2DO6BV7RV4rnoW ds9HrrJzBdDF7UMg6NaXgAkkYuKT8RGYeOKV+3PpKB6tHJfxR0PvSE932RYW1fZj2GPDn2 5EqlbIxCgyuc4R86AKUL8LuYmDjX23LK2fTe5EWJMe3o7jDqNtGuyd/Su34eU7mfGKIoLh RbPYA1XKD9de3OqYIHKkxKQV4aG0hjBBVQUsQA0JsSo684WT9kSgarxtDEcN6R6jijWeTA Dro4aySkF1nqSG2QrhTVjlp9c6O5pEqrTdWIuzFa+lcVmwMd9KGb9BiXYsKrKw== From: Kory Maincent <kory.maincent@bootlin.com> Date: Thu, 15 Feb 2024 17:02:43 +0100 Subject: [PATCH net-next v4 02/17] of: property: Add fw_devlink support for pse parent Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240215-feature_poe-v4-2-35bb4c23266c@bootlin.com> References: <20240215-feature_poe-v4-0-35bb4c23266c@bootlin.com> In-Reply-To: <20240215-feature_poe-v4-0-35bb4c23266c@bootlin.com> To: "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Jonathan Corbet <corbet@lwn.net>, Luis Chamberlain <mcgrof@kernel.org>, Russ Weight <russ.weight@linux.dev>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, "Rafael J. Wysocki" <rafael@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Oleksij Rempel <o.rempel@pengutronix.de>, Mark Brown <broonie@kernel.org>, Frank Rowand <frowand.list@gmail.com>, Andrew Lunn <andrew@lunn.ch>, Heiner Kallweit <hkallweit1@gmail.com>, Russell King <linux@armlinux.org.uk> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, devicetree@vger.kernel.org, Dent Project <dentproject@linuxfoundation.org>, Kory Maincent <kory.maincent@bootlin.com> X-Mailer: b4 0.12.4 X-GND-Sasl: kory.maincent@bootlin.com X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790982336098489227 X-GMAIL-MSGID: 1790982336098489227 |
Series |
net: Add support for Power over Ethernet (PoE)
|
|
Commit Message
Köry Maincent
Feb. 15, 2024, 4:02 p.m. UTC
This allows fw_devlink to create device links between consumers of a PSE and the supplier of the PSE. This patch is sponsored by Dent Project <dentproject@linuxfoundation.org>. Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Kory Maincent <kory.maincent@bootlin.com> --- Changes in v3: - New patch --- drivers/of/property.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/drivers/of/property.c b/drivers/of/property.c index 641a40cf5cf3..efe4dde65f30 100644 --- a/drivers/of/property.c +++ b/drivers/of/property.c @@ -1269,6 +1269,7 @@ DEFINE_SIMPLE_PROP(leds, "leds", NULL) DEFINE_SIMPLE_PROP(backlight, "backlight", NULL) DEFINE_SIMPLE_PROP(panel, "panel", NULL) DEFINE_SIMPLE_PROP(msi_parent, "msi-parent", "#msi-cells") +DEFINE_SIMPLE_PROP(pses, "pses", "#pse-cells") DEFINE_SUFFIX_PROP(regulators, "-supply", NULL) DEFINE_SUFFIX_PROP(gpio, "-gpio", "#gpio-cells") @@ -1359,6 +1360,7 @@ static const struct supplier_bindings of_supplier_bindings[] = { { .parse_prop = parse_backlight, }, { .parse_prop = parse_panel, }, { .parse_prop = parse_msi_parent, }, + { .parse_prop = parse_pses, }, { .parse_prop = parse_gpio_compat, }, { .parse_prop = parse_interrupts, }, { .parse_prop = parse_regulators, },