Home
last modified time | relevance | path

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

12

/linux-6.12.1/arch/arm64/boot/dts/qcom/
Dsm8450-sony-xperia-nagara.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>
16 /delete-node/ &adsp_mem;
17 /delete-node/ &rmtfs_mem;
18 /delete-node/ &video_mem;
21 chassis-type = "handset";
28 stdout-path = "serial0:115200n8";
31 gpio-keys {
32 compatible = "gpio-keys";
[all …]
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 …]
Dsm8250-sony-xperia-edo.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
6 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
13 /delete-node/ &adsp_mem;
14 /delete-node/ &spss_mem;
15 /delete-node/ &cdsp_secure_heap;
18 qcom,msm-id = <356 0x20001>; /* SM8250 v2.1 */
19 qcom,board-id = <0x10008 0>;
26 stdout-path = "serial0:115200n8";
27 #address-cells = <2>;
28 #size-cells = <2>;
[all …]
Dsm8250-xiaomi-pipa.dts1 // SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
6 /dts-v1/;
8 #include <dt-bindings/arm/qcom,ids.h>
9 #include <dt-bindings/phy/phy.h>
10 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
21 /delete-node/ &adsp_mem;
22 /delete-node/ &cdsp_secure_heap;
23 /delete-node/ &slpi_mem;
24 /delete-node/ &spss_mem;
25 /delete-node/ &xbl_aop_mem;
[all …]
Dsm8250-xiaomi-elish-common.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
3 * Copyright (c) 2022-2024 Jianhua Lu <lujianhua000@gmail.com>
6 #include <dt-bindings/arm/qcom,ids.h>
7 #include <dt-bindings/phy/phy.h>
8 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
9 #include <dt-bindings/usb/pd.h>
20 /delete-node/ &adsp_mem;
21 /delete-node/ &cdsp_secure_heap;
22 /delete-node/ &slpi_mem;
23 /delete-node/ &spss_mem;
[all …]
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 …]
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 …]
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 …]
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 …]
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 …]
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 …]
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 …]
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 …]
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 …]
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 …]
/linux-6.12.1/Documentation/devicetree/bindings/sound/
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 …]
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 …]
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 …]
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-6.12.1/drivers/media/common/siano/
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-6.12.1/include/dt-bindings/sound/
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-6.12.1/drivers/media/usb/cx231xx/
Dcx231xx-i2c.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 cx231xx-i2c.c - driver for Conexant Cx23100/101/102 USB video capture devices
15 #include <linux/i2c-mux.h>
16 #include <media/v4l2-common.h>
20 /* ----------------------------------------------------------- */
30 #define dprintk1(lvl, fmt, args...) \ argument
32 if (i2c_debug >= lvl) { \
37 #define dprintk2(lvl, fmt, args...) \ argument
39 if (i2c_debug >= lvl) { \
41 dev->name, __func__ , ##args); \
[all …]
/linux-6.12.1/drivers/media/pci/cx23885/
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-6.12.1/drivers/gpio/
Dgpio-tegra.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * arch/arm/mach-tegra/gpio.c
6 * Copyright (c) 2011-2016, NVIDIA CORPORATION. All rights reserved.
17 #include <linux/gpio/driver.h>
32 #define GPIO_REG(tgi, x) (GPIO_BANK(x) * tgi->soc->bank_stride + \
46 #define GPIO_MSK_CNF(t, x) (GPIO_REG(t, x) + t->soc->upper_offset + 0x00)
47 #define GPIO_MSK_OE(t, x) (GPIO_REG(t, x) + t->soc->upper_offset + 0x10)
48 #define GPIO_MSK_OUT(t, x) (GPIO_REG(t, x) + t->soc->upper_offset + 0X20)
49 #define GPIO_MSK_DBC_EN(t, x) (GPIO_REG(t, x) + t->soc->upper_offset + 0x30)
50 #define GPIO_MSK_INT_STA(t, x) (GPIO_REG(t, x) + t->soc->upper_offset + 0x40)
[all …]
/linux-6.12.1/sound/soc/codecs/
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 …]

12