Home
last modified time | relevance | path

Searched +full:enable +full:- +full:gpio (Results 1 – 25 of 1059) sorted by relevance

12345678910>>...43

/OK3568_Linux_fs/kernel/arch/arm/mach-pxa/include/mach/
H A Dpxa2xx-regs.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * arch/arm/mach-pxa/include/mach/pxa2xx-regs.h
5 * Taken from pxa-regs.h by Russell King
23 #define PWER __REG(0x40F0000C) /* Power Manager Wake-up Enable Register */
24 #define PRER __REG(0x40F00010) /* Power Manager GPIO Rising-Edge Detect Enable Register */
25 #define PFER __REG(0x40F00014) /* Power Manager GPIO Falling-Edge Detect Enable Register */
26 #define PEDR __REG(0x40F00018) /* Power Manager GPIO Edge Detect Status Register */
28 #define PGSR0 __REG(0x40F00020) /* Power Manager GPIO Sleep State Register for GP[31-0] */
29 #define PGSR1 __REG(0x40F00024) /* Power Manager GPIO Sleep State Register for GP[63-32] */
30 #define PGSR2 __REG(0x40F00028) /* Power Manager GPIO Sleep State Register for GP[84-64] */
[all …]
/OK3568_Linux_fs/kernel/drivers/gpio/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 # GPIO infrastructure and drivers
10 the architecture to provide a custom asm/gpio.h implementation
15 bool "GPIO Support"
17 This enables GPIO support through the generic GPIO library.
18 You only need to enable this, if you also want to enable
19 one or more of the GPIO drivers below.
51 bool "Debug GPIO calls"
54 Say Y here to add some extra checks and diagnostics to GPIO calls.
57 non-sleeping contexts. They can make bitbanged serial protocols
[all …]
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Dste-href-ab8500.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
6 #include "ste-ab8500.dtsi"
12 ab8500-gpiocontroller {
14 pinctrl-names = "default";
15 pinctrl-0 = <&gpio2_default_mode>,
41 * are muxed in as GPIO, and configured as INPUT PULL DOWN
46 function = "gpio";
51 input-enable;
52 bias-pull-down;
59 function = "gpio";
[all …]
H A Dtegra114-dalmore.dts1 // SPDX-License-Identifier: GPL-2.0
7 /dts-v1/;
9 #include <dt-bindings/input/input.h>
23 stdout-path = "serial0:115200n8";
34 hdmi-supply = <&vdd_5v0_hdmi>;
35 vdd-supply = <&vdd_hdmi_reg>;
36 pll-supply = <&palmas_smps3_reg>;
38 nvidia,ddc-i2c-bus = <&hdmi_ddc>;
39 nvidia,hpd-gpio =
40 <&gpio TEGRA_GPIO(N, 7) GPIO_ACTIVE_HIGH>;
[all …]
H A Dtegra124-venice2.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include <dt-bindings/input/input.h>
18 stdout-path = "serial0:115200n8";
29 vdd-supply = <&vdd_3v3_hdmi>;
30 pll-supply = <&vdd_hdmi_pll>;
31 hdmi-supply = <&vdd_5v0_hdmi>;
33 nvidia,ddc-i2c-bus = <&hdmi_ddc>;
34 nvidia,hpd-gpio =
35 <&gpio TEGRA_GPIO(N, 7) GPIO_ACTIVE_HIGH>;
[all …]
H A Dkirkwood-synology.dtsi1 // SPDX-License-Identifier: GPL-2.0
12 pinctrl: pin-controller@10000 {
13 pmx_alarmled_12: pmx-alarmled-12 {
15 marvell,function = "gpio";
18 pmx_fanctrl_15: pmx-fanctrl-15 {
20 marvell,function = "gpio";
23 pmx_fanctrl_16: pmx-fanctrl-16 {
25 marvell,function = "gpio";
28 pmx_fanctrl_17: pmx-fanctrl-17 {
30 marvell,function = "gpio";
[all …]
H A Dtegra30-cardhu.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 #include <dt-bindings/input/input.h>
13 * use tegra30-cardhu-a02.dts, Cardhu fab version A04 and later, use
14 * tegra30-cardhu-a04.dts.
17 * The sticker will have number like 600-81291-1000-002 C.3. In this 4th
19 * The (downstream internal) U-Boot of Cardhu display the board-id as
40 stdout-path = "serial0:115200n8";
51 avdd-pexb-supply = <&ldo1_reg>;
52 vdd-pexb-supply = <&ldo1_reg>;
53 avdd-pex-pll-supply = <&ldo1_reg>;
[all …]
H A Dtegra30-cardhu-a02.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include "tegra30-cardhu.dtsi"
10 compatible = "nvidia,cardhu-a02", "nvidia,cardhu", "nvidia,tegra30";
14 power-gpios = <&gpio TEGRA_GPIO(D, 4) GPIO_ACTIVE_HIGH>;
15 bus-width = <4>;
16 keep-power-in-suspend;
20 compatible = "regulator-fixed";
21 regulator-name = "vdd_ddr";
22 regulator-min-microvolt = <1500000>;
[all …]
H A Dtegra30-cardhu-a04.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include "tegra30-cardhu.dtsi"
5 #include "tegra30-cpu-opp.dtsi"
6 #include "tegra30-cpu-opp-microvolt.dtsi"
12 compatible = "nvidia,cardhu-a04", "nvidia,cardhu", "nvidia,tegra30";
16 power-gpios = <&gpio TEGRA_GPIO(D, 3) GPIO_ACTIVE_HIGH>;
17 bus-width = <4>;
18 keep-power-in-suspend;
22 compatible = "regulator-fixed";
[all …]
/OK3568_Linux_fs/u-boot/drivers/power/regulator/
H A Dfixed.c6 * SPDX-License-Identifier: GPL-2.0+
13 #include <asm/gpio.h>
20 struct gpio_desc gpio; /* GPIO for regulator enable control */ member
28 struct gpio_desc *gpio; in fixed_regulator_ofdata_to_platdata() local
35 return -ENXIO; in fixed_regulator_ofdata_to_platdata()
38 uc_pdata->type = REGULATOR_TYPE_FIXED; in fixed_regulator_ofdata_to_platdata()
39 if (!dev_read_bool(dev, "enable-active-high")) in fixed_regulator_ofdata_to_platdata()
41 if (dev_read_bool(dev, "regulator-boot-on")) in fixed_regulator_ofdata_to_platdata()
44 /* Get fixed regulator optional enable GPIO desc */ in fixed_regulator_ofdata_to_platdata()
45 gpio = &dev_pdata->gpio; in fixed_regulator_ofdata_to_platdata()
[all …]
H A Dgpio-regulator.c3 * Keerthy <j-keerthy@ti.com>
5 * SPDX-License-Identifier: GPL-2.0+
13 #include <asm/gpio.h>
22 struct gpio_desc gpio; /* GPIO for regulator voltage control */ member
31 struct gpio_desc *gpio; in gpio_regulator_ofdata_to_platdata() local
38 return -ENXIO; in gpio_regulator_ofdata_to_platdata()
40 /* Set type to gpio */ in gpio_regulator_ofdata_to_platdata()
41 uc_pdata->type = REGULATOR_TYPE_GPIO; in gpio_regulator_ofdata_to_platdata()
44 * Get gpio regulator gpio desc in gpio_regulator_ofdata_to_platdata()
45 * Assuming one GPIO per regulator. in gpio_regulator_ofdata_to_platdata()
[all …]
/OK3568_Linux_fs/u-boot/arch/arm/dts/
H A Dtegra30-cardhu.dts1 /dts-v1/;
10 stdout-path = &uarta;
30 pcie-controller@00003000 {
34 avdd-pexb-supply = <&ldo1_reg>;
35 vdd-pexb-supply = <&ldo1_reg>;
36 avdd-pex-pll-supply = <&ldo1_reg>;
37 hvdd-pex-supply = <&pex_hvdd_3v3_reg>;
38 vddio-pex-ctl-supply = <&sys_3v3_reg>;
39 avdd-plle-supply = <&ldo2_reg>;
42 nvidia,num-lanes = <4>;
[all …]
/OK3568_Linux_fs/kernel/drivers/pinctrl/bcm/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
18 framework. GPIO is provided by a separate GPIO driver.
21 bool "Broadcom BCM2835 GPIO (with PINCONF) driver"
30 Say Y here to enable the Broadcom BCM2835 GPIO driver.
33 bool "Broadcom iProc GPIO (with PINCONF) driver"
40 Say yes here to enable the Broadcom iProc GPIO driver.
42 The Broadcom iProc based SoCs- Cygnus, NS2, NSP and Stingray, use
43 same GPIO Controller IP hence this driver could be used for all.
45 The Broadcom Cygnus SoC has 3 GPIO controllers including the ASIU
46 GPIO controller (ASIU), the chipCommonG GPIO controller (CCM), and
[all …]
/OK3568_Linux_fs/kernel/net/rfkill/
H A Drfkill-bt.c14 /* Rock-chips rfkill driver for bluetooth
25 #include <linux/rfkill-bt.h>
26 #include <linux/rfkill-wlan.h>
33 #include <linux/gpio.h>
35 #include <dt-bindings/gpio/gpio.h>
124 wake_lock_timeout(&rfkill->bt_irq_wl, in rfkill_rk_wake_host_irq()
131 struct rfkill_rk_gpio *gpio, const char *prefix, in rfkill_rk_setup_gpio() argument
134 if (gpio_is_valid(gpio->io)) { in rfkill_rk_setup_gpio()
137 sprintf(gpio->name, "%s_%s", prefix, name); in rfkill_rk_setup_gpio()
138 ret = devm_gpio_request(&pdev->dev, gpio->io, gpio->name); in rfkill_rk_setup_gpio()
[all …]
/OK3568_Linux_fs/u-boot/arch/x86/dts/
H A Dminnowmax.dts4 * SPDX-License-Identifier: GPL-2.0+
7 /dts-v1/;
9 #include <asm/arch-baytrail/fsp/fsp_configs.h>
10 #include <dt-bindings/gpio/x86-gpio.h>
11 #include <dt-bindings/interrupt-router/intel-irq.h>
33 compatible = "intel,x86-pinctrl";
36 /* GPIO E0 */
38 gpio-offset = <0x80 0>;
39 mode-gpio;
40 output-value = <0>;
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/regulator/
H A Dgpio-regulator.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/regulator/gpio-regulator.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: GPIO controlled regulators
10 - Liam Girdwood <lgirdwood@gmail.com>
11 - Mark Brown <broonie@kernel.org>
18 - $ref: "regulator.yaml#"
22 const: regulator-gpio
24 regulator-name: true
[all …]
H A Dda9211.txt5 - compatible: "dlg,da9211" or "dlg,da9212" or "dlg,da9213" or "dlg,da9223"
7 - reg: I2C slave address, usually 0x68.
8 - interrupts: the interrupt outputs of the controller
9 - regulators: A node that houses a sub-node for each regulator within the
10 device. Each sub-node is identified using the node's name, with valid
11 values listed below. The content of each sub-node is defined by the
16 - enable-gpios: platform gpio for control of BUCKA/BUCKB.
17 - Any optional property defined in regulator.txt
18 - regulator-initial-mode and regulator-allowed-modes may be specified using
19 mode values from dt-bindings/regulator/dlg,da9211-regulator.h
[all …]
H A Dmax8973-regulator.txt5 - compatible: must be one of following:
8 - reg: the i2c slave address of the regulator. It should be 0x1b.
15 -maxim,externally-enable: boolean, externally control the regulator output
16 enable/disable.
17 -maxim,enable-gpio: GPIO for enable control. If the valid GPIO is provided
18 then externally enable control will be considered.
19 -maxim,dvs-gpio: GPIO which is connected to DVS pin of device.
20 -maxim,dvs-default-state: Default state of GPIO during initialisation.
22 -maxim,enable-remote-sense: boolean, enable reote sense.
23 -maxim,enable-falling-slew-rate: boolean, enable falling slew rate.
[all …]
H A Dtps62360-regulator.txt4 - compatible: Must be one of the following.
9 - reg: I2C slave address
12 - ti,enable-vout-discharge: Enable output discharge. This is boolean value.
13 - ti,enable-pull-down: Enable pull down. This is boolean value.
14 - ti,vsel0-gpio: GPIO for controlling VSEL0 line.
15 If this property is missing, then assume that there is no GPIO
17 - ti,vsel1-gpio: Gpio for controlling VSEL1 line.
18 If this property is missing, then assume that there is no GPIO
20 - ti,vsel0-state-high: Initial state of vsel0 input is high.
22 - ti,vsel1-state-high: Initial state of vsel1 input is high.
[all …]
/OK3568_Linux_fs/u-boot/drivers/gpio/
H A DKconfig2 # GPIO infrastructure and drivers
5 menu "GPIO Support"
8 bool "Enable Driver Model for GPIO drivers"
11 Enable driver model for GPIO access. The standard GPIO
13 the GPIO uclass. Drivers provide methods to query the
15 is defined in include/asm-generic/gpio.h.
18 bool "Enable GPIO hog support"
22 Enable gpio hog support
23 The GPIO chip may contain GPIO hog definitions. GPIO hogging
24 is a mechanism providing automatic GPIO request and config-
[all …]
/OK3568_Linux_fs/kernel/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
16 GPIO block is running at a low enough
[all …]
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/nvidia/
H A Dtegra132-norrin.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include <dt-bindings/input/input.h>
18 stdout-path = "serial0:115200n8";
30 vdd-supply = <&vdd_3v3_hdmi>;
31 pll-supply = <&vdd_hdmi_pll>;
32 hdmi-supply = <&vdd_5v0_hdmi>;
34 nvidia,ddc-i2c-bus = <&hdmi_ddc>;
35 nvidia,hpd-gpio =
36 <&gpio TEGRA_GPIO(N, 7) GPIO_ACTIVE_HIGH>;
[all …]
/OK3568_Linux_fs/kernel/sound/soc/
H A Dsoc-jack.c1 // SPDX-License-Identifier: GPL-2.0+
3 // soc-jack.c -- ALSA SoC jack handling
11 #include <linux/gpio.h>
12 #include <linux/gpio/consumer.h>
27 * snd_soc_jack_report - Report the current status for a jack
45 int enable; in snd_soc_jack_report() local
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()
[all …]
/OK3568_Linux_fs/kernel/arch/powerpc/boot/dts/
H A Dmpc5200b.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
10 /dts-v1/;
15 #address-cells = <1>;
16 #size-cells = <1>;
17 interrupt-parent = <&mpc5200_pic>;
20 #address-cells = <1>;
21 #size-cells = <0>;
26 d-cache-line-size = <32>;
27 i-cache-line-size = <32>;
28 d-cache-size = <0x4000>; // L1, 16K
[all …]
/OK3568_Linux_fs/kernel/drivers/pinctrl/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
35 bool "Axis ARTPEC-6 pin controller driver"
40 This is the driver for the Axis ARTPEC-6 pin controller. This driver
43 found in Documentation/devicetree/bindings/pinctrl/axis,artpec6-pinctrl.txt
46 tristate "Pinctrl and GPIO driver for ams AS3722 PMIC"
51 AS3722 device supports the configuration of GPIO pins for different
52 functionality. This driver supports the pinmux, push-pull and
53 open drain configuration for the GPIO pins of AS3722 devices. It also
54 supports the GPIO functionality through gpiolib.
57 tristate "X-Powers AXP209 PMIC pinctrl and GPIO Support"
[all …]

12345678910>>...43