Skip to content

dm: gpio: add BMIPS gpio support

Álvaro Fernández Rojas u-boot 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 0 repliesNew
  2. v15 patches 0 repliesSuperseded

Patches in v2 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 -00 replies
2/5mips: bmips: add bcm6345-gpio driver support for BCM6358arch/mips/dts/brcm,bcm6358.dtsi+19 -00 replies
3/5mips: bmips: add bcm6345-gpio driver support for BCM6328arch/mips/dts/brcm,bcm6328.dtsi+9 -00 replies
4/5mips: bmips: add bcm6345-gpio driver support for BCM63268arch/mips/dts/brcm,bcm63268.dtsi+19 -00 replies
5/5mips: bmips: add Huawei HG556a gpio-ledsarch/mips/dts/huawei,hg556a.dts configs/huawei_hg556a_ram_defconfig+77 -00 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchSimon Glass
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 v2 thread

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