Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp956824lqp; Sun, 14 Apr 2024 07:23:39 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWErKU+rj4G681KHbuOFbgRuKYXoPxBTjdbmyUyBbgsBqwAvIoeo9YSOgRhv/sWPyvgvGSaH0MrYiEdElRHGKVvYZo3uJIF1h2ZRxipRQ== X-Google-Smtp-Source: AGHT+IFz5Is4AZ0rRK4tEGcUwF+M6WkAz69rliqC0U64u/nQKIunmWFnhXMu5LuM7bMafhCQFj/T X-Received: by 2002:a05:6512:3da2:b0:516:a13e:d775 with SMTP id k34-20020a0565123da200b00516a13ed775mr5846923lfv.2.1713104619590; Sun, 14 Apr 2024 07:23:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713104619; cv=pass; d=google.com; s=arc-20160816; b=GkVQr78TRJEv2WSnSC1AvaxvT8nSo4XtfEx4Pl9csuTnf7/vgg1oLTKhn8l4jLLV9R ifkCaSYaW4uCjmoWC1543DCRXnydMf01MDYWifrpLNOT54RzFfdSUzkGSMzAmKb319Ie L8VivSYHc0cc1H8aCTeUGgl076ui1z34Pd9lCpZUDkl/CJUGy+imhFMHZ3VDj8z4hEZR kERMHnXDaxE/RTeqjSDcPgxB/2qftm6yqeg+BDOEq1lDZFbIQ+Fx6fSUD5Gj4frBL0e7 /DsxYvjfoEVOBo9K2cm0Q7yrAvy+AcVa4ZB8MHSJj2s3fnvjp76IgER/VKI7oUtnM1cV JU1w== 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=JDVkNv4/6oIdRBOf5llB3TA4Te+7mN+DH0g2d+5Sjty25NkdRtwcdh4YmKOIMLrWA/ SfbKtJdFaB9uiNfk0FVI23wZpRTwiDX+CkhmSta2UWnXV+qFa3g0XgFG3hphVJSCLAmM ANW5o+TEtOInECnAYTLpwfbKRYlOo1GU7KbB7khqFmn1bz1GOmh8+NuoOlLqbzUCRo53 S9ME3rGlskLg1kaKO4XxY4QnRcmsNF55CvS0xveSvsa2rbg4G0a8pcOnlC0cJ/qqos1n /xq0YQ3mVADEwo/B+55C4omOF+uUKcaGidfrfW8li2BOdW74Zf8+plb5gUW2tZhKIluK /McA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=Y21KCJeQ; 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-144193-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-144193-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 js12-20020a17090797cc00b00a51cb37909bsi3689221ejc.107.2024.04.14.07.23.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 Apr 2024 07:23:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-144193-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=Y21KCJeQ; 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-144193-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-144193-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 1E9151F21295 for ; Sun, 14 Apr 2024 14:23:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B2EB559B5A; Sun, 14 Apr 2024 14:22:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="Y21KCJeQ" 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 774ED58AD5; Sun, 14 Apr 2024 14:22:50 +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=1713104572; cv=none; b=UZwc53vcsUDwP7nxUsVi1LkNEd9RQnb416ne0ApMgBWOB4ZQSdaZJ7KDyF/XQAgX40DHQgoXykKGE2v5rQ6KXlmzGeyVdXKkr5s3D1mhTx4DHmSof2y391RWZObl1HNVIFL8AH1Ga/kKfJsZeJEG/M7Acne/3Pr08+lFoV62KfE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713104572; c=relaxed/simple; bh=VbpVc3LMnXhaGIVI10p4WYWa60jDZe38DIuneNRhZ/c=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=XaC5CRTC2OyeYD5ejew7mnrHyQAX9+MaXCFelhIY0VWA8Nb5WbuDKHg4sCDD79DMKUPWp9G7xVfXmMDSkBmSemK+Fkk/eJur3TGQBfKKfgNp7bu0WRm1IrcODMNM5TRRW8g8RxK3NeOJyFmf7GZzr1gHNHVbNNoSfql47gcbpsE= 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=Y21KCJeQ; 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 05DA5C0004; Sun, 14 Apr 2024 14:22:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1713104568; 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=Y21KCJeQ0ReWbbZBGZUgNvVGvMOARUvLPDVpaCD62R0ZH5DqWNyqB2dsBGEScTmh0APlrx WX+gY0mu0RNngMpQt+EVi1cqDOSUp7SMf3pDjwjS5Ug2tKGCF1R9kswqGuFGfjgnp4q6/m pAha0Ww8CxIKo1tRb785m7HvR1/4u/eusUPC8FjuaOHrkQdSN9w2UBihEvFNmh2io71isp M1aJXtz0jSuR7+qDdbTPJB7x68xvswbs6QsZdt401bSIDPqRZ3fCkE7/Exofm5cle2Lt17 WybjnYn3HepXRBkSjBu9L3HqaPU6jMCtx2JHPojZuFSTfiq1oDQruqtdNJ8O/w== From: Kory Maincent Date: Sun, 14 Apr 2024 16:21:51 +0200 Subject: [PATCH net-next v8 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: <20240414-feature_poe-v8-2-e4bf1e860da5@bootlin.com> References: <20240414-feature_poe-v8-0-e4bf1e860da5@bootlin.com> In-Reply-To: <20240414-feature_poe-v8-0-e4bf1e860da5@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