/openbmc/linux/drivers/hte/ |
H A D | hte-tegra194-test.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2021-2022 NVIDIA Corporation 9 #include <linux/gpio/consumer.h> 10 #include <linux/hte.h> 19 * This sample HTE test driver demonstrates HTE API usage by enabling 23 * test driver to work for the GPIO monitoring. The test driver has been 29 * compatible = "nvidia,tegra194-hte-test"; 30 * in-gpio = <&gpio_aon TEGRA194_AON_GPIO(BB, 1)>; 31 * out-gpio = <&gpio_aon TEGRA194_AON_GPIO(BB, 0)>; 34 * timestamp-names = "hte-gpio", "hte-i2c-irq"; [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 2 menuconfig HTE config 3 bool "Hardware Timestamping Engine (HTE) Support" 5 Hardware Timestamping Engine (HTE) Support. 10 less jitter. This framework provides a generic interface to such HTE 15 if HTE 18 tristate "NVIDIA Tegra194 HTE Support" 23 systems-on-chip. The driver supports 352 LIC IRQs and 39 AON GPIOs 27 tristate "NVIDIA Tegra194 HTE Test" 30 The NVIDIA Tegra194 GTE test driver demonstrates how to use HTE [all …]
|
H A D | hte-tegra194.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2021-2022 NVIDIA Corporation 16 #include <linux/hte.h> 18 #include <linux/gpio/driver.h> 19 #include <linux/gpio/consumer.h> 23 /* HTE source clock TSC is 31.25MHz */ 28 #define NV_AON_SLICE_INVALID -1 31 /* AON HTE line map For slice 1 */ 35 /* AON HTE line map For slice 2 */ 80 #define HTE_SLICE_SIZE (HTE_SLICE1_TETEN - HTE_SLICE0_TETEN) [all …]
|
H A D | hte.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2021-2022 NVIDIA Corporation 15 #include <linux/hte.h> 22 /* Global list of the HTE devices */ 34 * struct hte_ts_info - Information related to requested timestamp. 36 * @xlated_id: Timestamp ID as understood between HTE subsys and HTE provider, 41 * @line_name: HTE allocated line name. 51 * @gdev: HTE abstract device that this timestamp information belongs to. 73 * struct hte_device - HTE abstract device 79 * @chip: HTE chip providing this HTE device. [all …]
|
/openbmc/linux/Documentation/driver-api/hte/ |
H A D | tegra-hte.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 3 HTE Kernel provider driver 7 ----------- 8 The Nvidia tegra HTE provider also known as GTE (Generic Timestamping Engine) 9 driver implements two GTE instances: 1) GPIO GTE and 2) LIC 14 GPIO GTE 15 -------- 17 This GTE instance timestamps GPIO in real time. For that to happen GPIO 18 needs to be configured as input. Only the always on (AON) GPIO controller 20 the GPIO GTE. To support this, GPIOLIB adds two optional APIs as mentioned [all …]
|
H A D | hte.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 4 The Linux Hardware Timestamping Engine (HTE) 10 ------------ 21 engine (HTE) framework. Both consumers and providers must include 22 ``#include <linux/hte.h>``. 24 The HTE framework APIs for the providers 25 ---------------------------------------- 27 .. kernel-doc:: drivers/hte/hte.c 30 The HTE framework APIs for the consumers 31 ---------------------------------------- [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/timestamp/ |
H A D | nvidia,tegra194-hte.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/timestamp/nvidia,tegra194-hte.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Tegra on chip generic hardware timestamping engine (HTE) provider 10 - Dipen Patel <dipenp@nvidia.com> 14 known as GTE GPIO and GTE IRQ, which can monitor subset of GPIO and on chip 18 to enable or disable for the hardware timestamping. The GTE GPIO monitors 19 GPIO lines from the AON (always on) GPIO controller. 24 - nvidia,tegra194-gte-aon [all …]
|
H A D | hte-consumer.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/timestamp/hte-consumer.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: HTE Consumer 10 - Dipen Patel <dipenp@nvidia.com> 16 $ref: /schemas/types.yaml#/definitions/phandle-array 18 The list of HTE provider phandle. The first cell must represent the 21 HTE provider device tree binding document. 23 timestamp-names: [all …]
|
/openbmc/linux/Documentation/driver-api/ |
H A D | index.rst | 1 .. SPDX-License-Identifier: GPL-2.0 12 .. class:: toc-title 19 driver-model/index 23 early-userspace/index 26 device-io 27 dma-buf 30 message-based 33 frame-buffer 63 s390-drivers 66 uio-howto [all …]
|
/openbmc/linux/Documentation/translations/zh_CN/driver-api/ |
H A D | index.rst | 1 .. SPDX-License-Identifier: GPL-2.0 3 .. include:: ../disclaimer-zh_CN.rst 5 :Original: Documentation/driver-api/index.rst 20 .. class:: toc-title 27 gpio/index 32 * driver-model/index 36 * early-userspace/index 39 * device-io 40 * dma-buf 43 * message-based [all …]
|
/openbmc/linux/drivers/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 58 # input before char - char/joystick depends on it. As does USB. 80 source "drivers/gpio/Kconfig" 130 source "drivers/dma-buf/Kconfig" 242 source "drivers/hte/Kconfig"
|
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 6 # Rewritten to use lists instead of if-statements. 11 MAKEFLAGS += --include-dir=$(srctree) 14 obj-y += cache/ 15 obj-y += irqchip/ 16 obj-y += bus/ 18 obj-$(CONFIG_GENERIC_PHY) += phy/ 20 # GPIO must come after pinctrl as gpios may need to mux pins etc 21 obj-$(CONFIG_PINCTRL) += pinctrl/ 22 obj-$(CONFIG_GPIOLIB) += gpio/ [all …]
|
/openbmc/linux/drivers/gpio/ |
H A D | gpiolib-cdev.c | 1 // SPDX-License-Identifier: GPL-2.0 14 #include <linux/gpio.h> 15 #include <linux/gpio/driver.h> 16 #include <linux/hte.h> 32 #include <uapi/linux/gpio.h> 35 #include "gpiolib-cdev.h" 38 * Array sizes must ensure 64-bit alignment and not create holes in the 45 * Check that uAPI structs are 64-bit aligned for 32/64-bit compatibility 56 /* Character device interface to GPIO. 58 * The GPIO character device, /dev/gpiochipN, provides userspace an [all …]
|
H A D | gpio-tegra186.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2016-2022 NVIDIA Corporation 9 #include <linux/gpio/driver.h> 10 #include <linux/hte.h> 18 #include <dt-bindings/gpio/tegra186-gpio.h> 19 #include <dt-bindings/gpio/tegra194-gpio.h> 20 #include <dt-bindings/gpio/tegra234-gpio.h> 21 #include <dt-bindings/gpio/tegra241-gpio.h> 98 struct gpio_chip gpio; member 111 tegra186_gpio_get_port(struct tegra_gpio *gpio, unsigned int *pin) in tegra186_gpio_get_port() argument [all …]
|
/openbmc/linux/ |
H A D | MAINTAINERS | 5 --------------------------------------------------- 21 W: *Web-page* with status/info 23 B: URI for where to file *bugs*. A web-page with detailed bug 28 patches to the given subsystem. This is either an in-tree file, 29 or a URI. See Documentation/maintainer/maintainer-entry-profile.rst 46 N: [^a-z]tegra all files whose path contains tegra 64 ---------------- 83 3WARE SAS/SATA-RAID SCSI DRIVERS (3W-XXXX, 3W-9XXX, 3W-SAS) 85 L: linux-scsi@vger.kernel.org 88 F: drivers/scsi/3w-* [all …]
|
H A D | opengrok1.0.log | 1 2024-12-28 20:07:11.902-0600 FINER t583 IndexDatabase.createAnnotationCache: failed to create annotation: repository {dir='/opengrok/src/openbmc/linux',type=git,historyCache=on,renamed=false,merge=true,annotationCache=off} does not allow to create annotation cache for '/opengrok/src/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c' 2 2024-12-28 20:07:11.913-0600 FINEST t583 Statistics.logIt: Added: '/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c' (CAnalyzer) (took 116 ms) 3 2024-12-28 20:07:11.899-0600 FINER t593 IndexDatabase.createAnnotationCache: failed to create annotation: repository {dir='/opengrok/src/openbmc/linux',type=git,historyCache=on,renamed=false,merge=true,annotationCache=off} does not allow to create annotation cache for '/opengrok/src/openbmc/linux/tools/testing/selftests/powerpc/tm/tm-signa [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...] |
/openbmc/ |
D | opengrok1.0.log | 1 2025-03-14 03:00:40.378-0500 FINE t1 Executor.registerErrorHandler: Installing default uncaught exception handler 2 2025-03-14 03:00:40.496-0500 INFO t1 Indexer.parseOptions: Indexer options: [-c, /usr/local/bin/ctags, -T, 12, -s, /opengrok/src, - [all...] |
D | opengrok2.0.log | 1 2025-03-13 03:00:39.225-0500 FINE t1 Executor.registerErrorHandler: Installing default uncaught exception handler 2 2025-03-13 03:00:39.341-0500 INFO t1 Indexer.parseOptions: Indexer options: [-c, /usr/local/bin/ctags, -T, 12, -s, /opengrok/src, - [all...] |