/openbmc/linux/drivers/mfd/ |
H A D | cs42l43.c | 3 * CS42L43 core driver 17 #include <linux/mfd/cs42l43-regs.h> 22 #include "cs42l43.h" 487 .name = "cs42l43", 506 { .name = "cs42l43-pinctrl", }, 507 { .name = "cs42l43-spi", }, 509 .name = "cs42l43-codec", 520 static int cs42l43_soft_reset(struct cs42l43 *cs42l43) in cs42l43_soft_reset() argument 526 reinit_completion(&cs42l43->device_detach); in cs42l43_soft_reset() 532 regcache_cache_only(cs42l43->regmap, true); in cs42l43_soft_reset() [all …]
|
H A D | cs42l43-sdw.c | 3 * CS42L43 SoundWire driver 11 #include <linux/mfd/cs42l43-regs.h> 18 #include "cs42l43.h" 91 struct cs42l43 *cs42l43 = dev_get_drvdata(&sdw->dev); in cs42l43_sdw_update_status() local 95 dev_dbg(cs42l43->dev, "Device attach\n"); in cs42l43_sdw_update_status() 100 cs42l43->attached = true; in cs42l43_sdw_update_status() 102 complete(&cs42l43->device_attach); in cs42l43_sdw_update_status() 105 dev_dbg(cs42l43->dev, "Device detach\n"); in cs42l43_sdw_update_status() 107 cs42l43->attached = false; in cs42l43_sdw_update_status() 109 reinit_completion(&cs42l43->device_attach); in cs42l43_sdw_update_status() [all …]
|
H A D | cs42l43-i2c.c | 3 * CS42L43 I2C driver 12 #include <linux/mfd/cs42l43-regs.h> 15 #include "cs42l43.h" 36 struct cs42l43 *cs42l43; in cs42l43_i2c_probe() local 39 cs42l43 = devm_kzalloc(&i2c->dev, sizeof(*cs42l43), GFP_KERNEL); in cs42l43_i2c_probe() 40 if (!cs42l43) in cs42l43_i2c_probe() 43 cs42l43->dev = &i2c->dev; in cs42l43_i2c_probe() 44 cs42l43->irq = i2c->irq; in cs42l43_i2c_probe() 46 cs42l43->attached = true; in cs42l43_i2c_probe() 48 cs42l43->regmap = devm_regmap_init_i2c(i2c, &cs42l43_i2c_regmap); in cs42l43_i2c_probe() [all …]
|
H A D | cs42l43.h | 3 * CS42L43 core driver internal data 9 #include <linux/mfd/cs42l43.h> 25 int cs42l43_dev_probe(struct cs42l43 *cs42l43); 26 void cs42l43_dev_remove(struct cs42l43 *cs42l43);
|
H A D | Makefile | 16 obj-$(CONFIG_MFD_CS42L43) += cs42l43.o 17 obj-$(CONFIG_MFD_CS42L43_I2C) += cs42l43-i2c.o 18 obj-$(CONFIG_MFD_CS42L43_SDW) += cs42l43-sdw.o
|
H A D | Kconfig | 247 tristate "Cirrus Logic CS42L43 (I2C)" 252 Select this to support the Cirrus Logic CS42L43 PC CODEC with 256 tristate "Cirrus Logic CS42L43 (SoundWire)" 261 Select this to support the Cirrus Logic CS42L43 PC CODEC with
|
/openbmc/linux/sound/soc/codecs/ |
H A D | cs42l43-jack.c | 3 // CS42L43 CODEC driver jack handling 13 #include <linux/mfd/cs42l43.h> 14 #include <linux/mfd/cs42l43-regs.h> 24 #include "cs42l43.h" 44 struct cs42l43 *cs42l43 = priv->core; in cs42l43_find_index() local 47 ret = device_property_read_u32(cs42l43->dev, prop, &defval); in cs42l43_find_index() 68 struct cs42l43 *cs42l43 = priv->core; in cs42l43_set_jack() local 90 ret = device_property_count_u32(cs42l43->dev, "cirrus,buttons-ohms"); in cs42l43_set_jack() 104 device_property_read_u32_array(cs42l43->dev, "cirrus,buttons-ohms", in cs42l43_set_jack() 120 priv->bias_low = device_property_read_bool(cs42l43->dev, "cirrus,bias-low"); in cs42l43_set_jack() [all …]
|
H A D | cs42l43.c | 3 // CS42L43 CODEC driver 14 #include <linux/mfd/cs42l43.h> 15 #include <linux/mfd/cs42l43-regs.h> 28 #include "cs42l43.h" 222 struct cs42l43 *cs42l43 = priv->core; in cs42l43_startup() local 223 int provider = !dai->id || !!regmap_test_bits(cs42l43->regmap, in cs42l43_startup() 266 struct cs42l43 *cs42l43 = priv->core; in cs42l43_set_sample_rate() local 276 regmap_update_bits(cs42l43->regmap, CS42L43_SAMPLE_RATE1, in cs42l43_set_sample_rate() 287 struct cs42l43 *cs42l43 = priv->core; in cs42l43_asp_hw_params() local 288 int dsp_mode = !!regmap_test_bits(cs42l43->regmap, CS42L43_ASP_CTRL, in cs42l43_asp_hw_params() [all …]
|
H A D | cs42l43-sdw.c | 3 // CS42L43 CODEC driver SoundWire handling 9 #include <linux/mfd/cs42l43.h> 10 #include <linux/mfd/cs42l43-regs.h> 18 #include "cs42l43.h" 72 MODULE_DESCRIPTION("CS42L43 CODEC SoundWire Driver");
|
H A D | cs42l43.h | 3 * CS42L43 CODEC driver internal data 16 #include <sound/cs42l43.h> 38 struct cs42l43 *core;
|
H A D | Makefile | 80 snd-soc-cs42l43-objs := cs42l43.o cs42l43-jack.o 81 snd-soc-cs42l43-sdw-objs := cs42l43-sdw.o 466 obj-$(CONFIG_SND_SOC_CS42L43) += snd-soc-cs42l43.o 467 obj-$(CONFIG_SND_SOC_CS42L43_SDW) += snd-soc-cs42l43-sdw.o
|
H A D | Kconfig | 821 tristate "Cirrus Logic CS42L43 CODEC" 825 CS42L43 PC CODEC. 828 tristate "Cirrus Logic CS42L43 CODEC (SoundWire)" 832 CS42L43 PC CODEC over SoundWire.
|
/openbmc/linux/drivers/spi/ |
H A D | spi-cs42l43.c | 3 // CS42L43 SPI Controller Driver 12 #include <linux/mfd/cs42l43.h> 13 #include <linux/mfd/cs42l43-regs.h> 207 struct cs42l43 *cs42l43 = dev_get_drvdata(pdev->dev.parent); in cs42l43_spi_probe() local 209 struct fwnode_handle *fwnode = dev_fwnode(cs42l43->dev); in cs42l43_spi_probe() 223 priv->regmap = cs42l43->regmap; in cs42l43_spi_probe() 269 { "cs42l43-spi", }, 276 .name = "cs42l43-spi", 283 MODULE_DESCRIPTION("CS42L43 SPI Driver");
|
H A D | Makefile | 43 obj-$(CONFIG_SPI_CS42L43) += spi-cs42l43.o
|
H A D | Kconfig | 285 tristate "Cirrus Logic CS42L43 SPI controller" 289 CS42L43 audio codec.
|
/openbmc/linux/Documentation/devicetree/bindings/sound/ |
H A D | cirrus,cs42l43.yaml | 4 $id: http://devicetree.org/schemas/sound/cirrus,cs42l43.yaml# 7 title: Cirrus Logic CS42L43 Audio CODEC 13 The CS42L43 is an audio CODEC with integrated MIPI SoundWire interface 26 - cirrus,cs42l43 197 - $ref: "#/$defs/cirrus-cs42l43-state" 200 $ref: "#/$defs/cirrus-cs42l43-state" 209 cirrus-cs42l43-state: 262 cs42l43: codec@1a { 263 compatible = "cirrus,cs42l43";
|
/openbmc/linux/drivers/pinctrl/cirrus/ |
H A D | pinctrl-cs42l43.c | 3 // CS42L43 Pinctrl and GPIO driver 13 #include <linux/mfd/cs42l43.h> 14 #include <linux/mfd/cs42l43-regs.h> 452 .name = "cs42l43-pinctrl", 537 struct cs42l43 *cs42l43 = dev_get_drvdata(pdev->dev.parent); in cs42l43_pin_probe() local 540 struct fwnode_handle *fwnode = dev_fwnode(cs42l43->dev); in cs42l43_pin_probe() 548 priv->regmap = cs42l43->regmap; in cs42l43_pin_probe() 550 priv->shutters_locked = cs42l43->hw_lock; in cs42l43_pin_probe() 593 { "cs42l43-pinctrl", }, 600 .name = "cs42l43-pinctrl", [all …]
|
H A D | Kconfig | 3 tristate "Cirrus Logic CS42L43 Pinctrl Driver" 11 Logic CS42L43 PC CODEC.
|
H A D | Makefile | 3 obj-$(CONFIG_PINCTRL_CS42L43) += pinctrl-cs42l43.o
|
/openbmc/linux/include/linux/mfd/ |
H A D | cs42l43.h | 3 * CS42L43 core driver external data 72 struct cs42l43 { struct
|
H A D | cs42l43-regs.h | 3 * cs42l43 register definitions
|
/openbmc/linux/include/sound/ |
H A D | cs42l43.h | 3 * CS42L43 CODEC driver external data
|
/openbmc/linux/ |
H A D | MAINTAINERS | 4946 F: drivers/mfd/cs42l43* 4947 F: drivers/pinctrl/cirrus/pinctrl-cs42l43* 4948 F: drivers/spi/spi-cs42l43* 4950 F: include/linux/mfd/cs42l43*
|
H A D | opengrok1.0.log | [all...] |
H A D | opengrok0.0.log | 1884 2024-12-28 20:09:06.323-0600 FINEST t1098 PendingFileCompleter.doRename: Moved pending as file: '/opengrok/data/xref/openbmc/linux/drivers/pinctrl/cirrus/pinctrl-cs42l43.c.gz' 3105 2024-12-28 20:09:06.517-0600 FINEST t1078 PendingFileCompleter.doRename: Moved pending as file: '/opengrok/data/xref/openbmc/linux/sound/soc/codecs/cs42l43.c.gz' [all...] |