From: Rayhan Faizel <rayhan.faizel@gmail.com>
To: qemu-devel@nongnu.org
Cc: peter.maydell@linaro.org, philmd@linaro.org, pbonzini@redhat.com,
qemu-arm@nongnu.org, Rayhan Faizel <rayhan.faizel@gmail.com>
Subject: [PATCH 0/3] Add support for I2C in BCM2835 boards
Date: Mon, 19 Feb 2024 22:51:30 +0300 [thread overview]
Message-ID: <20240219195133.2304668-1-rayhan.faizel@gmail.com> (raw)
This patch series implements support for the Broadcom Serial Controller used
by BCM2835 based boards for I2C.
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 | 277 +++++++++++++++++++++++++++
hw/i2c/meson.build | 1 +
include/hw/arm/bcm2835_peripherals.h | 3 +-
include/hw/i2c/bcm2835_i2c.h | 80 ++++++++
tests/qtest/bcm2835-i2c-test.c | 105 ++++++++++
tests/qtest/meson.build | 2 +-
10 files changed, 501 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
next reply other threads:[~2024-02-19 19:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-19 19:51 Rayhan Faizel [this message]
2024-02-19 19:51 ` [PATCH 1/3] hw/i2c: Implement Broadcom Serial Controller (BSC) Rayhan Faizel
2024-02-19 19:51 ` [PATCH 2/3] hw/arm: Connect BSC to BCM2835 board as I2C0, I2C1 and I2C2 Rayhan Faizel
2024-02-19 19:51 ` [PATCH 3/3] tests/qtest: Add testcase for BCM2835 BSC Rayhan Faizel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240219195133.2304668-1-rayhan.faizel@gmail.com \
--to=rayhan.faizel@gmail.com \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=philmd@linaro.org \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).