Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1155782pxb; Fri, 27 Aug 2021 02:32:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx+I3Ed58Clx/tXNePTF00+kZw1O8OLu4TLkFl0CsRjDZJCn833ACTmrJz1vfgLnsqKcYg4 X-Received: by 2002:a17:906:6d85:: with SMTP id h5mr8908198ejt.305.1630056730398; Fri, 27 Aug 2021 02:32:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630056730; cv=none; d=google.com; s=arc-20160816; b=HwVYM0WNnKg3KqSjp2rniR3eTQ/Yc1Qh8PtbSidXPabGE5ZsJ5ANMx/hzSIo6+lp92 2X/BsEtUZKcKJbMnNtTl/SMh9AAixGe/XpWkqEFTaW7+conc3Lfz85hNRWzpwxsSp1Pw p/TBXxS+ExT9qEmXELojIRQVYtrk/Ps9TB72jhxhma0TNvRhjGq/FJt7c/sXJ551mVtB /gqPMTLZZtUrni4CJpe50EYTkkZBDKe+McuGFZqKghirLjGoX++ENJtBA0/dBZ4CQpQw MbmnF7oqk/lZ7fzMyHW+QAH0uRi2kWx9IZdOfL/Ij0dK92lyl+pN02eJsKUkLtaH1jp7 YV/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=lXAcGp4jez5F7hnS5KzFCgKv5+yPcimLHQZsY7aYUtA=; b=zQu+aeNNC+wMkgp4H3Dj3iepjQxKqeL6799j6lQwDSyPUqLEzsM6bU3RRAsPHXgyU9 AeY7bjmIQuAobQIlpR8cw3g+XmITy9qdKWgfc7n2TQuocMgt9i7E5PQ4+sh+eV7efDnJ 808CouTawwxuXDXqWwXUu6yl1o8MOxMDsWqrpKMLUnLoO8upESXzuMlV/hTERbxzuG1F qKRs5BZYwNv7HMrhSjamF2wfyRxH0eWTTVKGVi4m3nn6er5U2ZyCnhEUWMYUZCJuLOGq aDvaQKMrRiV6vDD10Chz4Sylv/0IoZcqpaCmQi5nYkyWLHW2I6NNFq00BGrB9EVXYKvQ 9q0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=n3p1dniM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id qk19si5076201ejc.229.2021.08.27.02.31.46; Fri, 27 Aug 2021 02:32:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=n3p1dniM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244836AbhH0Jaz (ORCPT + 99 others); Fri, 27 Aug 2021 05:30:55 -0400 Received: from mail.kernel.org ([198.145.29.99]:57228 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244872AbhH0Jah (ORCPT ); Fri, 27 Aug 2021 05:30:37 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 3136C60FE6; Fri, 27 Aug 2021 09:29:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1630056589; bh=y1f6bItLirXqw1swbUnhtpawMcPJvbXWUgpNPsGtkFI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=n3p1dniMaFip1Hq5/1tL2YB326i/3+hh1Cb61nF2XKwehJnMQyVLTwIl09/4B7N+k o9U/U9yg1D0WDRYhZedRGSMJsZQXn4Etj8QPTaEGkV4NYp0x/dQlcDYT1QEK6NHJof w63Pj9syM7Ux2BLAs7jyDi/Qua6aieU7T5LPWlq5dxMkM8JGUZ6QPhxUyEGHNf3sHr Iura9lpImApXYnOh2TNtqldiz0bzYglnvHxlwUa6UVTTBQB+si47sweWadYxhH4vRk QPxtdm7kRP/ao3uEigo1htFVYv1cjQnnqzoD0vjG4QQXXzOQL98hOrnp/3MJGyn7nS //Xr/cJbeFAoA== Received: by pali.im (Postfix) id 66DF1FB1; Fri, 27 Aug 2021 11:29:47 +0200 (CEST) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: Miquel Raynal , Kishon Vijay Abraham I , Vinod Koul Cc: Russell King , Andrew Lunn , =?UTF-8?q?Marek=20Beh=C3=BAn?= , Rob Herring , linux-phy@lists.infradead.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/3] phy: marvell: phy-mvebu-a3700-comphy: Remove unsupported modes Date: Fri, 27 Aug 2021 11:27:53 +0200 Message-Id: <20210827092753.2359-3-pali@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210827092753.2359-1-pali@kernel.org> References: <20210827092753.2359-1-pali@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Armada 3700 does not support RXAUI, XFI and neither SFI. Remove unused macros for these unsupported modes. Signed-off-by: Pali Rohár Fixes: 9695375a3f4a ("phy: add A3700 COMPHY support") --- drivers/phy/marvell/phy-mvebu-a3700-comphy.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/phy/marvell/phy-mvebu-a3700-comphy.c b/drivers/phy/marvell/phy-mvebu-a3700-comphy.c index cc534a5c4b3b..6781488cfc58 100644 --- a/drivers/phy/marvell/phy-mvebu-a3700-comphy.c +++ b/drivers/phy/marvell/phy-mvebu-a3700-comphy.c @@ -33,18 +33,12 @@ #define COMPHY_FW_MODE_USB3H 0x4 #define COMPHY_FW_MODE_USB3D 0x5 #define COMPHY_FW_MODE_PCIE 0x6 -#define COMPHY_FW_MODE_RXAUI 0x7 -#define COMPHY_FW_MODE_XFI 0x8 -#define COMPHY_FW_MODE_SFI 0x9 #define COMPHY_FW_MODE_USB3 0xa #define COMPHY_FW_SPEED_1_25G 0 /* SGMII 1G */ #define COMPHY_FW_SPEED_2_5G 1 #define COMPHY_FW_SPEED_3_125G 2 /* 2500BASE-X */ #define COMPHY_FW_SPEED_5G 3 -#define COMPHY_FW_SPEED_5_15625G 4 /* XFI 5G */ -#define COMPHY_FW_SPEED_6G 5 -#define COMPHY_FW_SPEED_10_3125G 6 /* XFI 10G */ #define COMPHY_FW_SPEED_MAX 0x3F #define COMPHY_FW_MODE(mode) ((mode) << 12) -- 2.20.1