PD#SWPL-5261
Problem:
bringup sm1 and tm2.
Solution:
add is_support_pwr_ctrl function.
Verify:
U212 and AC200
Change-Id: I7f392ea8f23ce6f4e610b98bdcc39c4fcc2e6444
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
struct power_ctrl ctrl;
static bool probe_done;
+bool is_support_power_ctrl(void)
+{
+ return probe_done;
+}
+EXPORT_SYMBOL(is_support_power_ctrl);
+
int power_ctrl_sleep(bool power_on, unsigned int shift)
{
unsigned int val;
#include <linux/types.h>
#ifdef CONFIG_AMLOGIC_POWER
+bool is_support_power_ctrl(void);
int power_ctrl_sleep(bool power_on, unsigned int shift);
int power_ctrl_sleep_mask(bool power_on,
unsigned int mask_val, unsigned int shift);