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 "resets" and "pwms"

Allows better tracking of dependencies between devices.

Signed-off-by: Saravana Kannan <saravanak@google.com>
Link: https://lore.kernel.org/r/20210805223729.1196047-1-saravanak@google.com
Signed-off-by: Rob Herring <robh@kernel.org>

authored by

Saravana Kannan and committed by
Rob Herring
6b2117ad 3e7e69f2

+4
+4
drivers/of/property.c
··· 1287 1287 DEFINE_SIMPLE_PROP(pinctrl7, "pinctrl-7", NULL) 1288 1288 DEFINE_SIMPLE_PROP(pinctrl8, "pinctrl-8", NULL) 1289 1289 DEFINE_SIMPLE_PROP(remote_endpoint, "remote-endpoint", NULL) 1290 + DEFINE_SIMPLE_PROP(pwms, "pwms", "#pwm-cells") 1291 + DEFINE_SIMPLE_PROP(resets, "resets", "#reset-cells") 1290 1292 DEFINE_SUFFIX_PROP(regulators, "-supply", NULL) 1291 1293 DEFINE_SUFFIX_PROP(gpio, "-gpio", "#gpio-cells") 1292 1294 ··· 1373 1371 { .parse_prop = parse_pinctrl7, }, 1374 1372 { .parse_prop = parse_pinctrl8, }, 1375 1373 { .parse_prop = parse_remote_endpoint, .node_not_dev = true, }, 1374 + { .parse_prop = parse_pwms, }, 1375 + { .parse_prop = parse_resets, }, 1376 1376 { .parse_prop = parse_gpio_compat, }, 1377 1377 { .parse_prop = parse_interrupts, }, 1378 1378 { .parse_prop = parse_regulators, },