Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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.

Signed-off-by: Saravana Kannan <saravanak@google.com>
Cc: Sebastian Reichel <sre@kernel.org>
Link: https://lore.kernel.org/r/20240417200738.1370896-1-saravanak@google.com
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>

authored by

Saravana Kannan and committed by
Rob Herring (Arm)
669430b1 638887e1

+2
+2
drivers/of/property.c
··· 1242 1242 DEFINE_SIMPLE_PROP(panel, "panel", NULL) 1243 1243 DEFINE_SIMPLE_PROP(msi_parent, "msi-parent", "#msi-cells") 1244 1244 DEFINE_SIMPLE_PROP(post_init_providers, "post-init-providers", NULL) 1245 + DEFINE_SIMPLE_PROP(power_supplies, "power-supplies", NULL) 1245 1246 DEFINE_SUFFIX_PROP(regulators, "-supply", NULL) 1246 1247 DEFINE_SUFFIX_PROP(gpio, "-gpio", "#gpio-cells") 1247 1248 ··· 1348 1347 { .parse_prop = parse_backlight, }, 1349 1348 { .parse_prop = parse_panel, }, 1350 1349 { .parse_prop = parse_msi_parent, }, 1350 + { .parse_prop = parse_power_supplies, }, 1351 1351 { .parse_prop = parse_gpio_compat, }, 1352 1352 { .parse_prop = parse_interrupts, }, 1353 1353 { .parse_prop = parse_regulators, },