Home
last modified time | relevance | path

Searched full:cs40l50 (Results 1 – 12 of 12) sorted by relevance

/linux/drivers/mfd/
H A Dcs40l50-core.c3 * CS40L50 Advanced Haptic Driver with waveform memory,
14 #include <linux/mfd/cs40l50.h>
19 { .name = "cs40l50-codec", },
20 { .name = "cs40l50-vibra", },
56 .name = "cs40l50",
114 static int cs40l50_wseq_init(struct cs40l50 *cs40l50) in cs40l50_wseq_init() argument
116 struct cs_dsp *dsp = &cs40l50->dsp; in cs40l50_wseq_init()
118 cs40l50->wseqs[CS40L50_STANDBY].ctl = cs_dsp_get_ctl(dsp, "STANDBY_SEQUENCE", in cs40l50_wseq_init()
121 if (!cs40l50->wseqs[CS40L50_STANDBY].ctl) { in cs40l50_wseq_init()
122 dev_err(cs40l50->dev, "Control not found for standby sequence\n"); in cs40l50_wseq_init()
[all …]
H A Dcs40l50-i2c.c3 * CS40L50 Advanced Haptic Driver with waveform memory,
12 #include <linux/mfd/cs40l50.h>
16 struct cs40l50 *cs40l50; in cs40l50_i2c_probe() local
18 cs40l50 = devm_kzalloc(&i2c->dev, sizeof(*cs40l50), GFP_KERNEL); in cs40l50_i2c_probe()
19 if (!cs40l50) in cs40l50_i2c_probe()
22 i2c_set_clientdata(i2c, cs40l50); in cs40l50_i2c_probe()
24 cs40l50->dev = &i2c->dev; in cs40l50_i2c_probe()
25 cs40l50->irq = i2c->irq; in cs40l50_i2c_probe()
27 cs40l50->regmap = devm_regmap_init_i2c(i2c, &cs40l50_regmap); in cs40l50_i2c_probe()
28 if (IS_ERR(cs40l50->regmap)) in cs40l50_i2c_probe()
[all …]
H A Dcs40l50-spi.c3 * CS40L50 Advanced Haptic Driver with waveform memory,
11 #include <linux/mfd/cs40l50.h>
16 struct cs40l50 *cs40l50; in cs40l50_spi_probe() local
18 cs40l50 = devm_kzalloc(&spi->dev, sizeof(*cs40l50), GFP_KERNEL); in cs40l50_spi_probe()
19 if (!cs40l50) in cs40l50_spi_probe()
22 spi_set_drvdata(spi, cs40l50); in cs40l50_spi_probe()
24 cs40l50->dev = &spi->dev; in cs40l50_spi_probe()
25 cs40l50->irq = spi->irq; in cs40l50_spi_probe()
27 cs40l50->regmap = devm_regmap_init_spi(spi, &cs40l50_regmap); in cs40l50_spi_probe()
28 if (IS_ERR(cs40l50->regmap)) in cs40l50_spi_probe()
[all …]
/linux/include/linux/mfd/
H A Dcs40l50.h3 * CS40L50 Advanced Haptic Driver with waveform memory,
106 #define CS40L50_FW "cs40l50.wmfw"
107 #define CS40L50_WT "cs40l50.bin"
115 struct cs40l50 { struct
131 int cs40l50_probe(struct cs40l50 *cs40l50); argument
132 int cs40l50_remove(struct cs40l50 *cs40l50);
/linux/Documentation/devicetree/bindings/input/
H A Dcirrus,cs40l50.yaml4 $id: http://devicetree.org/schemas/input/cirrus,cs40l50.yaml#
7 title: Cirrus Logic CS40L50 Advanced Haptic Driver
13 CS40L50 is a haptic driver with waveform memory,
19 - cirrus,cs40l50
61 compatible = "cirrus,cs40l50";
/linux/sound/soc/codecs/
H A Dcs40l50-codec.c3 // CS40L50 Advanced Haptic Driver with waveform memory,
11 #include <linux/mfd/cs40l50.h>
244 .name = "cs40l50-pcm",
276 struct cs40l50 *cs40l50 = dev_get_drvdata(pdev->dev.parent); in cs40l50_codec_driver_probe() local
283 codec->regmap = cs40l50->regmap; in cs40l50_codec_driver_probe()
291 { "cs40l50-codec", },
300 .name = "cs40l50-codec",
305 MODULE_DESCRIPTION("ASoC CS40L50 driver");
H A DKconfig862 tristate "Cirrus Logic CS40L50 CODEC"
865 This option enables support for I2S streaming to Cirrus Logic CS40L50.
867 CS40L50 is a haptic driver with waveform memory, an integrated
869 called snd-soc-cs40l50.
H A DMakefile82 snd-soc-cs40l50-objs := cs40l50-codec.o
489 obj-$(CONFIG_SND_SOC_CS40L50) += snd-soc-cs40l50.o
/linux/drivers/input/misc/
H A Dcs40l50-vibra.c3 * CS40L50 Advanced Haptic Driver with waveform memory,
13 #include <linux/mfd/cs40l50.h>
487 struct cs40l50 *cs40l50 = dev_get_drvdata(pdev->dev.parent); in cs40l50_vibra_probe() local
495 vib->dev = cs40l50->dev; in cs40l50_vibra_probe()
496 vib->regmap = cs40l50->regmap; in cs40l50_vibra_probe()
503 vib->input->id.product = cs40l50->devid; in cs40l50_vibra_probe()
504 vib->input->id.version = cs40l50->revid; in cs40l50_vibra_probe()
539 { "cs40l50-vibra", },
548 .name = "cs40l50-vibra",
553 MODULE_DESCRIPTION("CS40L50 Advanced Haptic Driver");
H A DKconfig151 tristate "CS40L50 Haptic Driver support"
154 Say Y here to enable support for Cirrus Logic's CS40L50
158 module will be called cs40l50-vibra.
H A DMakefile32 obj-$(CONFIG_INPUT_CS40L50_VIBRA) += cs40l50-vibra.o
/linux/
H A DMAINTAINERS5444 F: Documentation/devicetree/bindings/input/cirrus,cs40l50.yaml