Home
last modified time | relevance | path

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

123

/linux/drivers/pps/clients/
H A 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 …]
H A 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 …]
H A 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
/linux/arch/arm/boot/dts/microchip/
H A 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 …]
H A 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 …]
/linux/drivers/gpu/drm/panel/
H A Dpanel-lg-sw43408.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (C) 2019-2024 Linaro Ltd
10 #include <linux/gpio/consumer.h>
44 struct mipi_dsi_multi_context ctx = { .dsi = sw43408->link }; in sw43408_unprepare()
53 gpiod_set_value(sw43408->reset_gpio, 1); in sw43408_unprepare()
55 ret = regulator_bulk_disable(ARRAY_SIZE(sw43408->supplies), sw43408->supplies); in sw43408_unprepare()
63 struct mipi_dsi_multi_context ctx = { .dsi = sw43408->link }; in sw43408_program()
64 struct drm_dsc_picture_parameter_set pps; in sw43408_program() local
78 /* COMPRESSION_MODE moved after setting the PPS */ in sw43408_program()
104 sw43408->link->mode_flags &= ~MIPI_DSI_MODE_LPM; in sw43408_program()
[all …]
H A Dpanel-novatek-nt37801.c1 // SPDX-License-Identifier: GPL-2.0-only
6 #include <linux/gpio/consumer.h>
41 gpiod_set_value_cansleep(ctx->reset_gpio, 0); in novatek_nt37801_reset()
43 gpiod_set_value_cansleep(ctx->reset_gpio, 1); in novatek_nt37801_reset()
45 gpiod_set_value_cansleep(ctx->reset_gpio, 0); in novatek_nt37801_reset()
57 struct mipi_dsi_device *dsi = ctx->dsi; in novatek_nt37801_on()
60 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in novatek_nt37801_on()
114 struct mipi_dsi_device *dsi = ctx->dsi; in novatek_nt37801_off()
117 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in novatek_nt37801_off()
131 struct device *dev = &ctx->dsi->dev; in novatek_nt37801_prepare()
[all …]
/linux/drivers/pinctrl/
H A 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 …]
/linux/arch/arm64/boot/dts/freescale/
H A 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>
12 compatible = "gpio-usb-b-connector", "usb-b-connector";
13 pinctrl-names = "default";
14 pinctrl-0 = <&pinctrl_usbcon1>;
16 label = "Type-C";
17 id-gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>;
21 remote-endpoint = <&usb3_dwc>;
[all …]
H A 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 …]
H A Dimx8mm-venice-gw75xx.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 …]
H A Dimx8mp-venice-gw75xx.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 …]
H A Dimx8mm-venice-gw72xx.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>
17 led-controller {
18 compatible = "gpio-leds";
19 pinctrl-names = "default";
20 pinctrl-0 = <&pinctrl_gpio_leds>;
22 led-0 {
26 default-state = "on";
[all …]
H A Dimx8mp-venice-gw72xx.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 compatible = "gpio-usb-b-connector", "usb-b-connector";
17 pinctrl-names = "default";
18 pinctrl-0 = <&pinctrl_usbcon1>;
21 vbus-supply = <&reg_usb1_vbus>;
22 id-gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>;
26 remote-endpoint = <&usb3_dwc>;
[all …]
H A Dimx8mp-venice-gw73xx.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 compatible = "gpio-usb-b-connector", "usb-b-connector";
17 pinctrl-names = "default";
18 pinctrl-0 = <&pinctrl_usbcon1>;
21 vbus-supply = <&reg_usb1_vbus>;
22 id-gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>;
26 remote-endpoint = <&usb3_dwc>;
[all …]
H A Dimx8mm-venice-gw73xx.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>
17 led-controller {
18 compatible = "gpio-leds";
19 pinctrl-names = "default";
20 pinctrl-0 = <&pinctrl_gpio_leds>;
22 led-0 {
26 default-state = "on";
[all …]
H A Dimx8mn-venice-gw7902.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/linux-event-codes.h>
10 #include <dt-bindings/leds/common.h>
11 #include <dt-bindings/net/ti-dp83867.h>
17 compatible = "gw,imx8mn-gw7902", "fsl,imx8mn";
26 stdout-path = &uart2;
35 compatible = "fixed-clock";
36 #clock-cells = <0>;
[all …]
/linux/Documentation/devicetree/bindings/gnss/
H A Dmediatek.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Johan Hovold <johan@kernel.org>
13 Mediatek chipsets are used in GNSS-receiver modules produced by several
17 - $ref: gnss-common.yaml#
18 - $ref: /schemas/serial/serial-peripheral-props.yaml#
24 vcc-supply:
28 reset-gpios:
33 timepulse-gpios:
[all …]
/linux/drivers/ptp/
H A Dptp_ocp.c1 // SPDX-License-Identifier: GPL-2.0-only
13 #include <linux/clk-provider.h>
15 #include <linux/platform_data/i2c-xiic.h>
16 #include <linux/platform_data/i2c-ocores.h>
24 #include <linux/nvmem-consumer.h>
349 struct ptp_ocp_ext_src *pps; member
441 (void *)((uintptr_t)(bp) + (map)->bp_offset); \
457 uintptr_t addr = (uintptr_t)(bp) + (res)->bp_offset; \
480 * 0: PPS (TS5)
497 --
[all …]
/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx6qdl-gw5907.dtsi1 // SPDX-License-Identifier: GPL-2.0
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/linux-event-codes.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
21 stdout-path = &uart2;
24 gpio-keys {
25 compatible = "gpio-keys";
27 user-pb {
33 user-pb1x {
36 interrupt-parent = <&gsc>;
[all …]
H A Dimx6qdl-gw5913.dtsi1 // SPDX-License-Identifier: GPL-2.0
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/linux-event-codes.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
21 stdout-path = &uart2;
24 gpio-keys {
25 compatible = "gpio-keys";
27 user-pb {
33 user-pb1x {
36 interrupt-parent = <&gsc>;
[all …]
H A Dimx6q-gw5400-a.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
6 /dts-v1/;
7 #include <dt-bindings/gpio/gpio.h>
11 model = "Gateworks Ventana GW5400-A";
12 compatible = "gw,imx6q-gw5400-a", "gw,ventana", "fsl,imx6q";
33 compatible = "gpio-leds";
34 pinctrl-names = "default";
35 pinctrl-0 = <&pinctrl_gpio_leds>;
37 led0: led-user1 {
39 gpios = <&gpio4 6 GPIO_ACTIVE_HIGH>; /* 102 -> MX6_PANLEDG */
[all …]
H A Dimx6qdl-gw5912.dtsi1 // SPDX-License-Identifier: GPL-2.0
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/linux-event-codes.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
22 stdout-path = &uart2;
25 gpio-keys {
26 compatible = "gpio-keys";
28 user-pb {
34 user-pb1x {
37 interrupt-parent = <&gsc>;
[all …]
H A Dimx6qdl-gw51xx.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/linux-event-codes.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
24 gpio-keys {
25 compatible = "gpio-keys";
27 user-pb {
33 user-pb1x {
36 interrupt-parent = <&gsc>;
40 key-erased {
[all …]
H A Dimx6qdl-gw5910.dtsi1 // SPDX-License-Identifier: GPL-2.0
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/linux-event-codes.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
19 stdout-path = &uart2;
27 gpio-keys {
28 compatible = "gpio-keys";
30 user-pb {
36 user-pb1x {
39 interrupt-parent = <&gsc>;
[all …]

123