Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp4982442pxu; Wed, 21 Oct 2020 10:02:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyEGC0FQap50PAtGjo2UFRnvGGJj1ssFTmk3JfE7YgYxBg5+JsYY4zzwPORkYq+MOVCS3l8 X-Received: by 2002:a17:906:bc57:: with SMTP id s23mr4488386ejv.94.1603299755689; Wed, 21 Oct 2020 10:02:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603299755; cv=none; d=google.com; s=arc-20160816; b=TOYH0Rxji1b/OjvntTYeEf0KpSiMoWlS5QrHOPjgR0fwL2GaE/ttUyJsl1scfjxv2q 6se+NwkmSetiZm3C5Br7sZ3ORi4LMuQ/X0D2YUQU1812H8ipYXxXIHJ/mwSjAU4aUwtR AaRfovP2nntg4O8a6VAf6SUHSBUUjioIYsqESY2mOFbI+VTCqTR/eCH2AmyK58xNExVE 55GIDStTEQXIZ6ly7MMRpwTwZET/0xdbSXgAFriEodkk1H0/g9xGblfMCJ/lDvnHYNbo qVQdsDKAdb6HAVQlADQyDc9uHgbmT/JJcWT6neGhP9KYmkmeeg3DbU+BGoD+TvZHELOn nJvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=uyy7NTnocLV5rwc8fA4COUBRjVvuQfXR31QKZtJobb4=; b=vgdy9KmRXmw5Ph4g0Xl8CqKD3BZuDYzJn8iih6nwl4k9iUUlSiILxISittw7PM3QMG Qc9Y01wMa/vykMClpjEJaYynW0QZtMQlIkWZsnoImwLUVXq+KF2GCgqcSxRKerTfxss0 5D15OHNdrUEkgG2GWB7Jb9T2S52ocKv5oGa3IMeoUbjCAPTjOC5m/AApO/+XRsoPhdPv TZfv9+oXkMfUpd0l6yNka2aoS3gjOxY8KmI2kAJvdoFCezPk+x+0El4PXbn/kmkqknJS gSNqqCy33ok4RrSydz2XTkI69TjnE9YQlTIVYo8Yq9mGTFH8LjRw2jimmkK1K4p2UvKC pyjg== 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 a6si1881921edn.512.2020.10.21.10.02.12; Wed, 21 Oct 2020 10:02:35 -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 S2437873AbgJTS4L (ORCPT + 99 others); Tue, 20 Oct 2020 14:56:11 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:37116 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2437774AbgJTS4K (ORCPT ); Tue, 20 Oct 2020 14:56:10 -0400 Received: from andrew by vps0.lunn.ch with local (Exim 4.94) (envelope-from ) id 1kUwnh-002hR6-MN; Tue, 20 Oct 2020 20:56:01 +0200 Date: Tue, 20 Oct 2020 20:56:01 +0200 From: Andrew Lunn To: Dan Murphy Cc: davem@davemloft.net, f.fainelli@gmail.com, hkallweit1@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next v2 2/3] dt-bindings: dp83td510: Add binding for DP83TD510 Ethernet PHY Message-ID: <20201020185601.GJ139700@lunn.ch> References: <20201020171221.730-1-dmurphy@ti.com> <20201020171221.730-3-dmurphy@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201020171221.730-3-dmurphy@ti.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > + ti,master-slave-mode: > + $ref: /schemas/types.yaml#definitions/uint32 > + default: 0 > + description: | > + Force the PHY to be configured to a specific mode. > + Force Auto Negotiation - 0 > + Force Master mode at 1v p2p - 1 > + Force Master mode at 2.4v p2p - 2 > + Force Slave mode at 1v p2p - 3 > + Force Slave mode at 2.4v p2p - 4 > + enum: [ 0, 1, 2, 3, 4 ] Is this a board hardware property? The fact value 0 means auto-neg suggests not. We already have ethtool configuration of master/slave for T1 PHYs: ommit bdbdac7649fac05f88c9f7ab18121a17fb591687 Author: Oleksij Rempel Date: Tue May 5 08:35:05 2020 +0200 ethtool: provide UAPI for PHY master/slave configuration. This UAPI is needed for BroadR-Reach 100BASE-T1 devices. Due to lack of auto-negotiation support, we needed to be able to configure the MASTER-SLAVE role of the port manually or from an application in user space. Please can you look at using that UAPI. I assume that 1v p2p is the voltage of the signal put onto the twisted pair? I know the Marvell 1000BaseT PHYs allow this to be configured as well, but just downwards to save power. Maybe a PHY tunable would be better? Humm. Are 1v and 2.4v advertised so it can be auto negotiated? Maybe a PHY tunable is not correct? Is this voltage selection actually more like pause and EEE? Andrew