Home
last modified time | relevance | path

Searched +full:wcd9340 +full:- +full:gpio (Results 1 – 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/gpio/
Dqcom,wcd934x-gpio.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/gpio/qcom,wcd934x-gpio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: WCD9340/WCD9341 GPIO controller
10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
13 Qualcomm Technologies Inc WCD9340/WCD9341 Audio Codec has integrated
14 gpio controller to control 5 gpios on the chip.
19 - qcom,wcd9340-gpio
20 - qcom,wcd9341-gpio
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/
Dqcom,wcd934x.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Bindings for Qualcomm WCD9340/WCD9341 Audio Codec
10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
13 Qualcomm WCD9340/WCD9341 Codec is a standalone Hi-Fi audio codec IC.
14 It has in-built Soundwire controller, pin controller, interrupt mux and
27 reset-gpios:
28 description: GPIO spec for reset line to use
31 slim-ifc-dev: true
[all …]
/kernel/linux/linux-5.10/arch/arm64/boot/dts/qcom/
Dsdm850-lenovo-yoga-c630.dts1 // SPDX-License-Identifier: BSD-3-Clause
8 /dts-v1/;
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
12 #include <dt-bindings/sound/qcom,q6afe.h>
13 #include <dt-bindings/sound/qcom,q6asm.h>
19 compatible = "lenovo,yoga-c630", "qcom,sdm845";
27 firmware-name = "qcom/LENOVO/81JL/qcadsp850.mbn";
32 pm8998-rpmh-regulators {
33 compatible = "qcom,pm8998-rpmh-regulators";
[all …]
Dsdm845-db845c.dts1 // SPDX-License-Identifier: GPL-2.0
6 /dts-v1/;
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
10 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
11 #include <dt-bindings/sound/qcom,q6afe.h>
12 #include <dt-bindings/sound/qcom,q6asm.h>
27 stdout-path = "serial0:115200n8";
30 dc12v: dc12v-regulator {
31 compatible = "regulator-fixed";
[all …]
Dsdm845.dtsi1 // SPDX-License-Identifier: GPL-2.0
8 #include <dt-bindings/clock/qcom,camcc-sdm845.h>
9 #include <dt-bindings/clock/qcom,dispcc-sdm845.h>
10 #include <dt-bindings/clock/qcom,gcc-sdm845.h>
11 #include <dt-bindings/clock/qcom,gpucc-sdm845.h>
12 #include <dt-bindings/clock/qcom,lpass-sdm845.h>
13 #include <dt-bindings/clock/qcom,rpmh.h>
14 #include <dt-bindings/clock/qcom,videocc-sdm845.h>
15 #include <dt-bindings/interconnect/qcom,osm-l3.h>
16 #include <dt-bindings/interconnect/qcom,sdm845.h>
[all …]
/kernel/linux/linux-5.10/drivers/gpio/
Dgpio-wcd934x.c1 // SPDX-License-Identifier: GPL-2.0
5 #include <linux/gpio/driver.h>
26 ret = regmap_read(data->map, WCD_REG_DIR_CTL_OFFSET, &value); in wcd_gpio_get_direction()
40 return regmap_update_bits(data->map, WCD_REG_DIR_CTL_OFFSET, in wcd_gpio_direction_input()
49 regmap_update_bits(data->map, WCD_REG_DIR_CTL_OFFSET, in wcd_gpio_direction_output()
52 return regmap_update_bits(data->map, WCD_REG_VAL_CTL_OFFSET, in wcd_gpio_direction_output()
62 regmap_read(data->map, WCD_REG_VAL_CTL_OFFSET, &value); in wcd_gpio_get()
71 regmap_update_bits(data->map, WCD_REG_VAL_CTL_OFFSET, in wcd_gpio_set()
77 struct device *dev = &pdev->dev; in wcd_gpio_probe()
83 return -ENOMEM; in wcd_gpio_probe()
[all …]
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.
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
62 bool "/sys/class/gpio/... (sysfs interface)"
[all …]
/kernel/linux/linux-5.10/drivers/mfd/
Dwcd934x.c1 // SPDX-License-Identifier: GPL-2.0
5 #include <linux/gpio.h>
22 .name = "wcd934x-codec",
24 .name = "wcd934x-gpio",
25 .of_compatible = "qcom,wcd9340-gpio",
27 .name = "wcd934x-soundwire",
28 .of_compatible = "qcom,soundwire-v1.3.0",
123 struct regmap *regmap = ddata->regmap; in wcd934x_bring_up()
137 dev_info(ddata->dev, "WCD934x chip id major 0x%x, minor 0x%x\n", in wcd934x_bring_up()
156 struct device *dev = &sdev->dev; in wcd934x_slim_status_up()
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
20 necessary for using the board's GPIO and MFGPT functionality.
30 accessing the external gpio extender (LEDs & buttons) and
44 tristate "Active-semi ACT8945A"
49 Support for the ACT8945A PMIC from Active-semi. This device
50 features three step-down DC/DC converters and four low-dropout
66 sun4i-gpadc-iio and the hwmon driver iio_hwmon.
69 called sun4i-gpadc.
88 tablets etc. It has 4 DC/DC step-down regulators, 3 DC/DC step-down
119 over at91-usart-serial driver and usart-spi-driver. Only one function
[all …]