Skip to content

dm: gpio: add BMIPS gpio support

Álvaro Fernández Rojas u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5dm: gpio: add BCM6345 gpio driverdrivers/gpio/Kconfig drivers/gpio/Makefile drivers/gpio/bcm6345_gpio.c+132 -01 reply
2/5mips: bmips: add bcm6345-gpio driver support for BCM6358arch/mips/dts/brcm,bcm6358.dtsi+19 -01 reply
3/5mips: bmips: add bcm6345-gpio driver support for BCM6328arch/mips/dts/brcm,bcm6328.dtsi+9 -01 reply
4/5mips: bmips: add bcm6345-gpio driver support for BCM63268arch/mips/dts/brcm,bcm63268.dtsi+19 -01 reply
5/5mips: bmips: add Huawei HG556a gpio-ledsarch/mips/dts/huawei,hg556a.dts configs/huawei_hg556a_ram_defconfig+77 -01 reply

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchSimon Glass
SeriesR-b R-b R-b R-b R-b
1/5R-b
2/5R-b
3/5R-b
4/5R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [U-Boot] [PATCH 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 */
}

Á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