Back to home page

OSCL-LXR

 
 

    


0001 i.MX CPUFreq-DT OPP bindings
0002 ================================
0003 
0004 Certain i.MX SoCs support different OPPs depending on the "market segment" and
0005 "speed grading" value which are written in fuses. These bits are combined with
0006 the opp-supported-hw values for each OPP to check if the OPP is allowed.
0007 
0008 Required properties:
0009 --------------------
0010 
0011 For each opp entry in 'operating-points-v2' table:
0012 - opp-supported-hw: Two bitmaps indicating:
0013   - Supported speed grade mask
0014   - Supported market segment mask
0015     0: Consumer
0016     1: Extended Consumer
0017     2: Industrial
0018     3: Automotive
0019 
0020 Example:
0021 --------
0022 
0023 opp_table {
0024         compatible = "operating-points-v2";
0025         opp-1000000000 {
0026                 opp-hz = /bits/ 64 <1000000000>;
0027                 /* grade >= 0, consumer only */
0028                 opp-supported-hw = <0xf>, <0x3>;
0029         };
0030 
0031         opp-1300000000 {
0032                 opp-hz = /bits/ 64 <1300000000>;
0033                 opp-microvolt = <1000000>;
0034                 /* grade >= 1, all segments */
0035                 opp-supported-hw = <0xe>, <0x7>;
0036         };
0037 }