Commit graph

1,065 commits

Author SHA1 Message Date
张晴
bde565f96a rk808:support dcdc1\2 raise voltage by step 2013-04-22 17:20:54 +08:00
yxj
93d60a31ca mfd:rk616:core:modify pll config,make register dump more pretty 2013-04-22 12:26:04 +08:00
yxj
7633432049 mfd:rk616:core:add pll config 2013-04-22 12:26:03 +08:00
yxj
0070281c14 mfd rk616 hdmi:fix register config bug 2013-04-19 15:23:17 +08:00
yxj
0ae1d938a4 mfd:rk616:lvds function ok 2013-04-18 22:46:35 +08:00
yxj
4469e01255 mfd:rk616:create debug node rk616-reg under dir debugfs/rk616/ 2013-04-10 16:31:27 +08:00
yxj
2657d433ee mfd:rk616:add clk common init,add debug interface 2013-04-10 12:23:19 +08:00
yxj
c2020ab7d6 rk616:add more control register defination 2013-04-08 14:31:21 +08:00
张晴
d4c35cbe4a rk808:modify some warning 2013-04-07 11:54:55 +08:00
yxj
ed0e765a54 add mfd rk616 2013-04-03 18:11:03 +08:00
张晴
ad5586b986 rk808:support pmu rk808 vbat low detect 2013-04-02 17:22:51 +08:00
张晴
5838137546 rk808:support pmu rk808 sleep mode 2013-03-25 17:44:44 +08:00
张晴
b2a79c3e11 rk808:support pmu rk808 2013-03-25 11:00:14 +08:00
张晴
bbae0860c1 tps65910&rk610:Solve communication conflict when rk610 and tps65910 on the same i2c 2013-02-28 18:42:37 +08:00
张晴
6465a37ed9 tps65910&rk610:Solve communication conflict when rk610 and tps65910 on the same i2c 2013-02-28 18:19:28 +08:00
yzq
614e39302a rk3188:fix rk610 hdmi and one lcdc dual screen 2013-01-24 22:15:54 +08:00
黄涛
67450b3bb6 Merge remote-tracking branch 'stable/linux-3.0.y' into develop-3.0
Merge v3.0.59
Conflicts:
	Makefile
	drivers/net/wireless/ath/ath9k/ar9003_2p2_initvals.h
	drivers/net/wireless/ath/ath9k/ar9003_eeprom.h
	drivers/usb/serial/option.c
2013-01-21 17:21:19 +08:00
Charles Keepax
2c44276891 mfd: Only unregister platform devices allocated by the mfd core
commit b9fbb62eb6 upstream.

mfd_remove_devices would iterate over all devices sharing a parent with
an mfd device regardless of whether they were allocated by the mfd core
or not. This especially caused problems when the device structure was
not contained within a platform_device, because to_platform_device is
used on each device pointer.

This patch defines a device_type for mfd devices and checks this is
present from mfd_remove_devices_fn before processing the device.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Tested-by: Peter Tyser <ptyser@xes-inc.com>
Reviewed-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-17 08:43:54 -08:00
黄涛
48b21a2c31 rk610-core: support new iomux api on rk3066b 2013-01-16 15:14:13 +08:00
张晴
9ae6ba2026 rk30:wm8326:remove wm831x_last_deinit when wm8326 shutdown 2013-01-16 11:39:00 +08:00
张晴
9749caf03e rk:modify some warnings for pmu 2012-12-26 18:20:38 +08:00
wuhao
967e720270 revert v86 reported chg_ok of commit cb6f8a8f31 and Re reported 2012-11-12 16:09:46 +08:00
张晴
8e0c251378 rk:modify tps65910 i2c write speed from 100k to 200k 2012-11-09 18:29:40 +08:00
wuhao
cb6f8a8f31 for rk2928 v86 2012-11-05 18:44:40 +08:00
yzq
0b5bd7d634 Revert "gpio debug"
This reverts commit 861ef61d90.
2012-11-01 14:18:06 +08:00
yzq
861ef61d90 gpio debug 2012-11-01 10:01:09 +08:00
张晴
3149d13f5a rk2926:m713:slove io conflict for act8931 and tps65910 2012-10-17 17:55:43 +08:00
yxj
889c048cc6 rk610: move board specific ioctrl to board file 2012-09-17 11:24:45 +08:00
yzq
29e8202db5 rk3066b: fix 3066b rk610 reset err 2012-09-13 10:55:15 +08:00
黄涛
dce1ff6a5f Revert "rk3066b: update m701 lcd/tp/gsensor"
This reverts commit 6fc5676f7c.
2012-09-10 15:30:56 +08:00
hxy
6fc5676f7c rk3066b: update m701 lcd/tp/gsensor 2012-09-10 10:39:27 +08:00
yxj
f421e97231 rename rk610 lvds config 2012-09-08 17:26:51 +08:00
xxx
9bb82849cd Revert "correct bugs for 'cpu hclk and pclk is 1:1'"
This reverts commit db009dd476.
2012-09-05 19:24:24 -07:00
xxx
db009dd476 correct bugs for 'cpu hclk and pclk is 1:1' 2012-09-05 19:18:35 -07:00
hxy
afdaaa54c2 rk3066b: update rk610 core 2012-09-05 18:16:08 +08:00
hxy
7d31697362 rk3066b: add M701 machine config 2012-09-05 17:04:13 +08:00
黄涛
b2be450f10 Merge remote-tracking branch 'origin/develop-3.0' into develop-3.0-jb
Conflicts:
	include/net/cfg80211.h
