Home
last modified time | relevance | path

Searched +full:ena +full:- +full:gpios (Results 1 – 25 of 32) sorted by relevance

12

/kernel/linux/linux-6.6/sound/soc/codecs/
Dwm1250-ev1.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Driver for the 1250-EV1 audio I/O module
15 #include <sound/soc-dapm.h>
16 #include <sound/wm1250-ev1.h>
27 struct gpio gpios[WM1250_EV1_NUM_GPIOS]; member
33 struct wm1250_priv *wm1250 = dev_get_drvdata(component->dev); in wm1250_ev1_set_bias_level()
34 int ena; in wm1250_ev1_set_bias_level() local
37 ena = wm1250->gpios[WM1250_EV1_GPIO_CLK_ENA].gpio; in wm1250_ev1_set_bias_level()
39 ena = -1; in wm1250_ev1_set_bias_level()
49 if (ena >= 0) in wm1250_ev1_set_bias_level()
[all …]
/kernel/linux/linux-5.10/sound/soc/codecs/
Dwm1250-ev1.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Driver for the 1250-EV1 audio I/O module
15 #include <sound/soc-dapm.h>
16 #include <sound/wm1250-ev1.h>
27 struct gpio gpios[WM1250_EV1_NUM_GPIOS]; member
33 struct wm1250_priv *wm1250 = dev_get_drvdata(component->dev); in wm1250_ev1_set_bias_level()
34 int ena; in wm1250_ev1_set_bias_level() local
37 ena = wm1250->gpios[WM1250_EV1_GPIO_CLK_ENA].gpio; in wm1250_ev1_set_bias_level()
39 ena = -1; in wm1250_ev1_set_bias_level()
49 if (ena >= 0) in wm1250_ev1_set_bias_level()
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/regulator/
Dmaxim,max77686.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Chanwoo Choi <cw00.choi@samsung.com>
11 - Krzysztof Kozlowski <krzk@kernel.org>
17 The Maxim MAX77686 provides high-efficiency Buck and 26 Low-DropOut (LDO)
25 "^LDO([1-9]|1[0-9]|2[3-6])$":
32 LDO2, LDO6-8, LDO10-12, LDO14-16
35 - regulator-name
37 # LDO20-LDO22 with maxim,ena-gpios
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/regulator/
Dmax77686.txt3 This is a part of the device tree bindings of MAX77686 multi-function device.
6 The MAX77686 PMIC has 9 high-efficiency Buck and 26 Low-DropOut (LDO)
12 - voltage-regulators : The regulators of max77686 have to be instantiated
13 under subnode named "voltage-regulators" using the following format.
16 regulator-compatible = LDOn/BUCKn
24 -LDOn : for LDOs, where n can lie in range 1 to 26.
26 -BUCKn : for BUCKs, where n can lie in range 1 to 9.
30 -LDOn : 2, 6-8, 10-12, 14-16,
31 -BUCKn : 1-4.
32 Use standard regulator bindings for it ('regulator-off-in-suspend').
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/mfd/
Dmaxim,max77686.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Chanwoo Choi <cw00.choi@samsung.com>
11 - Krzysztof Kozlowski <krzk@kernel.org>
22 in dt-bindings/clock/maxim,max77686.h.
28 '#clock-cells':
37 voltage-regulators:
42 wakeup-source: true
45 - compatible
[all …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/ti/omap/
Dam335x-sbc-t335.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * am335x-sbc-t335.dts - Device Tree file for Compulab SBC-T335
5 * Copyright (C) 2014 - 2015 CompuLab Ltd. - http://www.compulab.co.il/
8 #include "am335x-cm-t335.dts"
11 model = "CompuLab CM-T335 on SB-T335";
12 compatible = "compulab,sbc-t335", "compulab,cm-t335", "ti,am33xx";
18 pinctrl-names = "default", "sleep";
19 pinctrl-0 = <&lcd_pins_default>;
20 pinctrl-1 = <&lcd_pins_sleep>;
22 panel-info {
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dam335x-sbc-t335.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * am335x-sbc-t335.dts - Device Tree file for Compulab SBC-T335
5 * Copyright (C) 2014 - 2015 CompuLab Ltd. - http://www.compulab.co.il/
8 #include "am335x-cm-t335.dts"
11 model = "CompuLab CM-T335 on SB-T335";
12 compatible = "compulab,sbc-t335", "compulab,cm-t335", "ti,am33xx";
18 pinctrl-names = "default", "sleep";
19 pinctrl-0 = <&lcd_pins_default>;
20 pinctrl-1 = <&lcd_pins_sleep>;
22 panel-info {
[all …]
Dexynos4412-n710x.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
3 #include "exynos4412-midas.dtsi"
7 model = "Samsung Galaxy Note 2 (GT-N7100, GT-N7105) based on Exynos4412";
16 cam_vdda_reg: voltage-regulator-10 {
17 compatible = "regulator-fixed";
18 regulator-name = "CAM_SENSOR_CORE_1.2V";
19 regulator-min-microvolt = <1200000>;
20 regulator-max-microvolt = <1200000>;
22 enable-active-high;
[all …]
Dexynos4412-galaxy-s3.dtsi1 // SPDX-License-Identifier: GPL-2.0
9 /dts-v1/;
10 #include "exynos4412-midas.dtsi"
20 flen-gpios = <&gpj1 1 GPIO_ACTIVE_HIGH>;
21 enset-gpios = <&gpj1 2 GPIO_ACTIVE_HIGH>;
23 pinctrl-names = "default", "host", "isp";
24 pinctrl-0 = <&camera_flash_host>;
25 pinctrl-1 = <&camera_flash_host>;
26 pinctrl-2 = <&camera_flash_isp>;
28 flash-led {
[all …]
Dste-hrefv60plus.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright 2012 ST-Ericsson AB
6 #include "ste-href-ab8500.dtsi"
7 #include "ste-href.dtsi"
10 model = "ST-Ericsson HREF (v60+) platform with Device Tree";
11 compatible = "st-ericsson,hrefv60+", "st-ericsson,u8500";
16 /* GPIOs 0 - 31 */
17 gpio-line-names =
38 /* GPIOs 32 - 63 */
39 gpio-line-names =
[all …]
Ds5pv210-fascinate4g.dts1 // SPDX-License-Identifier: GPL-2.0
3 /dts-v1/;
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
6 #include "s5pv210-aries.dtsi"
9 model = "Samsung Galaxy S Fascinate 4G (SGH-T959P) based on S5PV210";
13 stdout-path = &uart2;
16 gpio-keys {
17 compatible = "gpio-keys";
21 gpios = <&gph2 6 GPIO_ACTIVE_LOW>;
[all …]
Ds5pv210-aries.dtsi1 // SPDX-License-Identifier: GPL-2.0
6 /dts-v1/;
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
32 reserved-memory {
33 #address-cells = <1>;
34 #size-cells = <1>;
38 compatible = "shared-dma-pool";
39 no-map;
44 compatible = "shared-dma-pool";
[all …]
Dexynos4412-midas.dtsi1 // SPDX-License-Identifier: GPL-2.0
12 /dts-v1/;
14 #include "exynos4412-ppmu-common.dtsi"
15 #include <dt-bindings/gpio/gpio.h>
16 #include <dt-bindings/input/input.h>
17 #include <dt-bindings/interrupt-controller/irq.h>
18 #include <dt-bindings/clock/maxim,max77686.h>
19 #include <dt-bindings/pinctrl/samsung.h>
30 stdout-path = &serial_2;
34 compatible = "samsung,secure-firmware";
[all …]
Ds5pv210-galaxys.dts1 // SPDX-License-Identifier: GPL-2.0
3 /dts-v1/;
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
6 #include "s5pv210-aries.dtsi"
9 model = "Samsung Galaxy S1 (GT-I9000) based on S5PV210";
13 stdout-path = &uart2;
16 nand_pwrseq: nand-pwrseq {
17 compatible = "mmc-pwrseq-simple";
18 reset-gpios = <&gpj2 7 GPIO_ACTIVE_LOW>;
[all …]
/kernel/linux/linux-6.6/drivers/mfd/
Darizona-spi.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * arizona-spi.c -- Arizona SPI bus interface
21 #include <uapi/linux/input-event-codes.h>
32 { "reset-gpios", &reset_gpios, 1, },
33 { "wlf,ldoena-gpios", &ldoena_gpios, 1 },
38 * The ACPI resources for the device only describe external GPIO-s. They do
39 * not provide mappings for the GPIO-s coming from the Arizona codec itself.
42 { "arizona", 2, "wlf,spkvdd-ena", 0, GPIO_ACTIVE_HIGH },
43 { "arizona", 4, "wlf,micd-pol", 0, GPIO_ACTIVE_LOW },
58 /* Add mappings for the 2 ACPI declared GPIOs used for reset and ldo-ena */ in arizona_spi_acpi_windows_probe()
[all …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/samsung/
Dexynos4412-n710x.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
3 #include "exynos4412-midas.dtsi"
7 model = "Samsung Galaxy Note 2 (GT-N7100, GT-N7105) based on Exynos4412";
8 chassis-type = "handset";
17 cam_vdda_reg: voltage-regulator-10 {
18 compatible = "regulator-fixed";
19 regulator-name = "CAM_SENSOR_CORE_1.2V";
20 regulator-min-microvolt = <1200000>;
21 regulator-max-microvolt = <1200000>;
[all …]
Dexynos4412-galaxy-s3.dtsi1 // SPDX-License-Identifier: GPL-2.0
9 /dts-v1/;
10 #include <dt-bindings/leds/common.h>
11 #include "exynos4412-midas.dtsi"
19 led-controller {
21 flen-gpios = <&gpj1 1 GPIO_ACTIVE_HIGH>;
22 enset-gpios = <&gpj1 2 GPIO_ACTIVE_HIGH>;
24 pinctrl-names = "default", "host", "isp";
25 pinctrl-0 = <&camera_flash_host>;
26 pinctrl-1 = <&camera_flash_host>;
[all …]
Ds5pv210-fascinate4g.dts1 // SPDX-License-Identifier: GPL-2.0
3 /dts-v1/;
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
6 #include "s5pv210-aries.dtsi"
9 model = "Samsung Galaxy S Fascinate 4G (SGH-T959P) based on S5PV210";
11 chassis-type = "handset";
14 stdout-path = &uart2;
17 gpio-keys {
18 compatible = "gpio-keys";
[all …]
Ds5pv210-aries.dtsi1 // SPDX-License-Identifier: GPL-2.0
6 /dts-v1/;
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
32 reserved-memory {
33 #address-cells = <1>;
34 #size-cells = <1>;
38 compatible = "shared-dma-pool";
39 no-map;
44 compatible = "shared-dma-pool";
[all …]
Dexynos4412-midas.dtsi1 // SPDX-License-Identifier: GPL-2.0
12 /dts-v1/;
14 #include "exynos4412-ppmu-common.dtsi"
16 #include <dt-bindings/gpio/gpio.h>
17 #include <dt-bindings/input/input.h>
18 #include <dt-bindings/interrupt-controller/irq.h>
19 #include <dt-bindings/clock/maxim,max77686.h>
20 #include "exynos-pinctrl.h"
34 stdout-path = &serial_2;
38 compatible = "samsung,secure-firmware";
[all …]
Ds5pv210-galaxys.dts1 // SPDX-License-Identifier: GPL-2.0
3 /dts-v1/;
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
6 #include "s5pv210-aries.dtsi"
9 model = "Samsung Galaxy S1 (GT-I9000) based on S5PV210";
11 chassis-type = "handset";
14 stdout-path = &uart2;
17 nand_pwrseq: nand-pwrseq {
18 compatible = "mmc-pwrseq-simple";
[all …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/st/
Dste-hrefv60plus.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright 2012 ST-Ericsson AB
6 #include "ste-href-ab8500.dtsi"
7 #include "ste-href.dtsi"
10 model = "ST-Ericsson HREF (v60+) platform with Device Tree";
11 compatible = "st-ericsson,hrefv60+", "st-ericsson,u8500";
13 thermal-zones {
14 chassis-thermal {
16 polling-delay = <20000>;
18 polling-delay-passive = <2000>;
[all …]
/kernel/linux/linux-6.6/drivers/pinctrl/intel/
Dpinctrl-lynxpoint.c1 // SPDX-License-Identifier: GPL-2.0
24 #include <linux/pinctrl/pinconf-generic.h>
29 #include "pinctrl-intel.h"
179 * Lynxpoint gpios are controlled through both bitmapped registers and
181 * 3 x 32bit registers to cover all 95 GPIOs
184 * (LP_CONFIG1 and LP_CONFIG2), with 95 GPIOs there's a total of
189 * LP_ACPI_OWNED[31:0] gpio ownerships for gpios 0-31 (bitmapped registers)
190 * LP_ACPI_OWNED[63:32] gpio ownerships for gpios 32-63
191 * LP_ACPI_OWNED[94:64] gpio ownerships for gpios 63-94
206 * IOxAPIC redirection map applies only for gpio 8-10, 13-14, 45-55.
[all …]
/kernel/linux/linux-5.10/drivers/pinctrl/intel/
Dpinctrl-lynxpoint.c1 // SPDX-License-Identifier: GPL-2.0
25 #include <linux/pinctrl/pinconf-generic.h>
27 #include "pinctrl-intel.h"
177 * Lynxpoint gpios are controlled through both bitmapped registers and
179 * 3 x 32bit registers to cover all 95 GPIOs
182 * (LP_CONFIG1 and LP_CONFIG2), with 95 GPIOs there's a total of
187 * LP_ACPI_OWNED[31:0] gpio ownerships for gpios 0-31 (bitmapped registers)
188 * LP_ACPI_OWNED[63:32] gpio ownerships for gpios 32-63
189 * LP_ACPI_OWNED[94:64] gpio ownerships for gpios 63-94
204 * IOxAPIC redirection map applies only for gpio 8-10, 13-14, 45-55.
[all …]
/kernel/linux/linux-6.6/drivers/pinctrl/
Dpinctrl-microchip-sgpio.c1 // SPDX-License-Identifier: GPL-2.0-or-later
138 addr->port = pin / priv->bitcount; in sgpio_pin_to_addr()
139 addr->bit = pin % priv->bitcount; in sgpio_pin_to_addr()
144 return bit + port * priv->bitcount; in sgpio_addr_to_pin()
149 return (priv->properties->regoff[rno] + off) * in sgpio_get_addr()
150 regmap_get_reg_stride(priv->regs); in sgpio_get_addr()
159 ret = regmap_read(priv->regs, addr, &val); in sgpio_readl()
171 ret = regmap_write(priv->regs, addr, val); in sgpio_writel()
181 ret = regmap_update_bits(priv->regs, addr, clear | set, set); in sgpio_clrsetbits()
187 int width = priv->bitcount - 1; in sgpio_configure_bitstream()
[all …]

12