diff options
author | Cédric Le Goater <clg@redhat.com> | 2024-03-25 14:48:32 +0100 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2024-03-25 15:05:38 +0100 |
commit | 6328d8ffa6cb9d750e4bfcfd73ac25d3a39ceb63 (patch) | |
tree | 07639dcded649a542df4da9750eb4514f65591ce /hw/gpio/trace-events | |
parent | 1967e9e06709c2b3de8b071d94da3856ba5b1ce6 (diff) | |
download | qemu-6328d8ffa6cb9d750e4bfcfd73ac25d3a39ceb63.zip qemu-6328d8ffa6cb9d750e4bfcfd73ac25d3a39ceb63.tar.gz qemu-6328d8ffa6cb9d750e4bfcfd73ac25d3a39ceb63.tar.bz2 |
misc/pca955*: Move models under hw/gpio
The PCA9552 and PCA9554 devices are both I2C GPIO controllers and the
PCA9552 also can drive LEDs. Do all the necessary adjustments to move
the models under hw/gpio.
Cc: Glenn Miles <milesg@linux.vnet.ibm.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Message-ID: <20240325134833.1484265-1-clg@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'hw/gpio/trace-events')
-rw-r--r-- | hw/gpio/trace-events | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/gpio/trace-events b/hw/gpio/trace-events index 9331f42..b91cc7e 100644 --- a/hw/gpio/trace-events +++ b/hw/gpio/trace-events @@ -13,6 +13,10 @@ nrf51_gpio_write(uint64_t offset, uint64_t value) "offset 0x%" PRIx64 " value 0x nrf51_gpio_set(int64_t line, int64_t value) "line %" PRIi64 " value %" PRIi64 nrf51_gpio_update_output_irq(int64_t line, int64_t value) "line %" PRIi64 " value %" PRIi64 +# pca9552.c +pca955x_gpio_status(const char *description, const char *buf) "%s GPIOs 0-15 [%s]" +pca955x_gpio_change(const char *description, unsigned id, unsigned prev_state, unsigned current_state) "%s GPIO id:%u status: %u -> %u" + # pl061.c pl061_update(const char *id, uint32_t dir, uint32_t data, uint32_t pullups, uint32_t floating) "%s GPIODIR 0x%x GPIODATA 0x%x pullups 0x%x floating 0x%x" pl061_set_output(const char *id, int gpio, int level) "%s setting output %d to %d" |