aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Documentation/devicetree/bindings/sound/bt-sco.txt13
-rw-r--r--Documentation/devicetree/bindings/vendor-prefixes.txt1
-rw-r--r--sound/soc/codecs/bt-sco.c9
3 files changed, 23 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/bt-sco.txt b/Documentation/devicetree/bindings/sound/bt-sco.txt
new file mode 100644
index 000000000000..29b8e5d40203
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/bt-sco.txt
@@ -0,0 +1,13 @@
1Bluetooth-SCO audio CODEC
2
3This device support generic Bluetooth SCO link.
4
5Required properties:
6
7 - compatible : "delta,dfbmcs320"
8
9Example:
10
11codec: bt_sco {
12 compatible = "delta,dfbmcs320";
13};
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt
index 80339192c93e..b6969e477bf3 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.txt
+++ b/Documentation/devicetree/bindings/vendor-prefixes.txt
@@ -54,6 +54,7 @@ cosmic Cosmic Circuits
54crystalfontz Crystalfontz America, Inc. 54crystalfontz Crystalfontz America, Inc.
55dallas Maxim Integrated Products (formerly Dallas Semiconductor) 55dallas Maxim Integrated Products (formerly Dallas Semiconductor)
56davicom DAVICOM Semiconductor, Inc. 56davicom DAVICOM Semiconductor, Inc.
57delta Delta Electronics, Inc.
57denx Denx Software Engineering 58denx Denx Software Engineering
58digi Digi International Inc. 59digi Digi International Inc.
59digilent Diglent, Inc. 60digilent Diglent, Inc.
diff --git a/sound/soc/codecs/bt-sco.c b/sound/soc/codecs/bt-sco.c
index 9d0b794d3005..b084ad113e96 100644
--- a/sound/soc/codecs/bt-sco.c
+++ b/sound/soc/codecs/bt-sco.c
@@ -74,9 +74,18 @@ static const struct platform_device_id bt_sco_driver_ids[] = {
74}; 74};
75MODULE_DEVICE_TABLE(platform, bt_sco_driver_ids); 75MODULE_DEVICE_TABLE(platform, bt_sco_driver_ids);
76 76
77#if defined(CONFIG_OF)
78static const struct of_device_id bt_sco_codec_of_match[] = {
79 { .compatible = "delta,dfbmcs320", },
80 {},
81};
82MODULE_DEVICE_TABLE(of, bt_sco_codec_of_match);
83#endif
84
77static struct platform_driver bt_sco_driver = { 85static struct platform_driver bt_sco_driver = {
78 .driver = { 86 .driver = {
79 .name = "bt-sco", 87 .name = "bt-sco",
88 .of_match_table = of_match_ptr(bt_sco_codec_of_match),
80 }, 89 },
81 .probe = bt_sco_probe, 90 .probe = bt_sco_probe,
82 .remove = bt_sco_remove, 91 .remove = bt_sco_remove,