[PATCH 8/8] Ping : hw/gpio Fix license statements in avr_gpio

2022-09-18 Thread Heecheol Yang
I send this patch to continue our works discussed about two years ago. Due to my personal issue, I couldn't noticed that there were some issues in license statements in the code. I am very sorry for my late response and politely request to check this patch. Signed-off-by: Heecheol

[PATCH 7/8] hw/avr/arduino: Replace magic number by gpio_port_index() call

2022-09-12 Thread Heecheol Yang
From: Philippe Mathieu-Daudé The '1' magic value means 'Port B'. Introduce and use the gpio_port_index() helper to explicit the port name. Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20210313165445.2113938-10-f4...@amsat.org> Reviewed-by: Michael Rolnik Si

[PATCH 1/8] hw/avr: Add limited support for avr gpio registers

2022-09-12 Thread Heecheol Yang
Add some of these features for AVR GPIO: - GPIO I/O : PORTx registers - Data Direction : DDRx registers - DDRx toggling : PINx registers Following things are not supported yet: - MCUR registers Signed-off-by: Heecheol Yang Reviewed-by: Michael Rolnik Message-Id: [PMD: Use

[PATCH 5/8] hw/gpio/avr_gpio: Add tracing for reads and writes

2022-09-12 Thread Heecheol Yang
; [PMD: Added port_name(), display port name in trace events] Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20210313165445.2113938-8-f4...@amsat.org> Signed-off-by: Heecheol Yang --- hw/gpio/avr_gpio.c | 26 +- hw/gpio/trace-events | 5 + 2 files changed, 2

[PATCH 6/8] hw/avr/arduino: Add D13 LED

2022-09-12 Thread Heecheol Yang
g> Signed-off-by: Heecheol Yang --- hw/avr/Kconfig | 1 + hw/avr/arduino.c | 19 +++ 2 files changed, 20 insertions(+) diff --git a/hw/avr/Kconfig b/hw/avr/Kconfig index 16a57ced11..e0d4fc5537 100644 --- a/hw/avr/Kconfig +++ b/hw/avr/Kconfig @@ -8,3 +8,4 @@ config AVR_ATMEGA

[PATCH 4/8] hw/gpio/avr_gpio: Simplify avr_gpio_write_port using extract32()

2022-09-12 Thread Heecheol Yang
From: Philippe Mathieu-Daudé Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20210313165445.2113938-7-f4...@amsat.org> Reviewed-by: Michael Rolnik Signed-off-by: Heecheol Yang --- hw/gpio/avr_gpio.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/h

[PATCH 8/8] Fix license statements

2022-09-12 Thread Heecheol Yang
Signed-off-by: Heecheol Yang --- hw/gpio/avr_gpio.c | 16 include/hw/gpio/avr_gpio.h | 15 +++ 2 files changed, 7 insertions(+), 24 deletions(-) diff --git a/hw/gpio/avr_gpio.c b/hw/gpio/avr_gpio.c index 29252d6ccf..7613ca6493 100644 --- a/hw/gpio/avr_gpio.c

[PATCH 3/8] hw/gpio/avr_gpio: Add 'id' field in AVRGPIOState

2022-09-12 Thread Heecheol Yang
From: Philippe Mathieu-Daudé AVR MCU have various GPIO ports. Add an 'id' property to distinct all instances. Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20210313165445.2113938-6-f4...@amsat.org> Reviewed-by: Michael Rolnik Signed-off-by: Heecheol Yang ---

[PATCH 2/8] hw/gpio/avr_gpio: Add migration VMstate

2022-09-12 Thread Heecheol Yang
From: Philippe Mathieu-Daudé Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20210313165445.2113938-5-f4...@amsat.org> Reviewed-by: Michael Rolnik Signed-off-by: Heecheol Yang --- hw/gpio/avr_gpio.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/hw/gpio/avr_gp

[PATCH v5] hw/avr: Add limited support for avr gpio registers

2020-10-10 Thread Heecheol Yang
Add some of these features for AVR GPIO: - GPIO I/O : PORTx registers - Data Direction : DDRx registers - DDRx toggling : PINx registers Following things are not supported yet: - MCUR registers Signed-off-by: Heecheol Yang --- hw/avr/Kconfig | 1 + hw/avr/atmega.c

Re: [PATCH v5] hw/avr: Add limited support for avr gpio registers

2020-10-08 Thread Heecheol Yang
Hello, I've submitted this patch below, but couldn't get any review for it. Because I am very first at this kind of work, I'm afraid that I am doing something wrong or rude. Please can I know if there was something inappropriate? Thanks a lot! Best regards Heecheol Yang

[PATCH v5] hw/avr: Add limited support for avr gpio registers

2020-10-06 Thread Heecheol Yang
Add some of these features for AVR GPIO: - GPIO I/O : PORTx registers - Data Direction : DDRx registers - DDRx toggling : PINx registers Following things are not supported yet: - MCUR registers Signed-off-by: Heecheol Yang --- hw/avr/Kconfig | 1 + hw/avr/atmega.c

[PATCH v5] hw/avr: Add limited support for avr gpio registers

2020-10-05 Thread Heecheol Yang
Add some of these features for AVR GPIO: - GPIO I/O : PORTx registers - Data Direction : DDRx registers - DDRx toggling : PINx registers Following things are not supported yet: - MCUR registers Signed-off-by: Heecheol Yang --- hw/avr/Kconfig | 1 + hw/avr/atmega.c

[PATCH v4] hw/avr: Add limited support for avr gpio registers

2020-10-04 Thread Heecheol Yang
supported yet. Signed-off-by: Heecheol Yang --- hw/avr/Kconfig | 1 + hw/avr/atmega.c| 7 ++- hw/avr/atmega.h| 2 + hw/gpio/Kconfig| 3 + hw/gpio/avr_gpio.c | 112 + hw/gpio/meson.build| 2

[PATCH v4] hw/avr: Add limited support for avr gpio registers

2020-10-04 Thread Heecheol Yang
supported yet. Signed-off-by: Heecheol Yang --- hw/avr/Kconfig | 1 + hw/avr/atmega.c| 7 ++- hw/avr/atmega.h| 2 + hw/gpio/Kconfig| 3 + hw/gpio/avr_gpio.c | 112 + hw/gpio/meson.build| 2

[PATCH v2] hw/avr: Add limited support for avr gpio registers

2020-10-03 Thread Heecheol Yang
supported yet. Signed-off-by: Heecheol Yang --- hw/avr/Kconfig | 1 + hw/avr/atmega.c| 7 ++- hw/avr/atmega.h| 2 + hw/gpio/Kconfig| 3 + hw/gpio/avr_gpio.c | 112 + hw/gpio/meson.build| 2

[PATCH v3] hw/avr: Add limited support for avr gpio registers

2020-10-03 Thread Heecheol Yang
anks a lot! With best regards Heecheol Yang. Add some of these features for avr gpio:   - GPIO I/O : PORTx registers   - Data Direction : DDRx registers Following things are not supported yet:   - PINx registers   - MCUR registers   - Even though read/write for DDRx registers are     implement

[PATCH] hw/avr: Add limited support for avr gpio registers

2020-10-02 Thread Heecheol Yang
    supported yet. Signed-off-by: Heecheol Yang ---  hw/avr/Kconfig |   1 +  hw/avr/atmega.c    |   7 ++-  hw/avr/atmega.h    |   2 +  hw/gpio/Kconfig    |   3 +  hw/gpio/avr_gpio.c | 117 +  hw/gpio/meson.build    |   2