Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp3352689lqp; Tue, 26 Mar 2024 07:05:55 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXXYHs0JiTsee5NZDulxbwOZmfDrLWoPRz5g8Kp5m7+KY1aH6uC6HFQx+lHbA6k4qb192LlbkcTtNucWwId+sGbEKsbYRyWos8nHhCi8g== X-Google-Smtp-Source: AGHT+IGIuiE+VFG/8GM/LGBAf9GlRCj2RdAs1mQ9n7kG6hkOMn7GJmEA0jg2Gj/4i66HVY+g/q6v X-Received: by 2002:a05:6a20:9146:b0:1a3:bd98:c4af with SMTP id x6-20020a056a20914600b001a3bd98c4afmr3242088pzc.48.1711461955333; Tue, 26 Mar 2024 07:05:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711461955; cv=pass; d=google.com; s=arc-20160816; b=WgmtfWctUb7DZ1z+gBvrhc3G0PEV9CNx3Bb8me8+W5TQwcguztn5utw/6v5Vcheiip Ff0VRmN0dYnhXL9lAQsXQ/aI6E6Is+w2UlhjOQ5xACum+JWKEA5nXBSVOAs9rzF7mGH6 +Wxsrp6ABckMWNZsOkoBNZY2GyUMUOaqmYrUrrO0o5V8qMWOqPahW01PZrcSmTM9EW4l 1H4sZQtK0eEHjepwGVOtH3Sr4SycT4PE78At98XVwk9s3m9wcnPmgqufHmIkdxyGcxkb soQl7fb+twS6meNAbjw+d9Uhztp4U/uIY7i9dNf1gQTuMF/E78mQ71hF3y3JY49Ys6ct w7EQ== 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=yVKg1srvGV0u9Yby6NC6W19LV5l9sd0ycpn/q/ojt4I=; fh=7S+YztZcCxZKIOm2mMOwIzm96FjMcKQ7LjGMKaNLlnQ=; b=popOYIbp4PTfbBjkWEH4Z1KLbAWnG7o+3b8dEQh+GTALDJnxs3pQlcmti6z9lBCP1Z yUWS92OCsOxhOD9Tu0HS0bzH60mCyGBvznVfY5/l2sRNCfqoD4sLcVmk3SzoUzpufg59 YD0XSwKxqyTLGkA3+88ETfX9XFHPFmOPl4VIyo3g3quw3NF4uvULoOhtmT9w5PziNz9W vfRCg/8VC9efXQmSq0bYMcemqgsQR92itXTeDLzfUlYYWnh5R9lnrKHriciKyqqQbpJw g9Q4tC6/3ibaU4d0V2SeUWdFr4EQZVoHifP6xnaQ9Gm0ave2cv0xoDpB8mxlKE3Phkls 9+1g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=HYWa+s8h; 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-119121-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-119121-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id t34-20020a056a0013a200b006eaae15af84si3977200pfg.201.2024.03.26.07.05.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 07:05:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-119121-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=@bootlin.com header.s=gm1 header.b=HYWa+s8h; 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-119121-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-119121-linux.lists.archive=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 sv.mirrors.kernel.org (Postfix) with ESMTPS id DEFD32859CD for ; Tue, 26 Mar 2024 14:05:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AEA5382D79; Tue, 26 Mar 2024 14:05:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="HYWa+s8h" Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) (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 A434B75814; Tue, 26 Mar 2024 14:04:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.197 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711461899; cv=none; b=mL7RYHuZlF3ezMbtFZeu5IdwuHESlf7qJj6lThbCthRRJDTBQwLZBM6TLy+mJoDRSJJr4+cCoiuRINXZm8JYyVfU05Hleot5a83O863sLe1yqauYK2fYuaFvC7/+wMV26b+5EqFpGr/ommazoxbezHQutK9BZoISaBzCBn1+J8E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711461899; c=relaxed/simple; bh=2g+Rb4k6mwvnytIx+JbzdLKgrPbH2TQlVYzTmvcdeio=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=rPhnbz6MsZ4WNJ6y2Ua778GW46W3sRS4FPEb34zRK4ojdnHtZ24HBlcT0FGJ+2AaEdcVLOctu+pbk3Tc3XXhLzFwoqYj1FwxfDTTPdVRrlV2UJAojX8TNxcOCmDv50t+xGAs3wa+CiEewZ2r/fYms3pNWs2jrVfk9fk3OJ79rQI= 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=HYWa+s8h; arc=none smtp.client-ip=217.70.183.197 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 B9B641C0009; Tue, 26 Mar 2024 14:04:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1711461889; 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=yVKg1srvGV0u9Yby6NC6W19LV5l9sd0ycpn/q/ojt4I=; b=HYWa+s8hsWSFlC/DftzHqY1shXFc7Rbix12mT9oLWsinklkh3isV3LFIPSxIKQno7EjYaW VtW2xrEDLY59Mbve/VorK6jcyzNiPQsMIcAUr+WiYQHTUp9APmxMN82RVgg8TSzacHNlIT nL3VrgTzAH4dlaKfOVI5rJZL0TZv8Xy4dvYj0r0bONj8jfKQUH22lXZGHjNMi+5X5DFguC kWODYh6Mb9mMjZWlW4aedeGyltB/K28OZAhTDNicO1sOcsUvbkyYyKHBsh/0PVuyHiVsbG hB5aalx9fXTRdDuCRhX4inN4PazOv8xBeKt3grM8hRMVsaOsSp6du855p1qlCg== From: Kory Maincent Date: Tue, 26 Mar 2024 15:04:39 +0100 Subject: [PATCH net-next v6 02/17] of: property: Add fw_devlink support for pse parent Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240326-feature_poe-v6-2-c1011b6ea1cb@bootlin.com> References: <20240326-feature_poe-v6-0-c1011b6ea1cb@bootlin.com> In-Reply-To: <20240326-feature_poe-v6-0-c1011b6ea1cb@bootlin.com> To: "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 , Kory Maincent X-Mailer: b4 0.14-dev X-GND-Sasl: kory.maincent@bootlin.com From: Kory Maincent (Dent Project) This allows fw_devlink to create device links between consumers of a PSE and the supplier of the PSE. Reviewed-by: Andrew Lunn Signed-off-by: Kory Maincent --- 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 a6358ee99b74..cc064151853e 100644 --- a/drivers/of/property.c +++ b/drivers/of/property.c @@ -1252,6 +1252,7 @@ DEFINE_SIMPLE_PROP(backlight, "backlight", NULL) DEFINE_SIMPLE_PROP(panel, "panel", NULL) DEFINE_SIMPLE_PROP(msi_parent, "msi-parent", "#msi-cells") DEFINE_SIMPLE_PROP(post_init_providers, "post-init-providers", NULL) +DEFINE_SIMPLE_PROP(pses, "pses", "#pse-cells") DEFINE_SUFFIX_PROP(regulators, "-supply", NULL) DEFINE_SUFFIX_PROP(gpio, "-gpio", "#gpio-cells") @@ -1357,6 +1358,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, }, -- 2.25.1