Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp2051314lqe; Tue, 9 Apr 2024 08:14:44 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV4EMpGtqLaUbVwC6odRwvdF658bhm5HtrpQo50PwGs0PQCI3v+e+sRHG3CIMQ1i0zdSSFgA7giPX+aEU1F79UaMvHWOrr/RsMU0KByGQ== X-Google-Smtp-Source: AGHT+IGCTXeAgYu+Kv51vgg1CZBLXLrk8YPE2EQsSIhklNix7gtEDmpTv/5dXqRDo58ex4VzEZSq X-Received: by 2002:ac2:44cf:0:b0:515:bf72:642b with SMTP id d15-20020ac244cf000000b00515bf72642bmr8643679lfm.16.1712675684002; Tue, 09 Apr 2024 08:14:44 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712675683; cv=pass; d=google.com; s=arc-20160816; b=bnmo1lgJoHAgt8vAKwaNHcEJKkolxDZVuICjpOihylzm0ND4QVGGYwg/MbXU7cU8jk BRdv/VWBjkHtZ66p21bRBUJY57nGYPVxijCp2C+iIHI1y3FS8+sW2lnC/CvYgV26p022 Xs1vhRzmY5dRgtZuZx9jUySsLbinYp0+98keOAadx8WsCFXMye1Pu+YEr7/1RYkVp0ym hE17d/baa57PL3CisPk2qnnwC0dKVn+twqlOTLgeYVEJBXgm8mMQSJhFREm70PL/TQtD aev7MvvUO8snFm8kVZlPw6xcSRn+rurwyvVebxGutGorfmtX/2FECRS/FzTekrZ1JQGB u2Xg== 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=N7hgOlwhh7AJ2Cb11Tjl197wNQhnRk7F9sf4WGqgQXk=; fh=57ylmEJf4L+ab5JW9VDoPKBjQbUSU1WR6XAwF32mgs8=; b=Ard7KysB4XES3z6xw75sUgV9GEy2deKq3S8DqxnpODZMIA3AtG3+/vQnGTSwObxDBL 4krdzAALe69+RPSW7n+ZCpAX+Dsd2xQEL0PoynW2n0ruKv3Bz/hG2R7GxB1vyVly01m+ zcoG6aJP82Ig6UrsApad2MYeVwfdxVsP/lCwJIi+yGs3FK2ZqxujD7BxVpAWtK/WggYL a/9I+U250cA4BxWkl1pIBU1KFX2+JksjbX8PSLa3zb2VbzTW8+b8hRzWYXCl5ar1uwWS Wf/9bo2MzWxSKp9vfEaQuAUo3HTip+qj4316A69H4zo4TXapLJWXnOMDLJZvgrxad+8g hz8w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="f58M/wXL"; 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-137161-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137161-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id i16-20020a1709064fd000b00a5202343fd5si234020ejw.123.2024.04.09.08.14.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Apr 2024 08:14:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-137161-linux.lists.archive=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="f58M/wXL"; 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-137161-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137161-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 am.mirrors.kernel.org (Postfix) with ESMTPS id EB15C1F281B3 for ; Tue, 9 Apr 2024 15:05:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 03B9613667A; Tue, 9 Apr 2024 15:04:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="f58M/wXL" Received: from relay6-d.mail.gandi.net (relay6-d.mail.gandi.net [217.70.183.198]) (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 58716130E48; Tue, 9 Apr 2024 15:04:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.198 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712675068; cv=none; b=YNtC9hD4T7HDZPn6ZE7uXirKfECRjX28SlobukNfJxs8mb4QaFZCZqvFsAv0IkSR0qZKxPjGbBC76BmeHQwdOpeyG+bvnGLzZmlRFrwqyFx+xoslI1tWascyf2QSNTXQYpTPxDR6vvJVtkOq+beoPEy086V8SYlKhqO3LbcmlBc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712675068; c=relaxed/simple; bh=VbpVc3LMnXhaGIVI10p4WYWa60jDZe38DIuneNRhZ/c=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=tgPhea0/GKyJnEOIP9O+YUtgy7hw93fLgyGHIJ8IK7z8VY/pLZ12gB3AXA8ARg/bNBCG4AagV5Z2jO9dlwDuvhNqvLclCNYJvj/5Euc5zBacqoNoBabLhV5sIPGZ0ybiiPu08YWDGrIMiPoghmbX8rD0aKBh3puXXM/Qz/zCAuI= 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=f58M/wXL; arc=none smtp.client-ip=217.70.183.198 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 71AF8C000B; Tue, 9 Apr 2024 15:04:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1712675059; 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=N7hgOlwhh7AJ2Cb11Tjl197wNQhnRk7F9sf4WGqgQXk=; b=f58M/wXLruLMXlivwAnUNH2UBQjND3NqqJPhn/9sHR+mQRmxDo1NgSKkDchpJtwUgT7iJD 7gkqogxQh7kv9B+lxBD57HQ4OnzXkyP2s2q4qyBh1ChDwVMXF6LJK67aRd74/wVkievSUG 50jX4sIhKDiiajO3ggPAbD9FZ7u10sUeMexgF1aQXGAMYy07z5PTtG7XnS6Xy5oX7oVIYP qEZGrggLBWNP3DIdgGQ1S6qhV6Db/4MDZJ8HKnagmb3jhGGtL2tRXsSV0h3jAIFqEDYd0x egYbDIg5YLvrMbGNPgoZ+SGvEMW4cRbLdrdK/62hDW0uUg1pEDKyrMSxhiQXOQ== From: Kory Maincent Date: Tue, 09 Apr 2024 17:03:52 +0200 Subject: [PATCH net-next v7 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: <20240409-feature_poe-v7-2-11e38efd4dee@bootlin.com> References: <20240409-feature_poe-v7-0-11e38efd4dee@bootlin.com> In-Reply-To: <20240409-feature_poe-v7-0-11e38efd4dee@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 , kernel@pengutronix.de, Maxime Chevallier , 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.34.1