]> git.karo-electronics.de Git - karo-tx-linux.git/commit
powercap / RAPL: Floor frequency setting in Atom SoC
authorAjay Thomas <ajay.thomas.david.rajamanickam@intel.com>
Wed, 29 Apr 2015 20:13:23 +0000 (01:43 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 4 May 2015 22:51:22 +0000 (00:51 +0200)
commit51b63409b75980753f52edb45da7d1b3e2b9405d
treef4d76d9e8209b08b1b46c432ba3957355ef242fb
parent5ebe6afaf0057ac3eaeb98defd5456894b446d22
powercap / RAPL: Floor frequency setting in Atom SoC

CPU Floor frequency is set in BIOS for newer Atom
SoCs. This patch handles configuration of floor
frequency for different variants of Atom SoCs
appropriately and ensures configuration of floor
frequency is not done from driver for these
newer Atom SoCs.

Since address of the register for configuring
floor frequency might change for different
Atom SoCs, this patch also prevents potential
overwriting of wrong registers.

Reviewed-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
Signed-off-by: Ajay Thomas <ajay.thomas.david.rajamanickam@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/powercap/intel_rapl.c