mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 02:30:34 +02:00 
			
		
		
		
	dt-bindings: rtc: zynqmp: Add clock information
Added clock information and deprecated calibration support. Signed-off-by: Srinivas Neeli <srinivas.neeli@xilinx.com> Reviewed-by: Rob Herring <robh@kernel.org> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Link: https://lore.kernel.org/r/20220626070817.3780977-1-srinivas.neeli@xilinx.com
This commit is contained in:
		
							parent
							
								
									b9d982385d
								
							
						
					
					
						commit
						f69060c144
					
				
					 1 changed files with 11 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -23,8 +23,15 @@ properties:
 | 
			
		|||
  reg:
 | 
			
		||||
    maxItems: 1
 | 
			
		||||
 | 
			
		||||
  clocks:
 | 
			
		||||
    maxItems: 1
 | 
			
		||||
 | 
			
		||||
  clock-names:
 | 
			
		||||
    items:
 | 
			
		||||
      - const: rtc
 | 
			
		||||
 | 
			
		||||
  interrupts:
 | 
			
		||||
    minItems: 2
 | 
			
		||||
    maxItems: 2
 | 
			
		||||
 | 
			
		||||
  interrupt-names:
 | 
			
		||||
    items:
 | 
			
		||||
| 
						 | 
				
			
			@ -39,6 +46,7 @@ properties:
 | 
			
		|||
    minimum: 0x1
 | 
			
		||||
    maximum: 0x1FFFFF
 | 
			
		||||
    default: 0x198233
 | 
			
		||||
    deprecated: true
 | 
			
		||||
 | 
			
		||||
required:
 | 
			
		||||
  - compatible
 | 
			
		||||
| 
						 | 
				
			
			@ -61,5 +69,7 @@ examples:
 | 
			
		|||
        interrupts = <0 26 4>, <0 27 4>;
 | 
			
		||||
        interrupt-names = "alarm", "sec";
 | 
			
		||||
        calibration = <0x198233>;
 | 
			
		||||
        clock-names = "rtc";
 | 
			
		||||
        clocks = <&rtc_clk>;
 | 
			
		||||
      };
 | 
			
		||||
    };
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue