Linux Kernels

dt-bindings: clock: add description of LPC32xx USB clock controller

This change “dt-bindings: clock: add description of LPC32xx USB clock controller” (commit d3efc5a) in Linux kernel is authored by Vladimir Zapolskiy <vz [at] mleia.com> on Sun Dec 6 12:45:54 2015 +0200.

Description of "dt-bindings: clock: add description of LPC32xx USB clock controller"

The change “dt-bindings: clock: add description of LPC32xx USB clock controller” introduces changes as follows.

dt-bindings: clock: add description of LPC32xx USB clock controller

NXP LPC32xx USB controller has a subdevice, which controls USB AHB
slave, USB OTG, USB OHCI, USB device and I2C controller to USB phy
clocks, this change adds description of the clock controller, for more
details reference LPC32xx User's Manual, namely USB control, OTG clock
control and OTG clock status registers.

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Michael Turquette <mturquette@baylibre.com>

Linux kernel releases containing commit d3efc5a

The Linux kernel releases containing this commit are as follows.

Linux kernel code changes from "dt-bindings: clock: add description of LPC32xx USB clock controller"

There are 22 lines of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.

 .../bindings/clock/nxp,lpc3220-usb-clk.txt    | 22 +++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/clock/nxp,lpc3220-usb-clk.txt
 
diff --git a/Documentation/devicetree/bindings/clock/nxp,lpc3220-usb-clk.txt b/Documentation/devicetree/bindings/clock/nxp,lpc3220-usb-clk.txt
new file mode 100644
index 000000000000..0aa249409b51
--- /dev/null
+++ b/Documentation/devicetree/bindings/clock/nxp,lpc3220-usb-clk.txt
@@ -0,0 +1,22 @@
+NXP LPC32xx USB Clock Controller
+
+Required properties:
+- compatible: should be "nxp,lpc3220-usb-clk"
+- reg:  should contain clock controller registers location and length
+- #clock-cells: must be 1, the cell holds id of a clock provided by the
+  USB clock controller
+
+Examples:
+
+	usb {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		compatible = "simple-bus";
+		ranges = <0x0 0x31020000 0x00001000>;
+
+		usbclk: clock-controller@f00 {
+			compatible = "nxp,lpc3220-usb-clk";
+			reg = <0xf00 0x100>;
+			#clock-cells = <1>;
+		};
+	};

The commit for this change in Linux stable tree is d3efc5a (patch).

Last modified: 2020/01/11 06:49