Home
last modified time | relevance | path

Searched +full:hp +full:- +full:det +full:- +full:gpio (Results 1 – 25 of 152) sorted by relevance

1234567

/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/sound/
H A Drockchip,multicodecs.txt4 - compatible: "rockchip,multicodecs-card"
5 - rockchip,cpu: The phandle of the Rockchip I2S/PDM controller that's
7 - rockchip,codec: The phandle of audio codecs
10 - rockchip,card-name: User specified audio sound card name, one string property.
11 - rockchip,codec-hp-det : Detect the headphone via internal codec.
12 - rockchip,wait-card-locked : This is a variable length array, user specified
15 - rockchip,audio-routing : sound card dapm routing.
16 - hp-det-gpio : headphone detect gpio.
17 - io-channels : headset mic/key detect adc channel.
18 - io-channel-names : headset mic/key adc channel name.
[all …]
H A Dnvidia,tegra-audio-rt5677.txt4 - compatible : "nvidia,tegra-audio-rt5677"
5 - clocks : Must contain an entry for each entry in clock-names.
6 See ../clocks/clock-bindings.txt for details.
7 - clock-names : Must include the following entries:
8 - pll_a
9 - pll_a_out0
10 - mclk (The Tegra cdev1/extern1 clock, which feeds the CODEC's mclk)
11 - nvidia,model : The user-visible name of this sound complex.
12 - nvidia,audio-routing : A list of the connections between audio components.
24 - nvidia,i2s-controller : The phandle of the Tegra I2S controller that's
[all …]
H A Des8316.txt5 - compatible: "everest,es8316"
6 - reg: the I2C address of the device for I2C
7 - spk-con-gpio: spk mute enable/disable
8 - hp-det-gpio: headphone detect gpio
11 - clocks: The phandle of the master clock to the CODEC
12 - clock-names: Should be "mclk"
20 clock-names = "mclk";
21 spk-con-gpio = <&gpio0 11 GPIO_ACTIVE_HIGH>;
22 hp-det-gpio = <&gpio4 28 GPIO_ACTIVE_HIGH>;
H A Dnvidia,tegra-audio-wm8903.txt4 - compatible : "nvidia,tegra-audio-wm8903"
5 - clocks : Must contain an entry for each entry in clock-names.
6 See ../clocks/clock-bindings.txt for details.
7 - clock-names : Must include the following entries:
8 - pll_a
9 - pll_a_out0
10 - mclk (The Tegra cdev1/extern1 clock, which feeds the CODEC's mclk)
11 - nvidia,model : The user-visible name of this sound complex.
12 - nvidia,audio-routing : A list of the connections between audio components.
23 - nvidia,i2s-controller : The phandle of the Tegra I2S1 controller
[all …]
H A Drockchip,rk3288-hdmi-analog.txt4 - compatible: "rockchip,rk3288-hdmi-analog"
5 - rockchip,model: The user-visible name of this sound complex
6 - rockchip,i2s-controller: The phandle of the Rockchip I2S controller that's
8 - rockchip,audio-codec: The phandle of the analog audio codec.
9 - rockchip,routing: A list of the connections between audio components.
16 - rockchip,hp-en-gpios = The phandle of the GPIO that power up/down the
18 - rockchip,hp-det-gpios = The phandle of the GPIO that detects the headphone
20 - pinctrl-names, pinctrl-0: Please refer to pinctrl-bindings.txt
25 compatible = "rockchip,rk3288-hdmi-analog";
27 rockchip,i2s-controller = <&i2s>;
[all …]
H A Dnvidia,tegra-audio-rt5640.txt4 - compatible : "nvidia,tegra-audio-rt5640"
5 - clocks : Must contain an entry for each entry in clock-names.
6 See ../clocks/clock-bindings.txt for details.
7 - clock-names : Must include the following entries:
8 - pll_a
9 - pll_a_out0
10 - mclk (The Tegra cdev1/extern1 clock, which feeds the CODEC's mclk)
11 - nvidia,model : The user-visible name of this sound complex.
12 - nvidia,audio-routing : A list of the connections between audio components.
22 - nvidia,i2s-controller : The phandle of the Tegra I2S controller that's
[all …]
H A Dnvidia,tegra-audio-max98090.txt4 - compatible : "nvidia,tegra-audio-max98090"
5 - clocks : Must contain an entry for each entry in clock-names.
6 See ../clocks/clock-bindings.txt for details.
7 - clock-names : Must include the following entries:
8 - pll_a
9 - pll_a_out0
10 - mclk (The Tegra cdev1/extern1 clock, which feeds the CODEC's mclk)
11 - nvidia,model : The user-visible name of this sound complex.
12 - nvidia,audio-routing : A list of the connections between audio components.
23 - nvidia,i2s-controller : The phandle of the Tegra I2S controller that's
[all …]
H A Drockchip,rk3308-codec.txt5 - compatible: "rockchip,rk3308-codec"
6 - reg: The physical base address of the controller and length of memory
8 - rockchip,grf: The phandle of the syscon node for GRF register.
9 - clocks: A list of phandle + clock-specifer pairs, one for each entry in
10 clock-names.
11 - clock-names: It should be "acodec".
12 - resets : Must contain an entry for each entry in reset-names.
13 - reset-names : Must include the following entries: "acodec-reset".
16 - rockchip,enable-all-adcs: This is a boolean type property, that shows whether
19 * grp 0 -- select ADC1 / ADC2
[all …]
H A Dfsl-asoc-card.txt23 "fsl,imx-audio-ac97"
25 "fsl,imx-audio-cs42888"
27 "fsl,imx-audio-cs427x"
30 "fsl,imx-audio-wm8962"
32 "fsl,imx-audio-sgtl5000"
33 (compatible with Documentation/devicetree/bindings/sound/imx-audio-sgtl5000.txt)
35 "fsl,imx-audio-wm8960"
37 "fsl,imx-audio-mqs"
39 "fsl,imx-audio-wm8524"
41 "fsl,imx-audio-tlv320aic32x4"
[all …]
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Drk3308-voice-module-v10-aarch32.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 #include <dt-bindings/input/input.h>
11 compatible = "rockchip,rk3308-vmb-v10", "rockchip,rk3308";
14 …bootargs = "earlycon=uart8250,mmio32,0xff0c0000 console=ttyFIQ0 root=PARTUUID=614e0000-0000 rootfs…
17 adc-keys {
18 compatible = "adc-keys";
19 io-channels = <&saradc 1>;
20 io-channel-names = "buttons";
21 poll-interval = <100>;
22 keyup-threshold-microvolt = <1800000>;
[all …]
H A Drk3288-rock2-square.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 /dts-v1/;
4 #include <dt-bindings/input/input.h>
5 #include "rk3288-rock2-som.dtsi"
9 compatible = "radxa,rock2-square", "rockchip,rk3288";
12 stdout-path = "serial2:115200n8";
15 adc-keys {
16 compatible = "adc-keys";
17 io-channels = <&saradc 1>;
18 io-channel-names = "buttons";
[all …]
H A Drk3308-dot-rk816-v10-aarch32.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include <dt-bindings/input/input.h>
12 model = "Rockchip RK3308 Dot Rk816-3 V10 (AArch32)";
13 compatible = "rockchip,rk3308-dot-rk816-v10-aarch32", "rockchip,rk3308";
16 …bootargs = "earlycon=uart8250,mmio32,0xff0c0000 console=ttyFIQ0 root=PARTUUID=614e0000-0000 rootfs…
19 acodec_sound: acodec-sound {
20 compatible = "rockchip,multicodecs-card";
21 rockchip,card-name = "rockchip,rk3308-acodec";
22 rockchip,codec-hp-det;
[all …]
H A Drk3308-voice-module-v11-aarch32.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 #include <dt-bindings/input/input.h>
11 compatible = "rockchip,rk3308-vmb-v11", "rockchip,rk3308";
14 …bootargs = "earlycon=uart8250,mmio32,0xff0c0000 console=ttyFIQ0 root=PARTUUID=614e0000-0000 rootfs…
17 acodec_sound: acodec-sound {
18 compatible = "rockchip,multicodecs-card";
19 rockchip,card-name = "rockchip,rk3308-acodec";
20 rockchip,codec-hp-det;
21 rockchip,mclk-fs = <256>;
27 adc-keys {
[all …]
H A Drk3308-dot-v10-aarch32.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include <dt-bindings/input/input.h>
13 compatible = "rockchip,rk3308-dot-v10-aarch32", "rockchip,rk3308";
16 …bootargs = "earlycon=uart8250,mmio32,0xff0c0000 console=ttyFIQ0 root=PARTUUID=614e0000-0000 rootfs…
19 acodec_sound: acodec-sound {
20 compatible = "rockchip,multicodecs-card";
21 rockchip,card-name = "rockchip,rk3308-acodec";
22 rockchip,codec-hp-det;
23 rockchip,mclk-fs = <256>;
[all …]
H A Dkirkwood-t5325.dts1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree file for HP t5325 Thin Client"
7 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 /dts-v1/;
15 #include "kirkwood-6281.dtsi"
18 model = "HP t5325 Thin Client";
19 compatible = "hp,t5325", "marvell,kirkwood-88f6281", "marvell,kirkwood";
28 stdout-path = &uart0;
32 pinctrl: pin-controller@10000 {
33 pinctrl-0 = <&pmx_i2s &pmx_sysrst>;
[all …]
H A Dmmp2-olpc-xo-1-75.dts1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
8 /dts-v1/;
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/input/linux-event-codes.h>
12 #include <dt-bindings/interrupt-controller/irq.h>
15 model = "OLPC XO-1.75";
16 compatible = "olpc,xo-1.75", "mrvl,mmp2";
19 #address-cells = <1>;
20 #size-cells = <1>;
24 compatible = "simple-framebuffer";
[all …]
H A Dtegra20-plutux.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include "tegra20-tamonten.dtsi"
20 interrupt-parent = <&gpio>;
23 gpio-controller;
24 #gpio-cells = <2>;
26 micdet-cfg = <0>;
27 micdet-delay = <100>;
28 gpio-cfg = <0xffffffff
37 compatible = "ad,tegra-audio-plutux",
[all …]
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/rockchip/
H A Dpx30-mini-evb-v11.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 /delete-property/ assigned-clocks;
9 /delete-property/ assigned-clock-parents;
10 pinctrl-names = "default";
11 pinctrl-0 = <&rmii_pins &mac_refclk_12ma>;
15 hp-det-gpio = <&gpio3 RK_PA4 GPIO_ACTIVE_LOW>;
21 hp_det: hp-det {
H A Drk3588-evb1-lp4.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 #include "dt-bindings/usb/pd.h"
9 #include "rk3588-evb.dtsi"
10 #include "rk3588-rk806-dual.dtsi"
13 /* If hdmirx node is disabled, delete the reserved-memory node here. */
14 reserved-memory {
15 #address-cells = <2>;
16 #size-cells = <2>;
19 /* Reserve 128MB memory for hdmirx-controller@fdee0000 */
21 compatible = "shared-dma-pool";
[all …]
H A Drk3588-evb7-lp4.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 #include "dt-bindings/usb/pd.h"
9 #include "rk3588-evb.dtsi"
10 #include "rk3588-rk806-single.dtsi"
13 /* If hdmirx node is disabled, delete the reserved-memory node here. */
14 reserved-memory {
15 #address-cells = <2>;
16 #size-cells = <2>;
19 /* Reserve 128MB memory for hdmirx-controller@fdee0000 */
21 compatible = "shared-dma-pool";
[all …]
H A Drk3588-evb7-v11.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 #include "dt-bindings/usb/pd.h"
9 #include "rk3588-evb.dtsi"
10 #include "rk3588-rk806-single.dtsi"
13 /* If hdmirx node is disabled, delete the reserved-memory node here. */
14 reserved-memory {
15 #address-cells = <2>;
16 #size-cells = <2>;
19 /* Reserve 128MB memory for hdmirx-controller@fdee0000 */
21 compatible = "shared-dma-pool";
[all …]
H A Drk3588-toybrick-x0.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 #include "dt-bindings/usb/pd.h"
9 #include "rk3588-toybrick.dtsi"
10 #include "rk3588-rk806-single.dtsi"
13 /* If hdmirx node is disabled, delete the reserved-memory node here. */
14 reserved-memory {
15 #address-cells = <2>;
16 #size-cells = <2>;
19 /* Reserve 128MB memory for hdmirx-controller@fdee0000 */
21 compatible = "shared-dma-pool";
[all …]
H A Drk3562-test1-ddr3-v10.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 /dts-v1/;
10 #include "rk3562-evb.dtsi"
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/pinctrl/rockchip.h>
16 compatible = "rockchip,rk3562-test1-ddr3-v10", "rockchip,rk3562";
18 dc_12v: dc-12v {
19 compatible = "regulator-fixed";
20 regulator-name = "dc_12v";
21 regulator-always-on;
[all …]
H A Drk3588-evb2-lp4.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 #include "rk3588-evb.dtsi"
9 #include "rk3588-rk806-dual.dtsi"
12 es7202_sound_micarray: es7202-sound-micarray {
14 compatible = "simple-audio-card";
15 simple-audio-card,format = "i2s";
16 simple-audio-card,name = "rockchip,sound-micarray";
17 simple-audio-card,mclk-fs = <256>;
18 simple-audio-card,dai-link@0 {
21 sound-dai = <&pdm0>;
[all …]
/OK3568_Linux_fs/kernel/sound/soc/codecs/
H A Drk312x_codec.c37 #include <sound/soc-dapm.h>
42 #include <linux/extcon-provider.h>
45 static int debug = -1;
56 #define INVALID_GPIO -1
63 * 0: -39dB
71 * 0: -18db
76 #define CAP_VOL 26 /*0-31 */
99 /* 0 hp; */
253 static int rk312x_codec_ctl_gpio(int gpio, int level) in rk312x_codec_ctl_gpio() argument
258 return -EINVAL; in rk312x_codec_ctl_gpio()
[all …]

1234567