forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'clk-lpc32xx' into clk-next
- Loading branch information
Showing
7 changed files
with
1,690 additions
and
1 deletion.
There are no files selected for viewing
30 changes: 30 additions & 0 deletions
30
Documentation/devicetree/bindings/clock/nxp,lpc3220-clk.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
NXP LPC32xx Clock Controller | ||
|
||
Required properties: | ||
- compatible: should be "nxp,lpc3220-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 | ||
clock controller | ||
- clocks: phandles of external oscillators, the list must contain one | ||
32768 Hz oscillator and may have one optional high frequency oscillator | ||
- clock-names: list of external oscillator clock names, must contain | ||
"xtal_32k" and may have optional "xtal" | ||
|
||
Examples: | ||
|
||
/* System Control Block */ | ||
scb { | ||
compatible = "simple-bus"; | ||
ranges = <0x0 0x040004000 0x00001000>; | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
|
||
clk: clock-controller@0 { | ||
compatible = "nxp,lpc3220-clk"; | ||
reg = <0x00 0x114>; | ||
#clock-cells = <1>; | ||
|
||
clocks = <&xtal_32k>, <&xtal>; | ||
clock-names = "xtal_32k", "xtal"; | ||
}; | ||
}; |
22 changes: 22 additions & 0 deletions
22
Documentation/devicetree/bindings/clock/nxp,lpc3220-usb-clk.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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>; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
obj-$(CONFIG_ARCH_LPC18XX) += clk-lpc18xx-cgu.o | ||
obj-$(CONFIG_ARCH_LPC18XX) += clk-lpc18xx-ccu.o | ||
obj-$(CONFIG_ARCH_LPC32XX) += clk-lpc32xx.o |
Oops, something went wrong.