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
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
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
;
[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
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
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
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
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
---
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
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
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
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
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
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
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
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
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
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
18 matches
Mail list logo