{
#ifdef CONFIG_CLK_SWITCH_TO_32K
sram_gpio_set_value(pmic_sleep, GPIO_HIGH);
- while(1);
#endif
}
void __sramfunc board_pmu_rk808_resume(void)
/*
- * rk808-irq.c -- TI TPS6591x
+ * rk808-irq.c
*
- * Copyright 2010 Texas Instruments Inc.
- *
- * Author: Graeme Gregory <gg@slimlogic.co.uk>
- * Author: Jorge Eduardo Candelaria <jedu@slimlogic.co.uk>
+ * Author: zhangqing <zhangqing@rock-chips.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
/*
- * Regulator driver for Active-semi rk808 PMIC chip for rk29xx
+ * Regulator driver for rk808 PMIC chip for rk31xx
*
- * Copyright (C) 2010, 2011 ROCKCHIP, Inc.
-
* Based on rk808.c that is work by zhangqing<zhangqing@rock-chips.com>
*
* This program is free software; you can redistribute it and/or modify
{
int ret;
-//#if defined(CONFIG_MFD_RK610)
-#if 0
- int i; //Solve communication conflict when rk610 and 65910 on the same i2c
+#if defined(CONFIG_MFD_RK610)
+ int i; //Solve communication conflict when rk610 and 808 on the same i2c
mutex_lock(&rk808->io_lock);
for(i=0; i<count; i++){
{
int ret;
-//#if defined(CONFIG_MFD_RK610)
-#if 0
- int i; // //Solve communication conflict when rk610 and 65910 on the same i2c
+#if defined(CONFIG_MFD_RK610)
+ int i; // //Solve communication conflict when rk610 and 808 on the same i2c
mutex_lock(&rk808->io_lock);
for(i=0; i<count; i++){
/*
- * Real Time Clock driver for Wolfson Microelectronics rk808
+ * Real Time Clock driver for rk808
*
- * Copyright (C) 2009 Wolfson Microelectronics PLC.
- *
- * Author: Mark Brown <broonie@opensource.wolfsonmicro.com>
+ * Author: zhangqing <zhangqing@rock-chips.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
/* include/linux/regulator/rk808.h
- *
- * Copyright (C) 2011 ROCKCHIP, Inc.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and