• Eduardo Valentin's avatar
    thermal: cpu_cooling: introduce of_cpufreq_cooling_register · 39d99cff
    Eduardo Valentin authored
    This patch introduces an API to register cpufreq cooling device
    based on device tree node.
    
    The registration via device tree node differs from normal
    registration due to the fact that it is needed to fill
    the device_node structure in order to be able to match
    the cooling devices with trip points.
    
    Cc: Zhang Rui <rui.zhang@intel.com>
    Cc: linux-pm@vger.kernel.org
    Cc: linux-kernel@vger.kernel.org
    Signed-off-by: default avatarEduardo Valentin <eduardo.valentin@ti.com>
    39d99cff
cpu_cooling.c 16.5 KB