qemu-patch-raspberry4/hw/timer
Corey Minyard d307c28ca9 i2c: Allow I2C devices to NAK start events
Add a return value to the event handler.  Some I2C devices will
NAK if they have no data, so allow them to do this.  This required
the following changes:

Go through all the event handlers and change them to return int
and return 0.

Modify i2c_start_transfer to terminate the transaction on a NAK.

Modify smbus handing to not assert if a NAK occurs on a second
operation, and terminate the transaction and return -1 instead.

Add some information on semantics to I2CSlaveClass.

Signed-off-by: Corey Minyard <cminyard@mvista.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2017-01-09 11:40:20 +00:00
..
a9gtimer.c timer: a9gtimer: remove loop to auto-increment comparator 2016-10-24 16:26:54 +01:00
allwinner-a10-pit.c hw/ptimer: Introduce timer policy feature 2016-09-22 18:13:06 +01:00
arm_mptimer.c arm_mptimer: Convert to use ptimer 2016-10-24 16:26:53 +01:00
arm_timer.c hw/ptimer: Introduce timer policy feature 2016-09-22 18:13:06 +01:00
aspeed_timer.c hw/timer: Add value matching support to aspeed_timer 2016-06-17 15:23:51 +01:00
cadence_ttc.c arm: Clean up includes 2016-01-29 15:07:23 +00:00
digic-timer.c hw/ptimer: Introduce timer policy feature 2016-09-22 18:13:06 +01:00
ds1338.c i2c: Allow I2C devices to NAK start events 2017-01-09 11:40:20 +00:00
etraxfs_timer.c hw/ptimer: Introduce timer policy feature 2016-09-22 18:13:06 +01:00
exynos4210_mct.c hw/ptimer: Introduce timer policy feature 2016-09-22 18:13:06 +01:00
exynos4210_pwm.c hw/ptimer: Introduce timer policy feature 2016-09-22 18:13:06 +01:00
exynos4210_rtc.c hw/ptimer: Introduce timer policy feature 2016-09-22 18:13:06 +01:00
grlib_gptimer.c clean-up: removed duplicate #includes 2016-10-28 18:17:24 +03:00
hpet.c hw/timer: Revert "hpet: inverse polarity when pin above ISA_NUM_IRQS" 2016-04-08 00:07:43 +02:00
i8254.c Replaced get_tick_per_sec() by NANOSECONDS_PER_SECOND 2016-03-22 22:20:17 +01:00
i8254_common.c Replaced get_tick_per_sec() by NANOSECONDS_PER_SECOND 2016-03-22 22:20:17 +01:00
imx_epit.c imx: Use 'const char', not 'char const' 2016-09-22 18:13:09 +01:00
imx_gpt.c imx: Use 'const char', not 'char const' 2016-09-22 18:13:09 +01:00
lm32_timer.c hw/ptimer: Introduce timer policy feature 2016-09-22 18:13:06 +01:00
m48t59.c util: move declarations out of qemu-common.h 2016-03-22 22:20:17 +01:00
Makefile.objs hw/mips: implement GIC Interval Timer 2016-07-12 09:10:09 +01:00
mc146818rtc.c MC146818 RTC: coordinate guest clock base to destination host after migration 2016-10-04 10:00:25 +02:00
milkymist-sysctl.c hw/ptimer: Introduce timer policy feature 2016-09-22 18:13:06 +01:00
mips_gictimer.c hw/mips: implement GIC Interval Timer 2016-07-12 09:10:09 +01:00
omap_gptimer.c The only 64bit parameter of muldiv64() is the first one. 2016-06-07 18:02:49 +03:00
omap_synctimer.c Replaced get_tick_per_sec() by NANOSECONDS_PER_SECOND 2016-03-22 22:20:17 +01:00
pl031.c hw: explicitly include qemu/log.h 2016-05-19 16:42:29 +02:00
puv3_ost.c hw/ptimer: Introduce timer policy feature 2016-09-22 18:13:06 +01:00
pxa2xx_timer.c Replaced get_tick_per_sec() by NANOSECONDS_PER_SECOND 2016-03-22 22:20:17 +01:00
sh_timer.c hw/ptimer: Introduce timer policy feature 2016-09-22 18:13:06 +01:00
slavio_timer.c hw/ptimer: Introduce timer policy feature 2016-09-22 18:13:06 +01:00
stm32f2xx_timer.c timer: stm32f2xx_timer: add check for prescaler value 2016-10-24 16:26:55 +01:00
trace-events trace-events: fix first line comment in trace-events 2016-08-12 10:36:01 +01:00
twl92230.c i2c: Allow I2C devices to NAK start events 2017-01-09 11:40:20 +00:00
xilinx_timer.c hw/ptimer: Introduce timer policy feature 2016-09-22 18:13:06 +01:00