Thomas Gleixner
d2912cb15b
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500
...
Based on 2 normalized pattern(s):
this program is free software you can redistribute it and or modify
it under the terms of the gnu general public license version 2 as
published by the free software foundation
this program is free software you can redistribute it and or modify
it under the terms of the gnu general public license version 2 as
published by the free software foundation #
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 4122 file(s).
Signed-off-by: Thomas Gleixner <[email protected] >
Reviewed-by: Enrico Weigelt <[email protected] >
Reviewed-by: Kate Stewart <[email protected] >
Reviewed-by: Allison Randal <[email protected] >
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected] >
2019-06-19 17:09:55 +02:00
John Crispin
85b9686dae
MIPS: ath79: drop platform device registration code
...
With the target now being fully OF based, we can drop the legacy platform
device registration code. All devices and their drivers are now probed
via OF.
Signed-off-by: John Crispin <[email protected] >
Signed-off-by: Paul Burton <[email protected] >
Cc: Ralf Baechle <[email protected] >
Cc: James Hogan <[email protected] >
Cc: Rob Herring <[email protected] >
Cc: Pengutronix Kernel Team <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: Felix Fietkau <[email protected] >
2019-01-22 11:17:22 -08:00
John Crispin
73d8e6aa7d
MIPS: ath79: drop legacy pci code
...
With the target now being fully OF based, we can drop the legacy pci
platform code. The only bits that we need to keep is the fixup code
which we move to its own code file.
Signed-off-by: John Crispin <[email protected] >
Signed-off-by: Paul Burton <[email protected] >
Cc: Ralf Baechle <[email protected] >
Cc: James Hogan <[email protected] >
Cc: Rob Herring <[email protected] >
Cc: Pengutronix Kernel Team <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: Felix Fietkau <[email protected] >
2019-01-22 11:17:22 -08:00
John Crispin
3a77e0d75e
MIPS: ath79: drop machfiles
...
With the target now being fully OF based, we can drop the legacy mach
files. Boards can now boot fully of devicetree files.
Signed-off-by: John Crispin <[email protected] >
Signed-off-by: Paul Burton <[email protected] >
Cc: Ralf Baechle <[email protected] >
Cc: James Hogan <[email protected] >
Cc: Rob Herring <[email protected] >
Cc: Pengutronix Kernel Team <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: Felix Fietkau <[email protected] >
2019-01-22 11:17:22 -08:00
John Crispin
51fa4f8912
MIPS: ath79: drop legacy IRQ code
...
With the target now being fully OF based, we can drop the legacy IRQ code.
All IRQs are now handled via the new irqchip drivers.
Signed-off-by: John Crispin <[email protected] >
Signed-off-by: Paul Burton <[email protected] >
Cc: Ralf Baechle <[email protected] >
Cc: James Hogan <[email protected] >
Cc: Rob Herring <[email protected] >
Cc: Pengutronix Kernel Team <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: Felix Fietkau <[email protected] >
2019-01-22 11:17:22 -08:00
Alban Bedel
1d473c2cb9
MIPS: ath79: Move the GPIO driver to drivers/gpio
...
GPIO drivers should be in drivers/gpio
Signed-off-by: Alban Bedel <[email protected] >
Acked-by: Linus Walleij <[email protected] >
Cc: [email protected]
Cc: Alexandre Courbot <[email protected] >
Cc: Gabor Juhos <[email protected] >
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/10597/
Signed-off-by: Ralf Baechle <[email protected] >
2015-09-03 12:08:02 +02:00
Gabor Juhos
27ea052acb
MIPS: ath79: add support for the Qualcomm Atheros AP136-010 board
...
Also enable the board in the default configuration.
Cc: Rodriguez, Luis <[email protected] >
Cc: Giori, Kathy <[email protected] >
Cc: QCA Linux Team <[email protected] >
Signed-off-by: Gabor Juhos <[email protected] >
Patchwork: http://patchwork.linux-mips.org/patch/4953/
Signed-off-by: John Crispin <[email protected] >
2013-02-19 09:36:34 +01:00
Gabor Juhos
9598111f49
MIPS: ath79: add initial support for the Atheros DB120 board
...
Signed-off-by: Gabor Juhos <[email protected] >
Acked-by: Luis R. Rodriguez <[email protected] >
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/3517/
Signed-off-by: Ralf Baechle <[email protected] >
2012-05-15 17:49:11 +02:00
Gabor Juhos
e2dbdc436b
MIPS: ath79: separate common PCI code
...
The 'pcibios_map_irq' and 'pcibios_plat_dev_init'
are common functions and only instance one of them
can be present in a single kernel.
Currently these functions can be built only if the
CONFIG_SOC_AR724X option is selected. However the
ath79 platform contain support for the AR71XX SoCs,.
The AR71XX SoCs have a differnet PCI controller,
and those will require a different code.
Move the common PCI code into a separeate file in
order to be able to use that with other SoCs as
well.
Signed-off-by: Gabor Juhos <[email protected] >
Acked-by: René Bolldorf <[email protected] >
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/3485/
Signed-off-by: Ralf Baechle <[email protected] >
2012-05-15 17:49:00 +02:00
Gabor Juhos
b606d5ae90
MIPS: ath79: Rename dev-ar913x-wmac.c to dev-wmac.c
...
Rename the file as a last step of the 'ar913x' removal changes.
Signed-off-by: Gabor Juhos <[email protected] >
Cc: Imre Kaloz <[email protected] >
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/3034/
Signed-off-by: Ralf Baechle <[email protected] >
2011-12-07 22:02:48 +00:00
Gabor Juhos
3ae4002231
MIPS: ath79: Rename ATH79_DEV_AR913X_WMAC option to ATH79_DEV_WMAC
...
The ATH79_DEV_AR913X_WMAC option was used to select the AR913x specific
wireless MAC registration code. The registration code now supports the
AR933X SoCs as well. Rename the option to reflect the changes.
Also make the new option depends on SOC_AR933X.
Signed-off-by: Gabor Juhos <[email protected] >
Cc: Imre Kaloz <[email protected] >
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/3031/
Signed-off-by: Ralf Baechle <[email protected] >
2011-12-07 22:02:48 +00:00
Rene Bolldorf
2dc7b4a197
Initial support for the Ubiquiti Networks XM board (rev 1.0).
...
Signed-off-by: Rene Bolldorf <[email protected] >
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/3020/
Signed-off-by: Ralf Baechle <[email protected] >
2011-12-07 22:02:47 +00:00
Gabor Juhos
7e0dde175e
MIPS: ath79: Add initial support for the Atheros AP121 reference board
...
Signed-off-by: Gabor Juhos <[email protected] >
Cc: [email protected]
Cc: Kathy Giori <[email protected] >
Cc: "Luis R. Rodriguez" <[email protected] >
Patchwork: https://patchwork.linux-mips.org/patch/2531/
Signed-off-by: Ralf Baechle <[email protected] >
2011-12-07 22:02:47 +00:00
Gabor Juhos
7e98aa4639
MIPS: ath79: add common USB Host Controller device
...
Add common platform_device and helper code to make the registration of
the built-in USB controllers easier on the board which are using them.
Also register the USB controller on the AP81 and PB44 boards.
Signed-off-by: Gabor Juhos <[email protected] >
Signed-off-by: Imre Kaloz <[email protected] >
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/2442/
Signed-off-by: Ralf Baechle <[email protected] >
2011-12-07 22:02:44 +00:00
Gabor Juhos
f5b35d0b16
MIPS: ath79: add common WMAC device for AR913X based boards
...
Add common platform_device and helper code to make the registration
of the built-in wireless MAC easier on the Atheros AR9130/AR9132
based boards. Also register the WMAC device on the AR81 board.
Signed-off-by: Gabor Juhos <[email protected] >
Cc: [email protected]
Cc: Imre Kaloz <[email protected] >,
Cc: Luis R. Rodriguez <[email protected] >
Cc: Cliff Holden <[email protected] >
Cc: Kathy Giori <[email protected] >
Patchwork: https://patchwork.linux-mips.org/patch/1962/
Signed-off-by: Ralf Baechle <[email protected] >
2011-01-18 19:30:28 +01:00
Gabor Juhos
aa6695ec8b
MIPS: ath79: Add initial support for the Atheros AP81 reference board
...
Signed-off-by: Gabor Juhos <[email protected] >
Signed-off-by: Imre Kaloz <[email protected] >
Cc: [email protected]
Cc: Luis R. Rodriguez <[email protected] >
Cc: Cliff Holden <[email protected] >
Cc: Kathy Giori <[email protected] >
Patchwork: https://patchwork.linux-mips.org/patch/1952/
Signed-off-by: Ralf Baechle <[email protected] >
2011-01-18 19:30:27 +01:00
Gabor Juhos
68a1d31636
MIPS: ath79: add common SPI controller device
...
Several boards are using the built-in SPI controller of the
AR71XX/AR724X/AR913X SoCs. This patch adds common platform_device
and helper code to register it. Additionally, the patch registers
the SPI bus on the PB44 board.
Signed-off-by: Gabor Juhos <[email protected] >
Cc: [email protected]
Cc: Imre Kaloz <[email protected] >
Cc: Luis R. Rodriguez <[email protected] >
Cc: Cliff Holden <[email protected] >
Cc: Kathy Giori <[email protected] >
Patchwork: https://patchwork.linux-mips.org/patch/1956/
Signed-off-by: Ralf Baechle <[email protected] >
2011-01-18 19:30:27 +01:00
Gabor Juhos
3f348c5d1a
MIPS: ath79: add common GPIO buttons device
...
Almost all boards have one or more push buttons connected to GPIO lines.
This patch adds common code to register a platform_device for them.
The patch also adds support for the buttons on the PB44 board.
Signed-off-by: Gabor Juhos <[email protected] >
Signed-off-by: Imre Kaloz <[email protected] >
Cc: [email protected]
Cc: Luis R. Rodriguez <[email protected] >
Cc: Cliff Holden <[email protected] >
Cc: Kathy Giori <[email protected] >
Patchwork: https://patchwork.linux-mips.org/patch/1954/
Signed-off-by: Ralf Baechle <[email protected] >
2011-01-18 19:30:27 +01:00
Gabor Juhos
d8fec1fc80
MIPS: ath79: add common GPIO LEDs device
...
Almost all boards have one or more LEDs connected to GPIO lines. This
patch adds common code to register a platform_device for them.
The patch also adds support for the LEDs on the PB44 board.
Signed-off-by: Gabor Juhos <[email protected] >
Signed-off-by: Imre Kaloz <[email protected] >
Cc: [email protected]
Cc: Luis R. Rodriguez <[email protected] >
Cc: Cliff Holden <[email protected] >
Cc: Kathy Giori <[email protected] >
Patchwork: https://patchwork.linux-mips.org/patch/1953/
Signed-off-by: Ralf Baechle <[email protected] >
2011-01-18 19:30:26 +01:00
Gabor Juhos
0cde72284c
MIPS: ath79: add initial support for the Atheros PB44 reference board
...
Signed-off-by: Gabor Juhos <[email protected] >
Cc: Imre Kaloz <[email protected] >
Cc: [email protected]
Cc: Luis R. Rodriguez <[email protected] >
Cc: Cliff Holden <[email protected] >
Cc: Kathy Giori <[email protected] >
Patchwork: https://patchwork.linux-mips.org/patch/1950/
Signed-off-by: Ralf Baechle <[email protected] >
2011-01-18 19:30:26 +01:00
Gabor Juhos
6eae43c57e
MIPS: ath79: add GPIOLIB support
...
This patch implements generic GPIO routines for the built-in
GPIO controllers of the Atheros AR71XX/AR724X/AR913X SoCs.
Signed-off-by: Gabor Juhos <[email protected] >
Signed-off-by: Imre Kaloz <[email protected] >
Cc: David Brownell <[email protected] >
Cc: [email protected]
Cc: Luis R. Rodriguez <[email protected] >
Cc: Cliff Holden <[email protected] >
Cc: Kathy Giori <[email protected] >
Patchwork: https://patchwork.linux-mips.org/patch/1948/
Signed-off-by: Ralf Baechle <[email protected] >
2011-01-18 19:30:25 +01:00
Gabor Juhos
d4a67d9dc8
MIPS: Add initial support for the Atheros AR71XX/AR724X/AR931X SoCs
...
This patch adds initial support for various Atheros SoCs based on the
MIPS 24Kc core. The following models are supported at the moment:
- AR7130
- AR7141
- AR7161
- AR9130
- AR9132
- AR7240
- AR7241
- AR7242
The current patch contains minimal support only, but the resulting
kernel can boot into user-space with using of an initramfs image on
various boards which are using these SoCs. Support for more built-in
devices and individual boards will be implemented in further patches.
Signed-off-by: Gabor Juhos <[email protected] >
Signed-off-by: Imre Kaloz <[email protected] >
Cc: [email protected]
Cc: Luis R. Rodriguez <[email protected] >
Cc: Cliff Holden <[email protected] >
Cc: Kathy Giori <[email protected] >
Patchwork: https://patchwork.linux-mips.org/patch/1947/
Signed-off-by: Ralf Baechle <[email protected] >
2011-01-18 19:30:24 +01:00