From: "Philippe Mathieu-Daudé" <philmd@linaro.org>
To: "Corvin Köhne" <corvin.koehne@gmail.com>, qemu-devel@nongnu.org
Cc: "Peter Maydell" <peter.maydell@linaro.org>,
"Yannick Voßen" <y.vossen@beckhoff.com>,
qemu-block@nongnu.org, "Paolo Bonzini" <pbonzini@redhat.com>,
"Hanna Reitz" <hreitz@redhat.com>,
"Alistair Francis" <alistair@alistair23.me>,
qemu-arm@nongnu.org, "Corvin Köhne" <c.koehne@beckhoff.com>,
"Kevin Wolf" <kwolf@redhat.com>,
"Edgar E. Iglesias" <edgar.iglesias@gmail.com>
Subject: Re: [PATCH v4 11/15] hw/misc: Add Beckhoff CCAT device
Date: Wed, 12 Nov 2025 12:36:43 +0100 [thread overview]
Message-ID: <f2c596fe-292c-4b82-a332-1087c1c61732@linaro.org> (raw)
In-Reply-To: <20251111102836.212535-12-corvin.koehne@gmail.com>
On 11/11/25 11:28, Corvin Köhne wrote:
> From: YannickV <Y.Vossen@beckhoff.com>
>
> This adds the Beckhoff Communication Controller (CCAT). The information
> block, EEPROM interface and DMA controller are currently implemented.
>
> The EEPROM provides production information for Beckhoff Devices.
> An EEPORM binary must therefor be handed over. It should be aligned to
> a power of two. If no EEPROM binary is handed over an empty EEPROM of
> size 4096 is initialized.
>
> This device is needed for the Beckhoff CX7200 board emulation.
>
> Signed-off-by: YannickV <Y.Vossen@beckhoff.com>
> ---
> hw/misc/Kconfig | 3 +
> hw/misc/beckhoff_ccat.c | 338 ++++++++++++++++++++++++++++++++++++++++
> hw/misc/meson.build | 1 +
> 3 files changed, 342 insertions(+)
> create mode 100644 hw/misc/beckhoff_ccat.c
> +#define TYPE_BECKHOFF_CCAT "beckhoff-ccat"
> +OBJECT_DECLARE_SIMPLE_TYPE(BeckhoffCcat, BECKHOFF_CCAT)
> +
> +#define MAX_NUM_SLOTS 32
> +#define CCAT_FUNCTION_BLOCK_SIZE 16
> +
> +#define CCAT_EEPROM_OFFSET 0x100
> +#define CCAT_DMA_OFFSET 0x8000
> +
> +#define CCAT_MEM_SIZE 0xFFFF
Likely
#define CCAT_MEM_SIZE (64 * KiB)
> +#define CCAT_DMA_SIZE 0x800
> +#define CCAT_EEPROM_SIZE 0x20
> +
> +#define EEPROM_MEMORY_SIZE 0x1000
next prev parent reply other threads:[~2025-11-12 11:37 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-11 10:28 [PATCH v4 00/15] hw/arm: add Beckhoff CX7200 board Corvin Köhne
2025-11-11 10:28 ` [PATCH v4 01/15] hw/timer: Make frequency configurable Corvin Köhne
2025-11-12 11:24 ` Philippe Mathieu-Daudé
2025-11-11 10:28 ` [PATCH v4 02/15] hw/timer: Make PERIPHCLK divider configurable Corvin Köhne
2025-11-12 11:25 ` Philippe Mathieu-Daudé
2025-11-11 10:28 ` [PATCH v4 03/15] hw/dma/zynq-devcfg: Handle bitstream loading via DMA to 0xffffffff Corvin Köhne
2025-11-11 10:28 ` [PATCH v4 04/15] hw/arm/zynq-devcfg: Prevent unintended unlock during initialization Corvin Köhne
2025-11-12 11:27 ` Philippe Mathieu-Daudé
2025-11-11 10:28 ` [PATCH v4 05/15] hw/dma/zynq: Ensure PCFG_DONE bit remains set to indicate PL is in user mode Corvin Köhne
2025-11-11 10:28 ` [PATCH v4 06/15] hw/dma/zynq-devcfg: Simulate dummy PL reset Corvin Köhne
2025-11-11 10:28 ` [PATCH v4 07/15] hw/dma/zynq-devcfg: Indicate power-up status of PL Corvin Köhne
2025-11-11 10:28 ` [PATCH v4 08/15] hw/dma/zynq-devcfg: Fix register memory Corvin Köhne
2025-11-12 11:31 ` [PATCH-for-10.2 " Philippe Mathieu-Daudé
2025-11-11 10:28 ` [PATCH v4 09/15] hw/misc: Add dummy ZYNQ DDR controller Corvin Köhne
2025-11-11 10:28 ` [PATCH v4 10/15] hw/misc/zynq_slcr: Add logic for DCI configuration Corvin Köhne
2025-11-11 10:28 ` [PATCH v4 11/15] hw/misc: Add Beckhoff CCAT device Corvin Köhne
2025-11-12 11:36 ` Philippe Mathieu-Daudé [this message]
2025-11-11 10:28 ` [PATCH v4 12/15] hw/block/m25p80: Add HAS_SR_TB flag for is25lp016d Corvin Köhne
2025-11-11 10:28 ` [PATCH v4 13/15] hw/arm: Add new machine based on xilinx-zynq-a9 for Beckhoff CX7200 Corvin Köhne
2025-11-12 11:43 ` Philippe Mathieu-Daudé
2025-11-11 10:28 ` [PATCH v4 14/15] tests/functional: Add a Beckhoff CX7200 test Corvin Köhne
2025-11-12 11:44 ` Philippe Mathieu-Daudé
2025-11-11 10:28 ` [PATCH v4 15/15] docs/system/arm: Add support for Beckhoff CX7200 Corvin Köhne
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=f2c596fe-292c-4b82-a332-1087c1c61732@linaro.org \
--to=philmd@linaro.org \
--cc=alistair@alistair23.me \
--cc=c.koehne@beckhoff.com \
--cc=corvin.koehne@gmail.com \
--cc=edgar.iglesias@gmail.com \
--cc=hreitz@redhat.com \
--cc=kwolf@redhat.com \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-arm@nongnu.org \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=y.vossen@beckhoff.com \
/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).