On 04/25/2013 03:13 PM, Marek Belisko wrote:Agree.Add devicetree support for this dummy audio soc driver.
Signed-off-by: Michal Bachraty<michal.bachraty@xxxxxxxxxxxxxxxxxxx>
Signed-off-by: Marek Belisko<marek.belisko@xxxxxxxxxxxxxxxxxxx>
---
.../bindings/sound/spdif-transmitter.txt | 10 ++++++++++
sound/soc/codecs/spdif_transmitter.c | 10 ++++++++++
2 files changed, 20 insertions(+)
create mode 100644
Documentation/devicetree/bindings/sound/spdif-transmitter.txt
diff --git
a/Documentation/devicetree/bindings/sound/spdif-transmitter.txt
b/Documentation/devicetree/bindings/sound/spdif-transmitter.txt
new file mode 100644
index 0000000..55a8584
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/spdif-transmitter.txt
@@ -0,0 +1,10 @@
+Device-Tree bindings for dummy spdif transmitter
+
+Required properties:
+ - compatible: should be "linux,spdif-dit".
Marek,
I remember Daniel commenting on the name already, but
what about "spdif-transmitter" and "spdif-receiver" respectively?
That is very generic and should allow to remove "linux," prefix.Not sure if linux, prefix can be removed. I believe (at least what documentation said) is that <manufacturer>,<model> must be format for compatible.
And there is a lot of drivers using more informative compatible
strings compared to the driver name.
Sebastian