[U-Boot] [PATCH v3 00/28] Add and update drivers for MediaTek MT76x8 SoCs

Stefan Roese sr at denx.de
Sun Sep 29 10:43:31 UTC 2019


Hi Daniel,

On 25.09.19 13:09, Daniel Schwierzeck wrote:
> 
> 
> Am 25.09.19 um 11:45 schrieb Weijie Gao:
>> This patch series have the following changes:
>>
>> - Add pinctrl(both pinmux and pinconf) driver, reset controller driver and
>>     clock driver for mt7628.
>> - Add mt7628 platform to mtk-sd driver.
>> - Modify mt7628's ethernet & usb phy driver to take advantages from the new
>>     drivers.
>> - Update mt7621-spi driver with a new transfer method.
>> - Enable fifo, disable flow control, and enable non-DM implementation for mtk
>>     hsuart driver.
>> - Enanble the new drivers for currently existed mt7628 boards.
>>
>> Changes of v2:
>> - Change clock gateing driver to a more 'generic' driver which supports output
>>    clock rates of CPU/SYS_BUS/peripherals.
>> - mt7621-spi now uses accurate sys_freq from clock driver.
>> - Make PHY link detection optional via DT.
>> - Select essential drivers in Kconfig instead of setting in defconfig files.
>>
>> Changes of v3:
>> - Add const qualifier for structs in pinctrl-mt7628.c.
>> - Make mt76x8-usb-phy depends on SOC_MT7628.
>> - Simplify logic of card-detection in mtk-sd.c.
> 
> from my side for the whole series:
> 
> Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck at gmail.com>
> 
> it would be great if Stefan could give a Tested-by for the Gardena boards ;)

I'm just back from vacation and will try to review and test this
patch series beginning (latest mid) of next week.

Thanks,
Stefan
  
>>
>> Weijie Gao (28):
>>    serial: serial_mtk: enable FIFO and disable flow control
>>    serial: serial_mtk: add non-DM version for SPL
>>    dts: mtmips: move uart property clock-frequency into mt7628an.dtsi
>>    dts: mtmips: enable high-speed UART support for mt7628
>>    clk: add clock driver for MediaTek MT76x8 platform
>>    dts: mtmips: add clock node for mt7628
>>    spi: mt7621-spi: use clock frequency from clk driver
>>    spi: mt7621-spi: remove data cache and rewrite its xfer function
>>    spi: mt7621-spi: restore default register value after each xfer
>>    pinctrl: add support for MediaTek MT7628
>>    dts: mtmips: add pinctrl node for mt7628
>>    dts: mtmips: add default pinctrl for uart nodes
>>    reset: add reset controller driver for MediaTek MIPS platform
>>    dts: mtmips: update reset controller node for mt7628
>>    phy: mt76x8-usb-phy: add slew rate calibration and remove non-mt7628
>>      part
>>    net: mt7628-eth: remove hardcoded gpio settings and regmap-based phy
>>      reset
>>    net: mt7628-eth: make phy link up detection optional via DT
>>    net: mt7628-eth: free rx descriptor on receiving failure
>>    net: mt7628-eth: add support to isolate LAN/WAN ports
>>    dts: mtmips: enable eth port0 led and link poll functions for all
>>      boards
>>    mmc: mtk-sd: add support for MediaTek MT7620/MT7628 SoCs
>>    mmc: mtk-sd: add a dts property cd-active-high for builtin-cd mode
>>    dts: mtmips: add mmc related nodes for mt7628an.dtsi
>>    dts: mtmips: add default pinctrl for gardena-smart-gateway-mt7688
>>    dts: mtmips: add default pinctrl to eth nodes for all boards
>>    mips: mtmips: change baudrate table for all boards
>>    mips: mtmips: select essential drivers in Kconfig
>>    configs: mtmips: remove configs which are selected in Kconfig or
>>      useless
>>
>>   arch/mips/Kconfig                             |   6 +
>>   .../mips/dts/gardena-smart-gateway-mt7688.dts |  19 +-
>>   arch/mips/dts/linkit-smart-7688.dts           |  16 +-
>>   arch/mips/dts/mt7628a.dtsi                    | 246 +++++++-
>>   arch/mips/mach-mtmips/Kconfig                 |   2 +
>>   ...gardena-smart-gateway-mt7688-ram_defconfig |   7 -
>>   .../gardena-smart-gateway-mt7688_defconfig    |   7 -
>>   configs/linkit-smart-7688-ram_defconfig       |   7 -
>>   configs/linkit-smart-7688_defconfig           |   7 -
>>   drivers/clk/Makefile                          |   1 +
>>   drivers/clk/mtmips/Makefile                   |   3 +
>>   drivers/clk/mtmips/clk-mt7628.c               | 158 +++++
>>   drivers/mmc/Kconfig                           |   2 +-
>>   drivers/mmc/mtk-sd.c                          |  29 +-
>>   drivers/net/Kconfig                           |   1 +
>>   drivers/net/mt7628-eth.c                      | 135 ++--
>>   drivers/phy/Kconfig                           |   1 +
>>   drivers/phy/mt76x8-usb-phy.c                  | 225 +++++--
>>   drivers/pinctrl/Kconfig                       |   1 +
>>   drivers/pinctrl/Makefile                      |   1 +
>>   drivers/pinctrl/mtmips/Kconfig                |  13 +
>>   drivers/pinctrl/mtmips/Makefile               |   7 +
>>   drivers/pinctrl/mtmips/pinctrl-mt7628.c       | 585 ++++++++++++++++++
>>   .../pinctrl/mtmips/pinctrl-mtmips-common.c    |  87 +++
>>   .../pinctrl/mtmips/pinctrl-mtmips-common.h    |  53 ++
>>   drivers/reset/Kconfig                         |   7 +
>>   drivers/reset/Makefile                        |   1 +
>>   drivers/reset/reset-mtmips.c                  |  82 +++
>>   drivers/serial/serial.c                       |   2 +
>>   drivers/serial/serial_mtk.c                   | 223 ++++++-
>>   drivers/spi/mt7621_spi.c                      | 247 ++++----
>>   .../configs/gardena-smart-gateway-mt7688.h    |   2 +-
>>   include/configs/linkit-smart-7688.h           |   2 +-
>>   include/dt-bindings/clock/mt7628-clk.h        |  37 ++
>>   include/dt-bindings/reset/mt7628-reset.h      |  36 ++
>>   35 files changed, 1929 insertions(+), 329 deletions(-)
>>   create mode 100644 drivers/clk/mtmips/Makefile
>>   create mode 100644 drivers/clk/mtmips/clk-mt7628.c
>>   create mode 100644 drivers/pinctrl/mtmips/Kconfig
>>   create mode 100644 drivers/pinctrl/mtmips/Makefile
>>   create mode 100644 drivers/pinctrl/mtmips/pinctrl-mt7628.c
>>   create mode 100644 drivers/pinctrl/mtmips/pinctrl-mtmips-common.c
>>   create mode 100644 drivers/pinctrl/mtmips/pinctrl-mtmips-common.h
>>   create mode 100644 drivers/reset/reset-mtmips.c
>>   create mode 100644 include/dt-bindings/clock/mt7628-clk.h
>>   create mode 100644 include/dt-bindings/reset/mt7628-reset.h
>>
> 

Viele Grüße,
Stefan

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr at denx.de


More information about the U-Boot mailing list