From: Dave Gerlach <d-gerlach@ti.com>
To: Ulf Hansson <ulf.hansson@linaro.org>,
"Rafael J. Wysocki" <rjw@rjwysocki.net>,
Kevin Hilman <khilman@kernel.org>,
Santosh Shilimkar <ssantosh@kernel.org>,
Rob Herring <robh+dt@kernel.org>
Cc: Nishanth Menon <nm@ti.com>,
devicetree@vger.kernel.org, Dave Gerlach <d-gerlach@ti.com>,
Keerthy <j-keerthy@ti.com>,
linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org,
Tero Kristo <t-kristo@ti.com>,
Russell King <rmk+kernel@armlinux.org.uk>,
Sudeep Holla <sudeep.holla@arm.com>,
linux-arm-kernel@lists.infradead.org
Subject: [PATCH v4 1/5] PM / Domains: Add generic data pointer to genpd data struct
Date: Tue, 7 Mar 2017 04:22:30 -0600 [thread overview]
Message-ID: <1488882154-21485-2-git-send-email-d-gerlach@ti.com> (raw)
In-Reply-To: <1488882154-21485-1-git-send-email-d-gerlach@ti.com>
Add a void *data pointer to struct generic_pm_domain_data. Because this
exists for each device associated with a genpd it will allow us to
assign per-device data if needed on a platform for control of that
specific device.
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
---
include/linux/pm_domain.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/linux/pm_domain.h b/include/linux/pm_domain.h
index 5339ed5bd6f9..b213d22daefd 100644
--- a/include/linux/pm_domain.h
+++ b/include/linux/pm_domain.h
@@ -117,6 +117,7 @@ struct generic_pm_domain_data {
struct pm_domain_data base;
struct gpd_timing_data td;
struct notifier_block nb;
+ void *data;
};
#ifdef CONFIG_PM_GENERIC_DOMAINS
--
2.11.0
next prev parent reply other threads:[~2017-03-07 10:22 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-07 10:22 [PATCH v4 0/5] ARM: K2G: Add support for TI-SCI Generic PM Domains Dave Gerlach
2017-03-07 10:22 ` Dave Gerlach [this message]
2017-03-10 21:19 ` [PATCH v4 1/5] PM / Domains: Add generic data pointer to genpd data struct Kevin Hilman
2017-03-07 10:22 ` [PATCH v4 2/5] PM / Domains: Do not check if simple providers have phandle cells Dave Gerlach
2017-03-10 21:18 ` Kevin Hilman
2017-03-13 8:20 ` Ulf Hansson
2017-03-07 10:22 ` [PATCH v4 3/5] dt-bindings: Add TI SCI PM Domains Dave Gerlach
[not found] ` <1488882154-21485-4-git-send-email-d-gerlach-l0cyMroinI0@public.gmane.org>
2017-03-12 17:21 ` santosh.shilimkar-QHcLZuEGTsvQT0dZR+AlfA
2017-03-13 8:21 ` Ulf Hansson
2017-03-15 17:53 ` Rob Herring
2017-03-15 20:14 ` Dave Gerlach
2017-03-16 18:27 ` [PATCH v5 " Dave Gerlach
[not found] ` <20170316182722.18486-1-d-gerlach-l0cyMroinI0@public.gmane.org>
2017-03-18 20:38 ` Rob Herring
2017-03-07 10:22 ` [PATCH v4 4/5] soc: ti: Add ti_sci_pm_domains driver Dave Gerlach
2017-03-10 21:22 ` Kevin Hilman
2017-03-12 17:20 ` santosh.shilimkar
[not found] ` <1488882154-21485-5-git-send-email-d-gerlach-l0cyMroinI0@public.gmane.org>
2017-03-13 8:21 ` Ulf Hansson
2017-03-07 10:22 ` [PATCH v4 5/5] ARM: keystone: Drop PM domain support for k2g Dave Gerlach
[not found] ` <1488882154-21485-6-git-send-email-d-gerlach-l0cyMroinI0@public.gmane.org>
2017-03-12 17:20 ` santosh.shilimkar-QHcLZuEGTsvQT0dZR+AlfA
[not found] ` <1488882154-21485-1-git-send-email-d-gerlach-l0cyMroinI0@public.gmane.org>
2017-03-12 17:02 ` [PATCH v4 0/5] ARM: K2G: Add support for TI-SCI Generic PM Domains Rafael J. Wysocki
[not found] ` <2133897.t9KqoeriS0-yvgW3jdyMHm1GS7QM15AGw@public.gmane.org>
2017-03-16 18:31 ` Dave Gerlach
2017-04-03 16:58 ` santosh.shilimkar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1488882154-21485-2-git-send-email-d-gerlach@ti.com \
--to=d-gerlach@ti.com \
--cc=devicetree@vger.kernel.org \
--cc=j-keerthy@ti.com \
--cc=khilman@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=nm@ti.com \
--cc=rjw@rjwysocki.net \
--cc=rmk+kernel@armlinux.org.uk \
--cc=robh+dt@kernel.org \
--cc=ssantosh@kernel.org \
--cc=sudeep.holla@arm.com \
--cc=t-kristo@ti.com \
--cc=ulf.hansson@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).