acrn-kernel/drivers/mfd
Jean-François Dagenais f607e7fc5f w1: ds1wm: add a reset recovery parameter
This fixes a regression in 3.0 reported by Paul Parsons regarding the
removal of the msleep(1) in the ds1wm_reset() function:

: The linux-3.0-rc4 DS1WM 1-wire driver is logging "bus error, retrying"
: error messages on an HP iPAQ hx4700 PDA (XScale-PXA270):
:
: <snip>
: Driver for 1-wire Dallas network protocol.
: DS1WM w1 busmaster driver - (c) 2004 Szabolcs Gyurko
: 1-Wire driver for the DS2760 battery monitor  chip  - (c) 2004-2005, Szabolcs Gyurko
: ds1wm ds1wm: pass: 1 bus error, retrying
: ds1wm ds1wm: pass: 2 bus error, retrying
: ds1wm ds1wm: pass: 3 bus error, retrying
: ds1wm ds1wm: pass: 4 bus error, retrying
: ds1wm ds1wm: pass: 5 bus error, retrying
: ...
:
: The visible result is that the battery charging LED is erratic; sometimes
: it works, mostly it doesn't.
:
: The linux-2.6.39 DS1WM 1-wire driver worked OK.  I haven't tried 3.0-rc1,
: 3.0-rc2, or 3.0-rc3.

This sleep should not be required on normal circuitry provided the
pull-ups on the bus are correctly adapted to the slaves.  Unfortunately,
this is not always the case.  The sleep is restored but as a parameter to
the probe function in the pdata.

