| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/bus/ |
| D | ts-nbus.txt | 4 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 …]
|
| /kernel/linux/linux-5.10/sound/soc/ |
| D | soc-jack.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // soc-jack.c -- ALSA SoC jack handling 23 struct snd_soc_jack_gpio *gpios; member 27 * snd_soc_jack_report - Report the current status for a jack 51 dapm = &jack->card->dapm; in snd_soc_jack_report() 53 mutex_lock(&jack->mutex); in snd_soc_jack_report() 55 jack->status &= ~mask; in snd_soc_jack_report() 56 jack->status |= status & mask; in snd_soc_jack_report() 60 list_for_each_entry(pin, &jack->pins, list) { in snd_soc_jack_report() 61 enable = pin->mask & jack->status; in snd_soc_jack_report() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/fsi/ |
| D | fsi-master-gpio.txt | 1 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 …]
|
| D | fsi-master-ast-cf.txt | 1 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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/adc/ |
| D | adi,ad7606.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Beniamin Bia <beniamin.bia@analog.com> 11 - Stefan Popa <stefan.popa@analog.com> 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/AD7616.pdf 22 - adi,ad7605-4 23 - adi,ad7606-8 [all …]
|
| D | avia-hx711.yaml | 1 # 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 …]
|
| D | adi,ad7780.yaml | 1 # 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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/auxdisplay/ |
| D | hit,hd44780.yaml | 1 # 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. 21 data-gpios: 23 GPIO pins connected to the data signal lines DB0-DB7 (8-bit mode) or 24 DB4-DB7 (4-bit mode) of the LCD Controller's bus interface. 26 - maxItems: 4 27 - maxItems: 8 [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/gpio/ |
| D | netxbig-gpio-ext.txt | 5 - 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>;
|
| /kernel/linux/linux-5.10/drivers/bus/ |
| D | ts-nbus.c | 2 * NBUS driver for TS-4600 based boards 4 * Copyright (c) 2016 - Savoir-faire Linux 11 * This driver implements a GPIOs bit-banged bus, called the NBUS by Technologic 13 * TS-4600 SoM. 24 #include <linux/ts-nbus.h> 33 struct gpio_descs *data; member 43 * request all gpios required by the bus. 48 ts_nbus->data = devm_gpiod_get_array(&pdev->dev, "ts,data", in ts_nbus_init_pdata() 50 if (IS_ERR(ts_nbus->data)) { in ts_nbus_init_pdata() 51 dev_err(&pdev->dev, "failed to retrieve ts,data-gpio from dts\n"); in ts_nbus_init_pdata() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/hwmon/ |
| D | nsa320-mcu.txt | 5 - 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>;
|
| D | sht15.txt | 5 - "compatible": must be "sensirion,sht15". 6 - "data-gpios": GPIO connected to the data line. 7 - "clk-gpios": GPIO connected to the clock line. 8 - "vcc-supply": regulator that drives the VCC pin. 13 pinctrl-names = "default"; 14 pinctrl-0 = <&pinctrl_sensor>; 16 clk-gpios = <&gpio4 12 0>; 17 data-gpios = <&gpio4 13 0>; 18 vcc-supply = <®_sht15>;
|
| /kernel/linux/linux-5.10/Documentation/driver-api/gpio/ |
| D | board.rst | 5 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 9 gpio-legacy.txt (actually, there is no real mapping possible with the old 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 [all …]
|
| D | legacy.rst | 13 A "General Purpose Input/Output" (GPIO) is a flexible software-controlled 18 which GPIOs. Drivers can be written generically, so that board setup code 19 passes such pin configuration data to drivers. 21 System-on-Chip (SOC) processors heavily rely on GPIOs. In some cases, every 22 non-dedicated pin can be configured as a GPIO; and most chips have at least 24 provide GPIOs; multifunction chips like power managers, and audio codecs 27 Most PC southbridges have a few dozen GPIO-capable pins (with only the BIOS 30 The exact capabilities of GPIOs vary between systems. Common options: 32 - Output values are writable (high=1, low=0). Some chips also have 34 value might be driven ... supporting "wire-OR" and similar schemes [all …]
|
| /kernel/linux/linux-5.10/arch/mips/boot/dts/ingenic/ |
| D | ci20.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 5 #include <dt-bindings/clock/ingenic,tcu.h> 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/regulator/active-semi,8865-regulator.h> 22 stdout-path = &uart4; 31 gpio-keys { 32 compatible = "gpio-keys"; [all …]
|
| /kernel/linux/linux-5.10/drivers/net/mdio/ |
| D | mdio-mux-gpio.c | 1 // SPDX-License-Identifier: GPL-2.0 11 #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 …]
|
| /kernel/linux/linux-5.10/drivers/staging/iio/resolver/ |
| D | ad2s1210.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (c) 2010-2010 Analog Devices Inc. 78 static const struct ad2s1210_gpio gpios[] = { variable 91 struct gpio_desc *gpios[5]; member 110 gpiod_set_value(st->gpios[AD2S1210_A0], ad2s1210_mode_vals[mode][0]); in ad2s1210_set_mode() 111 gpiod_set_value(st->gpios[AD2S1210_A1], ad2s1210_mode_vals[mode][1]); in ad2s1210_set_mode() 112 st->mode = mode; in ad2s1210_set_mode() 115 /* write 1 bytes (address or data) to the chip */ 116 static int ad2s1210_config_write(struct ad2s1210_state *st, u8 data) in ad2s1210_config_write() argument 121 st->tx[0] = data; in ad2s1210_config_write() [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | kirkwood-nsa320.dts | 1 // 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 …]
|
| D | at91-tse850-3.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * at91-tse850-3.dts - Device Tree file for the Axentia TSE-850 3.0 board 9 /dts-v1/; 10 #include <dt-bindings/pwm/pwm.h> 11 #include "at91-linea.dtsi" 14 model = "Axentia TSE-850 3.0"; 19 compatible = "fixed-clock"; 21 #clock-cells = <0>; 22 clock-frequency = <16000000>; 23 clock-output-names = "sck"; [all …]
|
| /kernel/linux/linux-5.10/drivers/hsi/clients/ |
| D | nokia-modem.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * nokia-modem.c 33 struct nokia_modem_gpio *gpios; member 39 static void do_nokia_modem_rst_ind_tasklet(unsigned long data) in do_nokia_modem_rst_ind_tasklet() argument 41 struct nokia_modem_device *modem = (struct nokia_modem_device *)data; in do_nokia_modem_rst_ind_tasklet() 46 dev_info(modem->device, "CMT rst line change detected\n"); in do_nokia_modem_rst_ind_tasklet() 48 if (modem->ssi_protocol) in do_nokia_modem_rst_ind_tasklet() 49 ssip_reset_event(modem->ssi_protocol); in do_nokia_modem_rst_ind_tasklet() 52 static irqreturn_t nokia_modem_rst_ind_isr(int irq, void *data) in nokia_modem_rst_ind_isr() argument 54 struct nokia_modem_device *modem = (struct nokia_modem_device *)data; in nokia_modem_rst_ind_isr() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/serio/ |
| D | ps2-gpio.txt | 1 Device-Tree binding for ps/2 gpio device 4 - compatible = "ps2-gpio" 5 - data-gpios: the data pin 6 - clk-gpios: the clock pin 7 - interrupts: Should trigger on the falling edge of the clock line. 10 - write-enable: Indicates whether write function is provided 17 compatible = "ps2-gpio"; 18 interrupt-parent = <&gpio>; 20 data-gpios = <&gpio 24 GPIO_ACTIVE_HIGH>; 21 clk-gpios = <&gpio 23 GPIO_ACTIVE_HIGH>; [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/ |
| D | atmel-usart.txt | 4 - compatible: Should be one of the following: 5 - "atmel,at91rm9200-usart" 6 - "atmel,at91sam9260-usart" 7 - "microchip,sam9x60-usart" 8 - "atmel,at91rm9200-dbgu", "atmel,at91rm9200-usart" 9 - "atmel,at91sam9260-dbgu", "atmel,at91sam9260-usart" 10 - "microchip,sam9x60-dbgu", "microchip,sam9x60-usart" 11 - reg: Should contain registers location and length 12 - interrupts: Should contain interrupt 13 - clock-names: tuple listing input clock names. [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/bridge/ |
| D | toshiba,tc358775.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Vinay Simha BN <simhavcs@gmail.com> 15 MIPI DSI-RX Data 4-lane, CLK 1-lane with data rates up to 800 Mbps/lane. 17 Up to 1600x1200 24-bit/pixel resolution for single-link LVDS display panel 19 Up to WUXGA (1920x1200 24-bit pixels) resolution for dual-link LVDS display 30 vdd-supply: 34 vddio-supply: 38 stby-gpios: [all …]
|
| /kernel/linux/linux-5.10/drivers/hwmon/ |
| D | gpio-fan.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * gpio-fan.c - Hwmon driver for fans connected to GPIO lines. 34 struct mutex lock; /* lock GPIOs operations. */ 36 struct gpio_desc **gpios; member 57 sysfs_notify(&fan_data->hwmon_dev->kobj, NULL, "fan1_alarm"); in fan_alarm_notify() 58 kobject_uevent(&fan_data->hwmon_dev->kobj, KOBJ_CHANGE); in fan_alarm_notify() 65 schedule_work(&fan_data->alarm_work); in fan_alarm_irq_handler() 76 gpiod_get_value_cansleep(fan_data->alarm_gpio)); in fan1_alarm_show() 84 struct device *dev = fan_data->dev; in fan_alarm_init() 90 alarm_irq = gpiod_to_irq(fan_data->alarm_gpio); in fan_alarm_init() [all …]
|
| /kernel/linux/linux-5.10/drivers/i2c/muxes/ |
| D | i2c-mux-gpio.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 #include <linux/i2c-mux.h> 10 #include <linux/platform_data/i2c-mux-gpio.h> 20 struct i2c_mux_gpio_platform_data data; member 22 struct gpio_desc **gpios; member 31 gpiod_set_array_value_cansleep(mux->ngpios, mux->gpios, NULL, values); in i2c_mux_gpio_set() 47 i2c_mux_gpio_set(mux, mux->data.idle); in i2c_mux_gpio_deselect() 56 struct device_node *np = pdev->dev.of_node; in i2c_mux_gpio_probe_dt() 63 return -ENODEV; in i2c_mux_gpio_probe_dt() 65 adapter_np = of_parse_phandle(np, "i2c-parent", 0); in i2c_mux_gpio_probe_dt() [all …]
|