android_kernel_xiaomi_sm8350/arch/powerpc/platforms
Kumar Gala b66510cb99 [POWERPC] Fix interrupt routing and setup of ULI M1575 on FSL boards
The interrupt routing in the device trees for the ULI M1575 was
inproperly using the interrupt line field as pci function.  Fixed
up the device tree's to actual conform for to specification and
changed the interrupt mapping code so it just uses a static mapping
setup as follows:

PIRQA - IRQ9
PIRQB - IRQ10
PIRQC - IRQ11
PIRQD - IRQ12
USB 1.1 OCHI (1c.0) - IRQ12
USB 1.1 OCHI (1c.1) - IRQ9
USB 1.1 OCHI (1c.2) - IRQ10
USB 1.1 ECHI (1c.3) - IRQ11
LAN (1b.0) - IRQ6
AC97 (1d.0) - IRQ6
Modem (1d.1) - IRQ6
HD Audio (1d.2) - IRQ6
SATA (1f.1) - IRQ5
SMB (1e.1) - IRQ7
PMU (1e.2) - IRQ7
PATA (1f.0) - IRQ14/15

Took the oppurtunity to refactor the code into a single file so we
don't have to duplicate these fixes on the two current boards in the
tree and several forth coming boards that will also need the code.

Fixed RTC support that requires a dummy memory read on the P2P bridge
to unlock the RTC and setup the default of the RTC alarm registers to
match with a basic x86 style CMOS RTC.

Moved code that poked ISA registers to a FIXUP_FINAL quirk to ensure
the PCI IO space has been setup properly before we start poking ISA
registers at random locations.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2007-08-17 13:22:16 -05:00
..
4xx
8xx powerpc: 8xx: fix whitespace and indentation 2007-07-17 10:23:02 -07:00
44x [POWERPC] Small fixes for the Ebony device tree 2007-05-17 21:11:14 +10:00
52xx [POWERPC] 52xx: sparse fixes 2007-07-10 00:33:01 -05:00
82xx [POWERPC] Make endianess of cfg_addr for indirect pci ops runtime 2007-07-23 22:29:09 -05:00
83xx [POWERPC] Revert "[POWERPC] Add 'mdio' to bus scan id list for platforms with QE UEC" 2007-08-10 21:04:22 +10:00
85xx [POWERPC] Fix interrupt routing and setup of ULI M1575 on FSL boards 2007-08-17 13:22:16 -05:00
86xx [POWERPC] Fix interrupt routing and setup of ULI M1575 on FSL boards 2007-08-17 13:22:16 -05:00
cell [POWERPC] cell: Move SPU affinity init to spu_management_of_ops 2007-08-10 21:04:21 +10:00
celleb [POWERPC] scc_sio: Fix link failure 2007-06-07 11:44:40 +10:00
chrp [POWERPC] Make endianess of cfg_addr for indirect pci ops runtime 2007-07-23 22:29:09 -05:00
embedded6xx [POWERPC] Make endianess of cfg_addr for indirect pci ops runtime 2007-07-23 22:29:09 -05:00
iseries [POWERPC] iSeries: Fix section mismatch warning in lpevents 2007-07-26 16:12:18 +10:00
maple [POWERPC] Fix Maple platform ISA bus 2007-07-26 16:17:49 +10:00
pasemi [POWERPC] pasemi: Don't auto-select CONFIG_EMBEDDED 2007-07-10 22:01:00 +10:00
powermac [POWERPC] Fix a compile warning in powermac/feature.c 2007-08-03 19:36:01 +10:00
prep
ps3 [POWERPC] PS3: Remove text saying PS3 support is incomplete 2007-08-10 21:04:22 +10:00
pseries [POWERPC] Fix future firmware feature fixups function failure 2007-07-22 21:30:58 +10:00
fsl_uli1575.c [POWERPC] Fix interrupt routing and setup of ULI M1575 on FSL boards 2007-08-17 13:22:16 -05:00
Kconfig [POWERPC] Fix interrupt routing and setup of ULI M1575 on FSL boards 2007-08-17 13:22:16 -05:00
Kconfig.cputype [POWERPC] Fix misspelled "CONFIG_CHECK_CACHE_COHERENCY" Kconfig option. 2007-07-22 21:30:58 +10:00
Makefile [POWERPC] Fix interrupt routing and setup of ULI M1575 on FSL boards 2007-08-17 13:22:16 -05:00