/freebsd/usr.sbin/bhyve/ |
H A D | pci_hda.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 66 #define HDA_STATESTS_IRQ_MASK ((1 << HDA_CODEC_MAX) - 1) 151 struct hda_codec_class *codec, const char *play, const char *rec); 289 sc->regs[offset] = value; in hda_set_reg_by_offset() 296 return sc->regs[offset]; in hda_get_reg_by_offset() 317 struct hda_codec_class *codec = NULL; in hda_init() local 335 * For now we play with one single codec in hda_init() 337 codec = hda_find_codec_class("hda_codec"); in hda_init() 338 if (codec) { in hda_init() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/sound/ |
H A D | realtek,rt5677.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: RT5677 audio CODEC 10 - Animesh Agarwal <animeshagarwal28@gmail.com> 30 - $ref: dai-common.yaml# 42 gpio-controller: true 44 '#gpio-cells': 47 realtek,pow-ldo2-gpio: 49 description: CODEC's POW_LDO2 pin. [all …]
|
H A D | rt5677.txt | 1 RT5677 audio CODEC 7 - compatible : "realtek,rt5677". 9 - reg : The I2C address of the device. 11 - interrupts : The CODEC's interrupt output. 13 - gpio-controller : Indicates this device is a GPIO controller. 15 - #gpio-cells : Should be two. The first cell is the pin number and the 20 - realtek,pow-ldo2-gpio : The GPIO that controls the CODEC's POW_LDO2 pin. 21 - realtek,reset-gpio : The GPIO that controls the CODEC's RESET pin. Active low. 23 - realtek,in1-differential 24 - realtek,in2-differential [all …]
|
H A D | rt5660.txt | 1 RT5660 audio CODEC 7 - compatible : "realtek,rt5660". 9 - reg : The I2C address of the device. 13 - clocks: The phandle of the master clock to the CODEC 14 - clock-names: Should be "mclk" 16 - realtek,in1-differential 17 - realtek,in3-differential 18 Boolean. Indicate MIC1/3 input are differential, rather than single-ended. 20 - realtek,poweroff-in-suspend 21 Boolean. If the codec will be powered off in suspend, the resume should be [all …]
|
H A D | amlogic,gx-sound-card.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/sound/amlogic,gx-sound-card.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jerome Brunet <jbrunet@baylibre.com> 13 - $ref: sound-card-common.yaml# 18 - const: amlogic,gx-sound-card 20 audio-aux-devs: 21 $ref: /schemas/types.yaml#/definitions/phandle-array 24 audio-widgets: [all …]
|
H A D | samsung,odroid.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Samsung Exynos Odroid XU3/XU4 audio complex with MAX98090 codec 10 - Krzysztof Kozlowski <krzk@kernel.org> 11 - Sylwester Nawrocki <s.nawrocki@samsung.com> 14 - $ref: sound-card-common.yaml# 19 - const: hardkernel,odroid-xu3-audio 21 - const: hardkernel,odroid-xu4-audio 24 - const: samsung,odroid-xu3-audio [all …]
|
H A D | st,sta350.txt | 1 STA350 audio CODEC 7 - compatible: "st,sta350" 8 - reg: the I2C address of the device for I2C 9 - reset-gpios: a GPIO spec for the reset pin. If specified, it will be 10 deasserted before communication to the codec starts. 12 - power-down-gpios: a GPIO spec for the power down pin. If specified, 13 it will be deasserted before communication to the codec 16 - vdd-dig-supply: regulator spec, providing 3.3V 17 - vdd-pll-supply: regulator spec, providing 3.3V 18 - vcc-supply: regulator spec, providing 5V - 26V [all …]
|
H A D | amlogic,axg-sound-card.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/amlogic,axg-sound-card.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jerome Brunet <jbrunet@baylibre.com> 13 - $ref: sound-card-common.yaml# 17 const: amlogic,axg-sound-card 19 audio-aux-devs: 20 $ref: /schemas/types.yaml#/definitions/phandle-array 23 audio-widgets: [all …]
|
H A D | cs35l32.txt | 1 CS35L32 audio CODEC 5 - compatible : "cirrus,cs35l32" 7 - reg : the I2C address of the device for I2C. Address is determined by the level 10 - VA-supply, VP-supply : power supplies for the device, 15 - reset-gpios : a GPIO spec for the reset pin. If specified, it will be 16 deasserted before communication to the codec starts. 18 - cirrus,boost-manager : Boost voltage control. 19 0 = Automatically managed. Boost-converter output voltage is the higher 21 1 = Automatically managed irrespective of audio, adapting for low-power 22 dissipation when LEDs are ON, and operating in Fixed-Boost Bypass Mode [all …]
|
/freebsd/sys/contrib/device-tree/src/arm64/amlogic/ |
H A D | meson-gxbb-wetek-play2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include "meson-gxbb-wetek.dtsi" 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/sound/meson-aiu.h> 14 compatible = "wetek,play2", "amlogic,meson-gxbb"; 17 spdif_dit: audio-codec-0 { 18 #sound-dai-cells = <0>; 19 compatible = "linux,spdif-dit"; 20 sound-name-prefix = "DIT"; [all …]
|
H A D | meson-gxl-s905x-vero4k.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-gxl-s905x-p212.dtsi" 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/leds/common.h> 11 #include <dt-bindings/sound/meson-aiu.h> 14 compatible = "osmc,vero4k", "amlogic,s905x", "amlogic,meson-gxl"; 17 reserved-memory { 21 no-map; 25 gpio-keys-polled { [all …]
|
H A D | meson-gxbb-kii-pro.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-gxbb-p20x.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/sound/meson-aiu.h> 15 compatible = "videostrong,kii-pro", "amlogic,meson-gxbb"; 18 spdif_dit: audio-codec-0 { 19 #sound-dai-cells = <0>; [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/mfd/ |
H A D | rk808.txt | 11 - compatible: "rockchip,rk805" 12 - compatible: "rockchip,rk808" 13 - compatible: "rockchip,rk809" 14 - compatible: "rockchip,rk817" 15 - compatible: "rockchip,rk818" 16 - reg: I2C slave address 17 - interrupts: the interrupt outputs of the controller. 18 - #clock-cells: from common clock binding; shall be set to 1 (multiple clock 19 outputs). See <dt-bindings/clock/rockchip,rk808.h> for clock IDs. 22 - clock-output-names: From common clock binding to override the [all …]
|
H A D | rockchip,rk817.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chris Zhong <zyw@rock-chips.com> 11 - Zhang Qing <zhangqing@rock-chips.com> 15 MFD that includes regulators, an RTC, a power button and an audio codec. 21 - rockchip,rk809 22 - rockchip,rk817 30 '#clock-cells': 32 See <dt-bindings/clock/rockchip,rk808.h> for clock IDs. [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/rockchip/ |
H A D | rk3288-veyron-analog-audio.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 * codec and analog headphone jack. 11 compatible = "rockchip,rockchip-audio-max98090"; 12 pinctrl-names = "default"; 13 pinctrl-0 = <&mic_det>, <&hp_det>; 14 rockchip,model = "VEYRON-I2S"; 15 rockchip,i2s-controller = <&i2s>; 16 rockchip,audio-codec = <&max98090>; 17 rockchip,hp-det-gpios = <&gpio6 RK_PA5 GPIO_ACTIVE_HIGH>; 18 rockchip,mic-det-gpios = <&gpio6 RK_PB3 GPIO_ACTIVE_LOW>; [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/nxp/imx/ |
H A D | imx6ull-dhcom-pdk2.dts | 1 // SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause 6 * DHCM-iMX6ULL-C080-R051-F0409-SPI-E2-CAN2-RTC-WBT-ADC-I-01D2 7 * DHCOR PCB number: 578-200 or newer 8 * DHCOM PCB number: 579-200 or newer 9 * PDK2 PCB number: 516-400 or newer 11 /dts-v1/; 13 #include "imx6ull-dhcom-som.dtsi" 17 compatible = "dh,imx6ull-dhcom-pdk2", "dh,imx6ull-dhcom-som", 18 "dh,imx6ull-dhcor-som", "fsl,imx6ull"; 20 clk_ext_audio_codec: clock-codec { [all …]
|
H A D | imx6q-apalis-eval-v1.2.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 6 /dts-v1/; 8 #include "imx6q-apalis-eval.dtsi" 12 compatible = "toradex,apalis_imx6q-eval-v1.2", "toradex,apalis_imx6q", 15 reg_3v3_mmc: regulator-3v3-mmc { 16 compatible = "regulator-fixed"; 17 enable-active-high; 19 off-on-delay-us = <100000>; 20 pinctrl-names = "default"; 21 pinctrl-0 = <&pinctrl_enable_3v3_mmc>; [all …]
|
H A D | imx6qdl-dhcom-pdk2.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2015-2021 DH electronics GmbH 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/input/input.h> 9 #include <dt-bindings/leds/common.h> 10 #include <dt-bindings/pwm/pwm.h> 14 stdout-path = "serial0:115200n8"; 17 clk_ext_audio_codec: clock-codec { 18 #clock-cells = <0>; 19 clock-frequency = <24000000>; [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/samsung/ |
H A D | exynos4412-itop-elite.dts | 1 // SPDX-License-Identifier: GPL-2.0 13 /dts-v1/; 14 #include <dt-bindings/leds/common.h> 15 #include <dt-bindings/pwm/pwm.h> 16 #include <dt-bindings/sound/samsung-i2s.h> 17 #include "exynos4412-itop-scp-core.dtsi" 21 compatible = "topeet,itop4412-elite", "samsung,exynos4412", "samsung,exynos4"; 29 stdout-path = "serial2:115200n8"; 33 compatible = "gpio-leds"; 39 default-state = "off"; [all …]
|
/freebsd/sys/contrib/device-tree/src/arm64/freescale/ |
H A D | imx8mp-dhcom-pdk2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 * DHCM-iMX8ML8-C160-R409-F1638-SPI16-GE-CAN2-SD-RTC-WBTA-ADC-T-RGB-CSI2-HS-I-01D2 7 * DHCOM PCB number: 660-100 or newer 8 * PDK2 PCB number: 516-400 or newer 11 /dts-v1/; 13 #include <dt-bindings/leds/common.h> 14 #include <dt-bindings/phy/phy-imx8-pcie.h> 15 #include "imx8mp-dhcom-som.dtsi" 19 compatible = "dh,imx8mp-dhcom-pdk2", "dh,imx8mp-dhcom-som", 23 stdout-path = &uart1; [all …]
|
H A D | imx8mn-beacon-baseboard.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 7 dmic_codec: dmic-codec { 8 compatible = "dmic-codec"; 9 num-channels = <1>; 10 #sound-dai-cells = <0>; 14 compatible = "gpio-leds"; 16 led-0 { 19 default-state = "off"; 22 led-1 { 25 default-state = "off"; [all …]
|
H A D | imx8mm-beacon-baseboard.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 #include <dt-bindings/phy/phy-imx8-pcie.h> 10 dmic_codec: dmic-codec { 11 compatible = "dmic-codec"; 12 num-channels = <1>; 13 #sound-dai-cells = <0>; 17 compatible = "gpio-leds"; 22 default-state = "off"; 28 default-state = "off"; 34 default-state = "off"; [all …]
|
/freebsd/sys/contrib/device-tree/src/arm64/rockchip/ |
H A D | rk3568-wolfvision-pf5.dts | 1 // SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) 8 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/pinctrl/rockchip.h> 11 #include <dt-bindings/regulator/ti,tps62864.h> 12 #include <dt-bindings/soc/rockchip,vop2.h> 17 compatible = "wolfvision,rk3568-pf5", "rockchip,rk3568"; 27 stdout-path = "serial2:115200n8"; 30 hdmi_tx: hdmi-tx-connector { 31 compatible = "hdmi-connector"; [all …]
|
/freebsd/sys/dev/sound/pci/ |
H A D | spicds.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 38 static MALLOC_DEFINE(M_SPICDS, "spicds", "SPI codec"); 46 unsigned int type; /* codec type */ 49 unsigned int dvc; /* De-emphasis and Volume Control */ 56 spicds_wrbit(struct spicds_info *codec, int bit) in spicds_wrbit() argument 59 if (codec->cif) in spicds_wrbit() 67 codec->ctrl(codec->devinfo, cs, 0, cdti); in spicds_wrbit() 69 codec->ctrl(codec->devinfo, cs, 1, cdti); in spicds_wrbit() 76 spicds_wrcd(struct spicds_info *codec, int reg, u_int16_t val) in spicds_wrcd() argument [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/ti/omap/ |
H A D | am335x-cm-t335.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * am335x-cm-t335.dts - Device Tree file for Compulab CM-T335 5 * Copyright (C) 2014 - 2015 CompuLab Ltd. - https://www.compulab.co.il/ 8 /dts-v1/; 11 #include <dt-bindings/interrupt-controller/irq.h> 14 model = "CompuLab CM-T335"; 15 compatible = "compulab,cm-t335", "ti,am33xx"; 23 compatible = "gpio-leds"; 24 pinctrl-names = "default"; 25 pinctrl-0 = <&gpio_led_pins>; [all …]
|