Skip to content

Commit fbf0ea2

Browse files
committed
of: property: fw_devlink: Add a devlink for panel followers
Inform fw_devlink of the fact that a panel follower (like a touchscreen) is effectively a consumer of the panel from the purposes of fw_devlink. NOTE: this patch isn't required for correctness but instead optimizes probe order / helps avoid deferrals. Acked-by: Rob Herring <[email protected]> Reviewed-by: Maxime Ripard <[email protected]> Signed-off-by: Douglas Anderson <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/20230727101636.v4.4.Ibf8e1342b5b7906279db2365aca45e6253857bb3@changeid
1 parent de08741 commit fbf0ea2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/of/property.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1266,6 +1266,7 @@ DEFINE_SIMPLE_PROP(pwms, "pwms", "#pwm-cells")
12661266
DEFINE_SIMPLE_PROP(resets, "resets", "#reset-cells")
12671267
DEFINE_SIMPLE_PROP(leds, "leds", NULL)
12681268
DEFINE_SIMPLE_PROP(backlight, "backlight", NULL)
1269+
DEFINE_SIMPLE_PROP(panel, "panel", NULL)
12691270
DEFINE_SUFFIX_PROP(regulators, "-supply", NULL)
12701271
DEFINE_SUFFIX_PROP(gpio, "-gpio", "#gpio-cells")
12711272

@@ -1354,6 +1355,7 @@ static const struct supplier_bindings of_supplier_bindings[] = {
13541355
{ .parse_prop = parse_resets, },
13551356
{ .parse_prop = parse_leds, },
13561357
{ .parse_prop = parse_backlight, },
1358+
{ .parse_prop = parse_panel, },
13571359
{ .parse_prop = parse_gpio_compat, },
13581360
{ .parse_prop = parse_interrupts, },
13591361
{ .parse_prop = parse_regulators, },

0 commit comments

Comments
 (0)