From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Blumenstingl Subject: [PATCH v5 0/6] meson: Meson8b and GXBB DWMAC glue driver Date: Tue, 6 Sep 2016 23:38:42 +0200 Message-ID: <20160906213848.17785-1-martin.blumenstingl@googlemail.com> References: <20160904182320.671-1-martin.blumenstingl@googlemail.com> Cc: robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, mark.rutland-5wv7dgnIgG8@public.gmane.org, catalin.marinas-5wv7dgnIgG8@public.gmane.org, will.deacon-5wv7dgnIgG8@public.gmane.org, netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, sboyd-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org, manabian-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, arnd-r2nGTMty4D4@public.gmane.org, davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org, b.galvani-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, Martin Blumenstingl To: linux-amlogic-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, khilman-rdvid1DuHRBWk0Htik3J/w@public.gmane.org, carlo-KA+7E9HrN00dnm+yROfE0A@public.gmane.org, mturquette-rdvid1DuHRBWk0Htik3J/w@public.gmane.org, peppe.cavallaro-qxv4g6HH51o@public.gmane.org, alexandre.torgue-qxv4g6HH51o@public.gmane.org Return-path: In-Reply-To: <20160904182320.671-1-martin.blumenstingl-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: netdev.vger.kernel.org This adds a DWMAC glue driver for the PRG_ETHERNET registers found in Meson8b and GXBB SoCs. Based on the "old" meson6b-dwmac glue driver the register layout is completely different. Thus I introduced a separate driver. Changes since v4: - DWMAC_MESON now depends on COMMON_CLK because the new glue driver is also a clock provider (which requires COMMON_CLK) - use Meson8b and GXBB in the module description (instead of the marketing names S805 and S905) - fixed a trivial typo (retrive -> retrieve) in the get_stmmac_bsp_priv() helper patch - added a new patch to update the module description of the dwmac-meson driver to indicate which SoCs are supported exactly (this patch is optional and does not affect the rest of the series) Joachim Eastwood (1): stmmac: introduce get_stmmac_bsp_priv() helper Martin Blumenstingl (5): net: dt-bindings: Document the new Meson8b and GXBB DWMAC bindings clk: gxbb: expose MPLL2 clock for use by DT net: stmmac: add a glue driver for the Amlogic Meson 8b / GXBB DWMAC ARM64: dts: meson-gxbb: use the new GXBB DWMAC glue driver net: stmmac: update the module description of the dwmac-meson driver .../devicetree/bindings/net/meson-dwmac.txt | 45 ++- arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 8 +- drivers/clk/meson/gxbb.h | 2 +- drivers/net/ethernet/stmicro/stmmac/Kconfig | 6 +- drivers/net/ethernet/stmicro/stmmac/Makefile | 2 +- drivers/net/ethernet/stmicro/stmmac/dwmac-meson.c | 4 +- .../net/ethernet/stmicro/stmmac/dwmac-meson8b.c | 324 +++++++++++++++++++++ .../net/ethernet/stmicro/stmmac/stmmac_platform.h | 8 + include/dt-bindings/clock/gxbb-clkc.h | 1 + 9 files changed, 382 insertions(+), 18 deletions(-) create mode 100644 drivers/net/ethernet/stmicro/stmmac/dwmac-meson8b.c -- 2.9.3 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html