qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Add support for I2C in BCM2835 boards
@ 2024-02-19 22:59 Rayhan Faizel
  2024-02-19 22:59 ` [PATCH v2 1/3] hw/i2c: Implement Broadcom Serial Controller (BSC) Rayhan Faizel
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Rayhan Faizel @ 2024-02-19 22:59 UTC (permalink / raw)
  To: qemu-devel; +Cc: peter.maydell, philmd, pbonzini, qemu-arm, Rayhan Faizel

This patch series implements support for the Broadcom Serial Controller used
by BCM2835 based boards for I2C.

[Changes in v2]

- Fixed and simplified writing to status register

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/481
Signed-off-by: Rayhan Faizel <rayhan.faizel@gmail.com>

Rayhan Faizel (3):
  hw/i2c: Implement Broadcom Serial Controller (BSC)
  hw/arm: Connect BSC to BCM2835 board as I2C0, I2C1 and I2C2
  tests/qtest: Add testcase for BCM2835 BSC

 docs/system/arm/raspi.rst            |   1 +
 hw/arm/Kconfig                       |   1 +
 hw/arm/bcm2835_peripherals.c         |  32 +++-
 hw/i2c/Kconfig                       |   4 +
 hw/i2c/bcm2835_i2c.c                 | 274 +++++++++++++++++++++++++++
 hw/i2c/meson.build                   |   1 +
 include/hw/arm/bcm2835_peripherals.h |   3 +-
 include/hw/i2c/bcm2835_i2c.h         |  78 ++++++++
 tests/qtest/bcm2835-i2c-test.c       | 105 ++++++++++
 tests/qtest/meson.build              |   2 +-
 10 files changed, 496 insertions(+), 5 deletions(-)
 create mode 100644 hw/i2c/bcm2835_i2c.c
 create mode 100644 include/hw/i2c/bcm2835_i2c.h
 create mode 100644 tests/qtest/bcm2835-i2c-test.c

-- 
2.34.1



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-02-20 10:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-19 22:59 [PATCH v2 0/3] Add support for I2C in BCM2835 boards Rayhan Faizel
2024-02-19 22:59 ` [PATCH v2 1/3] hw/i2c: Implement Broadcom Serial Controller (BSC) Rayhan Faizel
2024-02-19 22:59 ` [PATCH v2 2/3] hw/arm: Connect BSC to BCM2835 board as I2C0, I2C1 and I2C2 Rayhan Faizel
2024-02-19 22:59 ` [PATCH v2 3/3] tests/qtest: Add testcase for BCM2835 BSC Rayhan Faizel
2024-02-20  6:45   ` Thomas Huth
2024-02-20 10:30     ` Rayhan Faizel
2024-02-20 10:41       ` Thomas Huth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).