aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/atheros/patches-3.18/105-ar2315_pci.patch
Commit message (Collapse)AuthorAgeFilesLines
* atheros: v3.18: move GPIO patches behind PCIFelix Fietkau2015-03-131-3/+3
| | | | | | | | | Move GPIO patches behind PCI patch, since they are not yet merged upstream. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 44728
* atheros: v3.18: switch to IRQ domainFelix Fietkau2015-03-131-30/+49
| | | | | | | | Rework MISC and PCI IRQ controllers code to use IRQ domains and bitops. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 44727
* atheros: v3.18: update register namesFelix Fietkau2015-03-131-8/+8
| | | | | | | | | | | | Make register names more consistent, mostly add appropriate prefix (AR5312_ or AR2315_) or _BASE suffix. Also add macro to simplify mask and shift operation. No functional changes. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 44726
* atheros: v3.18: remap flash for boardconfig parsingFelix Fietkau2015-03-131-1/+1
| | | | | | | | Rework boardconfig handling code to honestly remap flash memory region. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 44725
* atheros: v3.18: remap main SoC MMR memoryFelix Fietkau2015-03-131-15/+15
| | | | | | | | | | Honestly remap main SoC MMR mem and use accessor functions to interact with registers. Now registers defined relatively to base address (e.g. SDRAM controller base address). Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 44723
* atheros: v3.18: pass PCI IRQ and I/O mem via resourcesFelix Fietkau2015-03-131-15/+56
| | | | | | | | | | Pass PCI IRQ and I/O memory ranges via platform device resources, this change makes PCI controller driver independed from arch headers, so also remove few includes. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 44721
* atheros: v3.18: remap PCI controller MMR memoryFelix Fietkau2015-03-131-49/+86
| | | | | | | | | Honestly remap PCI controller MMR and use accessor functions to interact with registers. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 44720
* atheros: v3.18: add context container for PCI driverFelix Fietkau2015-03-131-53/+70
| | | | | | | | | Add container and place all context specific variables and structure to it. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 44719
* atheros: v3.18: move PCI enable code to archFelix Fietkau2015-03-131-21/+23
| | | | | | | | | Move PCI host interface enable code to arch, since it touches generic SoC registers outside the PCI MMR region. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 44718
* atheros: v3.18: rearrange PCI regs definitionsFelix Fietkau2015-03-131-1/+103
| | | | | | | | | Move PCI controller configuration registers from generic header to driver source. No functional changes. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 44717
* atheros: v3.18: rework early initializationFelix Fietkau2015-03-131-14/+6
| | | | | | | | | | Do not use prom_init() callback, do memory initialization in plat_mem_setup() callback and move serial port configuration to arch_initcall stage. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 44715
* atheros: v3.18: rearrange interrupt handling functionsFelix Fietkau2015-03-131-1/+1
| | | | | | | | No functional changes, just change functions order in source file. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 44714
* atheros: v3.18: change calls logicFelix Fietkau2015-03-131-1/+1
| | | | | | | | | | | Check SoC family (AR5312+ or AR2315+) before call instead of checking it inside the called function. Also convert ar{5312,2315}_init_device() function to void, since they both return zero and nobody care about return value. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 44713
* atheros: v3.18: update names and declarationsFelix Fietkau2015-03-131-5/+5
| | | | | | | | | | | Sync functions, variables and enums names with upstream. Mostly replace 'ar231x_' prefix by 'ath25_'. No functional changes, except few 'int' -> 'unsigned' changes. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 44712
* atheros: v3.18: remove eth platform device unused fieldFelix Fietkau2015-03-131-1/+1
| | | | | | | | | Ethernet controller driver don't use boarddata directly, so remove corresponding field from its platform device structure. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 44710
* atheros: v3.18: rename platform headerFelix Fietkau2015-03-131-1/+1
| | | | | | | | Rename ar231x_platform.h to ath25_platform.h Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 44708
* atheros: v3.18: rename kernel platform to ath25Felix Fietkau2015-03-131-4/+4
| | | | | | | | | | Rename platform source directory and asm includes directory. No functional changes. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 44707
* atheros: v3.18: rename ATHEROS_AR231X symbol to ATH25Felix Fietkau2015-03-131-1/+1
| | | | | | | | | | This patch starts upsteam ath25 code backporting. No functional changes. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 44706
* atheros: add v3.18 supportFelix Fietkau2015-03-131-0/+403
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 44705