Home
last modified time | relevance | path

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

12345678910>>...42

/openbmc/u-boot/drivers/gpio/
H A Dmpc8xxx_gpio.c1 // SPDX-License-Identifier: GPL-2.0+
47 return (1U << (31 - (gpio))); in gpio_mask()
52 return in_be32(&base->gpdat) & mask; in mpc8xxx_gpio_get_val()
57 return in_be32(&base->gpdir) & mask; in mpc8xxx_gpio_get_dir()
60 static inline void mpc8xxx_gpio_set_in(struct ccsr_gpio *base, u32 gpios) in mpc8xxx_gpio_set_in() argument
62 clrbits_be32(&base->gpdat, gpios); in mpc8xxx_gpio_set_in()
63 /* GPDIR register 0 -> input */ in mpc8xxx_gpio_set_in()
64 clrbits_be32(&base->gpdir, gpios); in mpc8xxx_gpio_set_in()
67 static inline void mpc8xxx_gpio_set_low(struct ccsr_gpio *base, u32 gpios) in mpc8xxx_gpio_set_low() argument
69 clrbits_be32(&base->gpdat, gpios); in mpc8xxx_gpio_set_low()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/auxdisplay/
H A Dhit,hd44780.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Geert Uytterhoeven <geert@linux-m68k.org>
15 interface, which can be used in either 4-bit or 8-bit mode. By using a
24 data-gpios:
26 GPIO pins connected to the data signal lines DB0-DB7 (8-bit mode) or
27 DB4-DB7 (4-bit mode) of the LCD Controller's bus interface.
29 - maxItems: 4
30 - maxItems: 8
[all …]
/openbmc/linux/Documentation/devicetree/bindings/bus/
H A Dts-nbus.txt4 Systems FPGA on the TS-4600 SoM.
7 - compatible : "technologic,ts-nbus"
8 - #address-cells : must be 1
9 - #size-cells : must be 0
10 - pwms : The PWM bound to the FPGA
11 - ts,data-gpios : The 8 GPIO pins connected to the data lines on the FPGA
12 - ts,csn-gpios : The GPIO pin connected to the csn line on the FPGA
13 - ts,txrx-gpios : The GPIO pin connected to the txrx line on the FPGA
14 - ts,strobe-gpios : The GPIO pin connected to the stobe line on the FPGA
15 - ts,ale-gpios : The GPIO pin connected to the ale line on the FPGA
[all …]
/openbmc/linux/Documentation/devicetree/bindings/fsi/
H A Dfsi-master-gpio.txt1 Device-tree bindings for gpio-based FSI master driver
2 -----------------------------------------------------
5 - compatible = "fsi-master-gpio";
6 - clock-gpios = <gpio-descriptor>; : GPIO for FSI clock
7 - data-gpios = <gpio-descriptor>; : GPIO for FSI data signal
10 - enable-gpios = <gpio-descriptor>; : GPIO for enable signal
11 - trans-gpios = <gpio-descriptor>; : GPIO for voltage translator enable
12 - mux-gpios = <gpio-descriptor>; : GPIO for pin multiplexing with other
14 - no-gpio-delays; : Don't add extra delays between GPIO
21 fsi-master {
[all …]
H A Dfsi-master-ast-cf.txt1 Device-tree bindings for ColdFire offloaded gpio-based FSI master driver
2 ------------------------------------------------------------------------
5 - compatible =
6 "aspeed,ast2400-cf-fsi-master" for an AST2400 based system
8 "aspeed,ast2500-cf-fsi-master" for an AST2500 based system
10 - clock-gpios = <gpio-descriptor>; : GPIO for FSI clock
11 - data-gpios = <gpio-descriptor>; : GPIO for FSI data signal
12 - enable-gpios = <gpio-descriptor>; : GPIO for enable signal
13 - trans-gpios = <gpio-descriptor>; : GPIO for voltage translator enable
14 - mux-gpios = <gpio-descriptor>; : GPIO for pin multiplexing with other
[all …]
/openbmc/linux/Documentation/devicetree/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/ad7606_7606-6_7606-4.pdf
15 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7606B.pdf
16 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7616.pdf
21 - adi,ad7605-4
22 - adi,ad7606-8
23 - adi,ad7606-6
[all …]
H A Davia-hx711.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/iio/adc/avia-hx711.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Andreas Klinger <ak@it-klinger.de>
13 Bit-banging driver using two GPIOs:
14 - sck-gpio gives a clock to the sensor with 24 cycles for data retrieval
17 - dout-gpio is the sensor data the sensor responds to the clock
25 - avia,hx711
27 sck-gpios:
[all …]
H A Dadi,ad7780.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Michael Hennerich <michael.hennerich@analog.com>
13 The ad7780 is a sigma-delta analog to digital converter. This driver provides
20 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7170.pdf
22 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7171.pdf
24 https://www.analog.com/media/en/technical-documentation/data-sheets/ad7780.pdf
26 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7781.pdf
31 - adi,ad7170
[all …]
/openbmc/linux/sound/soc/
H A Dsoc-jack.c1 // SPDX-License-Identifier: GPL-2.0+
3 // soc-jack.c -- ALSA SoC jack handling
21 * snd_soc_jack_report - Report the current status for a jack
40 if (!jack || !jack->jack) in snd_soc_jack_report()
44 dapm = &jack->card->dapm; in snd_soc_jack_report()
46 mutex_lock(&jack->mutex); in snd_soc_jack_report()
48 jack->status &= ~mask; in snd_soc_jack_report()
49 jack->status |= status & mask; in snd_soc_jack_report()
53 list_for_each_entry(pin, &jack->pins, list) { in snd_soc_jack_report()
54 int enable = pin->mask & jack->status; in snd_soc_jack_report()
[all …]
/openbmc/linux/drivers/bus/
H A Dts-nbus.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * NBUS driver for TS-4600 based boards
5 * Copyright (c) 2016 - Savoir-faire Linux
8 * This driver implements a GPIOs bit-banged bus, called the NBUS by Technologic
10 * TS-4600 SoM.
21 #include <linux/ts-nbus.h>
30 struct gpio_descs *data; member
40 * request all gpios required by the bus.
45 ts_nbus->data = devm_gpiod_get_array(&pdev->dev, "ts,data", in ts_nbus_init_pdata()
47 if (IS_ERR(ts_nbus->data)) { in ts_nbus_init_pdata()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/gpio/
H A Dnetxbig-gpio-ext.txt5 - compatible: "lacie,netxbig-gpio-ext".
6 - addr-gpios: GPIOs representing the address register (LSB -> MSB).
7 - data-gpios: GPIOs representing the data register (LSB -> MSB).
8 - enable-gpio: latches the new configuration (address, data) on raising edge.
12 netxbig_gpio_ext: netxbig-gpio-ext {
13 compatible = "lacie,netxbig-gpio-ext";
15 addr-gpios = <&gpio1 15 GPIO_ACTIVE_HIGH
18 data-gpios = <&gpio1 12 GPIO_ACTIVE_HIGH
21 enable-gpio = <&gpio0 29 GPIO_ACTIVE_HIGH>;
/openbmc/linux/Documentation/devicetree/bindings/rtc/
H A Dmoxa,moxart-rtc.txt1 MOXA ART real-time clock
5 - compatible : Should be "moxa,moxart-rtc"
6 - rtc-sclk-gpios : RTC sclk gpio, with zero flags
7 - rtc-data-gpios : RTC data gpio, with zero flags
8 - rtc-reset-gpios : RTC reset gpio, with zero flags
13 compatible = "moxa,moxart-rtc";
14 rtc-sclk-gpios = <&gpio 5 0>;
15 rtc-data-gpios = <&gpio 6 0>;
16 rtc-reset-gpios = <&gpio 7 0>;
/openbmc/linux/Documentation/devicetree/bindings/hwmon/
H A Dnsa320-mcu.txt5 - compatible : "zyxel,nsa320-mcu"
6 - data-gpios : The GPIO pin connected to the data line on the MCU
7 - clk-gpios : The GPIO pin connected to the clock line on the MCU
8 - act-gpios : The GPIO pin connected to the active line on the MCU
13 compatible = "zyxel,nsa320-mcu";
14 pinctrl-0 = <&pmx_mcu_data &pmx_mcu_clk &pmx_mcu_act>;
15 pinctrl-names = "default";
17 data-gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
18 clk-gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
19 act-gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
H A Dsensirion,sht15.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Krzysztof Kozlowski <krzk@kernel.org>
16 clk-gpios:
19 data-gpios:
22 vcc-supply:
26 - compatible
27 - clk-gpios
28 - data-gpios
[all …]
/openbmc/u-boot/drivers/board/
H A Dgazerbeam.c1 // SPDX-License-Identifier: GPL-2.0+
23 /* Number of the GPIO to read the SC data from */
25 /* Number of the GPIO to read the CON data from */
29 * struct board_gazerbeam_priv - Private data structure for the gazerbeam board
31 * @reset_gpios: GPIOs for the board's reset GPIOs.
32 * @var_gpios: GPIOs for the board's hardware variant GPIOs
33 * @ver_gpios: GPIOs for the board's hardware version GPIOs
48 * _read_board_variant_data() - Read variant information from the hardware.
52 * The data read from the board's hardware (mostly hard-wired GPIOs) is stored
53 * in the private data structure of the driver to be used by other driver
[all …]
/openbmc/linux/Documentation/driver-api/gpio/
H A Dboard.rst5 This document explains how GPIOs can be assigned to given devices and functions.
7 Note that it only applies to the new descriptor-based interface. For a
8 description of the deprecated integer-based GPIO interface please refer to
15 Kconfig. Then, how GPIOs are mapped depends on what the platform uses to
17 tree, ACPI, and platform data.
20 -----------
21 GPIOs can easily be mapped to devices and functions in the device tree. The
22 exact way to do it depends on the GPIO controller providing the GPIOs, see the
25 GPIOs mappings are defined in the consumer device's node, in a property named
26 <function>-gpios, where <function> is the function the driver will request
[all …]
/openbmc/linux/Documentation/devicetree/bindings/serio/
H A Dps2-gpio.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/serio/ps2-gpio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Danilo Krummrich <danilokrummrich@dk-develop.de>
14 const: ps2-gpio
16 data-gpios:
18 the gpio used for the data signal - this should be flagged as
20 from <dt-bindings/gpio/gpio.h> since the signal is open drain by
24 clk-gpios:
[all …]
/openbmc/u-boot/drivers/i2c/
H A Di2c-gpio.c5 * This file is based on: drivers/i2c/soft-i2c.c,
6 * with added driver-model support and code cleanup.
29 * udelay - delay [us] between GPIO toggle operations,
34 struct gpio_desc gpios[PIN_COUNT]; member
85 /* START: High -> Low on SDA while SCL is High */
98 /* STOP: Low -> High on SDA while SCL is High */
122 * Send a reset sequence consisting of 9 clocks with the data signal high
137 /* Set sda high with low clock, before reading slave data */
149 int delay, uchar data) in i2c_gpio_write_byte() argument
155 i2c_gpio_write_bit(scl, sda, delay, data & 0x80); in i2c_gpio_write_byte()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/sound/
H A Drt5645.txt7 - compatible : One of "realtek,rt5645" or "realtek,rt5650".
9 - reg : The I2C address of the device.
11 - interrupts : The CODEC's interrupt output.
13 - avdd-supply: Power supply for AVDD, providing 1.8V.
15 - cpvdd-supply: Power supply for CPVDD, providing 3.5V.
19 - hp-detect-gpios:
20 a GPIO spec for the external headphone detect pin. If jd-mode = 0,
21 we will get the JD status by getting the value of hp-detect-gpios.
23 - cbj-sleeve-gpios:
28 - realtek,in2-differential
[all …]
/openbmc/linux/drivers/staging/iio/resolver/
H A Dad2s1210.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (c) 2010-2010 Analog Devices Inc.
79 static const struct ad2s1210_gpio gpios[] = { variable
92 struct gpio_desc *gpios[5]; member
111 gpiod_set_value(st->gpios[AD2S1210_A0], ad2s1210_mode_vals[mode][0]); in ad2s1210_set_mode()
112 gpiod_set_value(st->gpios[AD2S1210_A1], ad2s1210_mode_vals[mode][1]); in ad2s1210_set_mode()
113 st->mode = mode; in ad2s1210_set_mode()
116 /* write 1 bytes (address or data) to the chip */
117 static int ad2s1210_config_write(struct ad2s1210_state *st, u8 data) in ad2s1210_config_write() argument
122 st->tx[0] = data; in ad2s1210_config_write()
[all …]
/openbmc/linux/drivers/net/mdio/
H A Dmdio-mux-gpio.c1 // SPDX-License-Identifier: GPL-2.0
8 #include <linux/mdio-mux.h>
18 struct gpio_descs *gpios; member
23 void *data) in mdio_mux_gpio_switch_fn() argument
25 struct mdio_mux_gpio_state *s = data; in mdio_mux_gpio_switch_fn()
33 gpiod_set_array_value_cansleep(s->gpios->ndescs, s->gpios->desc, in mdio_mux_gpio_switch_fn()
34 s->gpios->info, values); in mdio_mux_gpio_switch_fn()
42 struct gpio_descs *gpios; in mdio_mux_gpio_probe() local
45 gpios = devm_gpiod_get_array(&pdev->dev, NULL, GPIOD_OUT_LOW); in mdio_mux_gpio_probe()
46 if (IS_ERR(gpios)) in mdio_mux_gpio_probe()
[all …]
/openbmc/linux/drivers/gpio/
H A Dgpiolib-of.c1 // SPDX-License-Identifier: GPL-2.0+
5 * Copyright (c) 2007-2008 MontaVista Software, Inc.
26 #include "gpiolib-of.h"
29 * This is Linux-specific flags. By default controllers' and Linux' mapping
31 * Linux-specific in their .xlate callback. Though, 1:1 mapping is recommended.
44 * of_gpio_named_count() - Count GPIOs for a device
45 * @np: device node to count GPIOs for
48 * The function returns the count of GPIOs specified for a node.
50 * Number of gpios defined in property,
51 * -EINVAL for an incorrectly formed gpios property, or
[all …]
/openbmc/linux/Documentation/devicetree/bindings/media/
H A Dsamsung,s5c73m3.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
11 - Sylwester Nawrocki <s.nawrocki@samsung.com>
14 The S5C73M3 camera ISP supports MIPI CSI-2 and parallel (ITU-R BT.656)
15 video data busses. The I2C bus is the main control bus and additionally the
31 clock-names:
33 - const: cis_extclk
35 clock-frequency:
[all …]
/openbmc/linux/arch/arm/boot/dts/marvell/
H A Dkirkwood-nsa320.dts1 // SPDX-License-Identifier: GPL-2.0+
4 * Copyright (c) 2014, Adam Baker <linux@baker-net.org.uk>
9 /dts-v1/;
11 #include "kirkwood-nsa3x0-common.dtsi"
15 compatible = "zyxel,nsa320", "marvell,kirkwood-88f6281", "marvell,kirkwood";
24 stdout-path = &uart0;
28 pinctrl: pin-controller@10000 {
29 pinctrl-names = "default";
32 pmx_sata0: pmx-sata0 {
37 pmx_sata1: pmx-sata1 {
[all …]
/openbmc/linux/drivers/hsi/clients/
H A Dnokia-modem.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * nokia-modem.c
32 struct nokia_modem_gpio *gpios; member
38 static void do_nokia_modem_rst_ind_tasklet(unsigned long data) in do_nokia_modem_rst_ind_tasklet() argument
40 struct nokia_modem_device *modem = (struct nokia_modem_device *)data; in do_nokia_modem_rst_ind_tasklet()
45 dev_info(modem->device, "CMT rst line change detected\n"); in do_nokia_modem_rst_ind_tasklet()
47 if (modem->ssi_protocol) in do_nokia_modem_rst_ind_tasklet()
48 ssip_reset_event(modem->ssi_protocol); in do_nokia_modem_rst_ind_tasklet()
51 static irqreturn_t nokia_modem_rst_ind_isr(int irq, void *data) in nokia_modem_rst_ind_isr() argument
53 struct nokia_modem_device *modem = (struct nokia_modem_device *)data; in nokia_modem_rst_ind_isr()
[all …]

12345678910>>...42