| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/i2c/ |
| D | i2c-gpio.txt | 1 Device-Tree bindings for i2c gpio driver 4 - compatible = "i2c-gpio"; 5 - sda-gpios: gpio used for the sda signal, this should be flagged as 6 active high using open drain with (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN) 7 from <dt-bindings/gpio/gpio.h> since the signal is by definition 8 open drain. 9 - scl-gpios: gpio used for the scl signal, this should be flagged as 10 active high using open drain with (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN) 11 from <dt-bindings/gpio/gpio.h> since the signal is by definition 12 open drain. [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/i2c/ |
| D | i2c-gpio.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/i2c/i2c-gpio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Wolfram Sang <wolfram@the-dreams.de> 13 - $ref: /schemas/i2c/i2c-controller.yaml# 18 - const: i2c-gpio 20 sda-gpios: 22 gpio used for the sda signal, this should be flagged as 23 active high using open drain with (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN) [all …]
|
| /kernel/linux/linux-4.19/drivers/i2c/busses/ |
| D | i2c-gpio.c | 13 #include <linux/i2c-algo-bit.h> 14 #include <linux/platform_data/i2c-gpio.h> 23 struct gpio_desc *sda; member 34 * Toggle SDA by changing the output value of the pin. This is only 35 * valid for pins configured as open drain (i.e. setting the value 42 gpiod_set_value_cansleep(priv->sda, state); in i2c_gpio_setsda_val() 47 * for pins that are configured as open drain and for output-only 55 gpiod_set_value_cansleep(priv->scl, state); in i2c_gpio_setscl_val() 62 return gpiod_get_value_cansleep(priv->sda); in i2c_gpio_getsda() 69 return gpiod_get_value_cansleep(priv->scl); in i2c_gpio_getscl() [all …]
|
| /kernel/linux/linux-5.10/drivers/i2c/busses/ |
| D | i2c-gpio.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 #include <linux/i2c-algo-bit.h> 17 #include <linux/platform_data/i2c-gpio.h> 22 struct gpio_desc *sda; member 36 * Toggle SDA by changing the output value of the pin. This is only 37 * valid for pins configured as open drain (i.e. setting the value 44 gpiod_set_value_cansleep(priv->sda, state); in i2c_gpio_setsda_val() 49 * for pins that are configured as open drain and for output-only 57 gpiod_set_value_cansleep(priv->scl, state); in i2c_gpio_setscl_val() 64 return gpiod_get_value_cansleep(priv->sda); in i2c_gpio_getsda() [all …]
|
| /kernel/linux/linux-5.10/include/linux/platform_data/ |
| D | i2c-gpio.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * i2c-gpio interface to platform code 11 * struct i2c_gpio_platform_data - Platform-dependent data for i2c-gpio 15 * @sda_is_open_drain: SDA is configured as open drain, i.e. the pin 19 * @scl_is_open_drain: SCL is set up as open drain. Same requirements
|
| /kernel/linux/linux-4.19/include/linux/platform_data/ |
| D | i2c-gpio.h | 2 * i2c-gpio interface to platform code 14 * struct i2c_gpio_platform_data - Platform-dependent data for i2c-gpio 18 * @sda_is_open_drain: SDA is configured as open drain, i.e. the pin 22 * @scl_is_open_drain: SCL is set up as open drain. Same requirements
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | at91-foxg20.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * at91-foxg20.dts - Device Tree file for Acme Systems FoxG20 board 9 /dts-v1/; 26 clock-frequency = <32768>; 30 clock-frequency = <18432000>; 38 compatible = "atmel,tcb-timer"; 43 compatible = "atmel,tcb-timer"; 49 atmel,vbus-gpio = <&pioC 6 GPIO_ACTIVE_HIGH>; 54 pinctrl-0 = < 58 pinctrl-names = "default"; [all …]
|
| D | at91sam9x5.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * at91sam9x5.dtsi - Device Tree Include file for AT91SAM9x5 family SoC 11 #include <dt-bindings/dma/at91.h> 12 #include <dt-bindings/pinctrl/at91.h> 13 #include <dt-bindings/interrupt-controller/irq.h> 14 #include <dt-bindings/gpio/gpio.h> 15 #include <dt-bindings/clock/at91.h> 18 #address-cells = <1>; 19 #size-cells = <1>; 22 interrupt-parent = <&aic>; [all …]
|
| D | at91sam9rl.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * at91sam9rl.dtsi - Device Tree Include file for AT91SAM9RL family SoC 6 * Alexandre Belloni <alexandre.belloni@free-electrons.com> 9 #include <dt-bindings/pinctrl/at91.h> 10 #include <dt-bindings/clock/at91.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/pwm/pwm.h> 16 #address-cells = <1>; 17 #size-cells = <1>; [all …]
|
| D | stm32f7-pinctrl.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright (C) STMicroelectronics 2017 - All Rights Reserved 7 #include <dt-bindings/pinctrl/stm32-pinfunc.h> 8 #include <dt-bindings/mfd/stm32f7-rcc.h> 12 pinctrl: pin-controller { 13 #address-cells = <1>; 14 #size-cells = <1>; 16 interrupt-parent = <&exti>; 18 pins-are-numbered; 21 gpio-controller; [all …]
|
| D | tegra124-apalis-v1.2.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 3 * Copyright 2016-2018 Toradex AG 7 #include "tegra124-apalis-emc.dtsi" 21 avddio-pex-supply = <®_1v05_vdd>; 22 avdd-pex-pll-supply = <®_1v05_vdd>; 23 avdd-pll-erefe-supply = <®_1v05_avdd>; 24 dvddio-pex-supply = <®_1v05_vdd>; 25 hvdd-pex-pll-e-supply = <®_module_3v3>; 26 hvdd-pex-supply = <®_module_3v3>; 27 vddio-pex-ctl-supply = <®_module_3v3>; [all …]
|
| D | tegra124-apalis.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 OR X11 3 * Copyright 2016-2019 Toradex AG 7 #include "tegra124-apalis-emc.dtsi" 20 avddio-pex-supply = <®_1v05_vdd>; 21 avdd-pex-pll-supply = <®_1v05_vdd>; 22 avdd-pll-erefe-supply = <®_1v05_avdd>; 23 dvddio-pex-supply = <®_1v05_vdd>; 24 hvdd-pex-pll-e-supply = <®_module_3v3>; 25 hvdd-pex-supply = <®_module_3v3>; 26 vddio-pex-ctl-supply = <®_module_3v3>; [all …]
|
| D | at91sam9261.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * at91sam9261.dtsi - Device Tree Include file for AT91SAM9261 SoC 5 * Copyright (C) 2013 Jean-Jacques Hiblot <jjhiblot@traphandler.com> 8 #include <dt-bindings/pinctrl/at91.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/clock/at91.h> 14 #address-cells = <1>; 15 #size-cells = <1>; 18 interrupt-parent = <&aic>; [all …]
|
| D | at91rm9200.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * at91rm9200.dtsi - Device Tree Include file for AT91RM9200 family SoC 12 #include <dt-bindings/pinctrl/at91.h> 13 #include <dt-bindings/interrupt-controller/irq.h> 14 #include <dt-bindings/gpio/gpio.h> 15 #include <dt-bindings/clock/at91.h> 18 #address-cells = <1>; 19 #size-cells = <1>; 22 interrupt-parent = <&aic>; 42 #address-cells = <1>; [all …]
|
| /kernel/linux/linux-4.19/arch/arm/boot/dts/ |
| D | at91-foxg20.dts | 2 * at91-foxg20.dts - Device Tree file for Acme Systems FoxG20 board 10 /dts-v1/; 27 clock-frequency = <32768>; 31 clock-frequency = <18432000>; 39 compatible = "atmel,tcb-timer"; 44 compatible = "atmel,tcb-timer"; 50 atmel,vbus-gpio = <&pioC 6 GPIO_ACTIVE_HIGH>; 55 pinctrl-0 = < 63 bus-width = <4>; 68 pinctrl-0 = [all …]
|
| D | at91sam9x5.dtsi | 2 * at91sam9x5.dtsi - Device Tree Include file for AT91SAM9x5 family SoC 13 #include <dt-bindings/dma/at91.h> 14 #include <dt-bindings/pinctrl/at91.h> 15 #include <dt-bindings/interrupt-controller/irq.h> 16 #include <dt-bindings/gpio/gpio.h> 17 #include <dt-bindings/clock/at91.h> 22 interrupt-parent = <&aic>; 42 #address-cells = <0>; 43 #size-cells = <0>; 46 compatible = "arm,arm926ej-s"; [all …]
|
| D | stm32f7-pinctrl.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright (C) STMicroelectronics 2017 - All Rights Reserved 7 #include <dt-bindings/pinctrl/stm32-pinfunc.h> 8 #include <dt-bindings/mfd/stm32f7-rcc.h> 12 pinctrl: pin-controller { 13 #address-cells = <1>; 14 #size-cells = <1>; 16 interrupt-parent = <&exti>; 18 pins-are-numbered; 21 gpio-controller; [all …]
|
| D | at91sam9rl.dtsi | 2 * at91sam9rl.dtsi - Device Tree Include file for AT91SAM9RL family SoC 5 * Alexandre Belloni <alexandre.belloni@free-electrons.com> 11 #include <dt-bindings/pinctrl/at91.h> 12 #include <dt-bindings/clock/at91.h> 13 #include <dt-bindings/interrupt-controller/irq.h> 14 #include <dt-bindings/gpio/gpio.h> 15 #include <dt-bindings/pwm/pwm.h> 20 interrupt-parent = <&aic>; 41 #address-cells = <0>; 42 #size-cells = <0>; [all …]
|
| /kernel/linux/linux-4.19/arch/powerpc/boot/dts/ |
| D | wii.dts | 5 * Copyright (C) 2008-2009 The GameCube Linux Team 15 /dts-v1/; 16 #include <dt-bindings/gpio/gpio.h> 19 * This is commented-out for now. 29 #address-cells = <1>; 30 #size-cells = <1>; 33 bootargs = "root=/dev/mmcblk0p2 rootwait udbg-immortal"; 38 reg = <0x00000000 0x01800000 /* MEM1 24MB 1T-SRAM */ 43 #address-cells = <1>; 44 #size-cells = <0>; [all …]
|
| /kernel/linux/linux-5.10/arch/powerpc/boot/dts/ |
| D | wii.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright (C) 2008-2009 The GameCube Linux Team 10 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/input/input.h> 15 * This is commented-out for now. 25 #address-cells = <1>; 26 #size-cells = <1>; 29 bootargs = "root=/dev/mmcblk0p2 rootwait udbg-immortal"; 34 reg = <0x00000000 0x01800000 /* MEM1 24MB 1T-SRAM */ [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/ |
| D | as3722.txt | 4 ------------------- 5 - compatible: Must be "ams,as3722". 6 - reg: I2C device address. 7 - interrupt-controller: AS3722 has internal interrupt controller which takes the 8 interrupt request from internal sub-blocks like RTC, regulators, GPIOs as well 10 - #interrupt-cells: Should be set to 2 for IRQ number and flags. 12 of AS3722 are defined at dt-bindings/mfd/as3722.h 14 interrupts.txt, using dt-bindings/irq. 17 -------------------- 18 - ams,enable-internal-int-pullup: Boolean property, to enable internal pullup on [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/mfd/ |
| D | as3722.txt | 4 ------------------- 5 - compatible: Must be "ams,as3722". 6 - reg: I2C device address. 7 - interrupt-controller: AS3722 has internal interrupt controller which takes the 8 interrupt request from internal sub-blocks like RTC, regulators, GPIOs as well 10 - #interrupt-cells: Should be set to 2 for IRQ number and flags. 12 of AS3722 are defined at dt-bindings/mfd/as3722.h 14 interrupts.txt, using dt-bindings/irq. 17 -------------------- 18 - ams,enable-internal-int-pullup: Boolean property, to enable internal pullup on [all …]
|
| /kernel/linux/linux-5.10/Documentation/driver-api/ |
| D | i2c.rst | 5 the "Inter-IC" bus, a simple bus protocol which is widely used where low 7 some vendors use another name (such as "Two-Wire Interface", TWI) for 8 the same bus. I2C only needs two signals (SCL for clock, SDA for data), 12 I2C is a multi-master bus; open drain signaling is used to arbitrate 38 .. kernel-doc:: include/linux/i2c.h 41 .. kernel-doc:: drivers/i2c/i2c-boardinfo.c 44 .. kernel-doc:: drivers/i2c/i2c-core-base.c 47 .. kernel-doc:: drivers/i2c/i2c-core-smbus.c
|
| /kernel/linux/linux-4.19/Documentation/driver-api/ |
| D | i2c.rst | 5 the "Inter-IC" bus, a simple bus protocol which is widely used where low 7 some vendors use another name (such as "Two-Wire Interface", TWI) for 8 the same bus. I2C only needs two signals (SCL for clock, SDA for data), 12 I2C is a multi-master bus; open drain signaling is used to arbitrate 38 .. kernel-doc:: include/linux/i2c.h 41 .. kernel-doc:: drivers/i2c/i2c-boardinfo.c 44 .. kernel-doc:: drivers/i2c/i2c-core-base.c 47 .. kernel-doc:: drivers/i2c/i2c-core-smbus.c
|
| /kernel/linux/linux-5.10/Documentation/driver-api/gpio/ |
| D | driver.rst | 26 between 0 and n-1, n being the number of GPIOs managed by the chip. 29 example if a system uses a memory-mapped set of I/O-registers where 32 GPIO 30 lines are handled by one bit per line in a 32-bit register, it makes sense to 44 So for example one platform could use global numbers 32-159 for GPIOs, with a 46 global numbers 0..63 with one set of GPIO controllers, 64-79 with another type 47 of GPIO controller, and on one particular board 80-95 with an FPGA. The legacy 49 2000-2063 to identify GPIO lines in a bank of I2C GPIO expanders. 60 - methods to establish GPIO line direction 61 - methods used to access GPIO line values 62 - method to set electrical configuration for a given GPIO line [all …]
|