aboutsummaryrefslogtreecommitdiff
path: root/drivers/of
diff options
context:
space:
mode:
authorGravatar Kory Maincent (Dent Project) <kory.maincent@bootlin.com> 2024-04-14 16:21:51 +0200
committerGravatar Jakub Kicinski <kuba@kernel.org> 2024-04-16 19:17:16 -0700
commit93c0d8c0ac309cc927c0b5e9a52af4c954d66da5 (patch)
tree94eb7cad789fbc6eab83959fbd2e96d92fe2c8f7 /drivers/of
parentMAINTAINERS: net: Add Oleksij to pse-pd maintainers (diff)
downloadlinux-93c0d8c0ac309cc927c0b5e9a52af4c954d66da5.tar.gz
linux-93c0d8c0ac309cc927c0b5e9a52af4c954d66da5.tar.bz2
linux-93c0d8c0ac309cc927c0b5e9a52af4c954d66da5.zip
of: property: Add fw_devlink support for pse parent
This allows fw_devlink to create device links between consumers of a PSE and the supplier of the PSE. Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Kory Maincent <kory.maincent@bootlin.com> Link: https://lore.kernel.org/r/20240414-feature_poe-v8-2-e4bf1e860da5@bootlin.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/of')
-rw-r--r--drivers/of/property.c2
1 files changed, 2 insertions, 0 deletions
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, },