[RFC PATCH 16/16] ASoC: dt-bindings: add document for Hifiberry DAC+ PRO clock
Pierre-Louis Bossart
pierre-louis.bossart at linux.intel.com
Thu Apr 9 21:58:41 CEST 2020
The Hifiberry DAC+ PRO relies on two local audio oscillators exposed
with the clock framework.
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart at linux.intel.com>
---
.../bindings/sound/hifiberry-dacpro.yaml | 38 +++++++++++++++++++
1 file changed, 38 insertions(+)
create mode 100644 Documentation/devicetree/bindings/sound/hifiberry-dacpro.yaml
diff --git a/Documentation/devicetree/bindings/sound/hifiberry-dacpro.yaml b/Documentation/devicetree/bindings/sound/hifiberry-dacpro.yaml
new file mode 100644
index 000000000000..9305a1a0ccd7
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/hifiberry-dacpro.yaml
@@ -0,0 +1,38 @@
+# SPDX-License-Identifier: GPL-2.0
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/sound/hifiberry-dacpro.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Hifiberry DAC+ Pro clock driver
+
+maintainers:
+ - Pierre-Louis Bossart <pierre-louis.bossart at linux.intel.com>
+
+description: |
+ The Hifiberry DAC+ PRO provides two oscillators for enhanced audio
+ quality. The clk driver allow for select and configuration of the
+ clock source.
+
+properties:
+ "#clock-cells":
+ const: 0
+
+ compatible:
+ items:
+ - const: hifiberry,dacpro-clk
+ reg:
+ maxItems: 1
+
+required:
+ - "#clock-cells"
+ - compatible
+
+examples:
+ - |
+ dacpro_osc: dacpro_osc {
+ compatible = "hifiberry,dacpro-clk";
+ #clock-cells = <0>;
+ };
+
+...
--
2.20.1
More information about the Alsa-devel
mailing list