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

Kevin Hilman khilman at linaro.org
Fri Aug 30 12:18:34 EDT 2013


Santosh Shilimkar <santosh.shilimkar at ti.com> 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 <khilman at linaro.org>
>
> Signed-off-by: Santosh Shilimkar <santosh.shilimkar at ti.com>
> ---
>  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 <santosh.shillimkar at ti.com>
> + *
> + * Based on Kevins work on DAVINCI SOCs
> + *	Kevin Hilman <khilman at ti.com>

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



More information about the linux-arm-kernel mailing list