mbox series

[v4,0/4] net: stmmac: Add Toshiba Visconti SoCs glue driver

Message ID 20210215152438.4318-1-nobuhiro1.iwamatsu@toshiba.co.jp
Headers show
Series net: stmmac: Add Toshiba Visconti SoCs glue driver | expand

Message

Nobuhiro Iwamatsu Feb. 15, 2021, 3:24 p.m. UTC
Hi,

This series is the ethernet driver for Toshiba's ARM SoC, Visconti[0].
This provides DT binding documentation, device driver, MAINTAINER files,
and updates to DT files.

Best regards,
  Nobuhiro

[0]:
https://toshiba.semicon-storage.com/ap-en/semiconductor/product/image-recognition-processors-visconti.htmli

Updates:

  dt-bindings: net: Add DT bindings for Toshiba Visconti TMPV7700 SoC
    v3 -> v4: No update. Resend the correct patch series.
    v2 -> v3: Change to the correct dwmac version.
              Remove description of reg property.
              Update examples, drop dma-coherent, add snps,tso, fix phy-mode.
    v1 -> v2: No update.

  net: stmmac: Add Toshiba Visconti SoCs glue driver
    v3 -> v4: No update. Resend the correct patch series.
                https://lore.kernel.org/netdev/20210215050655.2532-3-nobuhiro1.iwamatsu@toshiba.co.jp/
                did not contain the following fixes:
                  - Drop def_bool y in Kconfig
                  - Change from bool to tristate in Kconfig option.
                  - Add 'default ARCH_VISCONTI' to Kconfig option.
                
    v2 -> v3: Remove code that is no longer needed by using compatible string.
              Drop def_bool y in Kconfig
              Change from bool to tristate in Kconfig option.
              Add 'default ARCH_VISCONTI' to Kconfig option.
    v1 -> v2: Use reverse christmas tree ordering for local variable declarations.

  MAINTAINERS: Add entries for Toshiba Visconti ethernet controller
    v3 -> v4: No update. Resend the correct patch series.
    v2 -> v3: No update.
    v1 -> v2: No update.

  arm: dts: visconti: Add DT support for Toshiba Visconti5 ethernet controller
    v3 -> v4: No update
    v2 -> v3: Add "snps,dwmac-4.20a" as compatible string.
              Add snps,tso.
    v1 -> v2: No update.

Nobuhiro Iwamatsu (4):
  dt-bindings: net: Add DT bindings for Toshiba Visconti TMPV7700 SoC
  net: stmmac: Add Toshiba Visconti SoCs glue driver
  MAINTAINERS: Add entries for Toshiba Visconti ethernet controller
  arm: dts: visconti: Add DT support for Toshiba Visconti5 ethernet
    controller

 .../bindings/net/toshiba,visconti-dwmac.yaml  |  85 ++++++
 MAINTAINERS                                   |   2 +
 .../boot/dts/toshiba/tmpv7708-rm-mbrc.dts     |  18 ++
 arch/arm64/boot/dts/toshiba/tmpv7708.dtsi     |  25 ++
 drivers/net/ethernet/stmicro/stmmac/Kconfig   |   8 +
 drivers/net/ethernet/stmicro/stmmac/Makefile  |   1 +
 .../ethernet/stmicro/stmmac/dwmac-visconti.c  | 285 ++++++++++++++++++
 7 files changed, 424 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/net/toshiba,visconti-dwmac.yaml
 create mode 100644 drivers/net/ethernet/stmicro/stmmac/dwmac-visconti.c

Comments

patchwork-bot+netdevbpf@kernel.org Feb. 15, 2021, 11:10 p.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (refs/heads/master):

On Tue, 16 Feb 2021 00:24:34 +0900 you wrote:
> Hi,
> 
> This series is the ethernet driver for Toshiba's ARM SoC, Visconti[0].
> This provides DT binding documentation, device driver, MAINTAINER files,
> and updates to DT files.
> 
> Best regards,
>   Nobuhiro
> 
> [...]

Here is the summary with links:
  - [v4,1/4] dt-bindings: net: Add DT bindings for Toshiba Visconti TMPV7700 SoC
    https://git.kernel.org/netdev/net-next/c/e6a395061c3e
  - [v4,2/4] net: stmmac: Add Toshiba Visconti SoCs glue driver
    https://git.kernel.org/netdev/net-next/c/b38dd98ff8d0
  - [v4,3/4] MAINTAINERS: Add entries for Toshiba Visconti ethernet controller
    https://git.kernel.org/netdev/net-next/c/df53e4f48e8d
  - [v4,4/4] arm: dts: visconti: Add DT support for Toshiba Visconti5 ethernet controller
    https://git.kernel.org/netdev/net-next/c/ec8a42e73432

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Naresh Kamboju Feb. 16, 2021, 12:34 p.m. UTC | #2
Hi Nobuhiro,


On Mon, 15 Feb 2021 at 21:00, Nobuhiro Iwamatsu
<nobuhiro1.iwamatsu@toshiba.co.jp> wrote:
>

> Add the ethernet controller node in Toshiba Visconti5 SoC-specific DT file.

> And enable this node in TMPV7708 RM main board's board-specific DT file.

>

> Signed-off-by: Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>

> ---

>  .../boot/dts/toshiba/tmpv7708-rm-mbrc.dts     | 18 +++++++++++++

>  arch/arm64/boot/dts/toshiba/tmpv7708.dtsi     | 25 +++++++++++++++++++

>  2 files changed, 43 insertions(+)

>

> diff --git a/arch/arm64/boot/dts/toshiba/tmpv7708-rm-mbrc.dts b/arch/arm64/boot/dts/toshiba/tmpv7708-rm-mbrc.dts

> index ed0bf7f13f54..48fa8776e36f 100644

> --- a/arch/arm64/boot/dts/toshiba/tmpv7708-rm-mbrc.dts

> +++ b/arch/arm64/boot/dts/toshiba/tmpv7708-rm-mbrc.dts

> @@ -41,3 +41,21 @@ &uart1 {

>         clocks = <&uart_clk>;

>         clock-names = "apb_pclk";

>  };

> +

> +&piether {

> +       status = "okay";

> +       phy-handle = <&phy0>;

> +       phy-mode = "rgmii-id";

> +       clocks = <&clk300mhz>, <&clk125mhz>;

> +       clock-names = "stmmaceth", "phy_ref_clk";

> +

> +       mdio0 {

> +               #address-cells = <1>;

> +               #size-cells = <0>;

> +               compatible = "snps,dwmac-mdio";

> +               phy0: ethernet-phy@1 {

> +                       device_type = "ethernet-phy";

> +                       reg = <0x1>;


This build error was noticed on LKFT builder while building arm64 dtb
on linux next 20210216 tag.

arch/arm64/boot/dts/toshiba/tmpv7708-rm-mbrc.dts:52.3-4 syntax error
FATAL ERROR: Unable to parse input tree

Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org>

https://gitlab.com/Linaro/lkft/mirrors/next/linux-next/-/jobs/1033072509#L382

--
Linaro LKFT
https://lkft.linaro.org