Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v3.19 49 lines 1.5 kB view raw
1* Samsung Exynos3250 Clock Controller 2 3The Exynos3250 clock controller generates and supplies clock to various 4controllers within the Exynos3250 SoC. 5 6Required Properties: 7 8- compatible: should be one of the following. 9 - "samsung,exynos3250-cmu" - controller compatible with Exynos3250 SoC. 10 - "samsung,exynos3250-cmu-dmc" - controller compatible with 11 Exynos3250 SoC for Dynamic Memory Controller domain. 12 13- reg: physical base address of the controller and length of memory mapped 14 region. 15 16- #clock-cells: should be 1. 17 18Each clock is assigned an identifier and client nodes can use this identifier 19to specify the clock which they consume. 20 21All available clocks are defined as preprocessor macros in 22dt-bindings/clock/exynos3250.h header and can be used in device 23tree sources. 24 25Example 1: Examples of clock controller nodes are listed below. 26 27 cmu: clock-controller@10030000 { 28 compatible = "samsung,exynos3250-cmu"; 29 reg = <0x10030000 0x20000>; 30 #clock-cells = <1>; 31 }; 32 33 cmu_dmc: clock-controller@105C0000 { 34 compatible = "samsung,exynos3250-cmu-dmc"; 35 reg = <0x105C0000 0x2000>; 36 #clock-cells = <1>; 37 }; 38 39Example 2: UART controller node that consumes the clock generated by the clock 40 controller. Refer to the standard clock bindings for information 41 about 'clocks' and 'clock-names' property. 42 43 serial@13800000 { 44 compatible = "samsung,exynos4210-uart"; 45 reg = <0x13800000 0x100>; 46 interrupts = <0 109 0>; 47 clocks = <&cmu CLK_UART0>, <&cmu CLK_SCLK_UART0>; 48 clock-names = "uart", "clk_uart_baud0"; 49 };