From patchwork Mon Oct 24 12:32:12 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 685800 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2001:1868:205::9]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3t2bMX0w2mz9t0Z for ; Mon, 24 Oct 2016 23:34:48 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=KUMCWEKl; dkim-atps=neutral Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1byeRO-0001fh-L3; Mon, 24 Oct 2016 12:33:22 +0000 Received: from merlin.infradead.org ([2001:4978:20e::2]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1byeRJ-0001em-VF for linux-arm-kernel@bombadil.infradead.org; Mon, 24 Oct 2016 12:33:18 +0000 Received: from mail-qt0-x242.google.com ([2607:f8b0:400d:c0d::242]) by merlin.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1byeRF-0004y2-FN for linux-arm-kernel@lists.infradead.org; Mon, 24 Oct 2016 12:33:17 +0000 Received: by mail-qt0-x242.google.com with SMTP id f6so5968978qtd.1 for ; Mon, 24 Oct 2016 05:32:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=B8x0y6LJl1PN7Wj7lt56MGMlbvVrA4lAu0NdWRkKEBk=; b=KUMCWEKlvRHsIujZ19ZrQY6YBkO2eArDk3YxMHp80PbCW8Ncpys4Lb4TixNyagRgsy s3sT8abQRZa9DBLtDoB7DE86u8g6Yx33gtJIokpysq8e18Akkom3jDrvTbxDNqKT605s KtnirTtQaFKGoo3Ji7YDqUnpxgGz+Q79EfCJUViZ7q62AbgNEhG/EPL2Lz71Mit0svss nNAphUMBDIrWqImk4ZfMxj/mROfhNxXDHN7HeyeYWEW4xy8URmGurUSaD/Hq8dzeLBkC OvsXN/V0oN9pbFxf3owUitN9L9pxv8L+7Eg1/o35ucHBMZE/AJKmOayFew9HrShG63qj 4wvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=B8x0y6LJl1PN7Wj7lt56MGMlbvVrA4lAu0NdWRkKEBk=; b=e0B3NFmNoW6S5wWZpzB5QKMuuEixjAZzh+welYidTjx0qnjIRo8TAGtj6Bpsl18a9e a+Dg6qpVsKHC/Fye30lWcyI0x4j97bv4o5r5LnSy0OMoDbWaELGMaAc88x256OYSgDLn Nx1SSa++Knh9GfNa9pz19FGSEpA1iVysFm4Hs22z1Io0umCTxVOy40TOEz4yjCJJWxIX xy2LMoGpglu1Ra/CBAicTUqQID7fxF519oqLqmcLpMAC7TfvSxIuYKccLp3cTSyEmcK0 tTOfl0RQh+Ax2rAWOxbX/XxLNQLSSUsqMULfW7L36j+DtRIGr7mH2KHZbON46iv2lPmH w13w== X-Gm-Message-State: ABUngvccA63Q2mDqiGvhuCcftBhZsUgWlB173gUbrh1bZPJZ6UiegUahE6fFUWcEgyJzFw== X-Received: by 10.200.55.59 with SMTP id o56mr14572379qtb.65.1477312364554; Mon, 24 Oct 2016 05:32:44 -0700 (PDT) Received: from localhost.localdomain ([187.180.184.146]) by smtp.gmail.com with ESMTPSA id c38sm8314283qte.17.2016.10.24.05.32.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 24 Oct 2016 05:32:44 -0700 (PDT) From: Fabio Estevam To: shawnguo@kernel.org Subject: [PATCH] ARM: imx: mach-imx6q: Fix the PHY ID mask for AR8031 Date: Mon, 24 Oct 2016 10:32:12 -0200 Message-Id: <1477312332-2027-1-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161024_083313_585898_71EFD238 X-CRM114-Status: GOOD ( 11.05 ) X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.4.1 on merlin.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [2607:f8b0:400d:c0d:0:0:0:242 listed in] [list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (festevam[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fabio Estevam , andrew@lunn.ch, linux-arm-kernel@lists.infradead.org, kernel@pengutronix.de MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org From: Fabio Estevam AR8031 and AR8035 have the same PHY ID mask of 0xffffffef. So fix it and make it match with the PHY ID mask definition at drivers/net/phy/at803x.c. Signed-off-by: Fabio Estevam --- arch/arm/mach-imx/mach-imx6q.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-imx/mach-imx6q.c b/arch/arm/mach-imx/mach-imx6q.c index 97fd251..45801b2 100644 --- a/arch/arm/mach-imx/mach-imx6q.c +++ b/arch/arm/mach-imx/mach-imx6q.c @@ -173,7 +173,7 @@ static void __init imx6q_enet_phy_init(void) ksz9021rn_phy_fixup); phy_register_fixup_for_uid(PHY_ID_KSZ9031, MICREL_PHY_ID_MASK, ksz9031rn_phy_fixup); - phy_register_fixup_for_uid(PHY_ID_AR8031, 0xffffffff, + phy_register_fixup_for_uid(PHY_ID_AR8031, 0xffffffef, ar8031_phy_fixup); phy_register_fixup_for_uid(PHY_ID_AR8035, 0xffffffef, ar8035_phy_fixup);