[PATCH V3 4/5] ARM: bcm2708: add stub clock driver

Arnd Bergmann arnd at arndb.de
Wed Sep 12 07:27:37 EDT 2012


On Wednesday 12 September 2012, Stephen Warren wrote:
> From: Simon Arlott <simon at fire.lp0.eu>
> 
> This patch adds a minimal stub clock driver for the BCM2708. Its sole
> purpose is to allow the PL011 AMBA clk_get() API calls to provide
> something that looks enough like a clock that the driver probes and
> operates correctly.
> 
> This patch was extracted from git://github.com/lp0/linux.git branch
> rpi-split as of 2012/09/08, and modified as follows:
> 
> * Modified .dev_id for UART clocks to match UART DT node names.
> 
> Signed-off-by: Chris Boot <bootc at bootc.net>
> Signed-off-by: Simon Arlott <simon at fire.lp0.eu>
> Signed-off-by: Dom Cobley <popcornmix at gmail.com>
> Signed-off-by: Dom Cobley <dc4 at broadcom.com>
> Signed-off-by: Stephen Warren <swarren at wwwdotorg.org>
> --
> v3: New patch.
> ---
>  arch/arm/mach-bcm2708/Makefile  |    1 +
>  arch/arm/mach-bcm2708/bcm2708.c |    3 +++
>  arch/arm/mach-bcm2708/clock.c   |   53 +++++++++++++++++++++++++++++++++++++++
>  arch/arm/mach-bcm2708/clock.h   |   24 ++++++++++++++++++
>  4 files changed, 81 insertions(+)
>  create mode 100644 arch/arm/mach-bcm2708/clock.c
>  create mode 100644 arch/arm/mach-bcm2708/clock.h

I think you should keep Mike on Cc for clock related patches. I also wonder
whether this file should go into drivers/clk right away, since that is where
it would end up when it grows into a full clock driver.

	Arnd



More information about the linux-rpi-kernel mailing list