Skip to contentSkip to conversation

of: property: fw_devlink: Add support for "power-supplies" binding

PATCH Applied Saravana Kannan 2 participants 2 messages Apr 17, 2024 – Apr 23, 2024 Device tree

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 of: property: fw_devlink: Add support for "power-supplies" binding

Add support for parsing power-supplies binding so that fw_devlink can enforce the dependency.

Cc Sebastian Reichel <[email protected]>
---
 drivers/of/property.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/of/property.c +2 -0
index a6358ee99b74..aa83e9bb9bad 100644
@@ -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(power_supplies, "power-supplies", NULL)
 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_power_supplies, },
 	{ .parse_prop = parse_gpio_compat, },
 	{ .parse_prop = parse_interrupts, },
 	{ .parse_prop = parse_regulators, },
Signature · 1 line
2.44.0.683.g7961c838ac-goog