Browse Source
Moves the Aspeed I3C model and traces into hw/i3c and creates I3C build files. Signed-off-by: Joe Komlodi <komlodi@google.com> Reviewed-by: Patrick Venture <venture@google.com> Reviewed-by: Titus Rwantare <titusr@google.com> Reviewed-by: Cédric Le Goater <clg@redhat.com> Reviewed-by: Jamin Lin <jamin_lin@aspeedtech.com> Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com> Tested-by: Jithu Joseph <jithu.joseph@oss.qualcomm.com> Link: https://lore.kernel.org/qemu-devel/20260225021158.1586584-2-jamin_lin@aspeedtech.com Signed-off-by: Cédric Le Goater <clg@redhat.com>master
committed by
Cédric Le Goater
13 changed files with 20 additions and 9 deletions
@ -0,0 +1,2 @@ |
|||
config I3C |
|||
bool |
|||
@ -0,0 +1,3 @@ |
|||
i3c_ss = ss.source_set() |
|||
i3c_ss.add(when: 'CONFIG_ASPEED_SOC', if_true: files('aspeed_i3c.c')) |
|||
system_ss.add_all(when: 'CONFIG_I3C', if_true: i3c_ss) |
|||
@ -0,0 +1,7 @@ |
|||
# See docs/devel/tracing.rst for syntax documentation. |
|||
|
|||
# aspeed_i3c.c |
|||
aspeed_i3c_read(uint64_t offset, uint64_t data) "I3C read: offset 0x%" PRIx64 " data 0x%" PRIx64 |
|||
aspeed_i3c_write(uint64_t offset, uint64_t data) "I3C write: offset 0x%" PRIx64 " data 0x%" PRIx64 |
|||
aspeed_i3c_device_read(uint32_t deviceid, uint64_t offset, uint64_t data) "I3C Dev[%u] read: offset 0x%" PRIx64 " data 0x%" PRIx64 |
|||
aspeed_i3c_device_write(uint32_t deviceid, uint64_t offset, uint64_t data) "I3C Dev[%u] write: offset 0x%" PRIx64 " data 0x%" PRIx64 |
|||
@ -0,0 +1,2 @@ |
|||
/* SPDX-License-Identifier: GPL-2.0-or-later */ |
|||
#include "trace/trace-hw_i3c.h" |
|||
Loading…
Reference in new issue