dm: gpio: add BMIPS gpio support
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest5 patches 0 repliesNew
- v15 patches 0 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | dm: gpio: add BCM6345 gpio driverdrivers/ drivers/ drivers/ | +132 | 0 replies | |
| 2/5 | mips: bmips: add bcm6345-gpio driver support for BCM6358arch/ | +19 | 0 replies | |
| 3/5 | mips: bmips: add bcm6345-gpio driver support for BCM6328arch/ | +9 | 0 replies | |
| 4/5 | mips: bmips: add bcm6345-gpio driver support for BCM63268arch/ | +19 | 0 replies | |
| 5/5 | mips: bmips: add Huawei HG556a gpio-ledsarch/ configs/ | +77 | 0 replies |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Simon Glass |
|---|---|
| 1/5 | R-b |
| 2/5 | R-b |
| 3/5 | R-b |
| 4/5 | R-b |
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [U-Boot] [PATCH v2 0/5] dm: gpio: add BMIPS gpio support
Broadcom MIPS SoCs have one or two GPIO banks, depending on the number of gpios present:
BCM6345 => 16 GPIOs / 1 bank
BCM6328 => 32 GPIOs / 1 bank
BCM6358 => 40 GPIOs / 2 banks
BCM63268 => 52 GPIOs / 2 banks
typedef struct GpioControl {
uint32 GPIODirHi; /* 0 */
uint32 GPIODir; /* 4 */
uint32 GPIOioHi; /* 8 */
uint32 GPIOio; /* C */
}v2: Introduce changes suggested by Simon Glass
Álvaro Fernández Rojas (5):
dm: gpio: add BCM6345 gpio driver
mips: bmips: add bcm6345-gpio driver support for BCM6358
mips: bmips: add bcm6345-gpio driver support for BCM6328
mips: bmips: add bcm6345-gpio driver support for BCM63268
mips: bmips: add Huawei HG556a gpio-leds
arch/mips/dts/brcm,bcm63268.dtsi | 19 ++++++ arch/mips/dts/brcm,bcm6328.dtsi | 9 +++ arch/mips/dts/brcm,bcm6358.dtsi | 19 ++++++ arch/mips/dts/huawei,hg556a.dts | 73 +++++++++++++++++++++ configs/huawei_hg556a_ram_defconfig | 4 ++ drivers/gpio/Kconfig | 6 ++ drivers/gpio/Makefile | 1 + drivers/gpio/bcm6345_gpio.c | 125 ++++++++++++++++++++++++++++++++++++ 8 files changed, 256 insertions(+) create mode 100644 drivers/gpio/bcm6345_gpio.c
Signature · 1 line
2.1.4