mirror of
				https://github.com/Ysurac/openmptcprouter.git
				synced 2025-03-09 15:40:20 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			29 lines
		
	
	
	
		
			991 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
	
		
			991 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
| From 0df592a0a1a3fff9133977192677aa915afc174f Mon Sep 17 00:00:00 2001
 | |
| From: Robert Marko <robimarko@gmail.com>
 | |
| Date: Fri, 19 Aug 2022 00:08:49 +0200
 | |
| Subject: [PATCH] arm64: dts: qcom: ipq8074: add clocks to APCS
 | |
| 
 | |
| APCS now has support for providing the APSS clocks as the child device
 | |
| for IPQ8074.
 | |
| 
 | |
| So, add the A53 PLL and XO clocks in order to use APCS as the CPU
 | |
| clocksource for APSS scaling.
 | |
| 
 | |
| Signed-off-by: Robert Marko <robimarko@gmail.com>
 | |
| Signed-off-by: Bjorn Andersson <andersson@kernel.org>
 | |
| Link: https://lore.kernel.org/r/20220818220849.339732-4-robimarko@gmail.com
 | |
| ---
 | |
|  arch/arm64/boot/dts/qcom/ipq8074.dtsi | 2 ++
 | |
|  1 file changed, 2 insertions(+)
 | |
| 
 | |
| --- a/arch/arm64/boot/dts/qcom/ipq8074.dtsi
 | |
| +++ b/arch/arm64/boot/dts/qcom/ipq8074.dtsi
 | |
| @@ -680,6 +680,8 @@
 | |
|  		apcs_glb: mailbox@b111000 {
 | |
|  			compatible = "qcom,ipq8074-apcs-apps-global";
 | |
|  			reg = <0x0b111000 0x1000>;
 | |
| +			clocks = <&a53pll>, <&xo>;
 | |
| +			clock-names = "pll", "xo";
 | |
|  
 | |
|  			#clock-cells = <1>;
 | |
|  			#mbox-cells = <1>;
 |