forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'mips_4.16' of git://git.kernel.org/pub/scm/linux/kernel/gi…
…t/jhogan/mips Pull MIPS updates from James Hogan: "These are the main MIPS changes for 4.16. Rough overview: (1) Basic support for the Ingenic JZ4770 based GCW Zero open-source handheld video game console (2) Support for the Ranchu board (used by Android emulator) (3) Various cleanups and misc improvements More detailed summary: Fixes: - Fix generic platform's USB_*HCI_BIG_ENDIAN selects (4.9) - Fix vmlinuz default build when ZBOOT selected - Fix clean up of vmlinuz targets - Fix command line duplication (in preparation for Ingenic JZ4770) Miscellaneous: - Allow Processor ID reads to be to be optimised away by the compiler (improves performance when running in guest) - Push ARCH_MIGHT_HAVE_PC_SERIO/PARPORT down to platform level to disable on generic platform with Ranchu board support - Add helpers for assembler macro instructions for older assemblers - Use assembler macro instructions to support VZ, XPA & MSA operations on older assemblers, removing C wrapper duplication - Various improvements to VZ & XPA assembly wrappers - Add drivers/platform/mips/ to MIPS MAINTAINERS entry Minor cleanups: - Misc FPU emulation cleanups (removal of unnecessary include, moving macros to common header, checkpatch and sparse fixes) - Remove duplicate assignment of core in play_dead() - Remove duplication in watchpoint handling - Remove mips_dma_mapping_error() stub - Use NULL instead of 0 in prepare_ftrace_return() - Use proper kernel-doc Return keyword for __compute_return_epc_for_insn() - Remove duplicate semicolon in csum_fold() Platform support: Broadcom: - Enable ZBOOT on BCM47xx Generic platform: - Add Ranchu board support, used by Android emulator - Fix machine compatible string matching for Ranchu - Support GIC in EIC mode Ingenic platforms: - Add DT, defconfig and other support for JZ4770 SoC and GCW Zero - Support dynamnic machine types (i.e. JZ4740 / JZ4770 / JZ4780) - Add Ingenic JZ4770 CGU clocks - General Ingenic clk changes to prepare for JZ4770 SoC support - Use common command line handling code - Add DT vendor prefix to GCW (Game Consoles Worldwide) Loongson: - Add MAINTAINERS entry for Loongson2 and Loongson3 platforms - Drop 32-bit support for Loongson 2E/2F devices - Fix build failures due to multiple use of 'MEM_RESERVED'" * tag 'mips_4.16' of git://git.kernel.org/pub/scm/linux/kernel/git/jhogan/mips: (53 commits) MIPS: Malta: Sanitize mouse and keyboard configuration. MIPS: Update defconfigs after previous patch. MIPS: Push ARCH_MIGHT_HAVE_PC_SERIO down to platform level MIPS: Push ARCH_MIGHT_HAVE_PC_PARPORT down to platform level MIPS: SMP-CPS: Remove duplicate assignment of core in play_dead MIPS: Generic: Support GIC in EIC mode MIPS: generic: Fix Makefile alignment MIPS: generic: Fix ranchu_of_match[] termination MIPS: generic: Fix machine compatible matching MIPS: Loongson fix name confict - MEM_RESERVED MIPS: bcm47xx: enable ZBOOT support MIPS: Fix trailing semicolon MIPS: Watch: Avoid duplication of bits in mips_read_watch_registers MIPS: Watch: Avoid duplication of bits in mips_install_watch_registers. MIPS: MSA: Update helpers to use new asm macros MIPS: XPA: Standardise readx/writex accessors MIPS: XPA: Allow use of $0 (zero) to MTHC0 MIPS: XPA: Use XPA instructions in assembly MIPS: VZ: Pass GC0 register names in $n format MIPS: VZ: Update helpers to use new asm macros ...
- Loading branch information
Showing
77 changed files
with
1,649 additions
and
553 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9188,6 +9188,7 @@ S: Supported | |
F: Documentation/devicetree/bindings/mips/ | ||
F: Documentation/mips/ | ||
F: arch/mips/ | ||
F: drivers/platform/mips/ | ||
|
||
MIPS BOSTON DEVELOPMENT BOARD | ||
M: Paul Burton <[email protected]> | ||
|
@@ -9215,6 +9216,25 @@ F: arch/mips/include/asm/mach-loongson32/ | |
F: drivers/*/*loongson1* | ||
F: drivers/*/*/*loongson1* | ||
|
||
MIPS/LOONGSON2 ARCHITECTURE | ||
M: Jiaxun Yang <[email protected]> | ||
L: [email protected] | ||
S: Maintained | ||
F: arch/mips/loongson64/*{2e/2f}* | ||
F: arch/mips/include/asm/mach-loongson64/ | ||
F: drivers/*/*loongson2* | ||
F: drivers/*/*/*loongson2* | ||
|
||
MIPS/LOONGSON3 ARCHITECTURE | ||
M: Huacai Chen <[email protected]> | ||
L: [email protected] | ||
S: Maintained | ||
F: arch/mips/loongson64/ | ||
F: arch/mips/include/asm/mach-loongson64/ | ||
F: drivers/platform/mips/cpu_hwmon.c | ||
F: drivers/*/*loongson3* | ||
F: drivers/*/*/*loongson3* | ||
|
||
MIPS RINT INSTRUCTION EMULATION | ||
M: Aleksandar Markovic <[email protected]> | ||
L: [email protected] | ||
|
@@ -11586,6 +11606,13 @@ S: Maintained | |
F: Documentation/blockdev/ramdisk.txt | ||
F: drivers/block/brd.c | ||
|
||
RANCHU VIRTUAL BOARD FOR MIPS | ||
M: Miodrag Dinic <[email protected]> | ||
L: [email protected] | ||
S: Supported | ||
F: arch/mips/generic/board-ranchu.c | ||
F: arch/mips/configs/generic/board-ranchu.config | ||
|
||
RANDOM NUMBER DRIVER | ||
M: "Theodore Ts'o" <[email protected]> | ||
S: Maintained | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
# SPDX-License-Identifier: GPL-2.0 | ||
dtb-$(CONFIG_JZ4740_QI_LB60) += qi_lb60.dtb | ||
dtb-$(CONFIG_JZ4770_GCW0) += gcw0.dtb | ||
dtb-$(CONFIG_JZ4780_CI20) += ci20.dtb | ||
|
||
obj-y += $(patsubst %.dtb, %.dtb.o, $(dtb-y)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
// SPDX-License-Identifier: GPL-2.0 | ||
/dts-v1/; | ||
|
||
#include "jz4770.dtsi" | ||
|
||
/ { | ||
compatible = "gcw,zero", "ingenic,jz4770"; | ||
model = "GCW Zero"; | ||
|
||
aliases { | ||
serial0 = &uart0; | ||
serial1 = &uart1; | ||
serial2 = &uart2; | ||
serial3 = &uart3; | ||
}; | ||
|
||
chosen { | ||
stdout-path = "serial2:57600n8"; | ||
}; | ||
|
||
board { | ||
compatible = "simple-bus"; | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
ranges; | ||
|
||
otg_phy: otg-phy { | ||
compatible = "usb-nop-xceiv"; | ||
clocks = <&cgu JZ4770_CLK_OTG_PHY>; | ||
clock-names = "main_clk"; | ||
}; | ||
}; | ||
}; | ||
|
||
&ext { | ||
clock-frequency = <12000000>; | ||
}; | ||
|
||
&uart2 { | ||
status = "okay"; | ||
}; | ||
|
||
&cgu { | ||
/* Put high-speed peripherals under PLL1, such that we can change the | ||
* PLL0 frequency on demand without having to suspend peripherals. | ||
* We use a rate of 432 MHz, which is the least common multiple of | ||
* 27 MHz (required by TV encoder) and 48 MHz (required by USB host). | ||
*/ | ||
assigned-clocks = | ||
<&cgu JZ4770_CLK_PLL1>, | ||
<&cgu JZ4770_CLK_UHC>; | ||
assigned-clock-parents = | ||
<0>, | ||
<&cgu JZ4770_CLK_PLL1>; | ||
assigned-clock-rates = | ||
<432000000>; | ||
}; | ||
|
||
&uhc { | ||
/* The WiFi module is connected to the UHC. */ | ||
status = "okay"; | ||
}; |
Oops, something went wrong.