Home
last modified time | relevance | path

Searched +full:clear +full:- +full:gpios (Results 1 – 25 of 39) sorted by relevance

12

/freebsd/sys/contrib/device-tree/Bindings/iio/dac/
H A Dadi,ad5791.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Michael Hennerich <michael.hennerich@analog.com>
11 - Jonathan Cameron <jic23@kernel.org>
17 - adi,ad5760
18 - adi,ad5780
19 - adi,ad5781
20 - adi,ad5790
21 - adi,ad5791
[all …]
H A Dadi,ltc2672.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Michael Hennerich <michael.hennerich@analog.com>
11 - Kim Seer Paller <kimseer.paller@analog.com>
14 Analog Devices LTC2672 5 channel, 12-/16-Bit, 300mA DAC
15 https://www.analog.com/media/en/technical-documentation/data-sheets/ltc2672.pdf
20 - adi,ltc2672
25 spi-max-frequency:
28 vcc-supply:
[all …]
H A Dadi,ltc2664.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Michael Hennerich <michael.hennerich@analog.com>
11 - Kim Seer Paller <kimseer.paller@analog.com>
14 Analog Devices LTC2664 4 channel, 12-/16-Bit, +-10V DAC
15 https://www.analog.com/media/en/technical-documentation/data-sheets/2664fa.pdf
20 - adi,ltc2664
25 spi-max-frequency:
28 vcc-supply:
[all …]
/freebsd/sys/contrib/device-tree/Bindings/usb/
H A Dbrcm,usb-pinmap.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/usb/brcm,usb-pinmap.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Al Cooper <alcooperx@gmail.com>
15 - const: brcm,usb-pinmap
22 description: Interrupt for signals mirrored to out-gpios.
24 in-gpios:
29 brcm,in-functions:
30 $ref: /schemas/types.yaml#/definitions/string-array
[all …]
/freebsd/sys/contrib/device-tree/Bindings/gpio/
H A Dgpio-mmio.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/gpio/gpio-mmio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Linus Walleij <linus.walleij@linaro.org>
11 - Bartosz Golaszewski <brgl@bgdev.pl>
15 of set/clear-bit registers. Such controllers are common for glue logic in
16 FPGAs or ASICs. Commonly, these controllers are accessed over memory-mapped
17 NAND-style parallel busses.
22 - brcm,bcm6345-gpio
[all …]
/freebsd/sys/contrib/device-tree/Bindings/net/
H A Dintel,ixp4xx-hss.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 ---
5 $id: http://devicetree.org/schemas/net/intel,ixp4xx-hss.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Linus Walleij <linus.walleij@linaro.org>
20 const: intel,ixp4xx-hss
26 intel,npe-handle:
27 $ref: /schemas/types.yaml#/definitions/phandle-array
30 - description: phandle to the NPE this HSS instance is using
31 - description: the NPE instance number
[all …]
/freebsd/share/man/man4/
H A Dgpioled.435 .Bd -ragged -offset indent
59 .Bl -tag -width ".Va hint.gpioiic.%d.atXXX"
71 (any other bits - i.e., pins - will be ignored).
74 to clear it.
78 .Bl -tag
90 If set to -1, the LED will be kept in its original state.
100 .Bd -literal
103 gpio-controller;
108 gpios = <&gpio 16 2 0>; /* GPIO pin 16. */
114 gpios = <&gpio 17 2 0>; /* GPIO pin 17. */
[all …]
/freebsd/sys/contrib/device-tree/src/arm64/freescale/
H A Dimx8mp-aristainetos3-proton2s.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/leds/common.h>
10 #include "imx8mp-aristainetos3a-som-v1.dtsi"
14 compatible = "abb,imx8mp-aristanetos3-proton2s",
15 "abb,imx8mp-aristanetos3-som",
20 compatible = "linux,wdt-gpio";
21 pinctrl-names = "default";
22 pinctrl-0 = <&pinctrl_watchdog_gpio>;
[all …]
/freebsd/sys/contrib/device-tree/Bindings/iio/adc/
H A Dadi,ad7606.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Michael Hennerich <michael.hennerich@analog.com>
14 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7605-4.pdf
15 https://www.analog.com/media/en/technical-documentation/data-sheets/ad7606_7606-6_7606-4.pdf
16 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7606B.pdf
17 https://www.analog.com/media/en/technical-documentation/data-sheets/ad7606c-16.pdf
18 https://www.analog.com/media/en/technical-documentation/data-sheets/ad7606c-18.pdf
19 https://www.analog.com/media/en/technical-documentation/data-sheets/ad7607.pdf
[all …]
/freebsd/sys/contrib/device-tree/Bindings/regulator/
H A Dpwm-regulator.txt7 predefined voltage <=> duty-cycle values must be
10 Intermediary duty-cycle values which would normally
13 the user if the assumptions made in continuous-voltage
18 regulator-{min,max}-microvolt properties to calculate
19 appropriate duty-cycle values. This allows for a much
21 voltage-table mode above. This solution does make an
22 assumption that a %50 duty-cycle value will cause the
27 --------------------
28 - compatible: Should be "pwm-regulator"
30 - pwms: PWM specification (See: ../pwm/pwm.txt)
[all …]
/freebsd/sys/contrib/device-tree/Bindings/mmc/
H A Dmmc-controller-common.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/mmc/mmc-controller-common.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Ulf Hansson <ulf.hansson@linaro.org>
14 possible slots or ports for multi-slot controllers.
17 "#address-cells":
22 "#size-cells":
29 broken-cd:
34 cd-gpios:
[all …]
/freebsd/sys/contrib/device-tree/src/arm/nuvoton/
H A Dnuvoton-npcm730-gbs.dts1 // SPDX-License-Identifier: GPL-2.0
4 /dts-v1/;
5 #include "nuvoton-npcm730.dtsi"
6 #include <dt-bindings/gpio/gpio.h>
10 compatible = "quanta,gbs-bmc","nuvoton,npcm730";
71 stdout-path = &serial0;
78 gpio-keys {
79 compatible = "gpio-keys";
80 sas-cable0 {
81 label = "sas-cable0";
[all …]
/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/
H A Dar9300_gpio.c163 HALASSERT(gpio < AH_PRIVATE(ah)->ah_caps.halNumGpioPins); in ar9300_gpio_cfg_output()
170 /* Convert HAL signal type definitions to hardware-specific values. */ in ar9300_gpio_cfg_output()
237 * Configure GPIO Output lines -LED off
287 HALASSERT(gpio < AH_PRIVATE(ah)->ah_caps.hal_num_gpio_pins); in ar9300_gpio_cfg_output_led_off()
289 /* Convert HAL signal type definitions to hardware-specific values. */ in ar9300_gpio_cfg_output_led_off()
348 HALASSERT(gpio < AH_PRIVATE(ah)->ah_caps.halNumGpioPins); in ar9300_gpio_cfg_input()
371 * Once configured for I/O - set output lines
377 HALASSERT(gpio < AH_PRIVATE(ah)->ah_caps.halNumGpioPins); in ar9300_gpio_set()
390 * Once configured for I/O - get input lines
396 HALASSERT(gpio < AH_PRIVATE(ah)->ah_caps.halNumGpioPins); in ar9300_gpio_get()
[all …]
/freebsd/sys/contrib/device-tree/src/arm64/rockchip/
H A Drk3399-gru-scarlet.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Google Gru-scarlet board device tree source
8 #include "rk3399-gru.dtsi"
11 chassis-type = "tablet";
16 pp1250_s3: regulator-pp1250-s3 {
17 compatible = "regulator-fixed";
18 regulator-name = "pp1250_s3";
21 regulator-always-on;
22 regulator-boot-on;
23 regulator-min-microvolt = <1250000>;
[all …]
/freebsd/sys/contrib/device-tree/src/arm/aspeed/
H A Daspeed-bmc-facebook-harma.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
4 /dts-v1/;
5 #include "aspeed-g6.dtsi"
6 #include <dt-bindings/gpio/aspeed-gpio.h>
7 #include <dt-bindings/i2c/i2c.h>
11 compatible = "facebook,harma-bmc", "aspeed,ast2600";
32 stdout-path = &uart5;
40 iio-hwmon {
41 compatible = "iio-hwmon";
42 io-channels = <&adc0 0>, <&adc0 1>, <&adc0 2>, <&adc0 3>,
[all …]
H A Daspeed-bmc-tyan-s8036.dts1 // SPDX-License-Identifier: GPL-2.0+
2 /dts-v1/;
4 #include "aspeed-g5.dtsi"
5 #include <dt-bindings/gpio/aspeed-gpio.h>
6 #include <dt-bindings/interrupt-controller/irq.h>
10 compatible = "tyan,s8036-bmc", "aspeed,ast2500";
13 stdout-path = &uart5;
22 reserved-memory {
23 #address-cells = <1>;
24 #size-cells = <1>;
[all …]
H A Daspeed-bmc-tyan-s7106.dts1 // SPDX-License-Identifier: GPL-2.0+
2 /dts-v1/;
4 #include "aspeed-g5.dtsi"
5 #include <dt-bindings/gpio/aspeed-gpio.h>
6 #include <dt-bindings/interrupt-controller/irq.h>
10 compatible = "tyan,s7106-bmc", "aspeed,ast2500";
13 stdout-path = &uart5;
22 reserved-memory {
23 #address-cells = <1>;
24 #size-cells = <1>;
[all …]
/freebsd/sys/dev/sound/fdt/
H A Dsimple_amplifier.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
51 { "simple-audio-amplifier", 1},
72 if (!ofw_bus_search_compatible(dev, compat_data)->ocd_data) in simple_amp_probe()
87 sc->dev = dev; in simple_amp_attach()
91 "enable-gpios", &sc->gpio_enable); in simple_amp_attach()
93 sc->gpio_is_valid = false; in simple_amp_attach()
95 sc->gpio_is_valid = true; in simple_amp_attach()
97 error = regulator_get_by_ofw_property(dev, 0, "VCC-supply", in simple_amp_attach()
98 &sc->supply_vcc); in simple_amp_attach()
[all …]
/freebsd/sys/arm64/nvidia/tegra210/
H A Dmax77620.h1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
217 uint8_t gpio_reg_pue; /* pull-up enables */
218 uint8_t gpio_reg_pde; /* pull-down enables */
230 int max77620_modify(struct max77620_softc *sc, uint8_t reg, uint8_t clear,
256 int gcells, pcell_t *gpios, uint32_t *pin, uint32_t *flags);
/freebsd/sys/arm/mv/
H A Dgpio.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
158 #define MV_GPIO_LOCK() mtx_lock_spin(&sc->mutex)
159 #define MV_GPIO_UNLOCK() mtx_unlock_spin(&sc->mutex)
160 #define MV_GPIO_ASSERT_LOCKED() mtx_assert(&sc->mutex, MA_OWNED)
192 { "marvell,orion-gpio", 1 },
202 if (ofw_bus_search_compatible(dev, compat_data)->ocd_data == 0) in mv_gpio_probe()
219 device_printf(sc->dev, "No interrupt-parrent found. " in mv_gpio_setup_interrupts()
223 /* While at parent - store interrupt cells prop */ in mv_gpio_setup_interrupts()
225 "#interrupt-cells", &irq_cells, sizeof(irq_cells)) == -1) { in mv_gpio_setup_interrupts()
[all …]
/freebsd/sys/contrib/dev/athk/ath11k/
H A Dqmi.h1 /* SPDX-License-Identifier: BSD-3-Clause-Clear */
3 * Copyright (c) 2018-2019 The Linux Foundation. All rights reserved.
169 u32 gpios[QMI_WLFW_MAX_NUM_GPIO_V01]; member
/freebsd/sys/contrib/dev/athk/ath12k/
H A Dqmi.h1 /* SPDX-License-Identifier: BSD-3-Clause-Clear */
3 * Copyright (c) 2018-2021 The Linux Foundation. All rights reserved.
4 * Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
204 u32 gpios[QMI_WLFW_MAX_NUM_GPIO_V01]; member
/freebsd/sys/contrib/device-tree/src/arm/nvidia/
H A Dtegra114-asus-tf701t.dts1 // SPDX-License-Identifier: GPL-2.0
3 /dts-v1/;
5 #include <dt-bindings/input/gpio-keys.h>
6 #include <dt-bindings/input/input.h>
13 chassis-type = "convertible";
29 trusted-foundations {
30 compatible = "tlm,trusted-foundations";
31 tlm,version-major = <2>;
32 tlm,version-minor = <8>;
40 reserved-memory {
[all …]
/freebsd/sys/arm/nvidia/
H A Das3722.h1 /*-
289 int as3722_modify(struct as3722_softc *sc, uint8_t reg, uint8_t clear,
317 int gcells, pcell_t *gpios, uint32_t *pin, uint32_t *flags);
/freebsd/sys/arm64/rockchip/
H A Drk_gpio.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
67 RK_GPIO_PORTA_EOI, /* Clear interrupt register */
117 {"rockchip,gpio-bank", 1},
124 { -1, 0 }
130 #define RK_GPIO_ISRC(sc, irq) (&(sc->isrcs[irq].isrc))
134 #define RK_GPIO_LOCK(_sc) mtx_lock_spin(&(_sc)->sc_mtx)
135 #define RK_GPIO_UNLOCK(_sc) mtx_unlock_spin(&(_sc)->sc_mtx)
136 #define RK_GPIO_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->sc_mtx, MA_OWNED)
139 bus_space_write_4(_sc->sc_bst, _sc->sc_bsh, _off, _val)
[all …]

12