Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'for-linus' of https://github.com/openrisc/linux

Pull OpenRISC updates from Stafford Horne:
"Just a few documentation updates from the community:

- Device tree documentation conversion from txt to yaml

- Documentation addition to help users getting started with initramfs
on OpenRISC

* tag 'for-linus' of https://github.com/openrisc/linux:
dt-bindings: interrupt-controller: Convert openrisc,ompic to DT schema
dt-bindings: interrupt-controller: Convert opencores,or1k-pic to DT schema
Documentation:openrisc: Add build instructions with initramfs

+89 -45
+6
Documentation/arch/openrisc/openrisc_port.rst
··· 40 40 make ARCH=openrisc CROSS_COMPILE="or1k-linux-" defconfig 41 41 make ARCH=openrisc CROSS_COMPILE="or1k-linux-" 42 42 43 + If you want to embed initramfs in the kernel, also pass ``CONFIG_INITRAMFS_SOURCE``. For example:: 44 + 45 + make ARCH=openrisc CROSS_COMPILE="or1k-linux-" CONFIG_INITRAMFS_SOURCE="path/to/rootfs path/to/devnodes" 46 + 47 + For more information on this, please check Documentation/filesystems/ramfs-rootfs-initramfs.rst. 48 + 43 49 3) Running on FPGA (optional) 44 50 45 51 The OpenRISC community typically uses FuseSoC to manage building and programming
-23
Documentation/devicetree/bindings/interrupt-controller/opencores,or1k-pic.txt
··· 1 - OpenRISC 1000 Programmable Interrupt Controller 2 - 3 - Required properties: 4 - 5 - - compatible : should be "opencores,or1k-pic-level" for variants with 6 - level triggered interrupt lines, "opencores,or1k-pic-edge" for variants with 7 - edge triggered interrupt lines or "opencores,or1200-pic" for machines 8 - with the non-spec compliant or1200 type implementation. 9 - 10 - "opencores,or1k-pic" is also provided as an alias to "opencores,or1200-pic", 11 - but this is only for backwards compatibility. 12 - 13 - - interrupt-controller : Identifies the node as an interrupt controller 14 - - #interrupt-cells : Specifies the number of cells needed to encode an 15 - interrupt source. The value shall be 1. 16 - 17 - Example: 18 - 19 - intc: interrupt-controller { 20 - compatible = "opencores,or1k-pic-level"; 21 - interrupt-controller; 22 - #interrupt-cells = <1>; 23 - };
+38
Documentation/devicetree/bindings/interrupt-controller/opencores,or1k-pic.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/interrupt-controller/opencores,or1k-pic.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: OpenRISC 1000 Programmable Interrupt Controller 8 + 9 + maintainers: 10 + - Stefan Kristiansson <stefan.kristiansson@saunalahti.fi> 11 + 12 + properties: 13 + compatible: 14 + enum: 15 + - opencores,or1k-pic-level 16 + - opencores,or1k-pic-edge 17 + - opencores,or1200-pic 18 + - opencores,or1k-pic 19 + 20 + interrupt-controller: true 21 + 22 + '#interrupt-cells': 23 + const: 1 24 + 25 + required: 26 + - compatible 27 + - interrupt-controller 28 + - '#interrupt-cells' 29 + 30 + additionalProperties: false 31 + 32 + examples: 33 + - | 34 + interrupt-controller { 35 + compatible = "opencores,or1k-pic-level"; 36 + interrupt-controller; 37 + #interrupt-cells = <1>; 38 + };
-22
Documentation/devicetree/bindings/interrupt-controller/openrisc,ompic.txt
··· 1 - Open Multi-Processor Interrupt Controller 2 - 3 - Required properties: 4 - 5 - - compatible : This should be "openrisc,ompic" 6 - - reg : Specifies base physical address and size of the register space. The 7 - size is based on the number of cores the controller has been configured 8 - to handle, this should be set to 8 bytes per cpu core. 9 - - interrupt-controller : Identifies the node as an interrupt controller. 10 - - #interrupt-cells : This should be set to 0 as this will not be an irq 11 - parent. 12 - - interrupts : Specifies the interrupt line to which the ompic is wired. 13 - 14 - Example: 15 - 16 - ompic: interrupt-controller@98000000 { 17 - compatible = "openrisc,ompic"; 18 - reg = <0x98000000 16>; 19 - interrupt-controller; 20 - #interrupt-cells = <0>; 21 - interrupts = <1>; 22 - };
+45
Documentation/devicetree/bindings/interrupt-controller/openrisc,ompic.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/interrupt-controller/openrisc,ompic.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Open Multi-Processor Interrupt Controller 8 + 9 + maintainers: 10 + - Stafford Horne <shorne@gmail.com> 11 + 12 + properties: 13 + compatible: 14 + items: 15 + - const: openrisc,ompic 16 + 17 + reg: 18 + maxItems: 1 19 + 20 + interrupt-controller: true 21 + 22 + '#interrupt-cells': 23 + const: 0 24 + 25 + interrupts: 26 + maxItems: 1 27 + 28 + required: 29 + - compatible 30 + - reg 31 + - interrupt-controller 32 + - '#interrupt-cells' 33 + - interrupts 34 + 35 + additionalProperties: false 36 + 37 + examples: 38 + - | 39 + interrupt-controller@98000000 { 40 + compatible = "openrisc,ompic"; 41 + reg = <0x98000000 16>; 42 + interrupt-controller; 43 + #interrupt-cells = <0>; 44 + interrupts = <1>; 45 + };