[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 08/44] Connect SD controller to BCM2838 GPIO
From: |
Peter Maydell |
Subject: |
Re: [PATCH 08/44] Connect SD controller to BCM2838 GPIO |
Date: |
Fri, 4 Aug 2023 13:28:24 +0100 |
On Wed, 26 Jul 2023 at 15:00, Sergey Kambalin <serg.oker@gmail.com> wrote:
>
> Signed-off-by: Sergey Kambalin <sergey.kambalin@auriga.com>
> ---
> hw/gpio/bcm2838_gpio.c | 52 +++++++++++++++++++++++++++++++++-
> include/hw/gpio/bcm2838_gpio.h | 6 ++++
> 2 files changed, 57 insertions(+), 1 deletion(-)
Looking at the last three patches, the code for this
device seems very very similar to the existing
bcm2835_gpio device. What exactly are the differences?
It looks like maybe just the number of powerup/down
registers -- could we share the same device model and
give it a new property for "number of PUP_PDN regs" to
avoid duplicating 300+ lines of code ? Or are there
other differences I've missed?
thanks
-- PMM
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [PATCH 08/44] Connect SD controller to BCM2838 GPIO,
Peter Maydell <=