[PATCH 1/2] clk: Make clk API return per-user struct clk instances

2014-10-02 Thread Tomeu Vizoso
, but by the clock implementation, so the former shouldn't call clk_put() on it. Because some boards in mach-omap2 still register clocks statically, their clock registration had to be updated to take into account that the clock information is stored in struct clk_core now. Signed-off-by: Tomeu Vizoso

[PATCH 0/2] Per-user clock constraints

2014-10-02 Thread Tomeu Vizoso
the constraint API. Thanks, Tomeu Tomeu Vizoso (2): clk: Make clk API return per-user struct clk instances clk: Add floor and ceiling constraints to clock rates arch/arm/mach-omap2/cclock3xxx_data.c | 108 +++-- arch/arm/mach-omap2/clock.h | 11 +- arch/arm/mach-omap2

[PATCH 2/2] clk: Add floor and ceiling constraints to clock rates

2014-10-02 Thread Tomeu Vizoso
Adds a way for clock consumers to set maximum and minimum rates. This can be used for thermal drivers to set ceiling rates, or by misc. drivers to set floor rates to assure a minimum performance level. Signed-off-by: Tomeu Vizoso tomeu.viz...@collabora.com --- drivers/clk/clk.c | 116

[PATCH] CLK: TI: Remove unused includes of linux/clk-private.h

2014-10-03 Thread Tomeu Vizoso
Signed-off-by: Tomeu Vizoso tomeu.viz...@collabora.com --- drivers/clk/ti/clk-44xx.c | 1 - drivers/clk/ti/clk-54xx.c | 1 - drivers/clk/ti/clk-7xx.c | 1 - include/linux/clk/ti.h| 1 + 4 files changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/clk/ti/clk-44xx.c b/drivers/clk/ti

Re: [PATCH 1/2] clk: Make clk API return per-user struct clk instances

2014-10-06 Thread Tomeu Vizoso
On 4 October 2014 01:15, Stephen Boyd sb...@codeaurora.org wrote: On 10/02, Tomeu Vizoso wrote: Moves clock state to struct clk_core, but takes care to change as little API as possible. struct clk_hw still has a pointer to a struct clk, which is the implementation's per-user clk instance

[PATCH v2 0/8] Per-user clock constraints

2014-10-07 Thread Tomeu Vizoso
clk is now ready to contain information that is specific to a given clk consumer. The eighth patch adds API for setting floor and ceiling constraints and stores that information on the per-user struct clk, which is iterable from struct clk_core. Thanks, Tomeu Tomeu Vizoso (8): MIPS: Alchemy

[PATCH v2 7/8] clk: Make clk API return per-user struct clk instances

2014-10-07 Thread Tomeu Vizoso
, but by the clock implementation, so the former shouldn't call clk_put() on it. Because some boards in mach-omap2 still register clocks statically, their clock registration had to be updated to take into account that the clock information is stored in struct clk_core now. Signed-off-by: Tomeu Vizoso

Re: [PATCH 1/2] clk: Make clk API return per-user struct clk instances

2014-10-07 Thread Tomeu Vizoso
On 4 October 2014 01:15, Stephen Boyd sb...@codeaurora.org wrote: On 10/02, Tomeu Vizoso wrote: + #if defined(CONFIG_OF) defined(CONFIG_COMMON_CLK) These ifdefs look useless. struct clk *of_clk_get_by_clkspec(struct of_phandle_args *clkspec); struct clk *__of_clk_get_from_provider

Re: [PATCH v2 0/8] Per-user clock constraints

