Home
last modified time | relevance | path

Searched +full:sg2042 +full:- +full:msi (Results 1 – 5 of 5) sorted by relevance

/linux/Documentation/devicetree/bindings/interrupt-controller/
H A Dsophgo,sg2042-msi.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/interrupt-controller/sophgo,sg2042-msi.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Sophgo SG2042 MSI Controller
10 - Chen Wang <unicorn_wang@outlook.com>
13 This interrupt controller is in Sophgo SG2042 for transforming interrupts from
14 PCIe MSI to PLIC interrupts.
17 - $ref: /schemas/interrupt-controller/msi-controller.yaml#
22 - sophgo,sg2042-msi
[all …]
/linux/Documentation/devicetree/bindings/pci/
H A Dsophgo,sg2042-pcie-host.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/pci/sophgo,sg2042-pcie-host.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Sophgo SG2042 PCIe Host (Cadence PCIe Wrapper)
10 Sophgo SG2042 PCIe host controller is based on the Cadence PCIe core.
13 - Chen Wang <unicorn_wang@outlook.com>
17 const: sophgo,sg2042-pcie-host
22 reg-names:
24 - const: reg
[all …]
/linux/drivers/irqchip/
H A Dirq-sg2042-msi.c1 // SPDX-License-Identifier: GPL-2.0
3 * SG2042 MSI Controller
15 #include <linux/msi.h>
20 #include <linux/irqchip/irq-msi-lib.h>
28 * struct sg204x_msi_chipdata - chip data for the SG204x MSI IRQ controller
34 * @msi_map: mapping for allocated MSI vectors.
57 guard(mutex)(&data->msi_map_lock); in sg204x_msi_allocate_hwirq()
58 first = bitmap_find_free_region(data->msi_map, data->num_irqs, in sg204x_msi_allocate_hwirq()
60 return first >= 0 ? first : -ENOSPC; in sg204x_msi_allocate_hwirq()
65 guard(mutex)(&data->msi_map_lock); in sg204x_msi_free_hwirq()
[all …]
/linux/arch/riscv/boot/dts/sophgo/
H A Dsg2044.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
6 #include <dt-bindings/clock/sophgo,sg2044-pll.h>
7 #include <dt-bindings/clock/sophgo,sg2044-clk.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/pinctrl/pinctrl-sg2044.h>
12 #include "sg2044-cpus.dtsi"
13 #include "sg2044-reset.h"
24 compatible = "fixed-clock";
25 clock-output-names = "osc";
[all …]
H A Dsg2044-sophgo-srd3-10.dts1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
6 /dts-v1/;
11 model = "Sophgo SG2044 SRD3-10";
12 compatible = "sophgo,srd3-10", "sophgo,sg2044";
22 stdout-path = "serial1:115200n8";
27 clock-frequency = <25000000>;
31 bus-width = <4>;
32 no-sdio;
33 no-sd;
34 non-removable;
[all …]