[PATCH 2/7] [POWERPC] QE: add support for QE USB clocks routing
Kumar Gala
galak at kernel.crashing.org
Wed Jun 11 02:08:29 EST 2008
On May 23, 2008, at 11:38 AM, Anton Vorontsov wrote:
> This patch adds a function to the qe_lib to setup QE USB clocks
> routing.
> To setup clocks safely, cmxgcr register needs locking, so I just
> reused
> ucc_lock since it was used only to protect cmxgcr.
>
> The idea behind placing clocks routing functions into the qe_lib is
> that
> later we'll hopefully switch to the generic Linux Clock API, thus, for
> example, FHCI driver may be used for QE and CPM chips without nasty
> #ifdefs.
>
> This patch also fixes QE_USB_RESTART_TX command definition in the
> qe.h.
>
> Signed-off-by: Anton Vorontsov <avorontsov at ru.mvista.com>
> Acked-By: Timur Tabi <timur at freescale.com>
> ---
> arch/powerpc/sysdev/qe_lib/Kconfig | 4 ++
> arch/powerpc/sysdev/qe_lib/Makefile | 1 +
> arch/powerpc/sysdev/qe_lib/ucc.c | 7 ++--
> arch/powerpc/sysdev/qe_lib/usb.c | 55 ++++++++++++++++++++++++++
> +++++++++
> include/asm-powerpc/qe.h | 23 ++++++++++++++-
> 5 files changed, 86 insertions(+), 4 deletions(-)
> create mode 100644 arch/powerpc/sysdev/qe_lib/usb.c
applied.
- k
More information about the Linuxppc-dev
mailing list