2014-10-09 Thread Tomeu Vizoso
On 9 October 2014 03:32, Stephen Boyd sb...@codeaurora.org wrote: On 10/07/2014 08:21 AM, Tomeu Vizoso wrote: Hello, this second version of the series adds several cleanups that were suggested by Stephen Boyd and contains several improvements to the seventh patch (clk: Make clk API return

[PATCH v3 0/8] Per-user clock constraints

2014-10-09 Thread Tomeu Vizoso
that information on the per-user struct clk, which is iterable from struct clk_core. http://cgit.collabora.com/git/user/tomeu/linux.git/log/?h=per-user-clk-constraints-v3 Thanks, Tomeu Tomeu Vizoso (8): MIPS: Alchemy: Remove direct access to prepare_count field of struct clk clk: Remove

[PATCH v3 7/8] clk: Make clk API return per-user struct clk instances

2014-10-09 Thread Tomeu Vizoso
, but by the clock implementation, so the former shouldn't call clk_put() on it. Because some boards in mach-omap2 still register clocks statically, their clock registration had to be updated to take into account that the clock information is stored in struct clk_core now. Signed-off-by: Tomeu Vizoso

Re: [PATCH v3 7/8] clk: Make clk API return per-user struct clk instances

2014-10-13 Thread Tomeu Vizoso
On 10 October 2014 01:22, Stephen Boyd sb...@codeaurora.org wrote: On 10/09, Tomeu Vizoso wrote: arch/arm/mach-omap2/cclock3xxx_data.c | 108 -- arch/arm/mach-omap2/clock.h | 11 +- arch/arm/mach-omap2/clock_common_data.c | 5 +- drivers/clk/clk.c

[PATCH v2] CLK: TI: Remove unused includes of linux/clk-private.h

2014-10-14 Thread Tomeu Vizoso
Because they are unused, and there's plans to remove that header in the near future. Signed-off-by: Tomeu Vizoso tomeu.viz...@collabora.com --- v2: * Add rationale to commit message * Include clk-provider.h in each file that uses it, instead of in clk/ti.h --- drivers/clk

[PATCH v4 0/8] Per-user clock constraints

2014-10-20 Thread Tomeu Vizoso
and ceiling constraints and stores that information on the per-user struct clk, which is iterable from struct clk_core. They are based on top of 3.18-rc1. http://cgit.collabora.com/git/user/tomeu/linux.git/log/?h=per-user-clk-constraints-v4 Thanks, Tomeu Tomeu Vizoso (8): MIPS: Alchemy: Remove

[PATCH v4 7/8] clk: Make clk API return per-user struct clk instances

2014-10-20 Thread Tomeu Vizoso
, but by the clock implementation, so the former shouldn't call clk_put() on it. Because some boards in mach-omap2 still register clocks statically, their clock registration had to be updated to take into account that the clock information is stored in struct clk_core now. Signed-off-by: Tomeu Vizoso

[PATCH v5 0/7] Per-user clock constraints

2014-10-30 Thread Tomeu Vizoso
-constraints-v5 Thanks, Tomeu Tomeu Vizoso (7): clk: Remove unused function __clk_get_prepare_count clk: Don't try to use a struct clk* after it could have been freed clk: Don't expose __clk_get_accuracy clk: change clk_debugfs_add_file to take a struct clk_hw clk: Change clk_ops

[PATCH v5 6/7] clk: Make clk API return per-user struct clk instances

2014-10-30 Thread Tomeu Vizoso
, but by the clock implementation, so the former shouldn't call clk_put() on it. Because some boards in mach-omap2 still register clocks statically, their clock registration had to be updated to take into account that the clock information is stored in struct clk_core now. Signed-off-by: Tomeu Vizoso

Re: [PATCH v5 0/7] Per-user clock constraints

2014-11-13 Thread Tomeu Vizoso
On 31 October 2014 12:33, Peter De Schrijver pdeschrij...@nvidia.com wrote: On Thu, Oct 30, 2014 at 11:48:26AM +0100, Tomeu Vizoso wrote: Hello, this fifth version of the series has just one change, suggested by Stephen: Hi Mike, how is this looking for 3.19? Regards, Tomeu * Initialize

Re: [PATCH v5 6/7] clk: Make clk API return per-user struct clk instances

2014-11-19 Thread Tomeu Vizoso
On 14 November 2014 08:06, Stephen Boyd sb...@codeaurora.org wrote: On 10/30, Tomeu Vizoso wrote: Moves clock state to struct clk_core, but takes care to change as little API as possible. struct clk_hw still has a pointer to a struct clk, which is the implementation's per-user clk instance

[PATCH v6 6/7] clk: Make clk API return per-user struct clk instances

2014-11-28 Thread Tomeu Vizoso
, but by the clock implementation, so the former shouldn't call clk_put() on it. Because some boards in mach-omap2 still register clocks statically, their clock registration had to be updated to take into account that the clock information is stored in struct clk_core now. Signed-off-by: Tomeu Vizoso

[PATCH v6 7/7] clk: Add floor and ceiling constraints to clock rates

2014-11-28 Thread Tomeu Vizoso
Adds a way for clock consumers to set maximum and minimum rates. This can be used for thermal drivers to set ceiling rates, or by misc. drivers to set floor rates to assure a minimum performance level. Signed-off-by: Tomeu Vizoso tomeu.viz...@collabora.com --- v6: * Take the prepare lock

[PATCH v6 0/7] Per-user clock constraints

2014-11-28 Thread Tomeu Vizoso
/git/user/tomeu/linux.git/log/?h=per-user-clk-constraints-v6 Thanks, Tomeu Tomeu Vizoso (7): clk: Remove unused function __clk_get_prepare_count clk: Don't try to use a struct clk* after it could have been freed clk: Don't expose __clk_get_accuracy clk: change clk_debugfs_add_file to take

[PATCH v7 0/7] Per-user clock constraints

2014-12-01 Thread Tomeu Vizoso
. They are based on top of linux-next 20141201. http://cgit.collabora.com/git/user/tomeu/linux.git/log/?h=per-user-clk-constraints-v7 Thanks, Tomeu Tomeu Vizoso (7): clk: Remove unused function __clk_get_prepare_count clk: Don't try to use a struct clk* after it could have been freed clk

[PATCH v7 6/7] clk: Make clk API return per-user struct clk instances

2014-12-01 Thread Tomeu Vizoso
, but by the clock implementation, so the former shouldn't call clk_put() on it. Because some boards in mach-omap2 still register clocks statically, their clock registration had to be updated to take into account that the clock information is stored in struct clk_core now. Signed-off-by: Tomeu Vizoso

[PATCH v7 5/7] clk: Change clk_ops-determine_rate to return a clk_hw as the best parent

2014-12-02 Thread Tomeu Vizoso
This is in preparation for clock providers to not have to deal with struct clk. Signed-off-by: Tomeu Vizoso tomeu.viz...@collabora.com Reviewed-by: Stephen Boyd sb...@codeaurora.org --- v7: * Update a few more instances in new code v4: * Make sure that best_parent_p is populated

[PATCH v7 7/7] clk: Add floor and ceiling constraints to clock rates

2014-12-02 Thread Tomeu Vizoso
Adds a way for clock consumers to set maximum and minimum rates. This can be used for thermal drivers to set ceiling rates, or by misc. drivers to set floor rates to assure a minimum performance level. Signed-off-by: Tomeu Vizoso tomeu.viz...@collabora.com --- v7: * Update a few more

Re: [PATCH v11 2/4] clk: Make clk API return per-user struct clk instances

2015-01-22 Thread Tomeu Vizoso
On 01/22/2015 02:01 AM, Stephen Boyd wrote: On 01/21, Tomeu Vizoso wrote: @@ -2075,10 +2210,12 @@ struct clk *clk_register(struct device *dev, struct clk_hw *hw) } } -ret = __clk_init(dev, clk); +hw-clk = __clk_create_clk(hw, NULL, NULL); +ret = __clk_init

