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 v4.14-rc1 36 lines 1.1 kB view raw
1* Amlogic GXBB Clock and Reset Unit 2 3The Amlogic GXBB clock controller generates and supplies clock to various 4controllers within the SoC. 5 6Required Properties: 7 8- compatible: should be "amlogic,gxbb-clkc" for GXBB SoC, 9 or "amlogic,gxl-clkc" for GXL and GXM SoC. 10- reg: physical base address of the clock controller and length of memory 11 mapped region. 12 13- #clock-cells: should be 1. 14 15Each clock is assigned an identifier and client nodes can use this identifier 16to specify the clock which they consume. All available clocks are defined as 17preprocessor macros in the dt-bindings/clock/gxbb-clkc.h header and can be 18used in device tree sources. 19 20Example: Clock controller node: 21 22 clkc: clock-controller@c883c000 { 23 #clock-cells = <1>; 24 compatible = "amlogic,gxbb-clkc"; 25 reg = <0x0 0xc883c000 0x0 0x3db>; 26 }; 27 28Example: UART controller node that consumes the clock generated by the clock 29 controller: 30 31 uart_AO: serial@c81004c0 { 32 compatible = "amlogic,meson-uart"; 33 reg = <0xc81004c0 0x14>; 34 interrupts = <0 90 1>; 35 clocks = <&clkc CLKID_CLK81>; 36 };