Lines Matching +full:i2c +full:- +full:fast +full:- +full:mode
1 // SPDX-License-Identifier: GPL-2.0-or-later
8 * Copyright 2011 Lars-Peter Clausen <lars@metafoo.de>
13 #include <linux/i2c.h>
59 SOC_DAPM_ENUM("Mode", lm4857_mode_enum);
64 SND_SOC_DAPM_DEMUX("Mode", SND_SOC_NOPM, 0, 0, &lm4857_mode_ctrl),
71 static const DECLARE_TLV_DB_SCALE(stereo_tlv, -4050, 150, 0);
72 static const DECLARE_TLV_DB_SCALE(mono_tlv, -3450, 150, 0);
83 SOC_SINGLE("Fast Wakeup Playback Switch", LM4857_CTRL,
90 { "Mode", NULL, "IN" },
91 { "LS", "Loudspeaker", "Mode" },
92 { "LS", "Loudspeaker + Headphone", "Mode" },
93 { "HP", "Headphone", "Mode" },
94 { "HP", "Loudspeaker + Headphone", "Mode" },
95 { "EP", "Earpiece", "Mode" },
118 static int lm4857_i2c_probe(struct i2c_client *i2c) in lm4857_i2c_probe() argument
122 regmap = devm_regmap_init_i2c(i2c, &lm4857_regmap_config); in lm4857_i2c_probe()
126 return devm_snd_soc_register_component(&i2c->dev, in lm4857_i2c_probe()
134 MODULE_DEVICE_TABLE(i2c, lm4857_i2c_id);
146 MODULE_AUTHOR("Lars-Peter Clausen <lars@metafoo.de>");