Skip to contentSkip to conversation

of: property: fw_devlink: Add support for "resets" and "pwms"

PATCH Applied Saravana Kannan 2 participants 2 messages Aug 5, 2021 – Aug 13, 2021 Device tree

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 of: property: fw_devlink: Add support for "resets" and "pwms"

Allows better tracking of dependencies between devices.

---
 drivers/of/property.c | 4 ++++
 1 file changed, 4 insertions(+)
drivers/of/property.c +4 -0
index 6c028632f425..a81559c5ee2b 100644
@@ -1287,6 +1287,8 @@ DEFINE_SIMPLE_PROP(pinctrl6, "pinctrl-6", NULL)
 DEFINE_SIMPLE_PROP(pinctrl7, "pinctrl-7", NULL)
 DEFINE_SIMPLE_PROP(pinctrl8, "pinctrl-8", NULL)
 DEFINE_SIMPLE_PROP(remote_endpoint, "remote-endpoint", NULL)
+DEFINE_SIMPLE_PROP(pwms, "pwms", "#pwm-cells")
+DEFINE_SIMPLE_PROP(resets, "resets", "#reset-cells")
 DEFINE_SUFFIX_PROP(regulators, "-supply", NULL)
 DEFINE_SUFFIX_PROP(gpio, "-gpio", "#gpio-cells")
 
@@ -1371,6 +1373,8 @@ static const struct supplier_bindings of_supplier_bindings[] = {
 	{ .parse_prop = parse_pinctrl7, },
 	{ .parse_prop = parse_pinctrl8, },
 	{ .parse_prop = parse_remote_endpoint, .node_not_dev = true, },
+	{ .parse_prop = parse_pwms, },
+	{ .parse_prop = parse_resets, },
 	{ .parse_prop = parse_gpio_compat, },
 	{ .parse_prop = parse_interrupts, },
 	{ .parse_prop = parse_regulators, },
Signature · 1 line
2.32.0.605.g8dce9f2422-goog
maintainer Applied
#1 lore raw
Quoted 7 lines · Saravana Kannan

Allows better tracking of dependencies between devices.

---
 drivers/of/property.c | 4 ++++
 1 file changed, 4 insertions(+)

Applied, thanks!