Geert Uytterhoeven
e40b3deff7
MIPS: BMIPS: Replace <linux/clk-provider.h> by <linux/of_clk.h>
...
The Broadcom BMIPS platform code is not a clock provider, and just needs
to call of_clk_init().
Hence it can include <linux/of_clk.h> instead of <linux/clk-provider.h>.
Signed-off-by: Geert Uytterhoeven <[email protected] >
Acked-by: Florian Fainelli <[email protected] >
Reviewed-by: Philippe Mathieu-Daudé <[email protected] >
Reviewed-by: Stephen Boyd <[email protected] >
Signed-off-by: Paul Burton <[email protected] >
Cc: Ralf Baechle <[email protected] >
Cc: Paul Cercueil <[email protected] >
Cc: James Hartley <[email protected] >
Cc: John Crispin <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
2020-02-19 10:36:02 -08:00
Mauro Carvalho Chehab
dc7a12bdfc
docs: arm: convert docs to ReST and rename to *.rst
...
Converts ARM the text files to ReST, preparing them to be an
architecture book.
The conversion is actually:
- add blank lines and identation in order to identify paragraphs;
- fix tables markups;
- add some lists markups;
- mark literal blocks;
- adjust title markups.
At its new index.rst, let's add a :orphan: while this is not linked to
the main index.rst file, in order to avoid build warnings.
Signed-off-by: Mauro Carvalho Chehab <[email protected] >
Reviewed-by Corentin Labbe <[email protected] > # For sun4i-ss
2019-07-15 09:20:24 -03:00
Mike Rapoport
57c8a661d9
mm: remove include/linux/bootmem.h
...
Move remaining definitions and declarations from include/linux/bootmem.h
into include/linux/memblock.h and remove the redundant header.
The includes were replaced with the semantic patch below and then
semi-automated removal of duplicated '#include <linux/memblock.h>
@@
@@
- #include <linux/bootmem.h>
+ #include <linux/memblock.h>
[[email protected] : dma-direct: fix up for the removal of linux/bootmem.h]
Link: http://lkml.kernel.org/r/[email protected]
[[email protected] : powerpc: fix up for removal of linux/bootmem.h]
Link: http://lkml.kernel.org/r/[email protected]
[[email protected] : x86/kaslr, ACPI/NUMA: fix for linux/bootmem.h removal]
Link: http://lkml.kernel.org/r/[email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Mike Rapoport <[email protected] >
Signed-off-by: Stephen Rothwell <[email protected] >
Acked-by: Michal Hocko <[email protected] >
Cc: Catalin Marinas <[email protected] >
Cc: Chris Zankel <[email protected] >
Cc: "David S. Miller" <[email protected] >
Cc: Geert Uytterhoeven <[email protected] >
Cc: Greentime Hu <[email protected] >
Cc: Greg Kroah-Hartman <[email protected] >
Cc: Guan Xuetao <[email protected] >
Cc: Ingo Molnar <[email protected] >
Cc: "James E.J. Bottomley" <[email protected] >
Cc: Jonas Bonn <[email protected] >
Cc: Jonathan Corbet <[email protected] >
Cc: Ley Foon Tan <[email protected] >
Cc: Mark Salter <[email protected] >
Cc: Martin Schwidefsky <[email protected] >
Cc: Matt Turner <[email protected] >
Cc: Michael Ellerman <[email protected] >
Cc: Michal Simek <[email protected] >
Cc: Palmer Dabbelt <[email protected] >
Cc: Paul Burton <[email protected] >
Cc: Richard Kuo <[email protected] >
Cc: Richard Weinberger <[email protected] >
Cc: Rich Felker <[email protected] >
Cc: Russell King <[email protected] >
Cc: Serge Semin <[email protected] >
Cc: Thomas Gleixner <[email protected] >
Cc: Tony Luck <[email protected] >
Cc: Vineet Gupta <[email protected] >
Cc: Yoshinori Sato <[email protected] >
Signed-off-by: Andrew Morton <[email protected] >
Signed-off-by: Linus Torvalds <[email protected] >
2018-10-31 08:54:16 -07:00
Yasha Cherikovsky
e524c788bf
MIPS: BMIPS: Remove special handling of CONFIG_MIPS_ELF_APPENDED_DTB=y
...
The ELF appended dtb can be accessed now via 'fw_passed_dtb'.
Signed-off-by: Yasha Cherikovsky <[email protected] >
Signed-off-by: Paul Burton <[email protected] >
Reviewed-by: Florian Fainelli <[email protected] >
Patchwork: https://patchwork.linux-mips.org/patch/20804/
Cc: Kevin Cernekee <[email protected] >
Cc: Florian Fainelli <[email protected] >
Cc: Ralf Baechle <[email protected] >
Cc: Paul Burton <[email protected] >
Cc: James Hogan <[email protected] >
Cc: [email protected]
Cc: [email protected]
2018-09-26 11:46:14 -07:00
Rob Herring
0279455f16
MIPS: bmips: remove unnecessary call to register "simple-bus"
...
The DT core will register "simple-bus" by default, so it is not necessary
for arch specific code to do so unless there are custom match entries,
auxdata or parent device. Neither of those apply here, so remove the call.
Cc: Kevin Cernekee <[email protected] >
Cc: Florian Fainelli <[email protected] >
Cc: Ralf Baechle <[email protected] >
Cc: Paul Burton <[email protected] >
Cc: James Hogan <[email protected] >
Cc: [email protected]
Signed-off-by: Rob Herring <[email protected] >
Patchwork: https://patchwork.linux-mips.org/patch/19590/
Signed-off-by: Paul Burton <[email protected] >
Cc: [email protected]
2018-06-24 09:27:27 -07:00
Jaedon Shin
d66698e083
MIPS: BMIPS: Support APPENDED_DTB
...
Use appended DTB when available.
Signed-off-by: Jaedon Shin <[email protected] >
Cc: Kevin Cernekee <[email protected] >
Cc: Florian Fainelli <[email protected] >
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/14337/
Signed-off-by: Ralf Baechle <[email protected] >
2016-10-06 17:31:02 +02:00
Álvaro Fernández Rojas
8e385a66d7
MIPS: BMIPS: Add BCM6362 support
...
BCM6362 is a BMIPS4350 SoC which needs the same fixup as BCM6368 in order to
enable SMP support.
Signed-off-by: Álvaro Fernández Rojas <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/13845/
Signed-off-by: Ralf Baechle <[email protected] >
2016-10-04 16:13:57 +02:00
Álvaro Fernández Rojas
4bac0e2afc
MIPS: BMIPS: Add BCM3368 support
...
BCM3368 has a shared TLB which conflicts with current SMP support, so it must
be disabled for now.
Signed-off-by: Álvaro Fernández Rojas <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/13840/
Signed-off-by: Ralf Baechle <[email protected] >
2016-10-04 16:13:57 +02:00
Jonas Gorski
15f37e1588
MIPS: store the appended dtb address in a variable
...
Instead of rewriting the arguments to match the UHI spec, store the
address of a appended or UHI supplied dtb in fw_supplied_dtb.
That way the original bootloader arugments are kept intact while still
making the use of an appended dtb invisible for mach code.
Mach code can still find out if it is an appended dtb by comparing
fw_arg1 with fw_supplied_dtb.
Signed-off-by: Jonas Gorski <[email protected] >
Cc: Kevin Cernekee <[email protected] >
Cc: Florian Fainelli <[email protected] >
Cc: John Crispin <[email protected] >
Cc: Paul Burton <[email protected] >
Cc: James Hogan <[email protected] >
Cc: Alban Bedel <[email protected] >
Cc: Daniel Gimpelevich <[email protected] >
Cc: Antony Pavlov <[email protected] >
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/13699/
Signed-off-by: Ralf Baechle <[email protected] >
2016-08-02 14:00:16 +02:00
Álvaro Fernández Rojas
3652acd231
MIPS: BMIPS: Add support for BCM63268
...
This SoC is very similar to BCM63168 and Broadcom usually refers to them as
BCM63268.
Add BCM63268 and missing BCM63168 to device tree documentation.
Signed-off-by: Álvaro Fernández Rojas <[email protected] >
Acked-by: Rob Herring <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/13042/
Signed-off-by: Ralf Baechle <[email protected] >
2016-05-13 14:02:09 +02:00
Álvaro Fernández Rojas
3604b4510c
MIPS: BMIPS: Add BCM6358 support
...
BCM6358 has a shared TLB which conflicts with current SMP support, so it must
be disabled for now.
BCM6358 uses >= 0xfffe0000 addresses for internal registers, which need to be
remapped (by using a simplified version of BRCM63xx ioremap.h).
However, 0xfff80000 is a better address, since it also covers BCM3368, leaving
the possibility to add it in the future.
Signed-off-by: Álvaro Fernández Rojas <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/13040/
Signed-off-by: Ralf Baechle <[email protected] >
2016-05-13 14:02:09 +02:00
Florian Fainelli
738a3f7902
MIPS: BMIPS: Add early CPU initialization code
...
Port the stblinux-3.3 code to perform a bunch of CPU-specific initialization,
make it compatible with run-time detection of the CPU, and unroll the
brcmstb-specific macros: BDEV_RB(), BDEV_UNSET.
The "pref 30" disabling is done as a quirk. This is a preliminary change to
allow the use of the "rotr" instruction gated by cpu_has_rixi.
Signed-off-by: Florian Fainelli <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/12504/
Signed-off-by: Ralf Baechle <[email protected] >
2016-05-13 14:01:55 +02:00
Simon Arlott
16580796f9
MIPS: bmips: Support SMP on BCM63168
...
The BCM63168 requires the same CPU1 fix as BCM6368.
Signed-off-by: Simon Arlott <[email protected] >
Cc: Kevin Cernekee <[email protected] >
Cc: Florian Fainelli <[email protected] >
Cc: [email protected]
Cc: Linux Kernel Mailing List <[email protected] >
Patchwork: https://patchwork.linux-mips.org/patch/11487/
Signed-off-by: Ralf Baechle <[email protected] >
2016-01-04 09:42:26 +01:00
Jonas Gorski
2bcef9b457
MIPS: Make MIPS_CMDLINE_DTB default
...
Seval of-enabled machines (bmips, lantiq, xlp, pistachio, ralink) copied
the arguments from dtb to arcs_command_line to prevent the kernel from
overwriting them.
Since there is now an option to keep the dtb arguments, default to the
new option remove the "backup" to arcs_command_line in case of USE_OF is
enabled, except for those platforms that still take the bootloader
arguments or do not use any at all.
Signed-off-by: Jonas Gorski <[email protected] >
Cc: [email protected]
Cc: Kevin Cernekee <[email protected] >
Cc: Florian Fainelli <[email protected] >
Cc: Zubair Lutfullah Kakakhel <[email protected] >
Cc: James Hogan <[email protected] >
Cc: John Crispin <[email protected] >
Cc: Ganesan Ramalingam <[email protected] >
Cc: Jayachandran C <[email protected] >
Cc: Andrew Bresticker <[email protected] >
Cc: James Hartley <[email protected] >
Patchwork: https://patchwork.linux-mips.org/patch/11285/
Signed-off-by: Ralf Baechle <[email protected] >
2015-11-11 08:38:37 +01:00
Jonas Gorski
ca668a2da4
MIPS: BMIPS: Accept UHI interface for passing a dtb
...
Detect and use passed dtb address using the UHI interface. This allows for
booting with a vmlinux.bin appended dtb instead of using a built-in one.
Signed-off-by: Jonas Gorski <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: John Crispin <[email protected] >
Cc: Kevin Cernekee <[email protected] >
Cc: Florian Fainelli <[email protected] >
Cc: Aaro Koskinen <[email protected] >
Cc: Markos Chandras <[email protected] >
Cc: Andrew Bresticker <[email protected] >
Cc: Daniel Schwierzeck <[email protected] >
Cc: Paul Burton <[email protected] >
Cc: James Hartley <[email protected] >
Patchwork: https://patchwork.linux-mips.org/patch/9742/
Signed-off-by: Ralf Baechle <[email protected] >
2015-06-21 21:54:17 +02:00
Kevin Cernekee
4b049a6b27
MIPS: BMIPS: Add quirks for several Broadcom platforms
...
A couple of chips require special handling in order to make SMP secondary
boot and/or exception vectors work correctly. Take care of these in
setup.c.
Signed-off-by: Kevin Cernekee <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/8852/
Signed-off-by: Ralf Baechle <[email protected] >
2015-04-01 17:21:40 +02:00
Kevin Cernekee
c4b2570917
MIPS: BMIPS: Remove bogus bus name
...
There is no "bcm3384" bus so let's just remove it to avoid confusion.
Signed-off-by: Kevin Cernekee <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/8851/
Signed-off-by: Ralf Baechle <[email protected] >
2015-04-01 17:21:39 +02:00
Kevin Cernekee
5f2d44591f
MIPS: bcm3384: Rename "bcm3384" target to "bmips"
...
This platform is configured primarily through device tree, and we can
reuse the same code to support a bunch of other chips. Change the name
to reflect this.
[[email protected] : Fix conflicts with other patches.]
Signed-off-by: Kevin Cernekee <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/8838/
Signed-off-by: Ralf Baechle <[email protected] >
2015-04-01 17:21:35 +02:00