~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/clock/nuvoton,npcm750-clk.txt

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/devicetree/bindings/clock/nuvoton,npcm750-clk.txt (Version linux-6.12-rc7) and /Documentation/devicetree/bindings/clock/nuvoton,npcm750-clk.txt (Version linux-2.6.32.71)


  1 * Nuvoton NPCM7XX Clock Controller                
  2                                                   
  3 Nuvoton Poleg BMC NPCM7XX contains an integrat    
  4 generates and supplies clocks to all modules w    
  5                                                   
  6 External clocks:                                  
  7                                                   
  8 There are six fixed clocks that are generated     
  9 a known fixed value that cannot be changed. cl    
 10 clk_sysbypck are inputs to the clock controlle    
 11 clk_rg1refck, clk_rg2refck and clk_xin are ext    
 12 network. They are set on the device tree, but     
 13 network devices use them directly.                
 14 Example can be found below.                       
 15                                                   
 16 All available clocks are defined as preprocess    
 17 dt-bindings/clock/nuvoton,npcm7xx-clock.h         
 18 and can be reused as DT sources.                  
 19                                                   
 20 Required Properties of clock controller:          
 21                                                   
 22         - compatible: "nuvoton,npcm750-clk" :     
 23                   Poleg BMC NPCM750               
 24                                                   
 25         - reg: physical base address of the cl    
 26                 memory mapped region.             
 27                                                   
 28         - #clock-cells: should be 1.              
 29                                                   
 30 Example: Clock controller node:                   
 31                                                   
 32         clk: clock-controller@f0801000 {          
 33                 compatible = "nuvoton,npcm750-    
 34                 #clock-cells = <1>;               
 35                 reg = <0xf0801000 0x1000>;        
 36                 clock-names = "refclk", "sysby    
 37                 clocks = <&clk_refclk>, <&clk_    
 38         };                                        
 39                                                   
 40 Example: Required external clocks for network:    
 41                                                   
 42         /* external reference clock */            
 43         clk_refclk: clk-refclk {                  
 44                 compatible = "fixed-clock";       
 45                 #clock-cells = <0>;               
 46                 clock-frequency = <25000000>;     
 47                 clock-output-names = "refclk";    
 48         };                                        
 49                                                   
 50         /* external reference clock for cpu. f    
 51         clk_sysbypck: clk-sysbypck {              
 52                 compatible = "fixed-clock";       
 53                 #clock-cells = <0>;               
 54                 clock-frequency = <800000000>;    
 55                 clock-output-names = "sysbypck    
 56         };                                        
 57                                                   
 58         /* external reference clock for MC. fl    
 59         clk_mcbypck: clk-mcbypck {                
 60                 compatible = "fixed-clock";       
 61                 #clock-cells = <0>;               
 62                 clock-frequency = <800000000>;    
 63                 clock-output-names = "mcbypck"    
 64         };                                        
 65                                                   
 66          /* external clock signal rg1refck, su    
 67         clk_rg1refck: clk-rg1refck {              
 68                 compatible = "fixed-clock";       
 69                 #clock-cells = <0>;               
 70                 clock-frequency = <125000000>;    
 71                 clock-output-names = "clk_rg1r    
 72         };                                        
 73                                                   
 74          /* external clock signal rg2refck, su    
 75         clk_rg2refck: clk-rg2refck {              
 76                 compatible = "fixed-clock";       
 77                 #clock-cells = <0>;               
 78                 clock-frequency = <125000000>;    
 79                 clock-output-names = "clk_rg2r    
 80         };                                        
 81                                                   
 82         clk_xin: clk-xin {                        
 83                 compatible = "fixed-clock";       
 84                 #clock-cells = <0>;               
 85                 clock-frequency = <50000000>;     
 86                 clock-output-names = "clk_xin"    
 87         };                                        
 88                                                   
 89                                                   
 90 Example: GMAC controller node that consumes tw    
 91 clock controller and a fixed clock from DT (cl    
 92                                                   
 93         ethernet0: ethernet@f0802000 {            
 94                 compatible = "snps,dwmac";        
 95                 reg = <0xf0802000 0x2000>;        
 96                 interrupts = <0 14 4>;            
 97                 interrupt-names = "macirq";       
 98                 clocks  = <&clk_rg1refck>, <&c    
 99                 clock-names = "stmmaceth", "cl    
100         };                                        
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php