Home
last modified time | relevance | path

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

/linux/Documentation/devicetree/bindings/gpio/
H A 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 …]
/linux/arch/arm64/boot/dts/qcom/
H A Dsdm845-wcd9340.dtsi1 // SPDX-License-Identifier: GPL-2.0
13 #address-cells = <2>;
14 #size-cells = <0>;
21 wcd9340: codec@1,0 { label
24 slim-ifc-dev = <&wcd9340_ifd>;
26 #sound-dai-cells = <1>;
28 interrupts-extended = <&tlmm 54 IRQ_TYPE_LEVEL_HIGH>;
29 interrupt-controller;
30 #interrupt-cells = <1>;
32 clock-names = "extclk";
[all …]
H A Dsdm845-oneplus-common.dtsi1 // SPDX-License-Identifier: GPL-2.0
8 /dts-v1/;
10 #include <dt-bindings/input/linux-event-codes.h>
11 #include <dt-bindings/leds/common.h>
12 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
13 #include <dt-bindings/sound/qcom,q6afe.h>
14 #include <dt-bindings/sound/qcom,q6asm.h>
17 #include "sdm845-wcd9340.dtsi"
21 /delete-node/ &rmtfs_mem;
30 stdout-path = "serial0:115200n8";
[all …]
H A Dsdm850-samsung-w737.dts1 // SPDX-License-Identifier: BSD-3-Clause
8 /dts-v1/;
10 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
11 #include <dt-bindings/input/gpio-keys.h>
12 #include <dt-bindings/input/input.h>
13 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
14 #include <dt-bindings/sound/qcom,q6afe.h>
15 #include <dt-bindings/sound/qcom,q6asm.h>
17 #include "sdm845-wcd9340.dtsi"
24 /delete-node/ &qseecom_mem;
[all …]
H A Dsdm850-lenovo-yoga-c630.dts1 // SPDX-License-Identifier: BSD-3-Clause
8 /dts-v1/;
10 #include <dt-bindings/input/gpio-keys.h>
11 #include <dt-bindings/input/input.h>
12 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
13 #include <dt-bindings/sound/qcom,q6afe.h>
14 #include <dt-bindings/sound/qcom,q6asm.h>
16 #include "sdm845-wcd9340.dtsi"
24 /delete-node/ &ipa_fw_mem;
25 /delete-node/ &ipa_gsi_mem;
[all …]
H A Dsdm845-xiaomi-beryllium-common.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 /dts-v1/;
5 #include <dt-bindings/leds/common.h>
6 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
7 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
8 #include <dt-bindings/sound/qcom,q6afe.h>
9 #include <dt-bindings/sound/qcom,q6asm.h>
11 #include "sdm845-wcd9340.dtsi"
19 /delete-node/ &tz_mem;
20 /delete-node/ &adsp_mem;
[all …]
H A Dsdm845-xiaomi-polaris.dts1 // SPDX-License-Identifier: BSD-3-Clause
7 /dts-v1/;
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
11 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
12 #include <dt-bindings/input/linux-event-codes.h>
13 #include <dt-bindings/sound/qcom,q6afe.h>
14 #include <dt-bindings/sound/qcom,q6asm.h>
16 #include "sdm845-wcd9340.dtsi"
25 /delete-node/ &rmtfs_mem;
[all …]
/linux/Documentation/devicetree/bindings/sound/
H A 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: 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:
[all …]
/linux/drivers/gpio/
H A Dgpio-wcd934x.c1 // SPDX-License-Identifier: GPL-2.0
6 #include <linux/gpio/driver.h>
27 ret = regmap_read(data->map, WCD_REG_DIR_CTL_OFFSET, &value); in wcd_gpio_get_direction()
41 return regmap_update_bits(data->map, WCD_REG_DIR_CTL_OFFSET, in wcd_gpio_direction_input()
50 regmap_update_bits(data->map, WCD_REG_DIR_CTL_OFFSET, in wcd_gpio_direction_output()
53 return regmap_update_bits(data->map, WCD_REG_VAL_CTL_OFFSET, in wcd_gpio_direction_output()
63 regmap_read(data->map, WCD_REG_VAL_CTL_OFFSET, &value); in wcd_gpio_get()
72 regmap_update_bits(data->map, WCD_REG_VAL_CTL_OFFSET, in wcd_gpio_set()
78 struct device *dev = &pdev->dev; in wcd_gpio_probe()
84 return -ENOMEM; in wcd_gpio_probe()
[all …]
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 # GPIO infrastructure and drivers
7 bool "GPIO Support"
9 This enables GPIO support through the generic GPIO library.
11 one or more of the GPIO drivers below.
47 this symbol, but new drivers should use the generic gpio-regmap
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)" if EXPERT
[all …]
/linux/Documentation/devicetree/bindings/slimbus/
H A Dqcom,slim-ngd.yaml1 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/slimbus/qcom,slim-ngd.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
11 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
14 SLIMBus NGD controller is a light-weight driver responsible for communicating
17 data-channel management
22 - qcom,slim-ngd-v1.5.0 # for MSM8996
23 - qcom,slim-ngd-v2.1.0 # for SDM845
[all …]
/linux/drivers/mfd/
H A Dwcd934x.c1 // SPDX-License-Identifier: GPL-2.0
5 #include <linux/gpio/consumer.h>
36 .name = "wcd934x-codec",
38 .name = "wcd934x-gpio",
39 .of_compatible = "qcom,wcd9340-gpio",
41 .name = "wcd934x-soundwire",
42 .of_compatible = "qcom,soundwire-v1.3.0",
125 struct regmap *regmap = ddata->regmap; in wcd934x_bring_up()
139 dev_info(ddata->dev, "WCD934x chip id major 0x%x, minor 0x%x\n", in wcd934x_bring_up()
158 struct device *dev = &sdev->dev; in wcd934x_slim_status_up()
[all …]
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
21 necessary for using the board's GPIO and MFGPT functionality.
30 Say yes here to add support for the Analog Devices ADP5585 GPIO
33 the GPIO and PWM functions under the corresponding menus.
43 accessing the external gpio extender (LEDs & buttons) and
57 tristate "Active-semi ACT8945A"
62 Support for the ACT8945A PMIC from Active-semi. This device
63 features three step-down DC/DC converters and four low-dropout
79 sun4i-gpadc-iio and the hwmon driver iio_hwmon.
82 called sun4i-gpadc.
[all …]