Searched +full:lpass +full:- +full:lpaif (Results 1 – 14 of 14) sorted by relevance
/linux/Documentation/devicetree/bindings/sound/ |
H A D | qcom,lpass-cpu.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/qcom,lpass-cpu.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm Technologies Inc. LPASS CPU dai driver 10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org> 11 - Rohit kumar <quic_rohkumar@quicinc.com> 14 Qualcomm Technologies Inc. SOC Low-Power Audio SubSystem (LPASS) that consist 15 of MI2S interface for audio data transfer on external codecs. LPASS cpu driver 16 is a module to configure Low-Power Audio Interface(LPAIF) core registers [all …]
|
/linux/sound/soc/qcom/ |
H A D | lpass.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2010-2011,2013-2015,2020 The Linux Foundation. All rights reserved. 5 * lpass.h - Definitions for the QTi LPASS 15 #include <dt-bindings/sound/qcom,lpass.h> 16 #include "lpass-hdmi.h" 38 return -EINVAL; \ 96 /* AHB-I/X bus clocks inside the low-power audio subsystem (LPASS) */ 120 /* low-power audio interface (LPAIF) registers */ 121 void __iomem *lpaif; member 129 /* regmap backed by the low-power audio interface (LPAIF) registers */ [all …]
|
H A D | lpass-cpu.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2010-2011,2013-2015 The Linux Foundation. All rights reserved. 5 * lpass-cpu.c -- ALSA SoC CPU DAI driver for QTi LPASS 8 #include <dt-bindings/sound/qcom,lpass.h> 18 #include <sound/soc-dai.h> 19 #include "lpass-lpaif-reg.h" 20 #include "lpass.h" 47 const struct lpass_variant *v = drvdata->variant; in lpass_cpu_init_i2sctl_bitfields() 49 i2sctl->loopback = devm_regmap_field_alloc(dev, map, v->loopback); in lpass_cpu_init_i2sctl_bitfields() 50 i2sctl->spken = devm_regmap_field_alloc(dev, map, v->spken); in lpass_cpu_init_i2sctl_bitfields() [all …]
|
H A D | lpass-ipq806x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2010-2011,2013-2015 The Linux Foundation. All rights reserved. 5 * lpass-ipq806x.c -- ALSA SoC CPU DAI driver for QTi LPASS 6 * Splited out the IPQ8064 soc specific from lpass-cpu.c 18 #include <sound/soc-dai.h> 20 #include "lpass-lpaif-reg.h" 21 #include "lpass.h" 40 .stream_name = "lpass-cpu-playback", 60 struct device *dev = &pdev->dev; in ipq806x_lpass_init() 63 drvdata->ahbix_clk = devm_clk_get(dev, "ahbix-clk"); in ipq806x_lpass_init() [all …]
|
H A D | lpass-hdmi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * lpass-hdmi.c -- ALSA SoC HDMI-CPU DAI driver for QTi LPASS HDMI 14 #include <sound/soc-dai.h> 15 #include <dt-bindings/sound/sc7180-lpass.h> 16 #include "lpass-lpaif-reg.h" 17 #include "lpass.h" 34 struct lpass_dp_metadata_ctl *meta_ctl = drvdata->meta_ctl; in lpass_hdmi_daiops_hw_params() 35 struct lpass_sstream_ctl *sstream_ctl = drvdata->sstream_ctl; in lpass_hdmi_daiops_hw_params() 39 dev_err(dai->dev, "%s invalid bit width given : %d\n", in lpass_hdmi_daiops_hw_params() 52 dev_err(dai->dev, "%s invalid bit width given : %d\n", in lpass_hdmi_daiops_hw_params() [all …]
|
H A D | lpass-cdc-dma.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * lpass-cdc-dma.c -- ALSA SoC CDC DMA CPU DAI driver for QTi LPASS 8 #include <dt-bindings/sound/qcom,lpass.h> 13 #include <sound/soc-dai.h> 15 #include "lpass-lpaif-reg.h" 16 #include "lpass.h" 39 struct snd_pcm_runtime *rt = substream->runtime; in __lpass_get_dmactl_handle() 40 struct lpass_pcm_data *pcm_data = rt->private_data; in __lpass_get_dmactl_handle() 41 const struct lpass_variant *v = drvdata->variant; in __lpass_get_dmactl_handle() 42 unsigned int dai_id = cpu_dai->driver->id; in __lpass_get_dmactl_handle() [all …]
|
H A D | lpass-apq8016.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2010-2011,2013-2015 The Linux Foundation. All rights reserved. 5 * lpass-apq8016.c -- ALSA SoC CPU DAI driver for APQ8016 LPASS 19 #include <sound/soc-dai.h> 21 #include <dt-bindings/sound/apq8016-lpass.h> 22 #include "lpass-lpaif-reg.h" 23 #include "lpass.h" 126 const struct lpass_variant *v = drvdata->variant; in apq8016_lpass_alloc_dma_channel() 130 chan = find_first_zero_bit(&drvdata->dma_ch_bit_map, in apq8016_lpass_alloc_dma_channel() 131 v->rdma_channels); in apq8016_lpass_alloc_dma_channel() [all …]
|
H A D | lpass-sc7180.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * lpass-sc7180.c -- ALSA SoC platform-machine driver for QTi LPASS 16 #include <dt-bindings/sound/sc7180-lpass.h> 20 #include "lpass-lpaif-reg.h" 21 #include "lpass.h" 79 const struct lpass_variant *v = drvdata->variant; in sc7180_lpass_alloc_dma_channel() 84 chan = find_first_zero_bit(&drvdata->hdmi_dma_ch_bit_map, in sc7180_lpass_alloc_dma_channel() 85 v->hdmi_rdma_channels); in sc7180_lpass_alloc_dma_channel() 87 if (chan >= v->hdmi_rdma_channels) in sc7180_lpass_alloc_dma_channel() 88 return -EBUSY; in sc7180_lpass_alloc_dma_channel() [all …]
|
H A D | lpass-platform.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2010-2011,2013-2015 The Linux Foundation. All rights reserved. 5 * lpass-platform.c -- ALSA SoC platform driver for QTi LPASS 8 #include <dt-bindings/sound/qcom,lpass.h> 9 #include <linux/dma-mapping.h> 17 #include "lpass-lpaif-reg.h" 18 #include "lpass.h" 20 #define DRV_NAME "lpass-platform" 104 const struct lpass_variant *v = drvdata->variant; in lpass_platform_alloc_rxtx_dmactl_fields() 110 return -ENOMEM; in lpass_platform_alloc_rxtx_dmactl_fields() [all …]
|
H A D | apq8016_sbc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 17 #include <uapi/linux/input-event-codes.h> 18 #include <dt-bindings/sound/apq8016-lpass.h> 19 #include <dt-bindings/sound/qcom,q6afe.h> 63 struct snd_soc_card *card = rtd->card; in apq8016_dai_init() 70 writel(readl(pdata->spkr_iomux) | SPKR_CTL_PRI_WS_SLAVE_SEL_11, in apq8016_dai_init() 71 pdata->spkr_iomux); in apq8016_dai_init() 76 writel(readl(pdata->mic_iomux) | MIC_CTRL_QUA_WS_SLAVE_SEL_10 | in apq8016_dai_init() 78 pdata->mic_iomux); in apq8016_dai_init() 82 value = readl(pdata->spkr_iomux) & in apq8016_dai_init() [all …]
|
H A D | lpass-sc7280.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2020-2021, The Linux Foundation. All rights reserved. 5 * lpass-sc7180.c -- ALSA SoC platform-machine driver for QTi LPASS 13 #include <dt-bindings/sound/sc7180-lpass.h> 15 #include "lpass-lpaif-reg.h" 16 #include "lpass.h" 113 const struct lpass_variant *v = drvdata->variant; in sc7280_lpass_alloc_dma_channel() 119 chan = find_first_zero_bit(&drvdata->dma_ch_bit_map, in sc7280_lpass_alloc_dma_channel() 120 v->rdma_channels); in sc7280_lpass_alloc_dma_channel() 122 if (chan >= v->rdma_channels) in sc7280_lpass_alloc_dma_channel() [all …]
|
/linux/arch/arm/boot/dts/qcom/ |
H A D | qcom-ipq8064.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/interrupt-controller/arm-gic.h> 5 #include <dt-bindings/mfd/qcom-rpm.h> 6 #include <dt-bindings/clock/qcom,rpmcc.h> 7 #include <dt-bindings/clock/qcom,gcc-ipq806x.h> 8 #include <dt-bindings/clock/qcom,lcc-ipq806x.h> 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/reset/qcom,gcc-ipq806x.h> 11 #include <dt-bindings/soc/qcom,gsbi.h> [all …]
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | msm8939.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2013-2015, The Linux Foundation. All rights reserved. 4 * Copyright (c) 2020-2023, Linaro Limited 7 #include <dt-bindings/clock/qcom,gcc-msm8939.h> 8 #include <dt-bindings/clock/qcom,rpmcc.h> 9 #include <dt-bindings/interconnect/qcom,msm8939.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/power/qcom-rpmpd.h> 12 #include <dt-bindings/reset/qcom,gcc-msm8939.h> 13 #include <dt-bindings/soc/qcom,apr.h> [all …]
|
H A D | msm8916.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2013-2015, The Linux Foundation. All rights reserved. 6 #include <dt-bindings/arm/coresight-cti-dt.h> 7 #include <dt-bindings/clock/qcom,gcc-msm8916.h> 8 #include <dt-bindings/clock/qcom,rpmcc.h> 9 #include <dt-bindings/interconnect/qcom,msm8916.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/power/qcom-rpmpd.h> 12 #include <dt-bindings/reset/qcom,gcc-msm8916.h> 13 #include <dt-bindings/soc/qcom,apr.h> [all …]
|