From patchwork Wed Oct 18 11:44:52 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin Labbe X-Patchwork-Id: 116275 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp5966968qgn; Wed, 18 Oct 2017 04:49:40 -0700 (PDT) X-Received: by 10.84.133.163 with SMTP id f32mr14003778plf.387.1508327380330; Wed, 18 Oct 2017 04:49:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508327380; cv=none; d=google.com; s=arc-20160816; b=gRt+/VMHXH+DR8PaKR9BYoSWRJii618WpSbQOs8iE24cmqNPQNZEYeCCOfBF1mg+1U x9AigbePphaYwX+h0i3XclGvaC0dRm4ddjHk4tT7B1z2QPw4wGKl76xteduAoPKr+PZS DlXBodrEtZL8d0+BMW87d2W9FbzGaE2vC/Pg/ExzwLhNTDGpCy0Cfrz0XycnO1dOll63 DAN3kOpelN5+k18Mn8aibhMz5A1uIG24SsZ+wWe8DxewG/ETgLFG3/j00dN0AU59qAQl zZeULOhR5ptT48wN9eByXE/FPnV8erLinBSIROdSwcVZs4CRmvfrN2i3U+l9FDugz1Y0 Cnrg== 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=E0VPhLeGsS7zd3Hf+jpXoDsn5fDc2YZtoH6gJi+lA30=; b=vd2BihLvgA06U1m05GPLmuhfOh/V6rEdMD7uySztxJbx9OXn4O/9y5DlcuM62fTa31 dUJuIgdOpqJU77yPHqv2s67cihgpbpQTvf/fjPXGKt8ubkYeFyFgXffCDuaSk+/tZzre HeZRc2PVw0F7hRVnSEQqqGOSKEeAzrCMBGm2+2WHMlI0W6s1SxEOxxjXYK/6zZh1FKPm HiEqnDfWwznDvxgD6esyBYHdcZaBMyzlOOPRyBFB4jDaFGL808a/SQ3Q894z3ZsEZ9nu nXD0K/vGacb529/kk09fidnHmEXpix7YOGzHe+v/yBFX9a/AzppMhLgqTrYKa3XhYPnj vDig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=MRJMkZUD; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (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 f7si6752733pgq.406.2017.10.18.04.49.40; Wed, 18 Oct 2017 04:49:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=MRJMkZUD; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755557AbdJRLti (ORCPT + 27 others); Wed, 18 Oct 2017 07:49:38 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:50545 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754386AbdJRLrR (ORCPT ); Wed, 18 Oct 2017 07:47:17 -0400 Received: by mail-wm0-f67.google.com with SMTP id u138so9489263wmu.5; Wed, 18 Oct 2017 04:47:16 -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=E0VPhLeGsS7zd3Hf+jpXoDsn5fDc2YZtoH6gJi+lA30=; b=MRJMkZUDajg1vhPOc4sqdome3tTuQ8H7Arfoq7Bz2iqk2lXafsbffLqsGqx8TTVSxI CxkNur7cBfarB0ZlyINizONJWauD3y9sNH0KatH6r3cZh8K03+ye4Jk5s8xAvuDoPY0X 6EH1uB1SqDgbG2ZUacq+QEdvtU7lbAzR4DL3y3RFlL3vz4g6n+V8k8wnqhIImBhgXV/Q KUruOsONRYRQFz6bTOxDesm2AcHWU7vwmRdnxmhUhIgqBah1h/3CCLAQrpDJoZKvVD5N eI6qjOUgCVRGAsOl7c6pEYlwY4+9fjQ/wXDNs0FTuac61PkbAuhbbb8yVH0jhEaeqILL 6ijw== 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=E0VPhLeGsS7zd3Hf+jpXoDsn5fDc2YZtoH6gJi+lA30=; b=KkfsJsfnOMRR3vDrToIirzJ7K+qRD+nTH14AxUe9UuhRpmyH2JXXmUEEwRDFY3NuE4 a7RLh5JpR1SfjwarhUkkH53ymAisRqNt1DO4/dYy+UysMxV0jhrHeaTIGp5nJHbPA6L4 xaA4h/9ADkvNtMNunukQq0Zz4XzHo+QO6ifYai96bbULq90ipyHTCmgNRSNKuQX204Vw OZ2orFj1Nu0fgqD+xBqafymAfBgJ/uvH6KbX0hjQcY2mFnFoWpZMPOJEu6ctns6QVsyW DvN9mGdV7f+Mf9m+mqczln7StMm4z2ePdWv5ORyshfyunx0Y35VCnp7nU1+ipSTQ6mzD 5Y1A== X-Gm-Message-State: AMCzsaVNN6U1+U6B0JvctKpjyIzpwQtBcHTwXVV3XsRhNymighin4w63 jCtragY8Z9AYxXjeR9kvfAM= X-Google-Smtp-Source: ABhQp+Q5aJms/ZdmXDmfAgGbyIL1qN6a4QgFXU2EJonqMIWljDk5T8E1YYcHDzSDvPsEmLhDICZJbA== X-Received: by 10.28.22.2 with SMTP id 2mr5943517wmw.47.1508327235827; Wed, 18 Oct 2017 04:47:15 -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 61sm8444391wrg.58.2017.10.18.04.47.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 18 Oct 2017 04:47:15 -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, frowand.list@gmail.com Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, Corentin Labbe Subject: [PATCH v7 04/10] net: stmmac: sun8i: Restore the compatibles Date: Wed, 18 Oct 2017 13:44:52 +0200 Message-Id: <20171018114458.17891-5-clabbe.montjoie@gmail.com> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20171018114458.17891-1-clabbe.montjoie@gmail.com> References: <20171018114458.17891-1-clabbe.montjoie@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c index 39c2122a4f26..fffd6d5fc907 100644 --- a/drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c +++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c @@ -979,6 +979,14 @@ static int sun8i_dwmac_probe(struct platform_device *pdev) } 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);