1 i.MX CPUFreq-DT OPP bindings 1 i.MX CPUFreq-DT OPP bindings 2 ================================ 2 ================================ 3 3 4 Certain i.MX SoCs support different OPPs depen 4 Certain i.MX SoCs support different OPPs depending on the "market segment" and 5 "speed grading" value which are written in fus 5 "speed grading" value which are written in fuses. These bits are combined with 6 the opp-supported-hw values for each OPP to ch 6 the opp-supported-hw values for each OPP to check if the OPP is allowed. 7 7 8 Required properties: 8 Required properties: 9 -------------------- 9 -------------------- 10 10 11 For each opp entry in 'operating-points-v2' ta 11 For each opp entry in 'operating-points-v2' table: 12 - opp-supported-hw: Two bitmaps indicating: 12 - opp-supported-hw: Two bitmaps indicating: 13 - Supported speed grade mask 13 - Supported speed grade mask 14 - Supported market segment mask 14 - Supported market segment mask 15 0: Consumer 15 0: Consumer 16 1: Extended Consumer 16 1: Extended Consumer 17 2: Industrial 17 2: Industrial 18 3: Automotive 18 3: Automotive 19 19 20 Example: 20 Example: 21 -------- 21 -------- 22 22 23 opp_table { 23 opp_table { 24 compatible = "operating-points-v2"; 24 compatible = "operating-points-v2"; 25 opp-1000000000 { 25 opp-1000000000 { 26 opp-hz = /bits/ 64 <1000000000 26 opp-hz = /bits/ 64 <1000000000>; 27 /* grade >= 0, consumer only * 27 /* grade >= 0, consumer only */ 28 opp-supported-hw = <0xf>, <0x3 28 opp-supported-hw = <0xf>, <0x3>; 29 }; 29 }; 30 30 31 opp-1300000000 { 31 opp-1300000000 { 32 opp-hz = /bits/ 64 <1300000000 32 opp-hz = /bits/ 64 <1300000000>; 33 opp-microvolt = <1000000>; 33 opp-microvolt = <1000000>; 34 /* grade >= 1, all segments */ 34 /* grade >= 1, all segments */ 35 opp-supported-hw = <0xe>, <0x7 35 opp-supported-hw = <0xe>, <0x7>; 36 }; 36 }; 37 } 37 }
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.