qemu/include
botszhuang c4580a3a6d hw/i2c/bcm2835_i2c: Correct CLKT register offset
The Clock Stretch Timeout (CLKT) register for the BCM2835 I2C
controller is actually located at offset 0x1c, not 0x20.

Update the BCM2835_I2C_CLKT macro to match the hardware
specification.

Since QEMU's implementation ignores whatever value the guest
writes to this register, and Linux only writes to CLKT and
doesn't read it back, the main effect of this fix is to
avoid an incorrect GUEST_ERROR log.

Cc: qemu-stable@nongnu.org
Fixes: 9cf3bc65af ("hw/i2c: Implement Broadcom Serial Controller (BSC)")
Signed-off-by: botszhuang <botszhuang@gmail.com>
Tested-by: Nick Huang <sef1548@gmail.com>
Message-id: 20260724124220.24152-1-22925483+botszhuang@users.noreply.github.com
[PMM: removed commit message paragraph about effects which I think
 is incorrect, substituted a different one]
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2026-07-28 11:36:49 +01:00
..
accel accel/tcg: Improve docstrings around TCGCPUOps::*watchpoint* handlers 2026-07-06 15:42:18 +02:00
authz
block hw/nvme: add migration blockers for non-supported cases 2026-07-07 00:39:42 +02:00
chardev ui/console: default vc encoding to cp437 for machine < 11.1 2026-05-09 10:24:33 +04:00
crypto MAINTAINERS: Remove my disfunctional emails 2026-04-24 21:27:22 +02:00
disas disas: Make disassemble_info::target_info field const 2026-02-03 14:57:34 +01:00
exec accel/tcg: Use TLB_FORCE_SLOW not TLB_MMIO for user-only plugins 2026-07-07 09:48:42 -07:00
fpu fpu: Export floatN_minmax 2026-05-22 11:21:37 -07:00
gdbstub gdbstub: Introduce GdbBreakpointType enumerator 2026-07-06 15:42:18 +02:00
hw hw/i2c/bcm2835_i2c: Correct CLKT register offset 2026-07-28 11:36:49 +01:00
io io: add missing coroutine annotation 2026-07-27 15:51:03 +04:00
libdecnumber include/libdecnumber: replace FSF postal address with licenses URL 2025-06-26 00:42:37 +02:00
migration migration: Make switchover-ack re-usable 2026-07-07 07:12:46 +02:00
monitor monitor: eliminate monitor_is_hmp_non_interactive method 2026-07-07 11:16:25 +02:00
net net: Correct padding check in qemu_receive_packet() 2026-07-21 12:18:36 +02:00
plugins plugins: use int64_t for the syscall filter return value 2026-06-18 16:47:12 -07:00
qapi error: Fix "to current monitor if we have one" comments 2026-05-05 12:50:35 +02:00
qemu common-user: Move selfmap from util 2026-07-10 14:39:58 -07:00
qobject json-parser: add location to JSON parsing errors 2026-07-02 13:56:35 +02:00
qom qom: replace 'can_be_deleted' with 'prepare_delete' 2026-07-07 11:16:22 +02:00
scsi scsi: always send valid PREEMPT TYPE field 2026-05-08 16:40:03 +02:00
semihosting semihosting/uaccess: Use the cpu_internal_tswap() functions 2026-03-12 19:24:24 +00:00
standard-headers linux-headers: Update to Linux v7.2-rc1 with KVM_S390_VM_CPU_FEAT_ASTFLEIE2 2026-07-06 13:37:54 +02:00
system pci, vhost, virtio, iommu: bugfixes 2026-07-27 16:51:28 -04:00
tcg tcg: Include missing 'qemu/bitops.h' header in tcg-gvec-desc.h 2026-06-18 14:27:04 +02:00
ui ui/gtk: handle console hotplug/unplug events 2026-06-24 15:41:15 +04:00
user user/guest-host: Include exec/abi_ptr.h 2026-07-21 12:18:36 +02:00
elf.h elf: Add EF_MIPS_ARCH_ASE definitions 2025-09-02 17:57:05 +02:00
glib-compat.h glib-compat: add fallback for g_clear_fd/g_autofd 2026-06-24 15:41:14 +04:00
qemu-io.h
qemu-main.h ui & main loop: Redesign of system-specific main thread event handling 2024-12-31 21:21:34 +01:00