Re: [PATCH v13 3/6] clk: Make clk API return per-user struct clk instances

2015-02-02 Thread Tomeu Vizoso
On 02/02/2015 11:41 PM, Mike Turquette wrote: Quoting Tero Kristo (2015-02-02 11:32:01) On 02/01/2015 11:24 PM, Mike Turquette wrote: Quoting Tomeu Vizoso (2015-01-23 03:03:30) Moves clock state to struct clk_core, but takes care to change as little API as possible. struct clk_hw still

Re: [PATCH v9 2/3] clk: Make clk API return per-user struct clk instances

2015-01-20 Thread Tomeu Vizoso
On 19 January 2015 at 21:59, Stephen Boyd sb...@codeaurora.org wrote: On 01/19, Tomeu Vizoso wrote: diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c index 97f3425..f2a1ff3 100644 --- a/drivers/clk/clk.c +++ b/drivers/clk/clk.c @@ -694,32 +751,32 @@ long __clk_mux_determine_rate(struct

Re: [PATCH v9 3/3] clk: Add floor and ceiling constraints to clock rates

2015-01-20 Thread Tomeu Vizoso
On 20 January 2015 at 01:00, Stephen Boyd sb...@codeaurora.org wrote: On 01/19, Tomeu Vizoso wrote: Adds a way for clock consumers to set maximum and minimum rates. This can be used for thermal drivers to set ceiling rates, or by misc. drivers to set floor rates to assure a minimum performance

[PATCH v10 2/3] clk: Make clk API return per-user struct clk instances

2015-01-20 Thread Tomeu Vizoso
, but by the clock implementation, so the former shouldn't call clk_put() on it. Because some boards in mach-omap2 still register clocks statically, their clock registration had to be updated to take into account that the clock information is stored in struct clk_core now. Signed-off-by: Tomeu Vizoso

[PATCH v10 3/3] clk: Add rate constraints to clocks

2015-01-20 Thread Tomeu Vizoso
and max_rate. Signed-off-by: Tomeu Vizoso tomeu.viz...@collabora.com --- v10:* Refactor __clk_determine_rate to share code with clk_round_rate. * Remove clk_core_round_rate_nolock as it's unused now v9: * s/floor/min and s/ceiling/max * Add a bunch of NULL checks

Re: [PATCH RESEND v8 1/2] clk: Make clk API return per-user struct clk instances

2015-01-19 Thread Tomeu Vizoso
On 17 January 2015 at 02:02, Stephen Boyd sb...@codeaurora.org wrote: On 01/12, Tomeu Vizoso wrote: Moves clock state to struct clk_core, but takes care to change as little API as possible. struct clk_hw still has a pointer to a struct clk, which is the implementation's per-user clk

Re: [PATCH RESEND v8 2/2] clk: Add floor and ceiling constraints to clock rates

2015-01-19 Thread Tomeu Vizoso
On 17 January 2015 at 02:57, Stephen Boyd sb...@codeaurora.org wrote: On 01/12, Tomeu Vizoso wrote: diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c index 7eddfd8..2793bd7 100644 --- a/drivers/clk/clk.c +++ b/drivers/clk/clk.c @@ -1013,8 +1015,8 @@ static unsigned long

[PATCH v9 2/3] clk: Make clk API return per-user struct clk instances

2015-01-19 Thread Tomeu Vizoso
, but by the clock implementation, so the former shouldn't call clk_put() on it. Because some boards in mach-omap2 still register clocks statically, their clock registration had to be updated to take into account that the clock information is stored in struct clk_core now. Signed-off-by: Tomeu Vizoso

[PATCH v9 3/3] clk: Add floor and ceiling constraints to clock rates

2015-01-19 Thread Tomeu Vizoso
and ceiling_rate. Signed-off-by: Tomeu Vizoso tomeu.viz...@collabora.com --- v9: * s/floor/min and s/ceiling/max * Add a bunch of NULL checks * Propagate our rate range when querying our parent for the rate * Take constraints into account in clk_round_rate * Add

Re: [PATCH v11 3/4] clk: Add rate constraints to clocks

2015-01-22 Thread Tomeu Vizoso
On 01/22/2015 02:46 AM, Stephen Boyd wrote: On 01/21, Tomeu Vizoso wrote: Adds a way for clock consumers to set maximum and minimum rates. This can be used for thermal drivers to set minimum rates, or by misc. drivers to set maximum rates to assure a minimum performance level. Changes

[PATCH v12 3/6] clk: Make clk API return per-user struct clk instances

2015-01-22 Thread Tomeu Vizoso
, but by the clock implementation, so the former shouldn't call clk_put() on it. Because some boards in mach-omap2 still register clocks statically, their clock registration had to be updated to take into account that the clock information is stored in struct clk_core now. Signed-off-by: Tomeu Vizoso

[PATCH v12 4/6] clk: Add rate constraints to clocks

2015-01-22 Thread Tomeu Vizoso
and max_rate. Signed-off-by: Tomeu Vizoso tomeu.viz...@collabora.com --- v12:* Refactor locking so that __clk_put takes the lock only once v11:* Recalculate the rate before putting the reference to clk_core * Don't recalculate the rate when freeing the per-user clock

[PATCH v11 3/4] clk: Add rate constraints to clocks

2015-01-21 Thread Tomeu Vizoso
and max_rate. Signed-off-by: Tomeu Vizoso tomeu.viz...@collabora.com --- v11:* Recalculate the rate before putting the reference to clk_core * Don't recalculate the rate when freeing the per-user clock in the initialization error paths * Move __clk_create_clk to be next

[PATCH v11 2/4] clk: Make clk API return per-user struct clk instances

2015-01-21 Thread Tomeu Vizoso
, but by the clock implementation, so the former shouldn't call clk_put() on it. Because some boards in mach-omap2 still register clocks statically, their clock registration had to be updated to take into account that the clock information is stored in struct clk_core now. Signed-off-by: Tomeu Vizoso

Re: [PATCH v13 4/6] clk: Add rate constraints to clocks

2015-01-31 Thread Tomeu Vizoso
On 31 January 2015 at 02:31, Stephen Boyd sb...@codeaurora.org wrote: On 01/29, Stephen Boyd wrote: On 01/29/15 05:31, Geert Uytterhoeven wrote: Hi Tomeu, Mike, On Fri, Jan 23, 2015 at 12:03 PM, Tomeu Vizoso tomeu.viz...@collabora.com wrote: --- a/drivers/clk/clk.c +++ b/drivers/clk

Re: [PATCH v11 2/4] clk: Make clk API return per-user struct clk instances

2015-01-23 Thread Tomeu Vizoso
On 01/22/2015 07:59 PM, Stephen Boyd wrote: On 01/22, Tomeu Vizoso wrote: On 01/22/2015 02:01 AM, Stephen Boyd wrote: BTW, please try and fixup checkpatch warnings. What were you thinking of specifically? I'm running it with --max-line-length=106 and the other warnings are in clk-test.c

[PATCH v13 3/6] clk: Make clk API return per-user struct clk instances

2015-01-23 Thread Tomeu Vizoso
, but by the clock implementation, so the former shouldn't call clk_put() on it. Because some boards in mach-omap2 still register clocks statically, their clock registration had to be updated to take into account that the clock information is stored in struct clk_core now. Signed-off-by: Tomeu Vizoso

[PATCH v13 4/6] clk: Add rate constraints to clocks

2015-01-23 Thread Tomeu Vizoso
and max_rate. Signed-off-by: Tomeu Vizoso tomeu.viz...@collabora.com Reviewed-by: Stephen Boyd sb...@codeaurora.org --- v13:* Cut one line to the 80-column limit * Make clear in the docs that the ranges are inclusive v12:* Refactor locking so that __clk_put takes the lock only once v11

[PATCH RESEND v8 1/2] clk: Make clk API return per-user struct clk instances

2015-01-12 Thread Tomeu Vizoso
, but by the clock implementation, so the former shouldn't call clk_put() on it. Because some boards in mach-omap2 still register clocks statically, their clock registration had to be updated to take into account that the clock information is stored in struct clk_core now. Signed-off-by: Tomeu Vizoso

[PATCH RESEND v8 2/2] clk: Add floor and ceiling constraints to clock rates

2015-01-12 Thread Tomeu Vizoso
and ceiling_rate. Signed-off-by: Tomeu Vizoso tomeu.viz...@collabora.com --- v7: * Update a few more instances in new code v6: * Take the prepare lock before removing a per-user clk * Init per-user clks list before adding the first clk * Pass the constraints to determine_rate

[PATCH] memory: omap-gpmc: Don't try to save the GPMC context

2015-08-05 Thread Tomeu Vizoso
e5932000 (e5921010) Signed-off-by: Tomeu Vizoso tomeu.viz...@collabora.com Suggested-by: Javier Martinez Canillas jav...@dowhile0.org --- drivers/memory/omap-gpmc.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/memory/omap-gpmc.c b/drivers/memory/omap-gpmc.c index 3a27a84ad3ec

[PATCH v10 0/4] Allow USB devices to remain runtime-suspended when sleeping

2015-10-21 Thread Tomeu Vizoso
eck for all dev_pm_ops instances associated to a device, updating a no_pm_callbacks flag at the times when that could change. Tomeu Vizoso (4): device core: add device_is_bound() PM / Domains: add setter for dev.pm_domain PM / sleep: Go direct_complete if driver has no callbacks USB / PM: Al

[PATCH v10 2/4] PM / Domains: add setter for dev.pm_domain

2015-10-21 Thread Tomeu Vizoso
that. This patch also changes all current code that directly sets the dev.pm_domain pointer. Signed-off-by: Tomeu Vizoso <tomeu.viz...@collabora.com> Reviewed-by: Ulf Hansson <ulf.hans...@linaro.org> --- Changes in v9: - Add docs noting the need for the device lock to be held be

Re: [PATCH v10 2/4] PM / Domains: add setter for dev.pm_domain

2015-10-26 Thread Tomeu Vizoso
On 25 October 2015 at 16:18, Rafael J. Wysocki <r...@rjwysocki.net> wrote: > On Wednesday, October 21, 2015 05:34:12 PM Tomeu Vizoso wrote: >> Adds a function that sets the pointer to dev_pm_domain in struct device >> and that warns if the device has already finished probing.

[PATCH v11 2/4] PM / Domains: add setter for dev.pm_domain

2015-10-27 Thread Tomeu Vizoso
that. This patch also changes all current code that directly sets the dev.pm_domain pointer. Signed-off-by: Tomeu Vizoso <tomeu.viz...@collabora.com> Reviewed-by: Ulf Hansson <ulf.hans...@linaro.org> --- Changes in v11: - Move calls to dev_pm_domain_set() out from >power.lock as that

[PATCH v11 0/4] Allow USB devices to remain runtime-suspended when sleeping

2015-10-27 Thread Tomeu Vizoso
power/main.c as it doesn't belong to CONFIG_PM_SLEEP. - Take dev->power.lock before modifying flag. Changes in v5: - Check for all dev_pm_ops instances associated to a device, updating a no_pm_callbacks flag at the times when that could change. Tomeu Vizoso (4): device core: add device_is_bou

[PATCH v8 2/4] PM / Domains: add setter for dev.pm_domain

2015-10-02 Thread Tomeu Vizoso
that. This patch also changes all current code that directly sets the dev.pm_domain pointer. Signed-off-by: Tomeu Vizoso <tomeu.viz...@collabora.com> --- Changes in v8: - Add dev_pm_domain_set() and update code to use it arch/arm/mach-omap2/omap_device.c | 7 --- drivers/acpi/acpi_

[PATCH v8 0/4] Allow USB devices to remain runtime-suspended when sleeping

2015-10-02 Thread Tomeu Vizoso
v5: - Check for all dev_pm_ops instances associated to a device, updating a no_pm_callbacks flag at the times when that could change. Tomeu Vizoso (4): device core: add device_is_bound() PM / Domains: add setter for dev.pm_domain PM / sleep: Go direct_complete if driver has no callbacks USB /

[PATCH v9 0/4] Allow USB devices to remain runtime-suspended when sleeping

2015-10-05 Thread Tomeu Vizoso
lag at the times when that could change. Tomeu Vizoso (4): device core: add device_is_bound() PM / Domains: add setter for dev.pm_domain PM / sleep: Go direct_complete if driver has no callbacks USB / PM: Allow USB devices to remain runtime-suspended when sleeping arch/arm/mach-om

[PATCH v9 2/4] PM / Domains: add setter for dev.pm_domain

2015-10-05 Thread Tomeu Vizoso
that. This patch also changes all current code that directly sets the dev.pm_domain pointer. Signed-off-by: Tomeu Vizoso <tomeu.viz...@collabora.com> --- Changes in v9: - Add docs noting the need for the device lock to be held before calling dev_pm_domain_set() Changes in v8:

[PATCH v12 0/4] Allow USB devices to remain runtime-suspended when sleeping

2016-01-07 Thread Tomeu Vizoso
acks flag at the times when that could change. Tomeu Vizoso (4): device core: add device_is_bound() PM / Domains: add setter for dev.pm_domain PM / sleep: Go direct_complete if driver has no callbacks USB / PM: Allow USB devices to remain runtime-suspended when sleeping arch/arm/mach-omap2/omap

[PATCH v12 2/4] PM / Domains: add setter for dev.pm_domain

2016-01-07 Thread Tomeu Vizoso
that. This patch also changes all current code that directly sets the dev.pm_domain pointer. Signed-off-by: Tomeu Vizoso <tomeu.viz...@collabora.com> Reviewed-by: Ulf Hansson <ulf.hans...@linaro.org> --- Changes in v12: - Include linux/pm_domain.h in vga_switcheroo.c for dev_p