android_kernel_xiaomi_sdm845/arch/powerpc
Benjamin Herrenschmidt 190de00538 [POWERPC] 4xx: Rework clock probing in boot wrapper
This reworks the boot wrapper library function that probes
the chip clocks. Better separate the base function that is
used on 440GX,SPe,EP,... from the uart fixups as those need
different device-tree path on different processors.

Also, rework the function itself based on the arch/ppc code
from Eugene Surovegin which I find more readable, and which
handles one more bypass case. Also handle the subtle difference
between 440EP/EPx and 440SPe/GX, on the former, PerClk is derived
from the PLB clock while on the later, it's derived from the OPB.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
2007-12-23 13:14:48 -06:00
..
boot [POWERPC] 4xx: Rework clock probing in boot wrapper 2007-12-23 13:14:48 -06:00
configs [POWERPC] 4xx: Base support for 440GX Taishan eval board 2007-12-23 13:13:33 -06:00
kernel [POWERPC] 4xx: Add early udbg support for 40x processors 2007-12-23 13:13:03 -06:00
lib [POWERPC] rheap: Changes config mechanism 2007-10-16 17:09:21 -06:00
math-emu [POWERPC] Fix rounding bug in emulation for double float operating 2007-12-13 22:59:00 -06:00
mm [POWERPC] Fake NUMA emulation for PowerPC 2007-12-20 16:11:46 +11:00
oprofile [POWERPC] OProfile: fix cbe pm signal routing problem 2007-12-19 01:00:01 +01:00
platforms [POWERPC] 4xx: Wire up PCI on Bamboo board 2007-12-23 13:13:41 -06:00
sysdev [POWERPC] 4xx: PLB to PCI Express support 2007-12-23 13:12:34 -06:00
xmon [POWERPC] Update xmon slb code 2007-12-11 13:46:05 +11:00
.gitignore [POWERPC] Add files build to .gitignore 2006-12-04 20:41:29 +11:00
Kconfig [POWERPC] 4xx: PLB to PCI Express support 2007-12-23 13:12:34 -06:00
Kconfig.debug [POWERPC] 4xx: Base support for 440GX Taishan eval board 2007-12-23 13:13:33 -06:00
Makefile [POWERPC] Implement 'make bootwrapper_install' 2007-12-06 14:44:30 +11:00