/openbmc/linux/Documentation/devicetree/bindings/net/can/ |
H A D | renesas,rcar-canfd.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/net/can/renesas,rcar-canfd.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Renesas R-Car CAN FD Controller 10 - Fabrizio Castro <fabrizio.castro.jz@renesas.com> 15 - items: 16 - enum: 17 - renesas,r8a774a1-canfd # RZ/G2M 18 - renesas,r8a774b1-canfd # RZ/G2N [all …]
|
H A D | xilinx,can.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com> 16 - xlnx,zynq-can-1.0 17 - xlnx,axi-can-1.00.a 18 - xlnx,canfd-1.0 19 - xlnx,canfd-2.0 22 maxItems: 1 25 maxItems: 1 [all …]
|
H A D | renesas,rcar-can.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/net/can/renesas,rcar-can.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Renesas R-Car CAN Controller 10 - Sergei Shtylyov <sergei.shtylyov@gmail.com> 15 - items: 16 - enum: 17 - renesas,can-r8a7778 # R-Car M1-A 18 - renesas,can-r8a7779 # R-Car H1 [all …]
|
H A D | ctu,ctucanfd.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: CTU CAN FD Open-source IP Core 10 Open-source CAN FD IP core developed at the Czech Technical University in Prague 13 [1] sources : https://gitlab.fel.cvut.cz/canbus/ctucanfd_ip_core 18 [3] project : https://gitlab.fel.cvut.cz/canbus/zynq/zynq-can-sja1000-top 21 …tps://dspace.cvut.cz/bitstream/handle/10467/80366/F3-DP-2019-Jerabek-Martin-Jerabek-thesis-2019-ca… 24 - Pavel Pisa <pisa@cmp.felk.cvut.cz> 25 - Ondrej Ille <ondrej.ille@gmail.com> [all …]
|
/openbmc/qemu/tests/qtest/ |
H A D | xlnx-canfd-test.c | 2 * SPDX-License-Identifier: MIT 4 * QTests for the Xilinx Versal CANFD controller. 8 * Written-by: Vikram Garhwal<vikram.garhwal@amd.com> 57 /* CANFD modes. */ 60 #define MSR_LOOPBACK_MODE (1 << 1) 61 #define ENABLE_CANFD (1 << 1) 63 /* CANFD status. */ 64 #define STATUS_CONFIG_MODE (1 << 0) 65 #define STATUS_NORMAL_MODE (1 << 3) 66 #define STATUS_LOOPBACK_MODE (1 << 1) [all …]
|
/openbmc/qemu/include/hw/net/ |
H A D | xlnx-versal-canfd.h | 2 * QEMU model of the Xilinx Versal CANFD Controller. 6 * Written-by: Vikram Garhwal<vikram.garhwal@amd.com> 7 * Based on QEMU CANFD Device emulation implemented by Jin Yang, Deniz Eren and 34 #include "hw/qdev-clock.h" 36 #define TYPE_XILINX_CANFD "xlnx.versal-canfd" 40 #define NUM_REGS_PER_MSG_SPACE 18 /* 1 ID + 1 DLC + 16 Data(DW0 - DW15) regs. */ 47 ((MAX_NUM_RX - 1) * NUM_REGS_PER_MSG_SPACE) + 1)
|
/openbmc/linux/drivers/net/can/ifi_canfd/ |
H A D | ifi_canfd.c | 2 * CAN bus driver for IFI CANFD controller 7 * http://www.ifi-pld.de/IP/CANFD/canfd.html 49 #define IFI_CANFD_TXSTCMD_HIGH_PRIO BIT(1) 57 #define IFI_CANFD_INTERRUPT_ERROR_WARNING BIT(1) 69 #define IFI_CANFD_IRQMASK_ERROR_WARNING BIT(1) 122 #define IFI_CANFD_ERROR_CTR_ACK_ERROR_FIRST BIT(1) 218 /* IFI CANFD private data structure */ 237 if (priv->can.ctrlmode & CAN_CTRLMODE_BERR_REPORTING) in ifi_canfd_irq_enable() 245 priv->base + IFI_CANFD_IRQMASK); in ifi_canfd_irq_enable() 250 struct net_device_stats *stats = &ndev->stats; in ifi_canfd_read_fifo() [all …]
|
/openbmc/linux/arch/arm64/boot/dts/renesas/ |
H A D | rzg2lc-smarc.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/pinctrl/rzg2l-pinctrl.h> 11 #include "rzg2lc-smarc-pinfunction.dtsi" 12 #include "rz-smarc-common.dtsi" 20 osc1: cec-clock { 21 compatible = "fixed-clock"; 22 #clock-cells = <0>; 23 clock-frequency = <12000000>; 26 hdmi-out { [all …]
|
H A D | rzg2ul-smarc.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 * Device Tree Source for the RZ/G2UL Type-1 SMARC EVK parts 8 #include "rzg2ul-smarc-pinfunction.dtsi" 9 #include "rz-smarc-common.dtsi" 12 &canfd { 13 /delete-property/ pinctrl-0; 14 /delete-property/ pinctrl-names; 20 sound-dai = <&ssi1>; 24 wm8978: codec@1a { 26 #sound-dai-cells = <0>; [all …]
|
H A D | rz-smarc-common.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/pinctrl/rzg2l-pinctrl.h> 12 * SSI-WM8978 32 stdout-path = "serial0:115200n8"; 36 compatible = "fixed-clock"; 37 #clock-cells = <0>; 38 clock-frequency = <11289600>; 42 compatible = "simple-audio-card"; 43 simple-audio-card,format = "i2s"; [all …]
|
H A D | r9a07g043.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 8 #include <dt-bindings/clock/r9a07g043-cpg.h> 12 #address-cells = <2>; 13 #size-cells = <2>; 15 audio_clk1: audio1-clk { 16 compatible = "fixed-clock"; 17 #clock-cells = <0>; 19 clock-frequency = <0>; 22 audio_clk2: audio2-clk { 23 compatible = "fixed-clock"; [all …]
|
H A D | r8a77970.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Device Tree Source for the R-Car V3M (R8A77970) SoC 5 * Copyright (C) 2016-2017 Renesas Electronics Corp. 9 #include <dt-bindings/clock/r8a77970-cpg-mssr.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/power/r8a77970-sysc.h> 16 #address-cells = <2>; 17 #size-cells = <2>; 19 /* External CAN clock - to be overridden by boards that provide it */ [all …]
|
H A D | r9a07g054.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 9 #include <dt-bindings/clock/r9a07g054-cpg.h> 13 #address-cells = <2>; 14 #size-cells = <2>; 16 audio_clk1: audio1-clk { 17 compatible = "fixed-clock"; 18 #clock-cells = <0>; 20 clock-frequency = <0>; 23 audio_clk2: audio2-clk { [all …]
|
H A D | r9a07g044.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 9 #include <dt-bindings/clock/r9a07g044-cpg.h> 13 #address-cells = <2>; 14 #size-cells = <2>; 16 audio_clk1: audio1-clk { 17 compatible = "fixed-clock"; 18 #clock-cells = <0>; 20 clock-frequency = <0>; 23 audio_clk2: audio2-clk { [all …]
|
/openbmc/linux/drivers/net/can/ |
H A D | xilinx_can.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright (C) 2012 - 2022 Xilinx, Inc. 6 * Copyright (C) 2017 - 2018 Sandvik Mining and Construction Oy 87 /* CAN register bit masks - XCAN_<REG>_<BIT>_MASK */ 94 #define XCAN_2_BRPR_TDCO_MASK GENMASK(13, 8) /* TDCO for CANFD 2.0 */ 97 #define XCAN_BTR_TS1_MASK 0x0000000F /* Time segment 1 */ 100 #define XCAN_BTR_TS1_MASK_CANFD 0x0000003F /* Time segment 1 */ 141 /* CAN register bit shift - XCAN_<REG>_<BIT>_SHIFT */ 148 #define XCAN_IDR_ID2_SHIFT 1 /* Extended Message Identifier */ 155 #define XCAN_TIMEOUT (1 * HZ) [all …]
|
/openbmc/linux/drivers/net/can/rcar/ |
H A D | rcar_canfd.c | 1 // SPDX-License-Identifier: GPL-2.0+ 2 /* Renesas R-Car CAN FD device driver 7 /* The R-Car CAN FD controller can operate in either one of the below two modes 8 * - CAN FD only mode 9 * - Classical CAN (CAN 2.0) only mode 16 * "renesas,no-can-fd" optional property to the device tree node. A h/w reset is 53 #define RCANFD_GCFG_DCE BIT(1) 71 #define RCANFD_GSTS_GHLTSTS BIT(1) 73 /* Non-operational status */ 74 #define RCANFD_GSTS_GNOPM (BIT(0) | BIT(1) | BIT(2) | BIT(3)) [all …]
|
/openbmc/linux/drivers/net/can/dev/ |
H A D | dev.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* Copyright (C) 2005 Marc Kleine-Budde, Pengutronix 4 * Copyright (C) 2008-2009 Wolfgang Grandegger <wg@grandegger.com> 13 #include <linux/can/can-ml.h> 24 if (new_state <= priv->state) in can_update_state_error_stats() 29 priv->can_stats.error_warning++; in can_update_state_error_stats() 32 priv->can_stats.error_passive++; in can_update_state_error_stats() 35 priv->can_stats.bus_off++; in can_update_state_error_stats() 99 if (unlikely(new_state == priv->state)) { in can_change_state() 105 can_get_state_str(priv->state), priv->state, in can_change_state() [all …]
|
/openbmc/linux/drivers/net/can/usb/etas_es58x/ |
H A D | es58x_fd.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 /* Driver for ETAS GmbH ES58X USB CAN(-FD) Bus Interfaces. 6 * ES582.1 and ES584.1 (naming convention: we use the term "ES58X FD" 20 #define ES584_1_NUM_CAN_CH 1 34 /* Command IDs for ES58X_FD_CMD_TYPE_{CAN,CANFD}. */ 54 * enum es58x_fd_ctrlmode - Controller mode. 58 * @ES58X_FD_CTRLMODE_FD: CAN FD according to ISO11898-1. 63 * dominant. (c.f. ISO 11898-1:2015, section 10.4.2.4 "Control 65 * error frame. 1 (disable): goes into bus integration mode 68 * filtering is disabled. 1: Edge filtering is enabled. Two [all …]
|
/openbmc/linux/drivers/net/can/usb/ |
H A D | gs_usb.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2013-2016 Geschwister Schneider Technologie-, 6 * Entwicklungs- und Vertriebs UG (Haftungsbeschränkt). 8 * Copyright (c) 2023 Pengutronix, Marc Kleine-Budde <kernel@pengutronix.de> 28 #include <linux/can/rx-offload.h> 46 /* Timestamp 32 bit timer runs at 1 MHz (1 µs tick). Worker accounts 49 #define GS_USB_TIMESTAMP_TIMER_HZ (1 * HZ_PER_MHZ) 106 * Technologie Entwicklungs- und Vertriebs UG exchanges all data 129 #define GS_CAN_MODE_LOOP_BACK BIT(1) 171 #define GS_CAN_FEATURE_LOOP_BACK BIT(1) [all …]
|
/openbmc/qemu/hw/arm/ |
H A D | xlnx-versal.c | 24 #include "hw/arm/xlnx-versal.h" 26 #include "target/arm/cpu-qom.h" 29 #define XLNX_VERSAL_ACPU_TYPE ARM_CPU_TYPE_NAME("cortex-a72") 30 #define XLNX_VERSAL_RCPU_TYPE ARM_CPU_TYPE_NAME("cortex-r5f") 40 object_initialize_child(OBJECT(s), "apu-cluster", &s->fpd.apu.cluster, in versal_create_apu_cpus() 42 qdev_prop_set_uint32(DEVICE(&s->fpd.apu.cluster), "cluster-id", 0); in versal_create_apu_cpus() 44 for (i = 0; i < ARRAY_SIZE(s->fpd.apu.cpu); i++) { in versal_create_apu_cpus() 47 object_initialize_child(OBJECT(&s->fpd.apu.cluster), in versal_create_apu_cpus() 48 "apu-cpu[*]", &s->fpd.apu.cpu[i], in versal_create_apu_cpus() 50 obj = OBJECT(&s->fpd.apu.cpu[i]); in versal_create_apu_cpus() [all …]
|
H A D | xlnx-versal-virt.c | 13 #include "qemu/error-report.h" 20 #include "hw/qdev-properties.h" 21 #include "hw/arm/xlnx-versal.h" 26 #define TYPE_XLNX_VERSAL_VIRT_MACHINE MACHINE_TYPE_NAME("xlnx-versal-virt") 45 uint32_t canfd[2]; member 61 s->fdt = create_device_tree(&s->fdt_size); in fdt_create() 62 if (!s->fdt) { in fdt_create() 64 exit(1); in fdt_create() 68 s->phandle.gic = qemu_fdt_alloc_phandle(s->fdt); in fdt_create() 69 for (i = 0; i < ARRAY_SIZE(s->phandle.ethernet_phy); i++) { in fdt_create() [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | r8a77970.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2016-2017 Renesas Electronics Corp. 9 #include <dt-bindings/clock/r8a77970-cpg-mssr.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/power/r8a77970-sysc.h> 16 #address-cells = <2>; 17 #size-cells = <2>; 28 #address-cells = <1>; 29 #size-cells = <0>; [all …]
|
H A D | r8a77970-eagle.dts | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2016-2017 Renesas Electronics Corp. 9 /dts-v1/; 23 stdout-path = "serial0:115200n8"; 32 hdmi-out { 33 compatible = "hdmi-connector"; 38 remote-endpoint = <&adv7511_out>; 43 d3p3: regulator-fixed { 44 compatible = "regulator-fixed"; 45 regulator-name = "fixed-3.3V"; [all …]
|
H A D | r8a77995.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 9 #include <dt-bindings/clock/r8a77995-cpg-mssr.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/power/r8a77995-sysc.h> 15 #address-cells = <2>; 16 #size-cells = <2>; 18 /* External CAN clock - to be overridden by boards that provide it */ 20 compatible = "fixed-clock"; 21 #clock-cells = <0>; 22 clock-frequency = <0>; [all …]
|
/openbmc/linux/Documentation/networking/device_drivers/can/ctu/ |
H A D | ctucanfd-driver.rst | 1 .. SPDX-License-Identifier: GPL-2.0-or-later 10 ------------------------ 19 `Vivado integration <https://gitlab.fel.cvut.cz/canbus/zynq/zynq-can-sja1000-top>`_ 20 and Intel Cyclone V 5CSEMA4U23C6 based DE0-Nano-SoC Terasic board 21 `QSys integration <https://gitlab.fel.cvut.cz/canbus/intel-soc-ctucanfd>`_ 23 `PCIe integration <https://gitlab.fel.cvut.cz/canbus/pcie-ctucanfd>`_ of the core. 33 version of emulation support can be cloned from ctu-canfd branch of QEMU local 34 development `repository <https://gitlab.fel.cvut.cz/canbus/qemu-canbus>`_. 38 --------------- 59 it allows for device hot-plug. [all …]
|