Commits

Anson Huang committed 79152f63619
MLK-16681-1 soc: imx: add speed grading check for i.MX8MQ different parts i.MX8MQ has different parts like consumer, industrial and auto etc., different parts have different cpu-freq set-points, this patch adds fuse check to select correct cpu-freq set-points for each part. The default dtb has all set-points available, then kernel will check fuse to disable those unused set-points, definition as below: OCOTP offset 0x440, bit [7:6] '00' - Consumer 0C to 95C '01' - Ext. Consumer -20C to 105C '10' - Industrial -40C to 105C '11' - Automotive -40C to 125C cpu-freq set-points definition as below (datasheet Rev-E): Normal Over-Drive Consumer 1GHz@0.9V 1.5GHz@1V Industrial 800MHz@0.9V 1.3GHz@1V Signed-off-by: Anson Huang <Anson.Huang@nxp.com> Reviewed-by: Bai Ping <ping.bai@nxp.com>