Home
last modified time | relevance | path

Searched +full:pps +full:- +full:gpio (Results 1 – 25 of 150) sorted by relevance

123456

/kernel/linux/linux-5.10/drivers/pps/clients/
Dpps-gpio.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * pps-gpio.c -- PPS client driver using GPIO
9 #define PPS_GPIO_NAME "pps-gpio"
19 #include <linux/pps-gpio.h>
20 #include <linux/gpio/consumer.h>
29 int irq; /* IRQ used as PPS source */
30 struct pps_device *pps; /* PPS source device */ member
31 struct pps_source_info info; /* PPS source information */
32 struct gpio_desc *gpio_pin; /* GPIO port descriptors */
37 unsigned int echo_active_ms; /* PPS echo active duration */
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 # PPS clients configuration
6 comment "PPS clients support"
11 If you say yes here you get support for a PPS debugging client
12 which uses a kernel timer to generate the PPS signal.
15 will be called pps-ktimer.
18 tristate "PPS line discipline"
21 If you say yes here you get support for a PPS source connected
25 tristate "Parallel port PPS client"
28 If you say yes here you get support for a PPS source connected
[all …]
DMakefile1 # SPDX-License-Identifier: GPL-2.0-only
3 # Makefile for PPS clients.
6 obj-$(CONFIG_PPS_CLIENT_KTIMER) += pps-ktimer.o
7 obj-$(CONFIG_PPS_CLIENT_LDISC) += pps-ldisc.o
8 obj-$(CONFIG_PPS_CLIENT_PARPORT) += pps_parport.o
9 obj-$(CONFIG_PPS_CLIENT_GPIO) += pps-gpio.o
11 ccflags-$(CONFIG_PPS_DEBUG) := -DDEBUG
/kernel/linux/linux-6.6/drivers/pps/clients/
Dpps-gpio.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * pps-gpio.c -- PPS client driver using GPIO
9 #define PPS_GPIO_NAME "pps-gpio"
20 #include <linux/gpio/consumer.h>
28 int irq; /* IRQ used as PPS source */
29 struct pps_device *pps; /* PPS source device */ member
30 struct pps_source_info info; /* PPS source information */
31 struct gpio_desc *gpio_pin; /* GPIO port descriptors */
36 unsigned int echo_active_ms; /* PPS echo active duration */
41 * Report the PPS event
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 # PPS clients configuration
6 comment "PPS clients support"
11 If you say yes here you get support for a PPS debugging client
12 which uses a kernel timer to generate the PPS signal.
15 will be called pps-ktimer.
18 tristate "PPS line discipline"
21 If you say yes here you get support for a PPS source connected
25 tristate "Parallel port PPS client"
28 If you say yes here you get support for a PPS source connected
[all …]
DMakefile1 # SPDX-License-Identifier: GPL-2.0-only
3 # Makefile for PPS clients.
6 obj-$(CONFIG_PPS_CLIENT_KTIMER) += pps-ktimer.o
7 obj-$(CONFIG_PPS_CLIENT_LDISC) += pps-ldisc.o
8 obj-$(CONFIG_PPS_CLIENT_PARPORT) += pps_parport.o
9 obj-$(CONFIG_PPS_CLIENT_GPIO) += pps-gpio.o
11 ccflags-$(CONFIG_PPS_DEBUG) := -DDEBUG
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/pps/
Dpps-gpio.txt1 Device-Tree Bindings for a PPS Signal on GPIO
3 These properties describe a PPS (pulse-per-second) signal connected to
4 a GPIO pin.
7 - compatible: should be "pps-gpio"
8 - gpios: one PPS GPIO in the format described by ../gpio/gpio.txt
10 Additional required properties for the PPS ECHO functionality:
11 - echo-gpios: one PPS ECHO GPIO in the format described by ../gpio/gpio.txt
12 - echo-active-ms: duration in ms of the active portion of the echo pulse
15 - assert-falling-edge: when present, assert is indicated by a falling edge
19 pps {
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/pps/
Dpps-gpio.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/pps/pps-gpio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: PPS Signal via GPIO
10 - Fabio Estevam <festevam@gmail.com>
14 const: pps-gpio
17 description: The GPIO that provides the PPS signal.
20 echo-gpios:
21 description: The GPIO that provides the PPS ECHO signal.
[all …]
/kernel/linux/linux-6.6/Documentation/driver-api/
Dpps.rst1 .. SPDX-License-Identifier: GPL-2.0
4 PPS - Pulse Per Second
22 --------
25 system several PPS sources.
27 PPS means "pulse per second" and a PPS source is just a device which
31 A PPS source can be connected to a serial port (usually to the Data
32 Carrier Detect pin) or to a parallel port (ACK-pin) or to a special
38 GPS receiver as PPS source, to obtain a wallclock-time with
39 sub-millisecond synchronisation to UTC.
43 ------------------
[all …]
/kernel/linux/linux-5.10/Documentation/driver-api/
Dpps.rst1 .. SPDX-License-Identifier: GPL-2.0
4 PPS - Pulse Per Second
22 --------
25 system several PPS sources.
27 PPS means "pulse per second" and a PPS source is just a device which
31 A PPS source can be connected to a serial port (usually to the Data
32 Carrier Detect pin) or to a parallel port (ACK-pin) or to a special
38 GPS receiver as PPS source, to obtain a wallclock-time with
39 sub-millisecond synchronisation to UTC.
43 ------------------
[all …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/microchip/
Dlan966x-pcb8290.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * lan966x-pcb8290.dts - Device Tree file for LAN966X-PCB8290 board
9 /dts-v1/;
11 #include "dt-bindings/phy/phy-lan966x-serdes.h"
15 compatible = "microchip,lan9668-pcb8290", "microchip,lan9668", "microchip,lan966";
17 gpio-restart {
18 compatible = "gpio-restart";
19 gpios = <&gpio 56 GPIO_ACTIVE_LOW>;
28 &gpio {
29 miim_a_pins: mdio-pins {
[all …]
Dlan966x-pcb8309.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * lan966x_pcb8309.dts - Device Tree file for PCB8309
5 /dts-v1/;
7 #include "dt-bindings/phy/phy-lan966x-serdes.h"
10 model = "Microchip EVB - LAN9662";
11 compatible = "microchip,lan9662-pcb8309", "microchip,lan9662", "microchip,lan966";
20 stdout-path = "serial0:115200n8";
23 gpio-restart {
24 compatible = "gpio-restart";
25 gpios = <&gpio 56 GPIO_ACTIVE_LOW>;
[all …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/ti/omap/
Domap3-gta04a5.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2014-18 H. Nikolaus Schaller <hns@goldelico.com>
6 #include "omap3-gta04.dtsi"
12 ti,jack-det-gpio = <&twl_gpio 2 GPIO_ACTIVE_HIGH>; /* GTA04A5 only */
16 compatible = "regulator-fixed";
17 pinctrl-names = "default";
18 pinctrl-0 = <&wlan_pins>;
19 regulator-name = "wlan-en-regulator";
20 regulator-min-microvolt = <1800000>;
21 regulator-max-microvolt = <1800000>;
[all …]
/kernel/linux/linux-5.10/include/linux/
Dpps-gpio.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * pps-gpio.h -- PPS client for GPIOs
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Domap3-gta04a5.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2014-18 H. Nikolaus Schaller <hns@goldelico.com>
6 #include "omap3-gta04.dtsi"
12 ti,jack-det-gpio = <&twl_gpio 2 GPIO_ACTIVE_HIGH>; /* GTA04A5 only */
16 compatible = "regulator-fixed";
17 pinctrl-names = "default";
18 pinctrl-0 = <&wlan_pins>;
19 regulator-name = "wlan-en-regulator";
20 regulator-min-microvolt = <1800000>;
21 regulator-max-microvolt = <1800000>;
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/
Dfsl-fec.txt4 - compatible : Should be "fsl,<soc>-fec"
5 - reg : Address and length of the register set for the device
6 - interrupts : Should contain fec interrupt
7 - phy-mode : See ethernet.txt file in the same directory
10 - phy-supply : regulator that powers the Ethernet PHY.
11 - phy-handle : phandle to the PHY device connected to this device.
12 - fixed-link : Assume a fixed link. See fixed-link.txt in the same directory.
13 Use instead of phy-handle.
14 - fsl,num-tx-queues : The property is valid for enet-avb IP, which supports
17 - fsl,num-rx-queues : The property is valid for enet-avb IP, which supports
[all …]
/kernel/linux/linux-6.6/drivers/pinctrl/
Dpinctrl-falcon.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * linux/drivers/pinctrl/pinmux-falcon.c
4 * based on linux/drivers/pinctrl/pinmux-pxa910.c
12 #include <linux/gpio/driver.h>
22 #include "pinctrl-lantiq.h"
107 MFP_FALCON(GPIO0, RST, GPIO, NONE, NONE),
108 MFP_FALCON(GPIO1, GPIO, GPIO, NONE, NONE),
109 MFP_FALCON(GPIO2, GPIO, GPIO, NONE, NONE),
110 MFP_FALCON(GPIO3, GPIO, GPIO, NONE, NONE),
111 MFP_FALCON(GPIO4, NTR, GPIO, NONE, NONE),
[all …]
/kernel/linux/linux-5.10/drivers/pinctrl/
Dpinctrl-falcon.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * linux/drivers/pinctrl/pinmux-falcon.c
4 * based on linux/drivers/pinctrl/pinmux-pxa910.c
10 #include <linux/gpio/driver.h>
22 #include "pinctrl-lantiq.h"
107 MFP_FALCON(GPIO0, RST, GPIO, NONE, NONE),
108 MFP_FALCON(GPIO1, GPIO, GPIO, NONE, NONE),
109 MFP_FALCON(GPIO2, GPIO, GPIO, NONE, NONE),
110 MFP_FALCON(GPIO3, GPIO, GPIO, NONE, NONE),
111 MFP_FALCON(GPIO4, NTR, GPIO, NONE, NONE),
[all …]
/kernel/linux/linux-6.6/arch/arm64/boot/dts/freescale/
Dimx8mm-venice-gw71xx.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/leds/common.h>
8 #include <dt-bindings/phy/phy-imx8-pcie.h>
16 led-controller {
17 compatible = "gpio-leds";
18 pinctrl-names = "default";
19 pinctrl-0 = <&pinctrl_gpio_leds>;
21 led-0 {
25 default-state = "on";
[all …]
Dimx8mp-venice-gw71xx.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/leds/common.h>
8 #include <dt-bindings/phy/phy-imx8-pcie.h>
11 led-controller {
12 compatible = "gpio-leds";
13 pinctrl-names = "default";
14 pinctrl-0 = <&pinctrl_gpio_leds>;
16 led-0 {
20 default-state = "on";
[all …]
Dimx8mm-venice-gw7905.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/leds/common.h>
8 #include <dt-bindings/phy/phy-imx8-pcie.h>
11 led-controller {
12 compatible = "gpio-leds";
13 pinctrl-names = "default";
14 pinctrl-0 = <&pinctrl_gpio_leds>;
16 led-0 {
20 default-state = "on";
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/
Dintel_dsi_vbt.c27 #include <linux/gpio/consumer.h>
28 #include <linux/gpio/machine.h>
58 /* base offsets for gpio pads */
119 /* ICL DSI Display GPIO Pins */
139 if (hweight8(intel_dsi->ports) == 1) in intel_dsi_seq_port_to_port()
140 return ffs(intel_dsi->ports) - 1; in intel_dsi_seq_port_to_port()
143 if (intel_dsi->ports & BIT(PORT_B)) in intel_dsi_seq_port_to_port()
145 else if (intel_dsi->ports & BIT(PORT_C)) in intel_dsi_seq_port_to_port()
155 struct drm_i915_private *dev_priv = to_i915(intel_dsi->base.base.dev); in mipi_exec_send_packet()
161 drm_dbg_kms(&dev_priv->drm, "\n"); in mipi_exec_send_packet()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
Dintel_dsi_vbt.c27 #include <linux/gpio/consumer.h>
28 #include <linux/gpio/machine.h>
34 #include <asm/intel-mid.h>
51 /* base offsets for gpio pads */
112 /* ICL DSI Display GPIO Pins */
132 if (hweight8(intel_dsi->ports) == 1) in intel_dsi_seq_port_to_port()
133 return ffs(intel_dsi->ports) - 1; in intel_dsi_seq_port_to_port()
136 if (intel_dsi->ports & BIT(PORT_B)) in intel_dsi_seq_port_to_port()
138 else if (intel_dsi->ports & BIT(PORT_C)) in intel_dsi_seq_port_to_port()
148 struct drm_i915_private *dev_priv = to_i915(intel_dsi->base.base.dev); in mipi_exec_send_packet()
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/iio/imu/
Dadi,adis16480.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Alexandru Tachici <alexandru.tachici@analog.com>
15 - adi,adis16375
16 - adi,adis16480
17 - adi,adis16485
18 - adi,adis16488
19 - adi,adis16490
20 - adi,adis16495-1
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/
Dfsl,fec.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Shawn Guo <shawnguo@kernel.org>
11 - Wei Fang <wei.fang@nxp.com>
12 - NXP Linux Team <linux-imx@nxp.com>
15 - $ref: ethernet-controller.yaml#
20 - enum:
21 - fsl,imx25-fec
22 - fsl,imx27-fec
[all …]

123456