Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

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