From: Ulf Hansson <ulf.hansson@linaro.org>
To: Nishanth Menon <nm@ti.com>
Cc: Tero Kristo <t-kristo@ti.com>,
Santosh Shilimkar <ssantosh@kernel.org>,
Dave Gerlach <d-gerlach@ti.com>, Keerthy <j-keerthy@ti.com>,
"linux-pm@vger.kernel.org" <linux-pm@vger.kernel.org>,
Kevin Hilman <khilman@kernel.org>,
"Rafael J. Wysocki" <rjw@rjwysocki.net>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
Jon Hunter <jonathanh@nvidia.com>,
Russell King <rmk+kernel@armlinux.org.uk>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
Sudeep Holla <sudeep.holla@arm.com>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>
Subject: Re: [PATCH 3/3] soc: ti: Add ti_sci_pm_domains driver
Date: Thu, 25 Aug 2016 09:27:39 +0200 [thread overview]
Message-ID: <CAPDyKFooDUOPT9dP8HaW3YBO9PsX-1+96PPE7CRMyjEkra7cBQ@mail.gmail.com> (raw)
In-Reply-To: <20160819235653.26355-4-nm@ti.com>
+ Jon
[...]
> +
> +static int ti_sci_pm_domains_probe(struct platform_device *pdev)
> +{
> + struct device *dev = &pdev->dev;
> + struct device_node *np = dev->of_node;
> + struct ti_sci_genpd_data *ti_sci_genpd;
> +
> + ti_sci_genpd = devm_kzalloc(dev, sizeof(*ti_sci_genpd), GFP_KERNEL);
> + if (!ti_sci_genpd)
> + return -ENOMEM;
> +
> + ti_sci_genpd->ti_sci = devm_ti_sci_get_handle(dev);
> + if (IS_ERR(ti_sci_genpd->ti_sci))
> + return PTR_ERR(ti_sci_genpd->ti_sci);
> +
> + ti_sci_genpd->dev = dev;
> +
> + INIT_LIST_HEAD(&ti_sci_genpd->pd_list);
> + mutex_init(&ti_sci_genpd->pd_list_mutex);
> +
> + return __of_genpd_add_provider(np, of_ti_sci_genpd_xlate_onecell,
> + ti_sci_genpd);
Jon Hunter are working on adding robust method to be able to remove
initialized genpds [1].
In that series we intend to remove the __of_genpd_add_provider() API,
and instead only have of_genpd_add_provider_onecell() and
of_genpd_add_provider_simple(). Could you please convert to use any of
these APIs instead?
Kind regards
Uffe
[1]
http://www.spinics.net/lists/arm-kernel/msg524151.html
next prev parent reply other threads:[~2016-08-25 7:27 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-19 23:56 [PATCH 0/3] ARM: K2G: Add support for TI-SCI Generic PM Domains Nishanth Menon
2016-08-19 23:56 ` [PATCH 1/3] Documentation: dt: Add TI-SCI " Nishanth Menon
[not found] ` <20160819235653.26355-2-nm-l0cyMroinI0@public.gmane.org>
2016-09-02 14:31 ` Rob Herring
[not found] ` <20160819235653.26355-1-nm-l0cyMroinI0@public.gmane.org>
2016-08-19 23:56 ` [PATCH 2/3] dt-bindings: genpd: Add K2G device definitions Nishanth Menon
2016-08-25 7:32 ` Ulf Hansson
2016-08-19 23:56 ` [PATCH 3/3] soc: ti: Add ti_sci_pm_domains driver Nishanth Menon
2016-08-25 7:27 ` Ulf Hansson [this message]
[not found] ` <CAPDyKFooDUOPT9dP8HaW3YBO9PsX-1+96PPE7CRMyjEkra7cBQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-08-26 23:37 ` Dave Gerlach
[not found] ` <57C0D2C9.1030801-l0cyMroinI0@public.gmane.org>
2016-08-30 19:43 ` Dave Gerlach
2016-08-30 20:26 ` Ulf Hansson
2016-09-06 20:28 ` Dave Gerlach
2016-09-07 18:38 ` Kevin Hilman
2016-09-08 9:27 ` Ulf Hansson
2016-09-08 17:38 ` Kevin Hilman
2016-09-08 18:04 ` Dave Gerlach
2016-09-09 8:34 ` Ulf Hansson
[not found] ` <57CF26DB.4020807-l0cyMroinI0@public.gmane.org>
2016-09-08 9:18 ` Ulf Hansson
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=CAPDyKFooDUOPT9dP8HaW3YBO9PsX-1+96PPE7CRMyjEkra7cBQ@mail.gmail.com \
--to=ulf.hansson@linaro.org \
--cc=d-gerlach@ti.com \
--cc=devicetree@vger.kernel.org \
--cc=j-keerthy@ti.com \
--cc=jonathanh@nvidia.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=ssantosh@kernel.org \
--cc=sudeep.holla@arm.com \
--cc=t-kristo@ti.com \
/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).