| /kernel/linux/linux-6.6/arch/arm64/boot/dts/nvidia/ |
| D | tegra210-p2571.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/input.h> 5 #include "tegra210-p2530.dtsi" 12 pinctrl-names = "boot"; 13 pinctrl-0 = <&state_boot>; 20 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 21 nvidia,open-drain = <TEGRA_PIN_DISABLE>; 22 nvidia,io-hv = <TEGRA_PIN_DISABLE>; 29 nvidia,enable-input = <TEGRA_PIN_DISABLE>; [all …]
|
| D | tegra210-p2595.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 #include <dt-bindings/pinctrl/pinctrl-tegra.h> 10 pinctrl-names = "boot"; 11 pinctrl-0 = <&state_boot>; 19 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 20 nvidia,open-drain = <TEGRA_PIN_DISABLE>; 21 nvidia,io-hv = <TEGRA_PIN_ENABLE>; 28 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 29 nvidia,open-drain = <TEGRA_PIN_DISABLE>; 30 nvidia,io-hv = <TEGRA_PIN_ENABLE>; [all …]
|
| D | tegra210-p2597.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 #include <dt-bindings/gpio/tegra-gpio.h> 4 #include <dt-bindings/input/input.h> 5 #include <dt-bindings/pinctrl/pinctrl-tegra.h> 23 avdd-dsi-csi-supply = <&vdd_dsi_csi>; 33 avdd-io-hdmi-dp-supply = <&avdd_1v05>; 34 vdd-hdmi-dp-pll-supply = <&vdd_1v8>; 35 hdmi-supply = <&vdd_hdmi>; 37 nvidia,ddc-i2c-bus = <&hdmi_ddc>; 38 nvidia,hpd-gpio = <&gpio TEGRA_GPIO(CC, 1) [all …]
|
| D | tegra210-p2894.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 #include <dt-bindings/input/input.h> 4 #include <dt-bindings/input/gpio-keys.h> 5 #include <dt-bindings/mfd/max77620.h> 6 #include <dt-bindings/pinctrl/pinctrl-tegra.h> 16 stdout-path = "serial0:115200n8"; 26 pinctrl-names = "boot"; 27 pinctrl-0 = <&state_boot>; 35 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 36 nvidia,open-drain = <TEGRA_PIN_DISABLE>; [all …]
|
| D | tegra210-smaug.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/input.h> 5 #include <dt-bindings/mfd/max77620.h> 6 #include <dt-bindings/pinctrl/pinctrl-tegra.h> 12 compatible = "google,smaug-rev8", "google,smaug-rev7", 13 "google,smaug-rev6", "google,smaug-rev5", 14 "google,smaug-rev4", "google,smaug-rev3", 15 "google,smaug-rev2", "google,smaug-rev1", 25 stdout-path = "serial0:115200n8"; [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/nvidia/ |
| D | tegra210-p2571.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/input.h> 5 #include "tegra210-p2530.dtsi" 12 pinctrl-names = "boot"; 13 pinctrl-0 = <&state_boot>; 20 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 21 nvidia,open-drain = <TEGRA_PIN_DISABLE>; 22 nvidia,io-hv = <TEGRA_PIN_DISABLE>; 29 nvidia,enable-input = <TEGRA_PIN_DISABLE>; [all …]
|
| D | tegra210-p2595.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 7 pinctrl-names = "boot"; 8 pinctrl-0 = <&state_boot>; 16 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 17 nvidia,open-drain = <TEGRA_PIN_DISABLE>; 18 nvidia,io-hv = <TEGRA_PIN_ENABLE>; 25 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 26 nvidia,open-drain = <TEGRA_PIN_DISABLE>; 27 nvidia,io-hv = <TEGRA_PIN_ENABLE>; 34 nvidia,enable-input = <TEGRA_PIN_ENABLE>; [all …]
|
| D | tegra210-p2597.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/input/input.h> 20 avdd-dsi-csi-supply = <&vdd_dsi_csi>; 30 avdd-io-hdmi-dp-supply = <&avdd_1v05>; 31 vdd-hdmi-dp-pll-supply = <&vdd_1v8>; 32 hdmi-supply = <&vdd_hdmi>; 34 nvidia,ddc-i2c-bus = <&hdmi_ddc>; 35 nvidia,hpd-gpio = <&gpio TEGRA_GPIO(CC, 1) 41 pinctrl-names = "boot"; 42 pinctrl-0 = <&state_boot>; [all …]
|
| D | tegra210-p2894.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 #include <dt-bindings/input/input.h> 4 #include <dt-bindings/input/gpio-keys.h> 5 #include <dt-bindings/mfd/max77620.h> 6 #include <dt-bindings/pinctrl/pinctrl-tegra.h> 16 stdout-path = "serial0:115200n8"; 26 pinctrl-names = "boot"; 27 pinctrl-0 = <&state_boot>; 35 nvidia,enable-input = <TEGRA_PIN_DISABLE>; 36 nvidia,open-drain = <TEGRA_PIN_DISABLE>; [all …]
|
| D | tegra210-smaug.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/input.h> 5 #include <dt-bindings/mfd/max77620.h> 6 #include <dt-bindings/pinctrl/pinctrl-tegra.h> 12 compatible = "google,smaug-rev8", "google,smaug-rev7", 13 "google,smaug-rev6", "google,smaug-rev5", 14 "google,smaug-rev4", "google,smaug-rev3", 15 "google,smaug-rev2", "google,smaug-rev1", 24 stdout-path = "serial0:115200n8"; [all …]
|
| /kernel/linux/linux-6.6/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 <wsa@kernel.org> 13 - $ref: /schemas/i2c/i2c-controller.yaml# 18 - const: i2c-gpio 20 sda-gpios: 23 active high using open drain with (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN) 24 from <dt-bindings/gpio/gpio.h> since the signal is by definition [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/nuvoton/ |
| D | nuvoton-npcm730-gsj-gpio.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 gpio0pp_pins: gpio0pp-pins { 8 bias-disable; 9 drive-push-pull; 11 gpio1pp_pins: gpio1pp-pins { 13 bias-disable; 14 drive-push-pull; 16 gpio2pp_pins: gpio2pp-pins { 18 bias-disable; 19 drive-push-pull; [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: 23 active high using open drain with (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN) 24 from <dt-bindings/gpio/gpio.h> since the signal is by definition [all …]
|
| /kernel/linux/linux-5.10/Documentation/driver-api/gpio/ |
| D | intro.rst | 16 - The descriptor-based interface is the preferred way to manipulate GPIOs, 17 and is described by all the files in this directory excepted gpio-legacy.txt. 18 - The legacy integer-based interface which is considered deprecated (but still 19 usable for compatibility reasons) is documented in gpio-legacy.txt. 21 The remainder of this document applies to the new descriptor-based interface. 22 gpio-legacy.txt contains the same information applied to the legacy 23 integer-based interface. 29 A "General Purpose Input/Output" (GPIO) is a flexible software-controlled 37 System-on-Chip (SOC) processors heavily rely on GPIOs. In some cases, every 38 non-dedicated pin can be configured as a GPIO; and most chips have at least [all …]
|
| D | consumer.rst | 6 it describes the new descriptor-based interface. For a description of the 7 deprecated integer-based GPIO interface please refer to gpio-legacy.txt. 23 - Simple compile coverage with e.g. COMPILE_TEST - it does not matter that 27 - Truly optional GPIOLIB support - where the driver does not really make use 28 of the GPIOs on certain compile-time configurations for certain systems, but 29 will use it under other compile-time configurations. In this case the 33 All the functions that work with the descriptor-based GPIO interface are 43 With the descriptor-based interface, GPIOs are identified with an opaque, 44 non-forgeable handler that must be obtained through a call to one of the 60 see Documentation/driver-api/gpio/board.rst [all …]
|
| 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 …]
|
| /kernel/linux/linux-6.6/Documentation/driver-api/gpio/ |
| D | intro.rst | 16 - The descriptor-based interface is the preferred way to manipulate GPIOs, 18 - The legacy integer-based interface which is considered deprecated (but still 21 The remainder of this document applies to the new descriptor-based interface. 23 integer-based interface. 29 A "General Purpose Input/Output" (GPIO) is a flexible software-controlled 37 System-on-Chip (SOC) processors heavily rely on GPIOs. In some cases, every 38 non-dedicated pin can be configured as a GPIO; and most chips have at least 43 Most PC southbridges have a few dozen GPIO-capable pins (with only the BIOS 48 - Output values are writable (high=1, low=0). Some chips also have 50 value might be driven, supporting "wire-OR" and similar schemes for the [all …]
|
| D | consumer.rst | 6 it describes the new descriptor-based interface. For a description of the 7 deprecated integer-based GPIO interface please refer to legacy.rst. 23 - Simple compile coverage with e.g. COMPILE_TEST - it does not matter that 27 - Truly optional GPIOLIB support - where the driver does not really make use 28 of the GPIOs on certain compile-time configurations for certain systems, but 29 will use it under other compile-time configurations. In this case the 33 All the functions that work with the descriptor-based GPIO interface are 43 With the descriptor-based interface, GPIOs are identified with an opaque, 44 non-forgeable handler that must be obtained through a call to one of the 60 see Documentation/driver-api/gpio/board.rst [all …]
|
| /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> 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() 37 * open drain emulation in the GPIO library. in w1_gpio_set_pullup() 39 gpiod_set_value(pdata->gpiod, 1); in w1_gpio_set_pullup() [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> 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() 37 * open drain emulation in the GPIO library. in w1_gpio_set_pullup() 39 gpiod_set_value(pdata->gpiod, 1); in w1_gpio_set_pullup() [all …]
|
| /kernel/linux/linux-5.10/include/dt-bindings/gpio/ |
| D | gpio.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 17 /* Bit 1 express single-endedness */ 21 /* Bit 2 express Open drain or open source */ 26 * Open Drain/Collector is the combination of single-ended open drain interface. 27 * Open Source/Emitter is the combination of single-ended open source interface.
|
| /kernel/linux/linux-6.6/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 21 * @sda_has_no_pullup: SDA is used in a non-compliant way and has no pull-up. 22 * Therefore disable open-drain. 23 * @scl_is_open_drain: SCL is set up as open drain. Same requirements 26 * @scl_has_no_pullup: SCL is used in a non-compliant way and has no pull-up. 27 * Therefore disable open-drain.
|
| /kernel/linux/linux-6.6/include/dt-bindings/gpio/ |
| D | gpio.h | 1 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) */ 17 /* Bit 1 express single-endedness */ 21 /* Bit 2 express Open drain or open source */ 26 * Open Drain/Collector is the combination of single-ended open drain interface. 27 * Open Source/Emitter is the combination of single-ended open source interface.
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/serio/ |
| D | ps2-gpio.yaml | 1 # 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 19 active high using open drain with (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN) 20 from <dt-bindings/gpio/gpio.h> since the signal is open drain by [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | ste-href-tvk1281618-r2.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 #include "ste-href-tvk1281618.dtsi" 13 compatible = "st,lsm303dlh-accel"; 14 st,drdy-int-pin = <1>; 15 drive-open-drain; 17 vdd-supply = <&ab8500_ldo_aux1_reg>; 18 vddio-supply = <&db8500_vsmps2_reg>; 19 pinctrl-names = "default"; 20 pinctrl-0 = <&accel_tvk_mode>; 23 * ST-Micro L3D4200D gyro that is connected to the same lines [all …]
|