Files
kernel_common_drivers/include/linux/amlogic/cpu_hotplug.h
T
wanwei.jiang 82c658e68b thermal: porting thermal driver [1/1]
PD#SWPL-68630

Problem:
porting thermal driver

Solution:
1. porting thermal driver
2. modify the function type of the member of
struct thermal_cooling_device_ops
state2power
power2state
get_requested_power
3. modify the function(cpu_hotplug.c) interface
cpu_up() --> add_cpu()
cpu_down() --> remove_cpu()
4. modify config and move module_init from meson_cooldev.c to meson_tsensor.c
5. modify pr_info() --> pr_debug() when probe

Verify:
s4d

Change-Id: I5eead0120dbc826cbb4282d28d7531018c826025
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com>
2022-01-14 18:39:57 +08:00

12 lines
243 B
C

/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
/*
* Copyright (c) 2019 Amlogic, Inc. All rights reserved.
*/
#ifndef __CPU_HOTPLUG_H_
#define __CPU_HOTPLUG_H_
void cpufreq_set_max_cpu_num(unsigned int num, unsigned int cluster);
#endif