Home
last modified time | relevance | path

Searched +full:hte +full:- +full:gpio (Results 1 – 15 of 15) sorted by relevance

/linux/drivers/hte/
H A Dhte-tegra194-test.c1 // 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 DKconfig1 # 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"
24 systems-on-chip. The driver supports 352 LIC IRQs and 39 AON GPIOs
28 tristate "NVIDIA Tegra194 HTE Test"
31 The NVIDIA Tegra194 GTE test driver demonstrates how to use HTE
[all …]
H A Dhte-tegra194.c1 // 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 Dhte.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2021-2022 NVIDIA Corporation
15 #include <linux/hte.h>
20 /* Global list of the HTE devices */
32 * struct hte_ts_info - Information related to requested timestamp.
34 * @xlated_id: Timestamp ID as understood between HTE subsys and HTE provider,
39 * @line_name: HTE allocated line name.
49 * @gdev: HTE abstract device that this timestamp information belongs to.
71 * struct hte_device - HTE abstract device
77 * @chip: HTE chip providing this HTE device.
[all …]
/linux/Documentation/driver-api/hte/
H A Dtegra-hte.rst1 .. 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 Dhte.rst1 .. 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 …]
/linux/Documentation/devicetree/bindings/timestamp/
H A Dnvidia,tegra194-hte.yaml1 # 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 Dhte-consumer.yaml1 # 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 …]
/linux/Documentation/translations/zh_CN/driver-api/
H A Dindex.rst1 .. SPDX-License-Identifier: GPL-2.0
3 .. include:: ../disclaimer-zh_CN.rst
5 :Original: Documentation/driver-api/index.rst
24 gpio/index
30 * driver-model/index
34 * early-userspace/index
37 * device-io
38 * dma-buf
41 * message-based
44 * frame-buffer
[all …]
/linux/Documentation/driver-api/
H A Dindex.rst1 .. SPDX-License-Identifier: GPL-2.0
23 driver-model/index
38 early-userspace/index
40 device-io
42 dma-buf
44 io-mapping
46 uio-howto
47 vfio-mediate
[all...]
/linux/Documentation/userspace-api/gpio/
H A Dgpio-v2-get-line-ioctl.rst1 .. SPDX-License-Identifier: GPL-2.0
12 GPIO_V2_GET_LINE_IOCTL - Request a line or lines from the kernel.
25 The file descriptor of the GPIO character device returned by `open()`.
37 :ref:`gpio-v2-line-request`.
41 as possible. e.g. gpio-v2-line-get-values-ioctl.rst will read all the
53 .. _gpio-v2-get-line-config-rules:
56 -------------------
63 and the line is requested "as-is" to allow reading of the line value
69 If none are set then the line is assumed push-pull.
83 and a kernel with ``CONFIG_HTE`` set. Requesting HTE from a device that
[all …]
/linux/include/uapi/linux/
H A Dgpio.h1 /* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */
3 * <linux/gpio.h> - userspace ABI for the GPIO character devices
21 * Must be a multiple of 8 to ensure 32/64-bit alignment of structs.
26 * struct gpiochip_info - Information about a certain GPIO chip
27 * @name: the Linux kernel name of this GPIO chip
28 * @label: a functional name for this GPIO chip, such as a product
30 * @lines: number of GPIO lines on this chip
41 * Must be no greater than 64, as bitmaps are restricted here to 64-bits
42 * for simplicity, and a multiple of 2 to ensure 32/64-bit alignment of
54 * enum gpio_v2_line_flag - &struct gpio_v2_line_attribute.flags values
[all …]
/linux/drivers/
H A DKconfig1 # 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 DMakefile1 # SPDX-License-Identifier: GPL-2.0
6 # Rewritten to use lists instead of if-statements.
9 obj-y += cache/
10 obj-y += irqchip/
11 obj-y += bus/
13 obj-$(CONFIG_GENERIC_PHY) += phy/
15 # GPIO must come after pinctrl as gpios may need to mux pins etc
16 obj-$(CONFIG_PINCTRL) += pinctrl/
17 obj-$(CONFIG_GPIOLIB) += gpio/
18 obj-y += pwm/
[all …]
/linux/
H A DMAINTAINERS5 ---------------------------------------------------
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 …]