From patchwork Tue Oct 24 17:57:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin Labbe X-Patchwork-Id: 116982 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp6085890qgn; Tue, 24 Oct 2017 11:01:34 -0700 (PDT) X-Google-Smtp-Source: ABhQp+RApeu5rKGso+HVV+httncYNDu2mOxvlyhuqcdhwMEfBsDPLCammsREnHuA6Ihojlh0Yddc X-Received: by 10.101.80.195 with SMTP id s3mr1011253pgp.19.1508868094354; Tue, 24 Oct 2017 11:01:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508868094; cv=none; d=google.com; s=arc-20160816; b=0/Y7YAwy34l6IIPbh66ahWGtDYA8cUPLvzPQbk/g0jKbWjEXjfTtWsLhyH5kOuh5LX T8SYDNAA/0Iu3S90vtX0oWr7Adn9qinh2Fg7RUz06oaPU40wqDk8zRejc6f0Z3PcJ2wt jZnt2KCCUJCfWVTIkyikcDOCBIwne0Owv8Gv5YZIR6s1DwT52gnX5fnK7oJSf+VsZbOM azdJGR3YaNIOslliYds4g1Omx2P7U5u6A0GGzYPQybxbDb6Fn9F210i90JIxWBIZc/KI p9nRvvn5QV/XfwHiZ2bNr1p5C4fpAauJVrViOy2iDnxkxULYIubwGgAx027Pbdq/Hqd/ ICxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=IltfpS2C8hpQSxTY+uVUQcJw426xx+AiwqmzWZZBs7U=; b=zmVTjWvBkGJCCTOC1iLFABdp+EVgHcJENkXJl1/tSzFnNrHyNSzE3TB1DdtckNVXZk xBU+ADyVRwBrgFeFSBGvJrItoMzRCaGzCi9PvTGzZ/xd8osZ6z1ZO3ZIt80ko/EPLBE/ 2PzVj4h2FOv2iC0Ms7w4gq8V+E/c85RwSnlURv/tqQ2vnrzShnh63YW6fXQCyqf/AHP3 s5gMR/4eCGv4nBtjxr+oTRhQ/JBt1zNYic/FokyHuMk13IqN1WcSsOIeytLAZXgonyWu A9AU2rE+OeyQ2Dud2KU8yueHW7yHdxtT2vXfxQos2IwWC8J5TxdiXGoR5bR+xoI8BuYO 6tog== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=vb3y5LGK; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x5si428350plo.143.2017.10.24.11.01.34; Tue, 24 Oct 2017 11:01:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=vb3y5LGK; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751795AbdJXSBc (ORCPT + 6 others); Tue, 24 Oct 2017 14:01:32 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:52957 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751920AbdJXSA4 (ORCPT ); Tue, 24 Oct 2017 14:00:56 -0400 Received: by mail-wm0-f67.google.com with SMTP id 78so15138438wmb.1; Tue, 24 Oct 2017 11:00:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=g4DwBW21baoi+fHJrNBIJ4zYUowYA79ljQDUeIXUjW4=; b=vb3y5LGKFDgAUj2DPqGhAYG7pM1XJahL4+m6tG9RKkmisaYiba2cHnkH9N8kKOOzMx 43Bs0a+/NosVAiIT+jv6iyhntbzz1K0B9buPJFvfdI9/0pt+52CC8uIHccYpQPFLI1sI 5ZiXXoSx2Nbit3Y99WltyNhhM42Fr0VyzLGgIM++Zg++i7OA243ToJYT7/raYDBDe3uG 1Igr7kfQP+dZAwrKTDlFIyBm1bGRou97tqNtXpiI7zlN4Qh4vy8yyMUuiFcPX2SxDbzs YPUQizRq61gS2Q+orQyIppHFsmXBkhWXjk08qvd7SK14yZvGb0EBpcGenVsLkw4WpxYy wh9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=g4DwBW21baoi+fHJrNBIJ4zYUowYA79ljQDUeIXUjW4=; b=ud8gr6jDn1eXNwTQok3lkaw9H8jukQUPy91bCwdVezbdV5oWe9H+GW36wTgzF1g3qF qfxb42By1aSHCySIg7octisNu0Iwrl3/lNGf3Pcq7YnjLv+WPml/dgbQI7ZuWKrwqWJy qW0K+UL1Gs0ILchzaZbcwSkBEafHOKnITvwonxrtqlKtvAsOYG+0esklgyykNvHClA1F sF/BoZ/uwwuihDM+kyODDJ3xsjgWV+aG6+6NgSjCHZJ0QcXD6g9fRdNq2mjHM6PsYhiv irM+n88q1ojKFc9CY6IgSaSz4lGzUROhEgDYYlhHNC4rdMqpzWGF1DFbZC4wFXrXjENU HazA== X-Gm-Message-State: AMCzsaXURFj43HRPoEZb++lEoTdDdHlAQ9AnGyOEIhjC7lj6PJjpVmmJ XYno49c6bE8jw6fiJlECQ1g= X-Received: by 10.28.224.87 with SMTP id x84mr8278176wmg.118.1508868055382; Tue, 24 Oct 2017 11:00:55 -0700 (PDT) Received: from Red.local (LFbn-MAR-1-580-96.w90-118.abo.wanadoo.fr. [90.118.159.96]) by smtp.googlemail.com with ESMTPSA id s18sm818968wrg.87.2017.10.24.11.00.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 24 Oct 2017 11:00:54 -0700 (PDT) From: Corentin Labbe To: robh+dt@kernel.org, mark.rutland@arm.com, maxime.ripard@free-electrons.com, wens@csie.org, linux@armlinux.org.uk, catalin.marinas@arm.com, will.deacon@arm.com, peppe.cavallaro@st.com, alexandre.torgue@st.com, andrew@lunn.ch, f.fainelli@gmail.com Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Corentin Labbe Subject: [PATCH v9 10/10] net: stmmac: sun8i: Restore the compatibles Date: Tue, 24 Oct 2017 19:57:14 +0200 Message-Id: <20171024175714.15840-11-clabbe.montjoie@gmail.com> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20171024175714.15840-1-clabbe.montjoie@gmail.com> References: <20171024175714.15840-1-clabbe.montjoie@gmail.com> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The original dwmac-sun8i DT bindings have some issue on how to handle integrated PHY and was reverted in last RC of 4.13. But now we have a solution so we need to get back that was reverted. This patch restore compatibles about dwmac-sun8i This reverts commit ad4540cc5aa3 ("net: stmmac: sun8i: Remove the compatibles") Signed-off-by: Corentin Labbe --- drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c | 8 ++++++++ 1 file changed, 8 insertions(+) -- 2.13.6 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c index b3eb344bb158..e5ff734d4f9b 100644 --- a/drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c +++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c @@ -1072,6 +1072,14 @@ return ret; } static const struct of_device_id sun8i_dwmac_match[] = { + { .compatible = "allwinner,sun8i-h3-emac", + .data = &emac_variant_h3 }, + { .compatible = "allwinner,sun8i-v3s-emac", + .data = &emac_variant_v3s }, + { .compatible = "allwinner,sun8i-a83t-emac", + .data = &emac_variant_a83t }, + { .compatible = "allwinner,sun50i-a64-emac", + .data = &emac_variant_a64 }, { } }; MODULE_DEVICE_TABLE(of, sun8i_dwmac_match);