[U-Boot] [PATCH v3 0/6] mips: mscc: gpio: Add MSCC serial GPIO driver

Daniel Schwierzeck daniel.schwierzeck at gmail.com
Thu Jan 3 15:36:49 UTC 2019



Am 02.01.19 um 09:52 schrieb Lars Povlsen:
> This patch series add the GPIO device (SIO) in the MSCC VCoreIII-based
> SOCs, and enables it on the supported platforms.
> 
> By using a serial interface, the SIO controller significantly extends
> the number of available GPIOs with a minimum number of additional pins
> on the device. The primary purpose of the SIO controller is to connect
> control signals from SFP modules and to act as an LED controller.
> 
> This version address comments from Daniel Schwierzeck
> <daniel.schwierzeck at gmail.com> and Linus Walleij
> <linus.walleij at linaro.org>.
> 
> This is based off the u-boot-mips repository.
> 
> v3 changes:
>  - Fail driver load if clk_get_rate() fails
>  - Use dev_remap_addr() instead of map_physmem()
>  - Use dev_err instead of printf
>  - (DT doc) ngpios: Refer to gpio.txt
> 
> v2 changes:
>  - Extended the DT bindings documentation
>  - Eliminated the need for the "mscc,sgpio-bitcount" property.
>  - Using dev_read_u32_default() instead of fdtdec_get_int()
>  - Using map_physmem()
>  - Added MAINTAINERS entry for driver
> 
> Lars Povlsen (6):
>   mips: mscc_sgpio: Add the MSCC serial GPIO device (SIO)
>   mips: mscc_sgpio: Add DT bindings documentation
>   mips: luton: DT: Enable use of serial gpio
>   mips: luton: Enable use of serial gpio for LED
>   mips: ocelot: DT: Enable use of serial gpio
>   mips: ocelot: Enable use of serial gpio for LED
> 
>  MAINTAINERS                                  |   1 +
>  arch/mips/dts/luton_pcb090.dts               |  21 ++
>  arch/mips/dts/luton_pcb091.dts               |  27 ++
>  arch/mips/dts/mscc,luton.dtsi                |  20 ++
>  arch/mips/dts/mscc,ocelot.dtsi               |  23 ++
>  arch/mips/dts/ocelot_pcb120.dts              |  76 +++++
>  arch/mips/dts/ocelot_pcb123.dts              |  25 ++
>  board/mscc/luton/luton.c                     |   6 +
>  board/mscc/ocelot/ocelot.c                   |   6 +
>  configs/mscc_luton_defconfig                 |   3 +
>  configs/mscc_ocelot_defconfig                |   3 +
>  doc/device-tree-bindings/gpio/mscc_sgpio.txt |  45 +++
>  drivers/gpio/Kconfig                         |  11 +
>  drivers/gpio/Makefile                        |   1 +
>  drivers/gpio/mscc_sgpio.c                    | 275 +++++++++++++++++++
>  15 files changed, 543 insertions(+)
>  create mode 100644 doc/device-tree-bindings/gpio/mscc_sgpio.txt
>  create mode 100644 drivers/gpio/mscc_sgpio.c
> 

series applied to u-boot-mips/next, thanks.

-- 
- Daniel


More information about the U-Boot mailing list