[akpm@linux-foundation.org: coding-style fixes]
Reported-by: Paul Parsons <lost.distance@yahoo.com>
Tested-by: Paul Parsons <lost.distance@yahoo.com>
Signed-off-by: Jean-François Dagenais <dagenaisj@sonatest.com>
Cc: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-07-08 21:14:44 -07:00
..
88pm860x-core.c mfd: Avoid to use constraint name in 88pm860x regulator driver 2011-05-26 19:45:38 +02:00
88pm860x-i2c.c
Kconfig mfd: Add Makefile and Kconfig Entries for tps65911 comparator 2011-07-05 10:39:38 +02:00
Makefile mfd: Add Makefile and Kconfig Entries for tps65911 comparator 2011-07-05 10:39:38 +02:00
ab3100-core.c mfd: Use mfd cell platform_data for ab3100 cells platform bits 2011-05-26 19:44:58 +02:00
ab3100-otp.c
ab3550-core.c mfd: Use mfd cell platform_data for ab3550 cells platform bits 2011-05-26 19:44:57 +02:00
ab8500-core.c mfd: Provide ab8500-core enumerators for chip cuts 2011-05-26 19:45:42 +02:00
ab8500-debugfs.c
ab8500-gpadc.c mfd: Correct the name and bitmask for ab8500-gpadc BTempPullUp 2011-05-26 19:45:44 +02:00
ab8500-i2c.c mach-ux500: move the DB8500 PRCMU driver to MFD 2011-05-24 22:14:31 +02:00
ab8500-sysctrl.c
abx500-core.c
adp5520.c
asic3.c w1: ds1wm: add a reset recovery parameter 2011-07-08 21:14:44 -07:00
cs5535-mfd.c mfd: OLPC: Clean up names to match what OLPC actually uses 2011-03-27 00:09:31 +01:00
da903x.c
davinci_voicecodec.c mfd: Use mfd cell platform_data for davinci cells platform bits 2011-05-26 19:45:13 +02:00
db5500-prcmu-regs.h mfd: add DB5500 PRCMU driver 2011-05-24 22:19:37 +02:00
db5500-prcmu.c mfd: add DB5500 PRCMU driver 2011-05-24 22:19:37 +02:00
db8500-prcmu-regs.h mfd: update DB8500 PRCMU driver 2011-05-24 22:18:57 +02:00
db8500-prcmu.c mfd: Use mfd cell platform_data for db8500-prcmu cells platform bits 2011-05-28 08:35:36 +02:00
dm355evm_msp.c
ezx-pcap.c Fix common misspellings 2011-03-31 11:26:23 -03:00
htc-egpio.c mfd: Fold irq_set_chip/irq_set_handler 2011-03-27 00:09:52 +01:00
htc-i2cpld.c mfd: Fold irq_set_chip/irq_set_handler 2011-03-27 00:09:52 +01:00
htc-pasic3.c w1: ds1wm: add a reset recovery parameter 2011-07-08 21:14:44 -07:00
janz-cmodio.c mfd: Use mfd cell platform_data for janz cells platform bits 2011-05-26 19:45:08 +02:00
jz4740-adc.c mfd: Cleanup irq namespace 2011-03-27 00:09:51 +01:00
lpc_sch.c
max8925-core.c mfd: Remove checking on max8925 regulator[0] 2011-05-26 19:45:37 +02:00
max8925-i2c.c
max8997-irq.c mfd: Clean up max8997 IRQ namespace 2011-03-27 00:09:53 +01:00
max8997.c
max8998-irq.c mfd: Cleanup irq namespace 2011-03-27 00:09:51 +01:00
max8998.c mfd: Cleanup irq namespace 2011-03-27 00:09:51 +01:00
mc13xxx-core.c mfd: Use mfd cell platform_data for mc13xxx cells platform bits 2011-05-26 19:45:07 +02:00
mcp-core.c
mcp-sa11x0.c
menelaus.c
mfd-core.c mfd: Add platform data pointer back 2011-05-26 19:44:56 +02:00
omap-usb-host.c Revert "mfd: Add omap-usbhs runtime PM support" 2011-07-05 10:38:43 +02:00
pcf50633-adc.c
pcf50633-core.c Fix common misspellings 2011-03-31 11:26:23 -03:00
pcf50633-gpio.c
pcf50633-irq.c
pm8xxx-irq.c mfd: Add pm8xxx irq support 2011-05-26 19:45:28 +02:00
pm8921-core.c mfd: Add pm8xxx irq support 2011-05-26 19:45:28 +02:00
rdc321x-southbridge.c mfd: Use mfd cell platform_data for rdc321x cells platform bits 2011-05-26 19:45:06 +02:00
sm501.c
stmpe.c mfd: Cleanup irq namespace 2011-03-27 00:09:51 +01:00
stmpe.h
t7l66xb.c mtd: Use platform_data to retrieve tmio_nand platform bits 2011-05-26 19:45:04 +02:00
tc3589x.c mfd: Cleanup irq namespace 2011-03-27 00:09:51 +01:00
tc6387xb.c mmc: Use device platform_data to retrieve tmio_mmc platform bits 2011-05-26 19:44:59 +02:00
tc6393xb.c mtd: Use platform_data to retrieve tmio_nand platform bits 2011-05-26 19:45:04 +02:00
ti-ssp.c
timberdale.c mfd: Use mfd cell platform_data for timberdale cells platform bits 2011-05-26 19:45:05 +02:00
timberdale.h
tmio_core.c
tps6105x.c mfd: Use mfd cell platform_data for tps6105x cells platform bits 2011-05-26 19:45:11 +02:00
tps6507x.c
tps6586x.c mfd: Fix tps6586x GPIO value setting 2011-05-26 19:45:31 +02:00
tps65010.c
tps65910-irq.c TPS65911: Add new irq definitions 2011-05-27 10:49:10 +01:00
tps65910.c MFD: TPS65910: Add support for TPS65911 device 2011-05-27 10:49:10 +01:00
tps65911-comparator.c mfd: Fix build error for tps65911-comparator.c 2011-07-05 10:39:30 +02:00
twl-core.c mfd: Add phoenix lite (twl6025) support to twl6030 2011-05-26 19:45:39 +02:00
twl-core.h
twl4030-codec.c mfd: Update twl4030-code maintainer e-mail address 2011-05-26 19:45:45 +02:00
twl4030-irq.c mfd: Cleanup irq namespace 2011-03-27 00:09:51 +01:00
twl4030-madc.c
twl4030-power.c mfd: Check twl4030-power remove script error condition after i2cwrite 2011-05-26 19:45:41 +02:00
twl6030-irq.c mfd: Fix twl6030 irq definitions 2011-05-26 19:45:40 +02:00
twl6030-pwm.c
ucb1x00-assabet.c
ucb1x00-core.c
ucb1x00-ts.c
ucb1400_core.c Fix common misspellings 2011-03-31 11:26:23 -03:00
vx855.c
wl1273-core.c mfd: Fix wl1273 warning 2011-05-26 19:45:20 +02:00
wm831x-core.c mfd: Provide platform data for WM831x GPIO configuration 2011-05-26 19:45:18 +02:00
wm831x-i2c.c
wm831x-irq.c mfd: Continue with IRQ setup even if we don't have PMIC main IRQ 2011-05-26 19:45:19 +02:00
wm831x-otp.c
wm831x-spi.c
wm8350-core.c
wm8350-gpio.c
wm8350-i2c.c
wm8350-irq.c mfd: Cleanup irq namespace 2011-03-27 00:09:51 +01:00
wm8350-regmap.c
wm8400-core.c mfd: Use mfd cell platform_data for wm8400 cells platform bits 2011-05-26 19:45:14 +02:00
wm8994-core.c mfd: Push byte swaps out of wm8994 bulk read path 2011-03-23 10:42:11 +01:00
wm8994-irq.c mfd: Cleanup irq namespace 2011-03-27 00:09:51 +01:00