1a02177a3SLeonard Crestezi.MX CPUFreq-DT OPP bindings 2a02177a3SLeonard Crestez================================ 3a02177a3SLeonard Crestez 4a02177a3SLeonard CrestezCertain i.MX SoCs support different OPPs depending on the "market segment" and 5a02177a3SLeonard Crestez"speed grading" value which are written in fuses. These bits are combined with 6a02177a3SLeonard Crestezthe opp-supported-hw values for each OPP to check if the OPP is allowed. 7a02177a3SLeonard Crestez 8a02177a3SLeonard CrestezRequired properties: 9a02177a3SLeonard Crestez-------------------- 10a02177a3SLeonard Crestez 11a02177a3SLeonard CrestezFor each opp entry in 'operating-points-v2' table: 12a02177a3SLeonard Crestez- opp-supported-hw: Two bitmaps indicating: 13a02177a3SLeonard Crestez - Supported speed grade mask 14a02177a3SLeonard Crestez - Supported market segment mask 15a02177a3SLeonard Crestez 0: Consumer 16a02177a3SLeonard Crestez 1: Extended Consumer 17a02177a3SLeonard Crestez 2: Industrial 18a02177a3SLeonard Crestez 3: Automotive 19a02177a3SLeonard Crestez 20a02177a3SLeonard CrestezExample: 21a02177a3SLeonard Crestez-------- 22a02177a3SLeonard Crestez 23a02177a3SLeonard Crestezopp_table { 24a02177a3SLeonard Crestez compatible = "operating-points-v2"; 25a02177a3SLeonard Crestez opp-1000000000 { 26a02177a3SLeonard Crestez opp-hz = /bits/ 64 <1000000000>; 27a02177a3SLeonard Crestez /* grade >= 0, consumer only */ 28a02177a3SLeonard Crestez opp-supported-hw = <0xf>, <0x3>; 29a02177a3SLeonard Crestez }; 30a02177a3SLeonard Crestez 31a02177a3SLeonard Crestez opp-1300000000 { 32a02177a3SLeonard Crestez opp-hz = /bits/ 64 <1300000000>; 33a02177a3SLeonard Crestez opp-microvolt = <1000000>; 34a02177a3SLeonard Crestez /* grade >= 1, all segments */ 35a02177a3SLeonard Crestez opp-supported-hw = <0xe>, <0x7>; 36a02177a3SLeonard Crestez }; 37a02177a3SLeonard Crestez} 38