| /kernel/linux/linux-6.6/sound/soc/rockchip/ |
| D | rockchip_spdif.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * ALSA SoC Audio Layer - Rockchip I2S Controller driver 7 * Author: Jianqun <jay.xu@rock-chips.com> 36 struct clk *mclk; member 45 { .compatible = "rockchip,rk3066-spdif", 47 { .compatible = "rockchip,rk3188-spdif", 49 { .compatible = "rockchip,rk3228-spdif", 51 { .compatible = "rockchip,rk3288-spdif", 53 { .compatible = "rockchip,rk3328-spdif", 55 { .compatible = "rockchip,rk3366-spdif", [all …]
|
| /kernel/linux/linux-5.10/sound/soc/rockchip/ |
| D | rockchip_spdif.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * ALSA SoC Audio Layer - Rockchip I2S Controller driver 7 * Author: Jianqun <jay.xu@rock-chips.com> 36 struct clk *mclk; member 45 { .compatible = "rockchip,rk3066-spdif", 47 { .compatible = "rockchip,rk3188-spdif", 49 { .compatible = "rockchip,rk3228-spdif", 51 { .compatible = "rockchip,rk3288-spdif", 53 { .compatible = "rockchip,rk3328-spdif", 55 { .compatible = "rockchip,rk3366-spdif", [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/ |
| D | rockchip-spdif.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/sound/rockchip-spdif.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Rockchip SPDIF transceiver 15 - Heiko Stuebner <heiko@sntech.de> 20 - const: rockchip,rk3066-spdif 21 - const: rockchip,rk3228-spdif 22 - const: rockchip,rk3328-spdif 23 - const: rockchip,rk3366-spdif [all …]
|
| D | amlogic,axg-spdifout.txt | 1 * Amlogic Audio SPDIF Output 4 - compatible: 'amlogic,axg-spdifout' or 5 'amlogic,g12a-spdifout' or 6 'amlogic,sm1-spdifout' 7 - clocks: list of clock phandle, one for each entry clock-names. 8 - clock-names: should contain the following: 10 * "mclk" : master clock 11 - #sound-dai-cells: must be 0. 14 - resets: phandle to the dedicated reset line of the spdif output. 18 spdifout: audio-controller@480 { [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/ |
| D | rockchip-spdif.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/sound/rockchip-spdif.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Rockchip SPDIF transceiver 15 - Heiko Stuebner <heiko@sntech.de> 20 - const: rockchip,rk3066-spdif 21 - const: rockchip,rk3228-spdif 22 - const: rockchip,rk3328-spdif 23 - const: rockchip,rk3366-spdif [all …]
|
| D | amlogic,axg-spdifout.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/amlogic,axg-spdifout.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Amlogic Audio AXG SPDIF Output 10 - Jerome Brunet <jbrunet@baylibre.com> 15 - const: amlogic,axg-spdifout 16 - items: 17 - enum: 18 - amlogic,g12a-spdifout [all …]
|
| /kernel/linux/linux-6.6/sound/soc/codecs/ |
| D | sti-sas.c | 1 // SPDX-License-Identifier: GPL-2.0-only 15 #include <sound/soc-dapm.h> 20 /* sysconf 5041: Audio-Gue-Control */ 22 /* sysconf 5042: Audio-DAC-Control */ 34 /* SPDIF definitions */ 54 int mclk; member 59 int mclk; member 77 struct sti_spdif_audio spdif; member 88 status = regmap_read(drvdata->dac.regmap, reg, &val); in sti_sas_read_reg() 100 return regmap_write(drvdata->dac.regmap, reg, value); in sti_sas_write_reg() [all …]
|
| /kernel/linux/linux-5.10/sound/soc/codecs/ |
| D | sti-sas.c | 1 // SPDX-License-Identifier: GPL-2.0-only 15 #include <sound/soc-dapm.h> 20 /* sysconf 5041: Audio-Gue-Control */ 22 /* sysconf 5042: Audio-DAC-Control */ 34 /* SPDIF definitions */ 56 int mclk; member 62 int mclk; member 80 struct sti_spdif_audio spdif; member 91 status = regmap_read(drvdata->dac.regmap, reg, &val); in sti_sas_read_reg() 104 status = regmap_write(drvdata->dac.regmap, reg, value); in sti_sas_write_reg() [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/clock/ |
| D | cirrus,lochnagar.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - patches@opensource.cirrus.com 15 Logic devices on mini-cards, as well as allowing connection of various 25 [1] Clock : ../clock/clock-bindings.txt 28 [2] include/dt-bindings/clock/lochnagar.h 36 - cirrus,lochnagar1-clk 37 - cirrus,lochnagar2-clk 39 '#clock-cells': [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/clock/ |
| D | cirrus,lochnagar.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - patches@opensource.cirrus.com 15 Logic devices on mini-cards, as well as allowing connection of various 25 [1] Clock : ../clock/clock-bindings.txt 28 [2] include/dt-bindings/clock/lochnagar.h 36 - cirrus,lochnagar1-clk 37 - cirrus,lochnagar2-clk 39 '#clock-cells': [all …]
|
| /kernel/linux/linux-5.10/sound/soc/meson/ |
| D | aiu-encoder-spdif.c | 1 // SPDX-License-Identifier: GPL-2.0 11 #include <sound/soc-dai.h> 50 struct snd_soc_component *component = dai->component; in aiu_encoder_spdif_trigger() 66 return -EINVAL; in aiu_encoder_spdif_trigger() 99 struct snd_soc_component *component = dai->component; in aiu_encoder_spdif_hw_params() 116 dev_err(dai->dev, "Unsupport physical width\n"); in aiu_encoder_spdif_hw_params() 117 return -EINVAL; in aiu_encoder_spdif_hw_params() 132 dev_err(dai->dev, "failed to set channel status word\n"); in aiu_encoder_spdif_hw_params() 144 ret = clk_set_rate(aiu->spdif.clks[MCLK].clk, mrate); in aiu_encoder_spdif_hw_params() 146 dev_err(dai->dev, "failed to set mclk rate\n"); in aiu_encoder_spdif_hw_params() [all …]
|
| D | axg-spdifout.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 11 #include <sound/soc-dai.h> 61 struct clk *mclk; member 97 axg_spdifout_enable(priv->map); in axg_spdifout_trigger() 103 axg_spdifout_disable(priv->map); in axg_spdifout_trigger() 107 return -EINVAL; in axg_spdifout_trigger() 115 /* Use spdif valid bit to perform digital mute */ in axg_spdifout_mute() 116 regmap_update_bits(priv->map, SPDIFOUT_CTRL0, SPDIFOUT_CTRL0_VSET, in axg_spdifout_mute() 137 dev_err(dai->dev, "too many channels for spdif dai: %u\n", in axg_spdifout_sample_fmt() 139 return -EINVAL; in axg_spdifout_sample_fmt() [all …]
|
| D | aiu.c | 1 // SPDX-License-Identifier: GPL-2.0 13 #include <sound/soc-dai.h> 15 #include <dt-bindings/sound/meson-aiu.h> 17 #include "aiu-fifo.h" 22 "SPDIF", "I2S", 30 SOC_DAPM_ENUM("SPDIF Buffer Src", aiu_spdif_encode_sel_enum); 33 SND_SOC_DAPM_MUX("SPDIF SRC SEL", SND_SOC_NOPM, 0, 0, 39 { "SPDIF SRC SEL", "SPDIF", "SPDIF FIFO Playback" }, 40 { "SPDIF SRC SEL", "I2S", "I2S FIFO Playback" }, 41 { "SPDIF Encoder Playback", NULL, "SPDIF SRC SEL" }, [all …]
|
| /kernel/linux/linux-6.6/sound/soc/meson/ |
| D | aiu-encoder-spdif.c | 1 // SPDX-License-Identifier: GPL-2.0 11 #include <sound/soc-dai.h> 50 struct snd_soc_component *component = dai->component; in aiu_encoder_spdif_trigger() 66 return -EINVAL; in aiu_encoder_spdif_trigger() 99 struct snd_soc_component *component = dai->component; in aiu_encoder_spdif_hw_params() 116 dev_err(dai->dev, "Unsupported physical width\n"); in aiu_encoder_spdif_hw_params() 117 return -EINVAL; in aiu_encoder_spdif_hw_params() 132 dev_err(dai->dev, "failed to set channel status word\n"); in aiu_encoder_spdif_hw_params() 144 ret = clk_set_rate(aiu->spdif.clks[MCLK].clk, mrate); in aiu_encoder_spdif_hw_params() 146 dev_err(dai->dev, "failed to set mclk rate\n"); in aiu_encoder_spdif_hw_params() [all …]
|
| D | axg-spdifout.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 11 #include <sound/soc-dai.h> 61 struct clk *mclk; member 97 axg_spdifout_enable(priv->map); in axg_spdifout_trigger() 103 axg_spdifout_disable(priv->map); in axg_spdifout_trigger() 107 return -EINVAL; in axg_spdifout_trigger() 115 /* Use spdif valid bit to perform digital mute */ in axg_spdifout_mute() 116 regmap_update_bits(priv->map, SPDIFOUT_CTRL0, SPDIFOUT_CTRL0_VSET, in axg_spdifout_mute() 137 dev_err(dai->dev, "too many channels for spdif dai: %u\n", in axg_spdifout_sample_fmt() 139 return -EINVAL; in axg_spdifout_sample_fmt() [all …]
|
| D | aiu.c | 1 // SPDX-License-Identifier: GPL-2.0 13 #include <sound/soc-dai.h> 15 #include <dt-bindings/sound/meson-aiu.h> 17 #include "aiu-fifo.h" 22 "SPDIF", "I2S", 30 SOC_DAPM_ENUM("SPDIF Buffer Src", aiu_spdif_encode_sel_enum); 33 SND_SOC_DAPM_MUX("SPDIF SRC SEL", SND_SOC_NOPM, 0, 0, 39 { "SPDIF SRC SEL", "SPDIF", "SPDIF FIFO Playback" }, 40 { "SPDIF SRC SEL", "I2S", "I2S FIFO Playback" }, 41 { "SPDIF Encoder Playback", NULL, "SPDIF SRC SEL" }, [all …]
|
| /kernel/linux/linux-6.6/drivers/clk/ |
| D | clk-lochnagar.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (c) 2017-2018 Cirrus Logic, Inc. and 11 #include <linux/clk-provider.h> 22 #include <dt-bindings/clock/lochnagar.h> 49 LN_PARENT("ln-none"), 50 LN_PARENT("ln-spdif-mclk"), 51 LN_PARENT("ln-psia1-mclk"), 52 LN_PARENT("ln-psia2-mclk"), 53 LN_PARENT("ln-cdc-clkout"), 54 LN_PARENT("ln-dsp-clkout"), [all …]
|
| /kernel/linux/linux-5.10/drivers/clk/ |
| D | clk-lochnagar.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (c) 2017-2018 Cirrus Logic, Inc. and 11 #include <linux/clk-provider.h> 22 #include <dt-bindings/clk/lochnagar.h> 49 LN_PARENT("ln-none"), 50 LN_PARENT("ln-spdif-mclk"), 51 LN_PARENT("ln-psia1-mclk"), 52 LN_PARENT("ln-psia2-mclk"), 53 LN_PARENT("ln-cdc-clkout"), 54 LN_PARENT("ln-dsp-clkout"), [all …]
|
| /kernel/linux/linux-5.10/sound/soc/sunxi/ |
| D | sun4i-spdif.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * ALSA SoC SPDIF Audio Layer 168 * struct sun4i_spdif_quirks - Differences between SoC variants. 193 const struct sun4i_spdif_quirks *quirks = host->quirks; in sun4i_spdif_configure() 195 /* soft reset SPDIF */ in sun4i_spdif_configure() 196 regmap_write(host->regmap, SUN4I_SPDIF_CTL, SUN4I_SPDIF_CTL_RESET); in sun4i_spdif_configure() 199 regmap_update_bits(host->regmap, SUN4I_SPDIF_FCTL, in sun4i_spdif_configure() 200 quirks->val_fctl_ftx, quirks->val_fctl_ftx); in sun4i_spdif_configure() 203 regmap_write(host->regmap, SUN4I_SPDIF_TXCNT, 0); in sun4i_spdif_configure() 209 if (substream->runtime->channels == 1) in sun4i_snd_txctrl_on() [all …]
|
| /kernel/linux/linux-6.6/arch/powerpc/platforms/512x/ |
| D | clock-commonclk.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 12 #include <linux/clk-provider.h> 21 #include <dt-bindings/clock/mpc512x-clock.h> 25 /* helpers to keep the MCLK intermediates "somewhere" in our table */ 61 /* intermediates for the mux+gate+div+mux MCLK generation */ 85 * MPC5125 has many more differences: no MBX, no AXE, no VIU, no SPDIF, 89 * interpretation, no CFM, different fourth PSC/CAN mux0 input -- yet 292 val &= (1 << len) - 1; in get_bit_field() 305 spmf = get_bit_field(&clkregs->spmr, 24, 4); in get_spmf_mult() 326 divcode = get_bit_field(&clkregs->scfr2, 26, 6); in get_sys_div_x2() [all …]
|
| /kernel/linux/linux-5.10/arch/powerpc/platforms/512x/ |
| D | clock-commonclk.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 12 #include <linux/clk-provider.h> 21 #include <dt-bindings/clock/mpc512x-clock.h> 25 /* helpers to keep the MCLK intermediates "somewhere" in our table */ 61 /* intermediates for the mux+gate+div+mux MCLK generation */ 85 * MPC5125 has many more differences: no MBX, no AXE, no VIU, no SPDIF, 89 * interpretation, no CFM, different fourth PSC/CAN mux0 input -- yet 292 val &= (1 << len) - 1; in get_bit_field() 305 spmf = get_bit_field(&clkregs->spmr, 24, 4); in get_spmf_mult() 326 divcode = get_bit_field(&clkregs->scfr2, 26, 6); in get_sys_div_x2() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/bridge/ |
| D | sii902x.txt | 4 - compatible: "sil,sii9022" 5 - reg: i2c address of the bridge 8 - interrupts: describe the interrupt line used to inform the host 10 - reset-gpios: OF device-tree gpio specification for RST_N pin. 11 - iovcc-supply: I/O Supply Voltage (1.8V or 3.3V) 12 - cvcc12-supply: Digital Core Supply Voltage (1.2V) 15 - #sound-dai-cells: <0> or <1>. <0> if only i2s or spdif pin 18 - sil,i2s-data-lanes: Array of up to 4 integers with values of 0-3 23 pins (SD0 - SD3). Any i2s pin can be connected to any fifo, 28 - clocks: phandle and clock specifier for each clock listed in [all …]
|
| /kernel/linux/linux-6.6/sound/soc/sunxi/ |
| D | sun4i-spdif.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * ALSA SoC SPDIF Audio Layer 170 * struct sun4i_spdif_quirks - Differences between SoC variants. 197 const struct sun4i_spdif_quirks *quirks = host->quirks; in sun4i_spdif_configure() 199 /* soft reset SPDIF */ in sun4i_spdif_configure() 200 regmap_write(host->regmap, SUN4I_SPDIF_CTL, SUN4I_SPDIF_CTL_RESET); in sun4i_spdif_configure() 203 regmap_update_bits(host->regmap, SUN4I_SPDIF_FCTL, in sun4i_spdif_configure() 204 quirks->val_fctl_ftx, quirks->val_fctl_ftx); in sun4i_spdif_configure() 207 regmap_write(host->regmap, SUN4I_SPDIF_TXCNT, 0); in sun4i_spdif_configure() 213 if (substream->runtime->channels == 1) in sun4i_snd_txctrl_on() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/pinctrl/ |
| D | cirrus,lochnagar.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - patches@opensource.cirrus.com 15 Logic devices on mini-cards, as well as allowing connection of various 26 [2] Pinctrl: ../pinctrl/pinctrl-bindings.txt 29 [3] include/dt-bindings/pinctrl/lochnagar.h 37 - cirrus,lochnagar-pinctrl 39 gpio-controller: true 41 '#gpio-cells': [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/pinctrl/ |
| D | cirrus,lochnagar.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - patches@opensource.cirrus.com 15 Logic devices on mini-cards, as well as allowing connection of various 26 [2] Pinctrl: ../pinctrl/pinctrl-bindings.txt 29 [3] include/dt-bindings/pinctrl/lochnagar.h 37 - cirrus,lochnagar-pinctrl 39 gpio-controller: true 41 '#gpio-cells': [all …]
|