From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Blumenstingl Subject: [PATCH net-next v1 0/2] Meson8m2 support for dwmac-meson8b Date: Fri, 30 Mar 2018 01:00:33 +0200 Message-ID: <20180329230035.20958-1-martin.blumenstingl@googlemail.com> Cc: carlo@caione.org, khilman@baylibre.com, Martin Blumenstingl To: robh+dt@kernel.org, mark.rutland@arm.com, netdev@vger.kernel.org, linux-amlogic@lists.infradead.org, davem@davemloft.net Return-path: Received: from mail-wr0-f195.google.com ([209.85.128.195]:41815 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751193AbeC2XAw (ORCPT ); Thu, 29 Mar 2018 19:00:52 -0400 Received: by mail-wr0-f195.google.com with SMTP id f14so6685115wre.8 for ; Thu, 29 Mar 2018 16:00:52 -0700 (PDT) Sender: netdev-owner@vger.kernel.org List-ID: The Meson8m2 SoC is an updated version of the Meson8 SoC. Some of the peripherals are shared with Meson8b (for example the watchdog registers and the internal temperature sensor calibration procedure). Meson8m2 also seems to include the same Gigabit MAC register layout as Meson8b. The registers in the Amlogic dwmac "glue" seem identical between Meson8b and Meson8m2. Manual testing seems to confirm this. To be extra-safe a new compatible string is added because there's no (public) documentation on the Meson8m2 SoC. This will allow us to implement any SoC-specific variations later on (if needed). Martin Blumenstingl (2): dt-bindings: net: meson-dwmac: add support for the Meson8m2 SoC net: stmmac: dwmac-meson8b: Add support for the Meson8m2 SoC Documentation/devicetree/bindings/net/meson-dwmac.txt | 5 +++-- drivers/net/ethernet/stmicro/stmmac/dwmac-meson8b.c | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) -- 2.16.3