2012-08-21 14:14:24 +08:00
黄涛
109b0ba094 Merge remote-tracking branch 'stable/linux-3.0.y' into develop-3.0-jb
Conflicts:
	Makefile
	drivers/net/tun.c
	drivers/net/wireless/rt2x00/rt61pci.c
	drivers/usb/core/hub.c
	sound/soc/codecs/wm8994.c
2012-08-21 13:11:48 +08:00
黄涛
d7fb2169b6 Merge remote-tracking branch 'origin/develop-3.0-rk2928' into develop-3.0
Conflicts:
	arch/arm/mach-rk30/include/mach/rk30_camera.h
	arch/arm/plat-rk/include/plat/rk_camera.h
	drivers/gpio/gpio-tps65910.c
	drivers/media/video/rk30_camera_oneframe.c
	drivers/mmc/host/rk29_sdmmc.c
	drivers/net/wireless/Kconfig
	drivers/net/wireless/Makefile
	drivers/net/wireless/wifi_sys/rkwifi_sys_iface.c
	drivers/regulator/rk30-pwm-regulator.c
	drivers/usb/dwc_otg/dwc_otg_driver.c
	drivers/usb/dwc_otg/dwc_otg_hcd.c
	drivers/usb/dwc_otg/dwc_otg_pcd.c
	sound/soc/codecs/Makefile
	sound/soc/rk29/Kconfig
2012-08-17 21:48:20 +08:00
张晴
3fd8816a56 rk30:sdk:support wm8326 early suspend and modify dcdc or ldo mode when in early suspend 2012-08-17 14:30:45 +08:00
Arnd Bergmann
9f75ebd871 ARM: pxa: remove irq_to_gpio from ezx-pcap driver
commit 59ee93a528 upstream.

The irq_to_gpio function was removed from the pxa platform
in linux-3.2, and this driver has been broken since.

There is actually no in-tree user of this driver that adds
this platform device, but the driver can and does get enabled
on some platforms.

Without this patch, building ezx_defconfig results in:

drivers/mfd/ezx-pcap.c: In function 'pcap_isr_work':
drivers/mfd/ezx-pcap.c:205:2: error: implicit declaration of function 'irq_to_gpio' [-Werror=implicit-function-declaration]

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Cc: Samuel Ortiz <sameo@linux.intel.com>
Cc: Daniel Ribeiro <drwyrm@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-08-15 12:04:30 -07:00
Theodore Ts'o
b6b847a93b random: remove rand_initialize_irq()
commit c5857ccf29 upstream.

With the new interrupt sampling system, we are no longer using the
timer_rand_state structure in the irq descriptor, so we can stop
initializing it now.

[ Merged in fixes from Sedat to find some last missing references to
  rand_initialize_irq() ]

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Sedat Dilek <sedat.dilek@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-08-15 12:04:28 -07:00
Mark Brown
f99ef862a7 mfd: wm831x: Feed the device UUID into device_add_randomness()
commit 27130f0cc3 upstream.

wm831x devices contain a unique ID value. Feed this into the newly added
device_add_randomness() to add some per device seed data to the pool.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-08-15 12:04:28 -07:00
Theodore Ts'o
aa88dea227 random: make 'add_interrupt_randomness()' do something sane
commit 775f4b297b upstream.

We've been moving away from add_interrupt_randomness() for various
reasons: it's too expensive to do on every interrupt, and flooding the
CPU with interrupts could theoretically cause bogus floods of entropy
from a somewhat externally controllable source.

This solves both problems by limiting the actual randomness addition
to just once a second or after 64 interrupts, whicever comes first.
During that time, the interrupt cycle data is buffered up in a per-cpu
pool.  Also, we make sure the the nonblocking pool used by urandom is
initialized before we start feeding the normal input pool.  This
assures that /dev/urandom is returning unpredictable data as soon as
possible.

(Based on an original patch by Linus, but significantly modified by
tytso.)

Tested-by: Eric Wustrow <ewust@umich.edu>
Reported-by: Eric Wustrow <ewust@umich.edu>
Reported-by: Nadia Heninger <nadiah@cs.ucsd.edu>
Reported-by: Zakir Durumeric <zakir@umich.edu>
Reported-by: J. Alex Halderman <jhalderm@umich.edu>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-08-15 12:04:12 -07:00
张晴
13da9d54f5 rk2928:fix alarm lose intterupt problem 2012-08-11 16:40:07 +08:00
lw@rock-chips.com
3e43263500 phonepad:fix alarm lose intterupt problem 2012-08-11 11:37:55 +08:00
张晴
6eb300d28f rk30☎️Solve the power button interrupt failure 2012-08-11 10:05:07 +08:00
张晴
426997197d rk2928:support pmic tps65910 2012-08-09 18:07:51 +08:00
lw@rock-chips.com
ad51d8c8bb phonepad:modify tps65910_pre_init to fix rtc bug 2012-08-05 13:03:32 +08:00
lw
59bbb75276 phonepad:modify tps65910 gpio base 2012-08-03 16:57:12 +08:00