Home
last modified time | relevance | path

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

12

/linux/Documentation/devicetree/bindings/sound/
H A Dcs42l52.txt5 - compatible : "cirrus,cs42l52"
7 - reg : the I2C address of the device for I2C
11 - cirrus,reset-gpio : GPIO controller's phandle and the number
12 of the GPIO used to reset the codec.
14 - cirrus,chgfreq-divisor : Values used to set the Charge Pump Frequency.
21 - cirrus,mica-differential-cfg : boolean, If present, then the MICA input is configured
23 Single-ended input. Single-ended mode allows for MIC1 or MIC2 muxing for input.
25 - cirrus,micb-differential-cfg : boolean, If present, then the MICB input is configured
27 Single-ended input. Single-ended mode allows for MIC1 or MIC2 muxing for input.
29 - cirrus,micbias-lvl: Set the output voltage level on the MICBIAS Pin
[all …]
H A Dcs42l56.txt5 - compatible : "cirrus,cs42l56"
7 - reg : the I2C address of the device for I2C
9 - VA-supply, VCP-supply, VLDO-supply : power supplies for the device,
14 - cirrus,gpio-nreset : GPIO controller's phandle and the number
15 of the GPIO used to reset the codec.
17 - cirrus,chgfreq-divisor : Values used to set the Charge Pump Frequency.
24 - cirrus,ain1a-ref-cfg, ain1b-ref-cfg : boolean, If present, AIN1A or AIN1B are configured
25 as a pseudo-differential input referenced to AIN1REF/AIN3A.
27 - cirrus,ain2a-ref-cfg, ain2b-ref-cfg : boolean, If present, AIN2A or AIN2B are configured
28 as a pseudo-differential input referenced to AIN2REF/AIN3B.
[all …]
H A Dcs53l30.txt5 - compatible : "cirrus,cs53l30"
7 - reg : the I2C address of the device
9 - VA-supply, VP-supply : power supplies for the device,
14 - reset-gpios : a GPIO spec for the reset pin.
16 - mute-gpios : a GPIO spec for the MUTE pin. The active state can be either
20 - cirrus,micbias-lvl : Set the output voltage level on the MICBIAS Pin.
21 0 = Hi-Z
25 - cirrus,use-sdout2 : This is a boolean property. If present, it indicates
29 * CS53l30 supports 4-channel data output in the same
31 * 1) Normal I2S mode on two data pins -- each SDOUT
[all …]
H A Dcirrus,cs35l45.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Ricardo Rivera-Matos <rriveram@opensource.cirrus.com>
11 - Richard Fitzgerald <rf@opensource.cirrus.com>
18 - $ref: dai-common.yaml#
23 - cirrus,cs35l45
31 '#sound-dai-cells':
34 reset-gpios:
37 vdd-a-supply:
[all …]
/linux/drivers/media/common/siano/
H A Dsms-cards.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Card-specific functions for the Siano SMS1xxx USB dongle
8 #include "sms-cards.h"
45 .name = "Hauppauge Okemo-A",
51 .name = "Hauppauge Okemo-B",
86 .lna_ctrl = -1,
134 .name = "Siano Denver (ATSC-M/H) Digital Receiver",
161 p_gpio_config->direction = SMS_GPIO_DIRECTION_OUTPUT; in sms_gpio_assign_11xx_default_led_config()
162 p_gpio_config->inputcharacteristics = in sms_gpio_assign_11xx_default_led_config()
164 p_gpio_config->outputdriving = SMS_GPIO_OUTPUTDRIVING_4mA; in sms_gpio_assign_11xx_default_led_config()
[all …]
/linux/arch/arm64/boot/dts/qcom/
H A Dsm8350-sony-xperia-sagami.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
6 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
7 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
18 * Yes, you are correct, there is NO MORE {msm,board,pmic}-id on SM8350!
24 chassis-type = "handset";
27 #address-cells = <2>;
28 #size-cells = <2>;
32 compatible = "simple-framebuffer";
35 /* The display, even though it's 4K, initializes at 1080-ish p */
49 gpio-keys {
[all …]
H A Dmsm8916-motorola-harpia.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 /dts-v1/;
5 #include "msm8916-motorola-common.dtsi"
10 chassis-type = "handset";
20 interrupts-extended = <&tlmm 62 IRQ_TYPE_EDGE_FALLING>;
22 pinctrl-0 = <&battery_alert_default>;
23 pinctrl-names = "default";
25 maxim,rsns-microohm = <10000>;
26 maxim,over-heat-temp = <600>;
27 maxim,cold-temp = <(-200)>;
[all …]
H A Dmsm8916-wingtech-wt865x8.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
3 #include "msm8916-pm8916.dtsi"
4 #include "msm8916-modem-qdsp6.dtsi"
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h>
17 stdout-path = "serial0";
20 headphones_switch: audio-switch {
21 compatible = "simple-audio-amplifier";
23 pinctrl-0 = <&headphones_switch_default>;
24 pinctrl-names = "default";
[all …]
H A Dmsm8916-asus-z00l.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 /dts-v1/;
5 #include "msm8916-pm8916.dtsi"
6 #include "msm8916-modem-qdsp6.dtsi"
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/interrupt-controller/irq.h>
15 chassis-type = "handset";
24 stdout-path = "serial0";
27 gpio-keys {
[all …]
H A Dmsm8916-acer-a1-724.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 /dts-v1/;
5 #include "msm8916-pm8916.dtsi"
6 #include "msm8916-modem-qdsp6.dtsi"
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/interrupt-controller/irq.h>
11 #include <dt-bindings/leds/common.h>
14 * NOTE: The original firmware from Acer can only boot 32-bit kernels.
15 * To boot this device tree using arm64 it is necessary to flash 64-bit
[all …]
H A Dmsm8916-lg-m216.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 /dts-v1/;
5 #include "msm8916-pm8916.dtsi"
6 #include "msm8916-modem-qdsp6.dtsi"
8 #include <dt-bindings/gpio/gpio.h>
13 chassis-type = "handset";
22 stdout-path = "serial0";
26 compatible = "simple-battery";
27 voltage-min-design-microvolt = <3300000>;
28 voltage-max-design-microvolt = <4350000>;
[all …]
H A Dmsm8916-gplus-fl8005a.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 /dts-v1/;
5 #include "msm8916-pm8916.dtsi"
6 #include "msm8916-modem-qdsp6.dtsi"
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/leds/common.h>
15 chassis-type = "tablet";
24 stdout-path = "serial0";
28 compatible = "simple-battery";
[all …]
H A Dmsm8916-longcheer-l8910.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 /dts-v1/;
5 #include "msm8916-pm8916.dtsi"
6 #include "msm8916-modem-qdsp6.dtsi"
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/leds/common.h>
11 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
16 chassis-type = "handset";
25 stdout-path = "serial0";
[all …]
H A Dmsm8916-wingtech-wt88047.dts1 // SPDX-License-Identifier: GPL-2.0-only
6 /dts-v1/;
8 #include "msm8916-pm8916.dtsi"
9 #include "msm8916-modem-qdsp6.dtsi"
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/input/input.h>
13 #include <dt-bindings/leds/common.h>
18 chassis-type = "handset";
27 stdout-path = "serial0";
30 speaker_amp: audio-amplifier {
[all …]
H A Dmsm8916-longcheer-l8150.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 /dts-v1/;
5 #include "msm8916-pm8916.dtsi"
6 #include "msm8916-modem-qdsp6.dtsi"
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/interrupt-controller/irq.h>
11 #include <dt-bindings/leds/common.h>
16 chassis-type = "handset";
25 stdout-path = "serial0";
[all …]
H A Dmsm8916-huawei-g7.dts1 // SPDX-License-Identifier: GPL-2.0-only
6 /dts-v1/;
8 #include "msm8916-pm8916.dtsi"
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/input/input.h>
11 #include <dt-bindings/interrupt-controller/irq.h>
12 #include <dt-bindings/leds/common.h>
13 #include <dt-bindings/sound/apq8016-lpass.h>
16 * Note: The original firmware from Huawei can only boot 32-bit kernels.
17 * To boot this device tree using arm64 it is necessary to flash 64-bit TZ/HYP
[all …]
H A Dmsm8916-alcatel-idol347.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 /dts-v1/;
5 #include "msm8916-pm8916.dtsi"
6 #include "msm8916-modem-qdsp6.dtsi"
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/leds/common.h>
15 chassis-type = "handset";
24 stdout-path = "serial0";
27 reserved-memory {
[all …]
/linux/include/dt-bindings/sound/
H A Dcs35l45.h1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
3 * cs35l45.h -- CS35L45 ALSA SoC audio driver DT bindings header
12 * cirrus,asp-sdout-hiz-ctrl
14 * TX_HIZ_UNUSED: TX pin high-impedance during unused slots.
15 * TX_HIZ_DISABLED: TX pin high-impedance when all channels disabled.
21 * Optional GPIOX Sub-nodes:
22 * The cs35l45 node can have up to three "cirrus,gpio-ctrlX" ('X' = [1,2,3])
23 * sub-nodes for configuring the GPIO pins.
25 * - gpio-dir : GPIO pin direction. Valid only when 'gpio-ctrl'
30 * - gpio-lvl : GPIO level. Valid only when 'gpio-ctrl' is 1 and 'gpio-dir' is 0.
[all …]
/linux/drivers/media/pci/cx23885/
H A Dcx23885-f300.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * TBS 6920 PCIe DVB-S2 cards.
8 * Microcontroller connected to cx23885 GPIO pins:
9 * GPIO0 - data - P0.3 F300
10 * GPIO1 - reset - P0.2 F300
11 * GPIO2 - clk - P0.1 F300
12 * GPIO3 - busy - P0.0 F300
18 #include "cx23885-f300.h"
25 static void f300_set_line(struct cx23885_dev *dev, u32 line, u8 lvl) in f300_set_line() argument
28 if (lvl == 1) in f300_set_line()
[all …]
/linux/sound/soc/codecs/
H A Darizona-jack.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * extcon-arizona.c - Extcon driver Wolfson Arizona devices
5 * Copyright (C) 2012-2014 Wolfson Microelectronics plc
13 #include <linux/gpio/consumer.h>
14 #include <linux/gpio.h>
26 #include <dt-bindings/mfd/arizona.h>
33 * The hardware supports 8 ranges / buttons, but the snd-jack interface
34 * only supports 6 buttons (button 0-5).
100 struct arizona *arizona = info->arizona; in arizona_extcon_hp_clamp()
105 switch (arizona->type) { in arizona_extcon_hp_clamp()
[all …]
/linux/drivers/media/pci/saa7164/
H A Dsaa7164-api.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (c) 2010-2015 Steven Toth <stoth@kernellabs.com>
22 i->deviceinst = 0; in saa7164_api_get_load_info()
23 i->devicespec = 0; in saa7164_api_get_load_info()
24 i->mode = 0; in saa7164_api_get_load_info()
25 i->status = 0; in saa7164_api_get_load_info()
32 printk(KERN_INFO "saa7164[%d]-CPU: %d percent", dev->nr, i->CPULoad); in saa7164_api_get_load_info()
45 while (more--) { in saa7164_api_collect_debug()
58 printk(KERN_INFO "saa7164[%d]-FWMSG: %s", dev->nr, in saa7164_api_collect_debug()
67 struct tmComResDebugSetLevel lvl; in saa7164_api_set_debug() local
[all …]
/linux/drivers/gpio/
H A Dgpio-ich.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Intel ICH6-10, Series 5 and 6, Atom C2000 (Avoton/Rangeley) GPIO driver
9 #include <linux/gpio/driver.h>
18 * GPIO register offsets in GPIO I/O space.
22 * number in that register. For example, to read the value of GPIO bit 50
34 {0x00, 0x30, 0x40}, /* USE_SEL[1-3] offsets */
35 {0x04, 0x34, 0x44}, /* IO_SEL[1-3] offsets */
36 {0x0c, 0x38, 0x48}, /* LVL[1-3] offsets */
54 #define ICHX_WRITE(val, reg, base_res) outl(val, (reg) + (base_res)->start)
55 #define ICHX_READ(reg, base_res) inl((reg) + (base_res)->start)
[all …]
/linux/arch/arm64/boot/dts/rockchip/
H A Drk3399-gru.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
5 * Copyright 2016-2017 Google, Inc
8 #include <dt-bindings/input/input.h>
9 #include "rk3399-op1.dtsi"
18 stdout-path = "serial2:115200n8";
27 * - Rails that only connect to the EC (or devices that the EC talks to)
29 * - Rails _are_ included if the rails go to the AP even if the AP
38 * - The EC controls the enable and the EC always enables a rail as
40 * - The rails are actually connected to each other by a jumper and
45 ppvar_sys: regulator-ppvar-sys {
[all …]
/linux/drivers/gpu/drm/i2c/
H A Dtda998x_drv.c1 // SPDX-License-Identifier: GPL-2.0-only
8 #include <linux/gpio/consumer.h>
15 #include <sound/hdmi-codec.h>
26 #include <media/cec-notifier.h>
410 .addr = priv->cec_addr, in cec_write()
416 ret = i2c_transfer(priv->hdmi->adapter, &msg, 1); in cec_write()
418 dev_err(&priv->hdmi->dev, "Error %d writing to cec:0x%x\n", in cec_write()
428 .addr = priv->cec_addr, in cec_read()
432 .addr = priv->cec_addr, in cec_read()
440 ret = i2c_transfer(priv->hdmi->adapter, msg, ARRAY_SIZE(msg)); in cec_read()
[all …]
/linux/drivers/net/ieee802154/
H A Dmcr20a.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Driver for NXP MCR20A 802.15.4 Wireless-PAN Networking controller
9 #include <linux/gpio/consumer.h>
49 MCR20A_CCA_ED, // energy detect - CCA bit not active,
51 MCR20A_CCA_MODE1, // energy detect - CCA bit ACTIVE
52 MCR20A_CCA_MODE2, // 802.15.4 compliant signal detect - CCA bit ACTIVE
65 /* IEEE-802.15.4 defined constants (2.4 GHz logical channels) */
127 #define printdev(X) (&X->spi->dev)
451 lp->reg_msg.complete = NULL; in mcr20a_write_tx_buf_complete()
452 lp->reg_cmd[0] = MCR20A_WRITE_REG(DAR_PHY_CTRL1); in mcr20a_write_tx_buf_complete()
[all …]

12