From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2FF65C43381 for ; Tue, 19 Feb 2019 13:36:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E009C21773 for ; Tue, 19 Feb 2019 13:36:33 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="Am1YGI6V" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728160AbfBSNgc (ORCPT ); Tue, 19 Feb 2019 08:36:32 -0500 Received: from vps0.lunn.ch ([185.16.172.187]:58343 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726221AbfBSNgc (ORCPT ); Tue, 19 Feb 2019 08:36:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=1Y600UNoeIbc1+nux3FIcDCFUmCYFwBsoQKPjT9OMzM=; b=Am1YGI6VsaxeyHtPKVhPHQALe9 tQuuZLoLdu5C2qg3Oz0EYnTZorqdfgmterKFKRuEgROyNayE0yegNj2b5wYcf/Gw5Eb5FVUyxrmdK 0jeg/dKjjRw9KP2YPXZ2vN7Nz7V9R6DkMVc/IqwocdW7J0wYEf8lPfXOtlZ8/R+12694=; Received: from andrew by vps0.lunn.ch with local (Exim 4.89) (envelope-from ) id 1gw5ZV-00023E-S3; Tue, 19 Feb 2019 14:36:29 +0100 Date: Tue, 19 Feb 2019 14:36:29 +0100 From: Andrew Lunn To: Paul Kocialkowski Cc: Florian Fainelli , Heiner Kallweit , netdev@vger.kernel.org, Thomas Petazzoni , =?iso-8859-1?Q?Myl=E8ne?= Josserand Subject: Re: Handling an Extra Signal at PHY Reset Message-ID: <20190219133629.GN14879@lunn.ch> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Tue, Feb 19, 2019 at 10:14:20AM +0100, Paul Kocialkowski wrote: > Hi, > > We are dealing with an Ethernet PHY (Marvell 88E1512) that comes with a > CONFIG pin that must be connected to one of the other pins of the PHY > to configure the LSB of the PHY address as well as I/O voltages (see > section 2.18.1 Hardware Configuration of the datasheet). It must be > connected "soon after reset" for the PHY to be correctly configured. Hi Paul I assume there are two PHYs on the MDIO bus, and you need to ensure they have different addresses? Do we have an Ethernet switch involved here, or are they two SoC Ethernet networks with one shared MDIO bus? This seems like an odd design. I've normally seen weak pull up/down resistors, not a switch, so i'm wondering why it is designed like this. Thanks Andrew