forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
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_5.9' of git://git.kernel.org/pub/scm/linux/kernel/git…
…/mips/linux Pull MIPS upates from Thomas Bogendoerfer: - improvements for Loongson64 - extended ingenic support - removal of not maintained paravirt system type - cleanups and fixes * tag 'mips_5.9' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux: (81 commits) MIPS: SGI-IP27: always enable NUMA in Kconfig MAINTAINERS: Update KVM/MIPS maintainers MIPS: Update default config file for Loongson-3 MIPS: KVM: Add kvm guest support for Loongson-3 dt-bindings: mips: Document Loongson kvm guest board MIPS: handle Loongson-specific GSExc exception MIPS: add definitions for Loongson-specific CP0.Diag1 register MIPS: only register FTLBPar exception handler for supported models MIPS: ingenic: Hardcode mem size for qi,lb60 board MIPS: DTS: ingenic/qi,lb60: Add model and memory node MIPS: ingenic: Use fw_passed_dtb even if CONFIG_BUILTIN_DTB MIPS: head.S: Init fw_passed_dtb to builtin DTB of: address: Fix parser address/size cells initialization of_address: Guard of_bus_pci_get_flags with CONFIG_PCI MIPS: DTS: Fix number of msi vectors for Loongson64G MIPS: Loongson64: Add ISA node for LS7A PCH MIPS: Loongson64: DTS: Fix ISA and PCI I/O ranges for RS780E PCH MIPS: Loongson64: Enlarge IO_SPACE_LIMIT MIPS: Loongson64: Process ISA Node in DeviceTree of_address: Add bus type match for pci ranges parser ...
- Loading branch information
Showing
108 changed files
with
3,139 additions
and
1,608 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/bus/mti,mips-cdmm.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: MIPS Common Device Memory Map | ||
|
||
description: | | ||
Defines a location of the MIPS Common Device Memory Map registers. | ||
maintainers: | ||
- James Hogan <[email protected]> | ||
|
||
properties: | ||
compatible: | ||
const: mti,mips-cdmm | ||
|
||
reg: | ||
description: | | ||
Base address and size of an unoccupied memory region, which will be | ||
used to map the MIPS CDMM registers block. | ||
maxItems: 1 | ||
|
||
required: | ||
- compatible | ||
- reg | ||
|
||
examples: | ||
- | | ||
cdmm@1bde8000 { | ||
compatible = "mti,mips-cdmm"; | ||
reg = <0x1bde8000 0x8000>; | ||
}; | ||
... |
67 changes: 0 additions & 67 deletions
67
Documentation/devicetree/bindings/interrupt-controller/mips-gic.txt
This file was deleted.
Oops, something went wrong.
148 changes: 148 additions & 0 deletions
148
Documentation/devicetree/bindings/interrupt-controller/mti,gic.yaml
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,148 @@ | ||
# SPDX-License-Identifier: GPL-2.0-only | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/interrupt-controller/mti,gic.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: MIPS Global Interrupt Controller | ||
|
||
maintainers: | ||
- Paul Burton <[email protected]> | ||
- Thomas Bogendoerfer <[email protected]> | ||
|
||
description: | | ||
The MIPS GIC routes external interrupts to individual VPEs and IRQ pins. | ||
It also supports local (per-processor) interrupts and software-generated | ||
interrupts which can be used as IPIs. The GIC also includes a free-running | ||
global timer, per-CPU count/compare timers, and a watchdog. | ||
properties: | ||
compatible: | ||
const: mti,gic | ||
|
||
"#interrupt-cells": | ||
const: 3 | ||
description: | | ||
The 1st cell is the type of interrupt: local or shared defined in the | ||
file 'dt-bindings/interrupt-controller/mips-gic.h'. The 2nd cell is the | ||
GIC interrupt number. The 3d cell encodes the interrupt flags setting up | ||
the IRQ trigger modes, which are defined in the file | ||
'dt-bindings/interrupt-controller/irq.h'. | ||
reg: | ||
description: | | ||
Base address and length of the GIC registers space. If not present, | ||
the base address reported by the hardware GCR_GIC_BASE will be used. | ||
maxItems: 1 | ||
|
||
interrupt-controller: true | ||
|
||
mti,reserved-cpu-vectors: | ||
description: | | ||
Specifies the list of CPU interrupt vectors to which the GIC may not | ||
route interrupts. This property is ignored if the CPU is started in EIC | ||
mode. | ||
allOf: | ||
- $ref: /schemas/types.yaml#definitions/uint32-array | ||
- minItems: 1 | ||
maxItems: 6 | ||
uniqueItems: true | ||
items: | ||
minimum: 2 | ||
maximum: 7 | ||
|
||
mti,reserved-ipi-vectors: | ||
description: | | ||
Specifies the range of GIC interrupts that are reserved for IPIs. | ||
It accepts two values: the 1st is the starting interrupt and the 2nd is | ||
the size of the reserved range. If not specified, the driver will | ||
allocate the last (2 * number of VPEs in the system). | ||
allOf: | ||
- $ref: /schemas/types.yaml#definitions/uint32-array | ||
- items: | ||
- minimum: 0 | ||
maximum: 254 | ||
- minimum: 2 | ||
maximum: 254 | ||
|
||
timer: | ||
type: object | ||
description: | | ||
MIPS GIC includes a free-running global timer, per-CPU count/compare | ||
timers, and a watchdog. Currently only the GIC Timer is supported. | ||
properties: | ||
compatible: | ||
const: mti,gic-timer | ||
|
||
interrupts: | ||
description: | | ||
Interrupt for the GIC local timer, so normally it's suppose to be of | ||
<GIC_LOCAL X IRQ_TYPE_NONE> format. | ||
maxItems: 1 | ||
|
||
clocks: | ||
maxItems: 1 | ||
|
||
clock-frequency: true | ||
|
||
required: | ||
- compatible | ||
- interrupts | ||
|
||
oneOf: | ||
- required: | ||
- clocks | ||
- required: | ||
- clock-frequency | ||
|
||
additionalProperties: false | ||
|
||
unevaluatedProperties: false | ||
|
||
required: | ||
- compatible | ||
- "#interrupt-cells" | ||
- interrupt-controller | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/interrupt-controller/mips-gic.h> | ||
#include <dt-bindings/interrupt-controller/irq.h> | ||
interrupt-controller@1bdc0000 { | ||
compatible = "mti,gic"; | ||
reg = <0x1bdc0000 0x20000>; | ||
interrupt-controller; | ||
#interrupt-cells = <3>; | ||
mti,reserved-cpu-vectors = <7>; | ||
mti,reserved-ipi-vectors = <40 8>; | ||
timer { | ||
compatible = "mti,gic-timer"; | ||
interrupts = <GIC_LOCAL 1 IRQ_TYPE_NONE>; | ||
clock-frequency = <50000000>; | ||
}; | ||
}; | ||
- | | ||
#include <dt-bindings/interrupt-controller/mips-gic.h> | ||
#include <dt-bindings/interrupt-controller/irq.h> | ||
interrupt-controller@1bdc0000 { | ||
compatible = "mti,gic"; | ||
reg = <0x1bdc0000 0x20000>; | ||
interrupt-controller; | ||
#interrupt-cells = <3>; | ||
timer { | ||
compatible = "mti,gic-timer"; | ||
interrupts = <GIC_LOCAL 1 IRQ_TYPE_NONE>; | ||
clocks = <&cpu_pll>; | ||
}; | ||
}; | ||
- | | ||
interrupt-controller { | ||
compatible = "mti,gic"; | ||
interrupt-controller; | ||
#interrupt-cells = <3>; | ||
}; | ||
... |
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 |
---|---|---|
|
@@ -8,7 +8,8 @@ title: Ingenic XBurst based Platforms Device Tree Bindings | |
|
||
maintainers: | ||
- 周琰杰 (Zhou Yanjie) <[email protected]> | ||
description: | | ||
|
||
description: | ||
Devices with a Ingenic XBurst CPU shall have the following properties. | ||
|
||
properties: | ||
|
@@ -22,6 +23,11 @@ properties: | |
- const: qi,lb60 | ||
- const: ingenic,jz4740 | ||
|
||
- description: YLM RetroMini RS-90 | ||
items: | ||
- const: ylm,rs90 | ||
- const: ingenic,jz4725b | ||
|
||
- description: Game Consoles Worldwide GCW Zero | ||
items: | ||
- const: gcw,zero | ||
|
@@ -32,8 +38,13 @@ properties: | |
- const: img,ci20 | ||
- const: ingenic,jz4780 | ||
|
||
- description: YSH & ATIL General Board CU Neo | ||
- description: YSH & ATIL General Board, CU1000 Module with Neo Backplane | ||
items: | ||
- const: yna,cu1000-neo | ||
- const: ingenic,x1000 | ||
- const: ingenic,x1000e | ||
|
||
- description: YSH & ATIL General Board, CU1830 Module with Neo Backplane | ||
items: | ||
- const: yna,cu1830-neo | ||
- const: ingenic,x1830 | ||
... |
67 changes: 67 additions & 0 deletions
67
Documentation/devicetree/bindings/mips/ingenic/ingenic,cpu.yaml
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,67 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/mips/ingenic/ingenic,cpu.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Bindings for Ingenic XBurst family CPUs | ||
|
||
maintainers: | ||
- 周琰杰 (Zhou Yanjie) <[email protected]> | ||
|
||
description: | ||
Ingenic XBurst family CPUs shall have the following properties. | ||
|
||
properties: | ||
compatible: | ||
oneOf: | ||
|
||
- description: Ingenic XBurst®1 CPU Cores | ||
enum: | ||
- ingenic,xburst-mxu1.0 | ||
- ingenic,xburst-fpu1.0-mxu1.1 | ||
- ingenic,xburst-fpu2.0-mxu2.0 | ||
|
||
- description: Ingenic XBurst®2 CPU Cores | ||
enum: | ||
- ingenic,xburst2-fpu2.1-mxu2.1-smt | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
clocks: | ||
maxItems: 1 | ||
|
||
required: | ||
- device_type | ||
- compatible | ||
- reg | ||
- clocks | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/clock/jz4780-cgu.h> | ||
cpus { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
cpu0: cpu@0 { | ||
device_type = "cpu"; | ||
compatible = "ingenic,xburst-fpu1.0-mxu1.1"; | ||
reg = <0>; | ||
clocks = <&cgu JZ4780_CLK_CPU>; | ||
clock-names = "cpu"; | ||
}; | ||
cpu1: cpu@1 { | ||
device_type = "cpu"; | ||
compatible = "ingenic,xburst-fpu1.0-mxu1.1"; | ||
reg = <1>; | ||
clocks = <&cgu JZ4780_CLK_CORE1>; | ||
clock-names = "cpu"; | ||
}; | ||
}; | ||
... |
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.