Subject: [PATCH v2 4/4] ARM: keystone: add PM bus support for clock management

From: [email-masked] (Kevin Hilman)
Date: Fri, 30 Aug 2013 09:18:34 -0700

Santosh Shilimkar <[email-masked]> writes:

> Add runtime PM core support to Keystone SOCs by using the pm_clk
> infrastructure of the PM core. Patch is based on Kevin's pm_domain
> work on DaVinci SOCs.
>
> Keystone SOC doesn't have depedency to enable clocks in early
> in the boot and hence the clock and PM bus initialisation is done
> at subsys_init() level.
>
> Cc: Kevin Hilman <[email-masked]>
>
> Signed-off-by: Santosh Shilimkar <[email-masked]>
> ---
>  drivers/bus/Makefile          |    2 ++
>  drivers/bus/keystone_pm_bus.c |   70 +++++++++++++++++++++++++++++++++++++++++

Maybe I missed some earlier discussion on this, but why drivers/bus?

I called the davinci stuff 'bus' initially because it piggy-backed the
platform_bus, but now that we have pm_domains, it's using that, and is
unrelated the bus.

Therefore, as with davinci, I suspect this belongs in mach-keystone.

[...]

> diff --git a/drivers/bus/keystone_pm_bus.c b/drivers/bus/keystone_pm_bus.c
> new file mode 100644
> index 0000000..6cc56f1
> --- /dev/null
> +++ b/drivers/bus/keystone_pm_bus.c
> @@ -0,0 +1,70 @@
> +/*
> + * PM Bus driver for Keystone2 devices
> + *
> + * Copyright 2013 Texas Instruments, Inc.
> + *	Santosh Shilimkar <[email-masked]>
> + *
> + * Based on Kevins work on DAVINCI SOCs
> + *	Kevin Hilman <[email-masked]>

Dead email address (as you know) ;)  You can just leave off the email,
or use khilman at kernel.org as one that shouldn't change.

Kevin