Home
last modified time | relevance | path

Searched full:cs40l50 (Results 1 – 14 of 14) 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 …]
H A DMakefile93 obj-$(CONFIG_MFD_CS40L50_CORE) += cs40l50-core.o
94 obj-$(CONFIG_MFD_CS40L50_I2C) += cs40l50-i2c.o
95 obj-$(CONFIG_MFD_CS40L50_SPI) += cs40l50-spi.o
H A DKconfig2303 tristate "Cirrus Logic CS40L50 (I2C)"
2308 Select this to support the Cirrus Logic CS40L50 Haptic
2312 called "cs40l50-i2c".
2315 tristate "Cirrus Logic CS40L50 (SPI)"
2320 Select this to support the Cirrus Logic CS40L50 Haptic
2324 called "cs40l50-spi".
/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 DKconfig879 tristate "Cirrus Logic CS40L50 CODEC"
882 This option enables support for I2S streaming to Cirrus Logic CS40L50.
884 CS40L50 is a haptic driver with waveform memory, an integrated
886 called snd-soc-cs40l50.
H A DMakefile83 snd-soc-cs40l50-objs := cs40l50-codec.o
500 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>
489 struct cs40l50 *cs40l50 = dev_get_drvdata(pdev->dev.parent); in cs40l50_vibra_probe() local
497 vib->dev = cs40l50->dev; in cs40l50_vibra_probe()
498 vib->regmap = cs40l50->regmap; in cs40l50_vibra_probe()
505 vib->input->id.product = cs40l50->devid; in cs40l50_vibra_probe()
506 vib->input->id.version = cs40l50->revid; in cs40l50_vibra_probe()
541 { "cs40l50-vibra", },
550 .name = "cs40l50-vibra",
555 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 DMAINTAINERS5490 F: Documentation/devicetree/bindings/input/cirrus,cs40l50.yaml