Searched +full:w1 +full:- +full:gpio (Results 1 – 25 of 92) sorted by relevance
1234
| /kernel/linux/linux-6.6/Documentation/w1/masters/ |
| D | w1-gpio.rst | 2 Kernel driver w1-gpio 9 ----------- 11 GPIO 1-wire bus master driver. The driver uses the GPIO API to control the 12 wire and the GPIO pin can be specified using GPIO machine descriptor tables. 14 Documentation/devicetree/bindings/w1/w1-gpio.yaml 17 Example (mach-at91) 18 ------------------- 22 #include <linux/gpio/machine.h> 23 #include <linux/w1-gpio.h> 26 .dev_id = "w1-gpio", [all …]
|
| D | index.rst | 1 . SPDX-License-Identifier: GPL-2.0 4 1-wire Master Drivers 12 mxc-w1 13 omap-hdq 14 w1-gpio
|
| /kernel/linux/linux-5.10/Documentation/w1/masters/ |
| D | w1-gpio.rst | 2 Kernel driver w1-gpio 9 ----------- 11 GPIO 1-wire bus master driver. The driver uses the GPIO API to control the 12 wire and the GPIO pin can be specified using GPIO machine descriptor tables. 14 Documentation/devicetree/bindings/w1/w1-gpio.txt 17 Example (mach-at91) 18 ------------------- 22 #include <linux/gpio/machine.h> 23 #include <linux/w1-gpio.h> 26 .dev_id = "w1-gpio", [all …]
|
| D | index.rst | 1 . SPDX-License-Identifier: GPL-2.0 4 1-wire Master Drivers 12 mxc-w1 13 omap-hdq 14 w1-gpio
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/w1/ |
| D | w1-gpio.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/w1/w1-gpio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Bitbanged GPIO 1-Wire Bus 10 - Daniel Mack <zonque@gmail.com> 14 const: w1-gpio 19 - description: Data I/O pin 20 - description: Enable pin for an external pull-up resistor 22 linux,open-drain: [all …]
|
| D | w1.txt | 1 Generic devicetree bindings for onewire (w1) busses 5 Slave devices are listed as sub-nodes of such master devices. For now, only 12 compatible = "gpio-charger"; 13 charger-type = "mains"; 14 gpios = <&gpio 1 GPIO_ACTIVE_LOW>; 18 compatible = "w1-gpio"; 19 gpios = <&gpio 100 0>, <&gpio 101 0>; 23 power-supplies = <&charger>;
|
| /kernel/linux/linux-6.6/drivers/w1/masters/ |
| D | w1-gpio.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * w1-gpio - GPIO w1 bus master driver 12 #include <linux/w1-gpio.h> 13 #include <linux/gpio/consumer.h> 19 #include <linux/w1.h> 26 pdata->pullup_duration = delay; in w1_gpio_set_pullup() 28 if (pdata->pullup_duration) { in w1_gpio_set_pullup() 30 * This will OVERRIDE open drain emulation and force-pull in w1_gpio_set_pullup() 33 gpiod_set_raw_value(pdata->gpiod, 1); in w1_gpio_set_pullup() 34 msleep(pdata->pullup_duration); in w1_gpio_set_pullup() [all …]
|
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # 1-wire bus master configuration 6 menu "1-wire Bus Masters" 9 tristate "Matrox G400 transport layer for 1-wire" 12 Say Y here if you want to communicate with your 1-wire devices 13 using Matrox's G400 GPIO pins. 19 tristate "DS2490 USB <-> W1 transport layer for 1-wire" 22 Say Y here if you want to have a driver for DS2490 based USB <-> W1 bridges, 29 tristate "Maxim DS2482 I2C to 1-Wire bridge" 33 I2C to 1-Wire bridge. [all …]
|
| /kernel/linux/linux-5.10/drivers/w1/masters/ |
| D | w1-gpio.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * w1-gpio - GPIO w1 bus master driver 12 #include <linux/w1-gpio.h> 13 #include <linux/gpio/consumer.h> 19 #include <linux/w1.h> 26 pdata->pullup_duration = delay; in w1_gpio_set_pullup() 28 if (pdata->pullup_duration) { in w1_gpio_set_pullup() 30 * This will OVERRIDE open drain emulation and force-pull in w1_gpio_set_pullup() 33 gpiod_set_raw_value(pdata->gpiod, 1); in w1_gpio_set_pullup() 34 msleep(pdata->pullup_duration); in w1_gpio_set_pullup() [all …]
|
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # 1-wire bus master configuration 6 menu "1-wire Bus Masters" 9 tristate "Matrox G400 transport layer for 1-wire" 12 Say Y here if you want to communicate with your 1-wire devices 13 using Matrox's G400 GPIO pins. 19 tristate "DS2490 USB <-> W1 transport layer for 1-wire" 22 Say Y here if you want to have a driver for DS2490 based USB <-> W1 bridges, 29 tristate "Maxim DS2482 I2C to 1-Wire bridge" 33 I2C to 1-Wire bridge. [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/w1/ |
| D | w1-gpio.txt | 1 w1-gpio devicetree bindings 5 - compatible: "w1-gpio" 6 - gpios: one or two GPIO specs: 7 - the first one is used as data I/O pin 8 - the second one is optional. If specified, it is used as 13 - linux,open-drain: if specified, the data pin is considered in 14 open-drain mode. 16 Also refer to the generic w1.txt document. 21 compatible = "w1-gpio"; 22 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
|
| D | w1.txt | 1 Generic devicetree bindings for onewire (w1) busses 5 Slave devices are listed as sub-nodes of such master devices. For now, only 12 compatible = "gpio-charger"; 13 charger-type = "mains"; 14 gpios = <&gpio 1 GPIO_ACTIVE_LOW>; 18 compatible = "w1-gpio"; 19 gpios = <&gpio 100 0>, <&gpio 101 0>; 23 power-supplies = <&charger>;
|
| /kernel/linux/linux-6.6/Documentation/driver-api/gpio/ |
| D | drivers-on-gpio.rst | 2 Subsystem drivers using GPIO 5 Note that standard kernel drivers exist for common GPIO tasks and will provide 6 the right in-kernel and userspace APIs/ABIs for the job, and that these 10 - leds-gpio: drivers/leds/leds-gpio.c will handle LEDs connected to GPIO 13 - ledtrig-gpio: drivers/leds/trigger/ledtrig-gpio.c will provide a LED trigger, 14 i.e. a LED will turn on/off in response to a GPIO line going high or low 15 (and that LED may in turn use the leds-gpio as per above). 17 - gpio-keys: drivers/input/keyboard/gpio_keys.c is used when your GPIO line 20 - gpio-keys-polled: drivers/input/keyboard/gpio_keys_polled.c is used when your 21 GPIO line cannot generate interrupts, so it needs to be periodically polled [all …]
|
| /kernel/linux/linux-5.10/Documentation/driver-api/gpio/ |
| D | drivers-on-gpio.rst | 2 Subsystem drivers using GPIO 5 Note that standard kernel drivers exist for common GPIO tasks and will provide 6 the right in-kernel and userspace APIs/ABIs for the job, and that these 10 - leds-gpio: drivers/leds/leds-gpio.c will handle LEDs connected to GPIO 13 - ledtrig-gpio: drivers/leds/trigger/ledtrig-gpio.c will provide a LED trigger, 14 i.e. a LED will turn on/off in response to a GPIO line going high or low 15 (and that LED may in turn use the leds-gpio as per above). 17 - gpio-keys: drivers/input/keyboard/gpio_keys.c is used when your GPIO line 20 - gpio-keys-polled: drivers/input/keyboard/gpio_keys_polled.c is used when your 21 GPIO line cannot generate interrupts, so it needs to be periodically polled [all …]
|
| /kernel/linux/linux-6.6/include/linux/ |
| D | w1-gpio.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * w1-gpio interface to platform code 13 * struct w1_gpio_platform_data - Platform-dependent data for w1-gpio
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | w1-gpio.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * w1-gpio interface to platform code 13 * struct w1_gpio_platform_data - Platform-dependent data for w1-gpio
|
| /kernel/linux/linux-6.6/Documentation/w1/ |
| D | w1-generic.rst | 2 Introduction to the 1-wire (w1) subsystem 5 The 1-wire bus is a simple master-slave bus that communicates via a single 11 The w1 subsystem provides the framework for managing w1 masters and 14 All w1 slave devices must be connected to a w1 bus master device. 16 Example w1 master devices: 18 - DS9490 usb device 19 - W1-over-GPIO 20 - DS2482 (i2c to w1 bridge) 21 - Emulated devices, such as a RS232 converter, parallel port adapter, etc 24 What does the w1 subsystem do? [all …]
|
| /kernel/linux/linux-5.10/Documentation/w1/ |
| D | w1-generic.rst | 2 Introduction to the 1-wire (w1) subsystem 5 The 1-wire bus is a simple master-slave bus that communicates via a single 11 The w1 subsystem provides the framework for managing w1 masters and 14 All w1 slave devices must be connected to a w1 bus master device. 16 Example w1 master devices: 18 - DS9490 usb device 19 - W1-over-GPIO 20 - DS2482 (i2c to w1 bridge) 21 - Emulated devices, such as a RS232 converter, parallel port adapter, etc 24 What does the w1 subsystem do? [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | pxa300-raumfeld-controller.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 /dts-v1/; 5 #include "pxa300-raumfeld-common.dtsi" 9 compatible = "raumfeld,raumfeld-controller-pxa303", "marvell,pxa300"; 11 reg_vbatt: regulator-vbatt { 12 compatible = "regulator-fixed"; 13 regulator-name = "vbatt-fixed-supply"; 14 regulator-min-microvolt = <3700000>; 15 regulator-max-microvolt = <3700000>; 16 regulator-always-on; [all …]
|
| D | aspeed-bmc-opp-zaius.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 3 #include "aspeed-g5.dtsi" 4 #include <dt-bindings/gpio/aspeed-gpio.h> 8 compatible = "ingrasys,zaius-bmc", "aspeed,ast2500"; 19 stdout-path = &uart5; 27 reserved-memory { 28 #address-cells = <1>; 29 #size-cells = <1>; 33 no-map; [all …]
|
| D | imx28-cfa10049.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * The CFA-10049 is an expansion board for the CFA-10036 module, thus we 8 * need to include the CFA-10036 DTS. 10 #include "imx28-cfa10036.dts" 13 model = "Crystalfontz CFA-10049 Board"; 17 compatible = "i2c-mux-gpio"; 18 #address-cells = <1>; 19 #size-cells = <0>; 20 pinctrl-names = "default"; 21 pinctrl-0 = <&i2cmux_pins_cfa10049>; [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/intel/pxa/ |
| D | pxa300-raumfeld-controller.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 /dts-v1/; 5 #include "pxa300-raumfeld-common.dtsi" 9 compatible = "raumfeld,raumfeld-controller-pxa303", "marvell,pxa300"; 11 reg_vbatt: regulator-vbatt { 12 compatible = "regulator-fixed"; 13 regulator-name = "vbatt-fixed-supply"; 14 regulator-min-microvolt = <3700000>; 15 regulator-max-microvolt = <3700000>; 16 regulator-always-on; [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/aspeed/ |
| D | aspeed-bmc-opp-zaius.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 3 #include "aspeed-g5.dtsi" 4 #include <dt-bindings/gpio/aspeed-gpio.h> 8 compatible = "ingrasys,zaius-bmc", "aspeed,ast2500"; 19 stdout-path = &uart5; 27 reserved-memory { 28 #address-cells = <1>; 29 #size-cells = <1>; 33 no-map; [all …]
|
| /kernel/linux/linux-5.10/arch/arm/mach-ixp4xx/ |
| D | vulcan-setup.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * arch/arm/mach-ixp4xx/vulcan-setup.c 5 * Arcom/Eurotech Vulcan board-setup 9 * based on fsg-setup.c: 18 #include <linux/w1-gpio.h> 19 #include <linux/gpio/machine.h> 20 #include <linux/mtd/plat-ram.h> 21 #include <asm/mach-types.h> 37 .name = "IXP4XX-Flash", 56 .name = "mtd-ram", [all …]
|
| /kernel/linux/linux-5.10/drivers/power/supply/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 105 tristate "Active-semi ACT8945A charger driver" 109 Active-semi ActivePath ACT8945A charger. 132 depends on W1 139 select W1 147 select W1 159 tristate "DS2782/DS2786 standalone gas-gauge" 163 gas-gauge. 185 tristate "Sharp SL-6000 (tosa) battery" 189 SL-6000 (tosa) models. [all …]
|
1234