Thread (18 messages) 18 messages, 3 authors, 2020-04-13
STALE2284d
Revisions (2)
  1. v2 current
  2. v3 [diff vs current]

[PATCH v2 02/13] Documentation: mfd: Add DT bindings for i.MX Audiomix

From: Abel Vesa <hidden>
Date: 2020-03-25 15:40:13
Also in: linux-arm-kernel, linux-clk, lkml
Subsystem: multifunction devices (mfd), open firmware and flattened device tree bindings, the rest · Maintainers: Lee Jones, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Linus Torvalds

The i.MX Audiomix is a mix of clock gates, reset bits
and some other i.MX audio specific functionalities.
Add information for the MFD, its clock and reset controllers.

Signed-off-by: Abel Vesa <redacted>
---
 .../devicetree/bindings/mfd/fsl,imx-audiomix.txt   | 34 ++++++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/mfd/fsl,imx-audiomix.txt
diff --git a/Documentation/devicetree/bindings/mfd/fsl,imx-audiomix.txt b/Documentation/devicetree/bindings/mfd/fsl,imx-audiomix.txt
new file mode 100644
index 00000000..1622818
--- /dev/null
+++ b/Documentation/devicetree/bindings/mfd/fsl,imx-audiomix.txt
@@ -0,0 +1,34 @@
+Freescale i.MX Audiomix
+======================================
+
+Audiomix is a conglomerate of different functionalities.
+
+Required properties:
+- compatible: Should be "fsl,<chip>-mix" for the MFD device
+	Should be"fsl,<chip>-audiomix-clk" for the clock controller
+	Should be"fsl,<chip>-audiomix-reset" for the reset controller
+	Some functionalities of the audiomix will be registered as syscon.
+- reg: should be register base and length as documented in the
+  datasheet
+
+example:
+	audiomix: audiomix@30e20000 {
+		compatible = "fsl,imx8mp-mix";
+		reg = <0x30e20000 0x10000>;
+
+		audiomix_clk: clock-controller {
+			compatible = "fsl,imx8mp-audiomix-clk";
+			#clock-cells = <1>;
+			clocks = <&clk IMX8MP_CLK_AUDIO_ROOT>,
+				 <&clk IMX8MP_CLK_AUDIO_AHB>,
+				 <&clk IMX8MP_CLK_AUDIO_AXI_DIV>;
+			clock-names = "audio_root",
+				      "audio_ahb",
+				      "audio_axi_div";
+		};
+
+		audiomix_reset: reset-controller {
+			compatible = "fsl,imx8mp-audiomix-reset";
+			#reset-cells = <1>;
+		};
+	};
-- 
2.7.4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help