/openbmc/linux/drivers/net/ethernet/ti/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 83 tristate "TI Common Platform Time Sync (CPTS) Support" 107 The two-port Gigabit Ethernet MAC (MCU_CPSW0) subsystem provides 113 will be called ti-am65-cpsw-nuss. 121 Switch. Enable this driver to support hardware switch support for AM65 125 tristate "TI K3 AM65x CPTS" 129 Say y here to support the TI K3 AM65x CPTS with 1588 features such as 130 PTP hardware clock for each CPTS device and network packets 132 Depending on integration CPTS blocks enable compliance with 133 the IEEE 1588-2008 standard for a precision clock synchronization [all …]
|
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 6 obj-$(CONFIG_TI_CPSW) += cpsw-common.o 7 obj-$(CONFIG_TI_DAVINCI_EMAC) += cpsw-common.o 8 obj-$(CONFIG_TI_CPSW_SWITCHDEV) += cpsw-common.o 10 obj-$(CONFIG_TLAN) += tlan.o 11 obj-$(CONFIG_CPMAC) += cpmac.o 12 obj-$(CONFIG_TI_DAVINCI_EMAC) += ti_davinci_emac.o 13 ti_davinci_emac-y := davinci_emac.o davinci_cpdma.o 14 obj-$(CONFIG_TI_DAVINCI_MDIO) += davinci_mdio.o 15 obj-$(CONFIG_TI_CPSW_PHY_SEL) += cpsw-phy-sel.o [all …]
|
H A D | am65-cpts.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 2 /* TI K3 AM65 CPTS driver interface 4 * Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com 21 void am65_cpts_release(struct am65_cpts *cpts); 24 int am65_cpts_phc_index(struct am65_cpts *cpts); 25 void am65_cpts_tx_timestamp(struct am65_cpts *cpts, struct sk_buff *skb); 26 void am65_cpts_prep_tx_timestamp(struct am65_cpts *cpts, struct sk_buff *skb); 27 void am65_cpts_rx_enable(struct am65_cpts *cpts, bool en); 28 u64 am65_cpts_ns_gettime(struct am65_cpts *cpts); 29 int am65_cpts_estf_enable(struct am65_cpts *cpts, int idx, [all …]
|
H A D | am65-cpts.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com 9 #include <linux/clk-provider.h> 23 #include "am65-cpts.h" 201 #define am65_cpts_write32(c, v, r) writel(v, &(c)->reg->r) 202 #define am65_cpts_read32(c, r) readl(&(c)->reg->r) 204 static void am65_cpts_settime(struct am65_cpts *cpts, u64 start_tstamp) in am65_cpts_settime() argument 209 am65_cpts_write32(cpts, val, ts_load_val_hi); in am65_cpts_settime() 211 am65_cpts_write32(cpts, val, ts_load_val_lo); in am65_cpts_settime() 213 am65_cpts_write32(cpts, AM65_CPTS_TS_LOAD_EN, ts_load_en); in am65_cpts_settime() [all …]
|
H A D | am65-cpsw-qos.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Texas Instruments K3 AM65 Ethernet QoS submodule 3 * Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com/ 6 * Enhanced Scheduler Traffic (EST - P802.1Qbv/D2.2) 13 #include "am65-cpsw-nuss.h" 14 #include "am65-cpsw-qos.h" 15 #include "am65-cpts.h" 61 return port->qos.est_oper || port->qos.est_admin; in am65_cpsw_port_est_enabled() 68 val = readl(common->cpsw_base + AM65_CPSW_REG_CTL); in am65_cpsw_est_enable() 75 writel(val, common->cpsw_base + AM65_CPSW_REG_CTL); in am65_cpsw_est_enable() [all …]
|
H A D | am65-cpsw-nuss.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com/ 15 #include <linux/soc/ti/k3-ringacc.h> 17 #include "am65-cpsw-qos.h" 77 spinlock_t lock; /* protect TX rings in multi-port mode */ 146 struct am65_cpts *cpts; member 177 #define am65_ndev_to_port(ndev) (am65_ndev_to_priv(ndev)->port) 178 #define am65_ndev_to_common(ndev) (am65_ndev_to_port(ndev)->common) 179 #define am65_ndev_to_slave(ndev) (&am65_ndev_to_port(ndev)->slave) 181 #define am65_common_get_host(common) (&(common)->host) [all …]
|
H A D | am65-cpsw-nuss.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Texas Instruments K3 AM65 Ethernet Switch SubSystem Driver 4 * Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com/ 31 #include <linux/dma/ti-cppi5.h> 32 #include <linux/dma/k3-udma-glue.h> 37 #include "am65-cpsw-nuss.h" 38 #include "am65-cpsw-switchdev.h" 39 #include "k3-cppi-desc-pool.h" 40 #include "am65-cpts.h" 117 /* The PTP event messages - Sync, Delay_Req, Pdelay_Req, and Pdelay_Resp. */ [all …]
|
H A D | am65-cpsw-ethtool.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Texas Instruments K3 AM65 Ethernet Switch SubSystem Driver ethtool ops 4 * Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com/ 13 #include "am65-cpsw-nuss.h" 15 #include "am65-cpts.h" 33 * struct am65_cpsw_regdump_hdr - regdump record header 45 * struct am65_cpsw_regdump_item - regdump module description 64 .hdr.len = (end + 4 - start) * 2 + \ 375 "p0-rx-ptype-rrobin", 383 ret = pm_runtime_resume_and_get(common->dev); in am65_cpsw_ethtool_op_begin() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/net/ |
H A D | ti,k3-am654-cpts.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/net/ti,k3-am654-cpts.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: The TI AM654x/J721E Common Platform Time Sync (CPTS) module 10 - Grygorii Strashko <grygorii.strashko@ti.com> 11 - Sekhar Nori <nsekhar@ti.com> 14 The TI AM654x/J721E CPTS module is used to facilitate host control of time 16 Main features of CPTS module are 17 - selection of multiple external clock sources [all …]
|
H A D | ti,k3-am654-cpsw-nuss.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/net/ti,k3-am654-cpsw-nuss.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Grygorii Strashko <grygorii.strashko@ti.com> 11 - Sekhar Nori <nsekhar@ti.com> 22 Complex (UDMA-P) controller. 40 new version of Common Platform Time Sync (CPTS) 52 "#address-cells": true 53 "#size-cells": true [all …]
|
/openbmc/linux/arch/arm64/boot/dts/ti/ |
H A D | k3-am65-mcu.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2016-2020 Texas Instruments Incorporated - https://www.ti.com/ 9 mcu_conf: scm-conf@40f00000 { 10 compatible = "syscon", "simple-mfd"; 12 #address-cells = <1>; 13 #size-cells = <1>; 17 compatible = "ti,am654-phy-gmii-sel"; 19 #phy-cells = <1>; 25 compatible = "pinctrl-single"; 27 #pinctrl-cells = <1>; [all …]
|
H A D | k3-j7200-mcu-wakeup.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2020-2021 Texas Instruments Incorporated - https://www.ti.com/ 9 dmsc: system-controller@44083000 { 10 compatible = "ti,k2g-sci"; 11 ti,host-id = <12>; 13 mbox-names = "rx", "tx"; 18 reg-names = "debug_messages"; 21 k3_pds: power-controller { 22 compatible = "ti,sci-pm-domain"; 23 #power-domain-cells = <2>; [all …]
|
H A D | k3-j721s2-mcu-wakeup.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2021 Texas Instruments Incorporated - https://www.ti.com/ 9 sms: system-controller@44083000 { 10 compatible = "ti,k2g-sci"; 11 ti,host-id = <12>; 13 mbox-names = "rx", "tx"; 18 reg-names = "debug_messages"; 21 k3_pds: power-controller { 22 compatible = "ti,sci-pm-domain"; 23 #power-domain-cells = <2>; [all …]
|
H A D | k3-j784s4-mcu-wakeup.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2022 Texas Instruments Incorporated - https://www.ti.com/ 9 sms: system-controller@44083000 { 10 bootph-all; 11 compatible = "ti,k2g-sci"; 12 ti,host-id = <12>; 14 mbox-names = "rx", "tx"; 19 reg-names = "debug_messages"; 22 k3_pds: power-controller { 23 bootph-all; [all …]
|
H A D | k3-j721e-mcu-wakeup.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2016-2020 Texas Instruments Incorporated - https://www.ti.com/ 9 dmsc: system-controller@44083000 { 10 compatible = "ti,k2g-sci"; 11 ti,host-id = <12>; 13 mbox-names = "rx", "tx"; 18 reg-names = "debug_messages"; 21 k3_pds: power-controller { 22 compatible = "ti,sci-pm-domain"; 23 #power-domain-cells = <2>; [all …]
|
H A D | k3-j721s2-main.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2021 Texas Instruments Incorporated - https://www.ti.com/ 8 #include <dt-bindings/phy/phy-cadence.h> 9 #include <dt-bindings/phy/phy-ti.h> 12 serdes_refclk: clock-cmnrefclk { 13 #clock-cells = <0>; 14 compatible = "fixed-clock"; 15 clock-frequency = <0>; 21 compatible = "mmio-sram"; 23 #address-cells = <1>; [all …]
|
H A D | k3-am65-main.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2016-2018 Texas Instruments Incorporated - https://www.ti.com/ 7 #include <dt-bindings/phy/phy-am654-serdes.h> 11 compatible = "mmio-sram"; 13 #address-cells = <1>; 14 #size-cells = <1>; 17 atf-sram@0 { 21 sysfw-sram@f0000 { 25 l3cache-sram@100000 { 30 gic500: interrupt-controller@1800000 { [all …]
|
/openbmc/linux/ |
H A D | opengrok2.0.log | 1 2024-12-28 20:05:26.116-0600 FINEST t586 Statistics.logIt: Added: '/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/rtnetlink.sh' (ShAnalyzer) (took 79 ms) 2 2024-12-28 20:05:26.112-0600 FINER t592 IndexDatabase.createAnnotationCache: failed to create annotation: repository {dir='/opengrok/src/openbmc/qemu',type=git,historyCache=on,renamed=false,merge=true,annotationCache=off} does not allow to create annotation cache for '/opengrok/src/openbmc/qemu/chardev/spice.c' 3 2024-12-28 20:05:26.116-0600 FINEST t592 Statistics.logIt: Added: '/openbmc/qemu/chardev/spice.c' (CAnalyzer) (took 33 ms) 4 2024-1 [all...] |
H A D | opengrok0.0.log | 1 2024-12-28 20:09:05.996-0600 FINEST t1171 PendingFileCompleter.doRename: Moved pending as file: '/opengrok/data/xref/openbmc/linux/drivers/staging/media/av7110/video-continue.rst.gz' 2 2024-12-28 20:09:05.942-0600 FINEST t1149 PendingFileCompleter.doRename: Moved pending as file: '/opengrok/data/xref/openbmc/u-boot/arch/sh/config.mk.gz' 3 2024-12-2 [all...] |