mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-11-04 05:50:17 +00:00 
			
		
		
		
	This patch adds fixed-factor clock driver which derives clock rate by dividing (div) and multiplying (mult) fixed factors to a parent clock. Signed-off-by: Atish Patra <atish.patra@wdc.com> Signed-off-by: Anup Patel <anup.patel@wdc.com> Reviewed-by: Simon Glass <sjg@chromium.org>
		
			
				
	
	
		
			25 lines
		
	
	
		
			597 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			597 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
Binding for simple fixed factor rate clock sources.
 | 
						|
 | 
						|
This binding uses the common clock binding[1].
 | 
						|
 | 
						|
[1] Documentation/devicetree/bindings/clock/clock-bindings.txt
 | 
						|
 | 
						|
Required properties:
 | 
						|
- compatible : shall be "fixed-factor-clock".
 | 
						|
- #clock-cells : from common clock binding; shall be set to 0.
 | 
						|
- clock-div: fixed divider.
 | 
						|
- clock-mult: fixed multiplier.
 | 
						|
- clocks: parent clock.
 | 
						|
 | 
						|
Optional properties:
 | 
						|
- clock-output-names : From common clock binding.
 | 
						|
 | 
						|
Example:
 | 
						|
	clock {
 | 
						|
		compatible = "fixed-factor-clock";
 | 
						|
		clocks = <&parentclk>;
 | 
						|
		#clock-cells = <0>;
 | 
						|
		clock-div = <2>;
 | 
						|
		clock-mult = <1>;
 | 
						|
	};
 |