/openbmc/linux/Documentation/devicetree/bindings/sound/ |
H A D | rt5668.txt | 7 - compatible : "realtek,rt5668b" 9 - reg : The I2C address of the device. 13 - interrupts : The CODEC's interrupt output. 15 - realtek,dmic1-data-pin 20 - realtek,dmic1-clk-pin 24 - realtek,jd-src 25 0: No JD is used 26 1: using JD1 as JD source 28 - realtek,ldo1-en-gpios : The GPIO that controls the CODEC's LDO1_EN pin. 43 interrupt-parent = <&gpio>; [all …]
|
H A D | realtek,rt5682s.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Derek Fang <derek.fang@realtek.com> 13 Rt5682s(ALC5682I-VS) is a rt5682i variant which supports I2C only. 16 - $ref: dai-common.yaml# 30 realtek,dmic1-data-pin: 33 - 0 # dmic1 data is not used 34 - 1 # using GPIO2 pin as dmic1 data pin 35 - 2 # using GPIO5 pin as dmic1 data pin [all …]
|
H A D | rt5682.txt | 7 - compatible : "realtek,rt5682" or "realtek,rt5682i" 9 - reg : The I2C address of the device. 11 - AVDD-supply: phandle to the regulator supplying analog power through the 14 - MICVDD-supply: phandle to the regulator supplying power for the microphone 17 - VBAT-supply: phandle to the regulator supplying battery power through the 20 - DBVDD-supply: phandle to the regulator supplying I/O power through the DBVDD 23 - LDO1-IN-supply: phandle to the regulator supplying power to the digital core 28 - interrupts : The CODEC's interrupt output. 30 - realtek,dmic1-data-pin 35 - realtek,dmic1-clk-pin [all …]
|
H A D | rt5659.txt | 7 - compatible : One of "realtek,rt5659" or "realtek,rt5658". 9 - reg : The I2C address of the device. 11 - interrupts : The CODEC's interrupt output. 15 - clocks: The phandle of the master clock to the CODEC 16 - clock-names: Should be "mclk" 18 - realtek,in1-differential 19 - realtek,in3-differential 20 - realtek,in4-differential 21 Boolean. Indicate MIC1/3/4 input are differential, rather than single-ended. 23 - realtek,dmic1-data-pin [all …]
|
H A D | rt5665.txt | 7 - compatible : One of "realtek,rt5665", "realtek,rt5666". 9 - reg : The I2C address of the device. 11 - interrupts : The CODEC's interrupt output. 15 - realtek,in1-differential 16 - realtek,in2-differential 17 - realtek,in3-differential 18 - realtek,in4-differential 19 Boolean. Indicate MIC1/2/3/4 input are differential, rather than single-ended. 21 - realtek,dmic1-data-pin 26 - realtek,dmic2-data-pin [all …]
|
/openbmc/linux/sound/soc/codecs/ |
H A D | src4xxx.c | 1 // SPDX-License-Identifier: GPL-2.0 5 // Copyright 2021-2022 Deqx Pty Ltd 24 /* SRC attenuation */ 25 static const DECLARE_TLV_DB_SCALE(src_tlv, -12750, 50, 0); 28 SOC_DOUBLE_R_TLV("SRC Volume", 34 "loopback", "other_port", "DIR", "SRC" 46 static const char * const dit_mux_text[] = {"Port A", "Port B", "DIR", "SRC"}; 51 /* SRC control */ 55 SOC_DAPM_ENUM("SRC source select", src_in_enum); 85 SND_SOC_DAPM_MUX("DIT Out Src", SRC4XXX_PWR_RST_01, [all …]
|
H A D | arizona-jack.c | 1 // 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 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() 122 ret = regmap_update_bits(arizona->regmap, in arizona_extcon_hp_clamp() 127 dev_warn(arizona->dev, "Failed to set TST_CAP_SEL: %d\n", ret); in arizona_extcon_hp_clamp() [all …]
|
H A D | rt712-sdca.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 // rt712-sdca.c -- rt712 SDCA ALSA SoC audio driver 23 #include <sound/soc-dapm.h> 25 #include "rt712-sdca.h" 31 struct regmap *regmap = rt712->mbq_regmap; in rt712_sdca_index_write() 36 dev_err(&rt712->slave->dev, in rt712_sdca_index_write() 47 struct regmap *regmap = rt712->mbq_regmap; in rt712_sdca_index_read() 52 dev_err(&rt712->slave->dev, in rt712_sdca_index_read() 77 struct regmap *regmap = rt712->regmap; in rt712_sdca_calibration() 81 mutex_lock(&rt712->calibrate_mutex); in rt712_sdca_calibration() [all …]
|
H A D | rt711-sdca.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 // rt711-sdca.c -- rt711 SDCA ALSA SoC audio driver 22 #include <sound/soc-dapm.h> 27 #include "rt711-sdca.h" 33 struct regmap *regmap = rt711->mbq_regmap; in rt711_sdca_index_write() 38 dev_err(&rt711->slave->dev, in rt711_sdca_index_write() 49 struct regmap *regmap = rt711->mbq_regmap; in rt711_sdca_index_read() 54 dev_err(&rt711->slave->dev, in rt711_sdca_index_read() 88 struct regmap *regmap = rt711->regmap; in rt711_sdca_calibration() 92 mutex_lock(&rt711->calibrate_mutex); in rt711_sdca_calibration() [all …]
|
H A D | rt711.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // rt711.c -- rt711 ALSA SoC audio driver 24 #include <sound/soc-dapm.h> 89 struct regmap *regmap = rt711->regmap; in rt711_calibration() 92 mutex_lock(&rt711->calibrate_mutex); in rt711_calibration() 93 regmap_write(rt711->regmap, in rt711_calibration() 113 pr_err("%s, calibration time-out!\n", in rt711_calibration() 115 ret = -ETIMEDOUT; in rt711_calibration() 129 regmap_write(rt711->regmap, in rt711_calibration() 131 mutex_unlock(&rt711->calibrate_mutex); in rt711_calibration() [all …]
|
H A D | rt722-sdca.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 // rt722-sdca.c -- rt722 SDCA ALSA SoC audio driver 23 #include <sound/soc-dapm.h> 26 #include "rt722-sdca.h" 31 struct regmap *regmap = rt722->mbq_regmap; in rt722_sdca_index_write() 37 dev_err(&rt722->slave->dev, in rt722_sdca_index_write() 48 struct regmap *regmap = rt722->mbq_regmap; in rt722_sdca_index_read() 53 dev_err(&rt722->slave->dev, in rt722_sdca_index_read() 99 ret = regmap_read(rt722->regmap, in rt722_sdca_button_detect() 110 ret = regmap_read(rt722->regmap, in rt722_sdca_button_detect() [all …]
|
H A D | rt5668.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rt5668.c -- RT5668B ALSA SoC audio component driver 26 #include <sound/soc-dapm.h> 746 static const DECLARE_TLV_DB_SCALE(hp_vol_tlv, -2250, 150, 0); 747 static const DECLARE_TLV_DB_SCALE(dac_vol_tlv, -65625, 375, 0); 748 static const DECLARE_TLV_DB_SCALE(adc_vol_tlv, -17625, 375, 0); 803 * rt5668_sel_asrc_clk_src - select ASRC clock source for a set of filters 827 return -EINVAL; in rt5668_sel_asrc_clk_src() 887 * rt5668_headset_detect - Detect headset. 922 rt5668->jack_type = SND_JACK_HEADSET; in rt5668_headset_detect() [all …]
|
H A D | rt5682.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 // rt5682.c -- RT5682 ALSA SoC audio component driver 25 #include <sound/soc-dapm.h> 38 "LDO1-IN", 60 ret = regmap_multi_reg_write(rt5682->regmap, patch_list, in rt5682_apply_patch_list() 749 static const DECLARE_TLV_DB_SCALE(dac_vol_tlv, -6525, 75, 0); 750 static const DECLARE_TLV_DB_SCALE(adc_vol_tlv, -1725, 75, 0); 817 regmap_write(rt5682->regmap, RT5682_RESET, 0); in rt5682_reset() 818 if (!rt5682->is_sdw) in rt5682_reset() 819 regmap_write(rt5682->regmap, RT5682_I2C_MODE, 1); in rt5682_reset() [all …]
|
H A D | rt5682s.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 // rt5682s.c -- RT5682I-VS ALSA SoC audio component driver 25 #include <sound/soc-dapm.h> 38 .dai_clk_names[RT5682S_DAI_WCLK_IDX] = "rt5682-dai-wclk", 39 .dai_clk_names[RT5682S_DAI_BCLK_IDX] = "rt5682-dai-bclk", 46 [RT5682S_SUPPLY_LDO1_IN] = "LDO1-IN", 69 ret = regmap_multi_reg_write(rt5682s->regmap, patch_list, ARRAY_SIZE(patch_list)); in rt5682s_apply_patch_list() 624 regmap_write(rt5682s->regmap, RT5682S_RESET, 0); in rt5682s_reset() 634 dev_dbg(component->dev, "%s btn_type=%x\n", __func__, btn_type); in rt5682s_button_detect() 651 mutex_lock(&rt5682s->sar_mutex); in rt5682s_sar_power_mode() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-dvb/tvheadend/tvheadend/ |
H A D | 0001-adjust-for-64bit-time_t.patch | 3 Date: Tue, 12 Nov 2019 11:03:16 -0800 9 Upstream-Status: Pending 10 Signed-off-by: Khem Raj <raj.khem@gmail.com> 11 --- 12 src/cron.c | 4 ++-- 13 src/epggrab/module/psip.c | 2 +- 14 src/epggrab/otamux.c | 2 +- 15 src/parsers/parser_teletext.c | 2 +- 16 src/tvheadend.h | 6 +----- 17 src/webui/webui.c | 4 ++-- [all …]
|
/openbmc/linux/arch/arm64/boot/dts/mediatek/ |
H A D | mt8192-asurada-audio-rt5682.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 7 rt5682: audio-codec@1a { 10 interrupts-extended = <&pio 18 IRQ_TYPE_LEVEL_LOW>; 11 realtek,jd-src = <1>; 12 realtek,btndet-delay = <16>; 13 #sound-dai-cells = <1>; 15 AVDD-supply = <&mt6359_vio18_ldo_reg>; 16 DBVDD-supply = <&mt6359_vio18_ldo_reg>; 17 LDO1-IN-supply = <&mt6359_vio18_ldo_reg>; 18 MICVDD-supply = <&pp3300_g>; [all …]
|
H A D | mt8195-cherry.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/spmi/spmi.h> 25 backlight_lcd0: backlight-lcd0 { 26 compatible = "pwm-backlight"; 27 brightness-levels = <0 1023>; 28 default-brightness-level = <576>; 29 enable-gpios = <&pio 82 GPIO_ACTIVE_HIGH>; 30 num-interpolated-steps = <1023>; 32 power-supply = <&ppvar_sys>; [all …]
|
/openbmc/linux/drivers/media/dvb-frontends/ |
H A D | zl10039.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Driver for Zarlink ZL10039 DVB-S tuner 5 * Copyright 2007 Jan D. Louw <jd.louw@mweb.co.za> 64 .addr = state->i2c_addr, in zl10039_read() 69 .addr = state->i2c_addr, in zl10039_read() 78 if (i2c_transfer(state->i2c, msg, 2) != 2) { in zl10039_read() 80 return -EREMOTEIO; in zl10039_read() 87 const enum zl10039_reg_addr reg, const u8 *src, in zl10039_write() argument 92 .addr = state->i2c_addr, in zl10039_write() 102 return -EINVAL; in zl10039_write() [all …]
|
/openbmc/linux/arch/arm64/boot/dts/qcom/ |
H A D | sc7280-herobrine-audio-rt5682.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 11 /* BOARD-SPECIFIC TOP LEVEL NODES */ 13 compatible = "google,sc7280-herobrine"; 14 model = "sc7280-rt5682-max98360a-1mic"; 16 audio-routing = "Headphone Jack", "HPOL", 19 #address-cells = <1>; 20 #size-cells = <0>; 22 dai-link@0 { 23 link-name = "MAX98360"; 27 sound-dai = <&lpass_cpu MI2S_SECONDARY>; [all …]
|
H A D | sc7280-herobrine-audio-rt5682-3mic.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 11 /* BOARD-SPECIFIC TOP LEVEL NODES */ 13 compatible = "google,sc7280-herobrine"; 14 model = "sc7280-rt5682-max98360a-3mic"; 16 audio-routing = "VA DMIC0", "vdd-micb", 17 "VA DMIC1", "vdd-micb", 18 "VA DMIC2", "vdd-micb", 19 "VA DMIC3", "vdd-micb", 24 #address-cells = <1>; 25 #size-cells = <0>; [all …]
|
H A D | sc7180-acer-aspire1.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 3 /dts-v1/; 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 13 /delete-node/ &tz_mem; 14 /delete-node/ &ipa_fw_mem; 19 chassis-type = "laptop"; 29 stdout-path = "serial0:115200n8"; 32 reserved-memory { 33 zap_mem: zap-shader@80840000 { [all …]
|
H A D | sc7180-trogdor.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/gpio-keys.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 13 #include <dt-bindings/sound/sc7180-lpass.h> 16 #include "sc7180-firmware-tfa.dtsi" 22 thermal-zones { 23 charger_thermal: charger-thermal { [all …]
|
/openbmc/linux/sound/soc/intel/boards/ |
H A D | sof_sdw_rt711.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * sof_sdw_rt711 - Helpers to handle RT711 from generic machine driver 15 #include <sound/soc-acpi.h> 16 #include <sound/soc-dapm.h> 32 props[0] = PROPERTY_ENTRY_U32("realtek,jd-src", SOF_JACK_JDSRC(sof_sdw_quirk)); in rt711_add_codec_device_props() 74 struct snd_soc_card *card = rtd->card; in rt711_rtd_init() 77 struct snd_soc_component *component = codec_dai->component; in rt711_rtd_init() 81 card->components = devm_kasprintf(card->dev, GFP_KERNEL, in rt711_rtd_init() 83 card->components); in rt711_rtd_init() 84 if (!card->components) in rt711_rtd_init() [all …]
|
H A D | sof_sdw_rt_sdca_jack_common.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * sof_sdw_rt711_sdca - Helpers to handle RT711-SDCA from generic machine driver 15 #include <sound/soc-acpi.h> 16 #include <sound/soc-dapm.h> 33 props[0] = PROPERTY_ENTRY_U32("realtek,jd-src", SOF_JACK_JDSRC(sof_sdw_quirk)); in rt_sdca_jack_add_codec_device_props() 84 struct snd_soc_card *card = rtd->card; in rt_sdca_jack_rtd_init() 87 struct snd_soc_component *component = codec_dai->component; in rt_sdca_jack_rtd_init() 91 card->components = devm_kasprintf(card->dev, GFP_KERNEL, in rt_sdca_jack_rtd_init() 92 "%s hs:%s-sdca", in rt_sdca_jack_rtd_init() 93 card->components, component->name_prefix); in rt_sdca_jack_rtd_init() [all …]
|
/openbmc/linux/Documentation/dev-tools/ |
H A D | kselftest.rst | 23 On some systems, hot-plug tests could hang forever waiting for cpu and 24 memory to be ready to be offlined. A special hot-plug target is created 25 to run the full range of hot-plug tests. In default mode, hot-plug tests run 26 in safe mode with a limited scope. In limited mode, cpu-hotplug test is 40 $ make -C tools/testing/selftests 44 $ make -C tools/testing/selftests run_tests 55 kernel src. This is applicable to "Running a subset of selftests" section 87 $ make -C tools/testing/selftests TARGETS=ptrace run_tests 106 $ make -C tools/testing/selftests SKIP_TARGETS=ptrace run_tests 117 See the top-level tools/testing/selftests/Makefile for the list of all [all …]
|