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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/gpu/arm,mali-valhall-csf.yaml

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/gpu/arm,mali-valhall-csf.yaml (Version linux-6.12-rc7) and /Documentation/devicetree/bindings/gpu/arm,mali-valhall-csf.yaml (Version linux-4.18.20)


  1 # SPDX-License-Identifier: GPL-2.0-only OR BSD    
  2 %YAML 1.2                                         
  3 ---                                               
  4 $id: http://devicetree.org/schemas/gpu/arm,mal    
  5 $schema: http://devicetree.org/meta-schemas/co    
  6                                                   
  7 title: ARM Mali Valhall GPU                       
  8                                                   
  9 maintainers:                                      
 10   - Liviu Dudau <liviu.dudau@arm.com>              
 11   - Boris Brezillon <boris.brezillon@collabora.    
 12                                                   
 13 properties:                                       
 14   $nodename:                                      
 15     pattern: '^gpu@[a-f0-9]+$'                    
 16                                                   
 17   compatible:                                     
 18     oneOf:                                        
 19       - items:                                    
 20           - enum:                                 
 21               - rockchip,rk3588-mali              
 22           - const: arm,mali-valhall-csf   # Ma    
 23                                                   
 24   reg:                                            
 25     maxItems: 1                                   
 26                                                   
 27   interrupts:                                     
 28     items:                                        
 29       - description: Job interrupt                
 30       - description: MMU interrupt                
 31       - description: GPU interrupt                
 32                                                   
 33   interrupt-names:                                
 34     items:                                        
 35       - const: job                                
 36       - const: mmu                                
 37       - const: gpu                                
 38                                                   
 39   clocks:                                         
 40     minItems: 1                                   
 41     maxItems: 3                                   
 42                                                   
 43   clock-names:                                    
 44     minItems: 1                                   
 45     items:                                        
 46       - const: core                               
 47       - const: coregroup                          
 48       - const: stacks                             
 49                                                   
 50   mali-supply: true                               
 51                                                   
 52   operating-points-v2: true                       
 53   opp-table:                                      
 54     type: object                                  
 55                                                   
 56   power-domains:                                  
 57     minItems: 1                                   
 58     maxItems: 5                                   
 59                                                   
 60   power-domain-names:                             
 61     minItems: 1                                   
 62     maxItems: 5                                   
 63                                                   
 64   sram-supply: true                               
 65                                                   
 66   "#cooling-cells":                               
 67     const: 2                                      
 68                                                   
 69   dynamic-power-coefficient:                      
 70     $ref: /schemas/types.yaml#/definitions/uin    
 71     description:                                  
 72       A u32 value that represents the running     
 73       power coefficient in units of uW/MHz/V^2    
 74       coefficient can either be calculated fro    
 75       measurements or derived by analysis.        
 76                                                   
 77       The dynamic power consumption of the GPU    
 78       proportional to the square of the Voltag    
 79       the clock frequency (f). The coefficient    
 80       calculate the dynamic power as below -      
 81                                                   
 82       Pdyn = dynamic-power-coefficient * V^2 *    
 83                                                   
 84       where voltage is in V, frequency is in M    
 85                                                   
 86   dma-coherent: true                              
 87                                                   
 88 required:                                         
 89   - compatible                                    
 90   - reg                                           
 91   - interrupts                                    
 92   - interrupt-names                               
 93   - clocks                                        
 94   - mali-supply                                   
 95                                                   
 96 additionalProperties: false                       
 97                                                   
 98 allOf:                                            
 99   - if:                                           
100       properties:                                 
101         compatible:                               
102           contains:                               
103             const: rockchip,rk3588-mali           
104     then:                                         
105       properties:                                 
106         clocks:                                   
107           minItems: 3                             
108         power-domains:                            
109           maxItems: 1                             
110         power-domain-names: false                 
111                                                   
112 examples:                                         
113   - |                                             
114     #include <dt-bindings/clock/rockchip,rk358    
115     #include <dt-bindings/interrupt-controller    
116     #include <dt-bindings/interrupt-controller    
117     #include <dt-bindings/power/rk3588-power.h    
118                                                   
119     gpu: gpu@fb000000 {                           
120         compatible = "rockchip,rk3588-mali", "    
121         reg = <0xfb000000 0x200000>;              
122         interrupts = <GIC_SPI 92 IRQ_TYPE_LEVE    
123                      <GIC_SPI 93 IRQ_TYPE_LEVE    
124                      <GIC_SPI 94 IRQ_TYPE_LEVE    
125         interrupt-names = "job", "mmu", "gpu";    
126         clock-names = "core", "coregroup", "st    
127         clocks = <&cru CLK_GPU>, <&cru CLK_GPU    
128                  <&cru CLK_GPU_STACKS>;           
129         power-domains = <&power RK3588_PD_GPU>    
130         operating-points-v2 = <&gpu_opp_table>    
131         mali-supply = <&vdd_gpu_s0>;              
132         sram-supply = <&vdd_gpu_mem_s0>;          
133                                                   
134         gpu_opp_table: opp-table {                
135             compatible = "operating-points-v2"    
136             opp-300000000 {                       
137                 opp-hz = /bits/ 64 <300000000>    
138                 opp-microvolt = <675000 675000    
139             };                                    
140             opp-400000000 {                       
141                 opp-hz = /bits/ 64 <400000000>    
142                 opp-microvolt = <675000 675000    
143             };                                    
144         };                                        
145     };                                            
146                                                   
147 ...                                               
                                                      

~ [ 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