ARM: dts: omap5: Add bus_dma_limit for L3 bus
[linux/fpc-iii.git] / sound / soc / codecs / adav803.c
blob0f565b851ea523e6b55d7147e56262f7a340590b
1 // SPDX-License-Identifier: GPL-2.0-only
2 /*
3 * ADAV803 audio driver
5 * Copyright 2014 Analog Devices Inc.
6 */
8 #include <linux/module.h>
9 #include <linux/i2c.h>
10 #include <linux/regmap.h>
12 #include <sound/soc.h>
14 #include "adav80x.h"
16 static const struct i2c_device_id adav803_id[] = {
17 { "adav803", 0 },
18 { }
20 MODULE_DEVICE_TABLE(i2c, adav803_id);
22 static int adav803_probe(struct i2c_client *client,
23 const struct i2c_device_id *id)
25 return adav80x_bus_probe(&client->dev,
26 devm_regmap_init_i2c(client, &adav80x_regmap_config));
29 static struct i2c_driver adav803_driver = {
30 .driver = {
31 .name = "adav803",
33 .probe = adav803_probe,
34 .id_table = adav803_id,
36 module_i2c_driver(adav803_driver);
38 MODULE_DESCRIPTION("ASoC ADAV803 driver");
39 MODULE_AUTHOR("Lars-Peter Clausen <lars@metafoo.de>");
40 MODULE_AUTHOR("Yi Li <yi.li@analog.com>>");
41 MODULE_LICENSE("GPL");