android_kernel_xiaomi_sm8350/arch/powerpc/sysdev/qe_lib
Anton Vorontsov 5e41486c40 powerpc/QE: add support for QE USB clocks routing
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@ru.mvista.com>
Acked-By: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2008-06-10 10:39:13 -05:00
..
Kconfig powerpc/QE: add support for QE USB clocks routing 2008-06-10 10:39:13 -05:00
Makefile powerpc/QE: add support for QE USB clocks routing 2008-06-10 10:39:13 -05:00
qe_ic.c powerpc: Fix irq_alloc_host() reference counting and callers 2008-06-09 13:51:16 +10:00
qe_ic.h [POWERPC] Add an optional device_node pointer to the irq_host 2007-09-14 01:33:20 +10:00
qe_io.c [POWERPC] QE: fix sparse warnings 2008-04-17 01:01:39 -05:00
qe.c [POWERPC] QE: export qe_get_brg_clk() 2008-04-17 01:01:39 -05:00
ucc_fast.c [POWERPC] Replace remaining __FUNCTION__ occurrences 2008-04-01 20:43:09 +11:00
ucc_slow.c [POWERPC] Replace remaining __FUNCTION__ occurrences 2008-04-01 20:43:09 +11:00
ucc.c powerpc/QE: add support for QE USB clocks routing 2008-06-10 10:39:13 -05:00
usb.c powerpc/QE: add support for QE USB clocks routing 2008-06-10 10:39:13 -05:00