Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp126981ybt; Thu, 18 Jun 2020 20:30:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwdy25yWtgLL75yygQDfK0Bt3bzbmLeTJAnrWLPbtVAQ8L2y0Oz9CLnIqb5FQ/e+2/WkMiv X-Received: by 2002:aa7:dc50:: with SMTP id g16mr1325957edu.318.1592537414827; Thu, 18 Jun 2020 20:30:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592537414; cv=none; d=google.com; s=arc-20160816; b=CzNKxWDWinGwxkBOq8vEJkiLeKNhlgu1k8Fd8KjSzbSUFzS4uo+segTiDFWGBSZFWt 55UPbXmrGvHZTtcXCOQ2IpaZnmi76OepBlcrKIs8CEC/b/9sKWRYdC8qZLYFY5e4i1Jo xK6BRiiH7qeotJ/N/ZcdE89pn8yZejzEcEnjmotHQiQoEVQ0z4Kn0RYT/3ajY0Jirn63 yLywSbGcrd9F96SmEs/6e/EeHZwWZTA5bQzisjamCQa+LKMNi0nmS2zAfBh9lUEdd10k FQJ3g1CjG5ITKkFwgRWTrhFamjM/lJ/nyCRfw8OrErL8Ew5NbbbKWMlQFW6oYwYTR8OJ /9Fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=hJmOenTzlAjZ17qWvgZQe9XEFl23jmwtAVY8EoJ2QXU=; b=EImrQU1nclBwxXnk71IHnncyfVFaZLzqza3n/9IS2ILjAU7r9MF8OC2t0DamSF5J4A xAl9BoMG40p0yBgSUQLFvqNP3tn6f+J5Ck0yMToEntZDLM2TYaH1NK1gDnuTAJ8rnrqT Eu/P+foXNGJ6PzgRz2MqN1hqeSR5hC0zZC/evdnS2azKnyJyIgHxuwKuD0LE0lvmRJrJ AaTpJuqbImKkYcuJBdY9CST0aCTXFCCj0muRzc7X3PwZASSadeoqlNqU6qXH5Sit4u2x C/TibHtCf0dfQnQJ45+OIfiKJbXqKs6ZqcfLBMAh8EAnSoSBLIbbd7UjPkCOhQ+5JSAO W2NQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y2si3330049edv.25.2020.06.18.20.29.51; Thu, 18 Jun 2020 20:30:14 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728711AbgFSDAS (ORCPT + 99 others); Thu, 18 Jun 2020 23:00:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57888 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728514AbgFSDAR (ORCPT ); Thu, 18 Jun 2020 23:00:17 -0400 Received: from shards.monkeyblade.net (shards.monkeyblade.net [IPv6:2620:137:e000::1:9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7D69DC06174E; Thu, 18 Jun 2020 20:00:17 -0700 (PDT) Received: from localhost (unknown [IPv6:2601:601:9f00:477::3d5]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id C1F7F120ED49C; Thu, 18 Jun 2020 20:00:16 -0700 (PDT) Date: Thu, 18 Jun 2020 20:00:16 -0700 (PDT) Message-Id: <20200618.200016.309123510624309005.davem@davemloft.net> To: s.hauer@pengutronix.de Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, thomas.petazzoni@bootlin.com, kernel@pengutronix.de, linux@armlinux.org.uk Subject: Re: [PATCH 2/2] net: ethernet: mvneta: Add 2500BaseX support for SoCs without comphy From: David Miller In-Reply-To: <20200616083140.8498-2-s.hauer@pengutronix.de> References: <20200616083140.8498-1-s.hauer@pengutronix.de> <20200616083140.8498-2-s.hauer@pengutronix.de> X-Mailer: Mew version 6.8 on Emacs 26.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Thu, 18 Jun 2020 20:00:17 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sascha Hauer Date: Tue, 16 Jun 2020 10:31:40 +0200 > The older SoCs like Armada XP support a 2500BaseX mode in the datasheets > referred to as DR-SGMII (Double rated SGMII) or HS-SGMII (High Speed > SGMII). This is an upclocked 1000BaseX mode, thus > PHY_INTERFACE_MODE_2500BASEX is the appropriate mode define for it. > adding support for it merely means writing the correct magic value into > the MVNETA_SERDES_CFG register. > > Signed-off-by: Sascha Hauer Applied.