LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH v1] of: property: fw_devlink: Add support for "resets" and "pwms"
@ 2021-08-05 22:37 Saravana Kannan
  2021-08-13 19:06 ` Rob Herring
  0 siblings, 1 reply; 2+ messages in thread
From: Saravana Kannan @ 2021-08-05 22:37 UTC (permalink / raw)
  To: Rob Herring, Frank Rowand
  Cc: Saravana Kannan, kernel-team, devicetree, linux-kernel

Allows better tracking of dependencies between devices.

Signed-off-by: Saravana Kannan <saravanak@google.com>
---
 drivers/of/property.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/of/property.c b/drivers/of/property.c
index 6c028632f425..a81559c5ee2b 100644
--- a/drivers/of/property.c
+++ b/drivers/of/property.c
@@ -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, },
-- 
2.32.0.605.g8dce9f2422-goog


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH v1] of: property: fw_devlink: Add support for "resets" and "pwms"
  2021-08-05 22:37 [PATCH v1] of: property: fw_devlink: Add support for "resets" and "pwms" Saravana Kannan
@ 2021-08-13 19:06 ` Rob Herring
  0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring @ 2021-08-13 19:06 UTC (permalink / raw)
  To: Saravana Kannan
  Cc: linux-kernel, kernel-team, Rob Herring, devicetree, Frank Rowand

On Thu, 05 Aug 2021 15:37:29 -0700, Saravana Kannan wrote:
> Allows better tracking of dependencies between devices.
> 
> Signed-off-by: Saravana Kannan <saravanak@google.com>
> ---
>  drivers/of/property.c | 4 ++++
>  1 file changed, 4 insertions(+)
> 

Applied, thanks!

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-08-13 19:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-05 22:37 [PATCH v1] of: property: fw_devlink: Add support for "resets" and "pwms" Saravana Kannan
2021-08-13 19:06 ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).