diff options
author | Inès Varhol <ines.varhol@telecom-paris.fr> | 2024-04-24 22:06:51 +0200 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2024-04-30 16:02:43 +0100 |
commit | c771f883f2e6db3acd7cbed0fde273bfc6cc580e (patch) | |
tree | b7c9e543bfe51866d5e90ae0af3b7c9fd88ae248 /hw/display/trace-events | |
parent | eb656a60fd93262b1e519b3162888bf261df7f68 (diff) | |
download | qemu-c771f883f2e6db3acd7cbed0fde273bfc6cc580e.zip qemu-c771f883f2e6db3acd7cbed0fde273bfc6cc580e.tar.gz qemu-c771f883f2e6db3acd7cbed0fde273bfc6cc580e.tar.bz2 |
hw/display : Add device DM163
This device implements the IM120417002 colors shield v1.1 for Arduino
(which relies on the DM163 8x3-channel led driving logic) and features
a simple display of an 8x8 RGB matrix. The columns of the matrix are
driven by the DM163 and the rows are driven externally.
Acked-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Arnaud Minier <arnaud.minier@telecom-paris.fr>
Signed-off-by: Inès Varhol <ines.varhol@telecom-paris.fr>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-id: 20240424200929.240921-2-ines.varhol@telecom-paris.fr
[PMM: updated to new reset hold method prototype]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/display/trace-events')
-rw-r--r-- | hw/display/trace-events | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/hw/display/trace-events b/hw/display/trace-events index 2336a0c..781f8a3 100644 --- a/hw/display/trace-events +++ b/hw/display/trace-events @@ -177,3 +177,17 @@ macfb_ctrl_write(uint64_t addr, uint64_t value, unsigned int size) "addr 0x%"PRI macfb_sense_read(uint32_t value) "video sense: 0x%"PRIx32 macfb_sense_write(uint32_t value) "video sense: 0x%"PRIx32 macfb_update_mode(uint32_t width, uint32_t height, uint8_t depth) "setting mode to width %"PRId32 " height %"PRId32 " size %d" + +# dm163.c +dm163_redraw(uint8_t redraw) "0x%02x" +dm163_dck(unsigned new_state) "dck : %u" +dm163_en_b(unsigned new_state) "en_b : %u" +dm163_rst_b(unsigned new_state) "rst_b : %u" +dm163_lat_b(unsigned new_state) "lat_b : %u" +dm163_sin(unsigned new_state) "sin : %u" +dm163_selbk(unsigned new_state) "selbk : %u" +dm163_activated_rows(int new_state) "Activated rows : 0x%" PRIx32 "" +dm163_bits_ppi(unsigned dest_width) "dest_width : %u" +dm163_leds(int led, uint32_t value) "led %d: 0x%x" +dm163_channels(int channel, uint8_t value) "channel %d: 0x%x" +dm163_refresh_rate(uint32_t rr) "refresh rate %d" |