All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Lunn <andrew@lunn.ch>
To: Raju.Lakkaraju@microsemi.com
Cc: netdev <netdev@vger.kernel.org>
Subject: Re: [v3,net-next] net: phy: Add Edge-rate driver for Microsemi PHYs.
Date: Tue, 27 Sep 2016 23:14:36 +0200	[thread overview]
Message-ID: <20160927211436.GA11602@lunn.ch> (raw)

I just realised the possibly correct binding was starring me in the
face.

--------------------------------------------------------------|
|  3.3V	 	2.5V  		1.8V  		1.5V          |
|-------------------------------------------------------------|
|-2%		-3%		-5%		-6%           |
|-------------------------------------------------------------|
|-4%		-6%		-9%		-14%          |
|-------------------------------------------------------------|
|-7%		-10%		-16%		-21%          |
|-------------------------------------------------------------|
|-10%		-14%		-23%		-29%          |
|-------------------------------------------------------------|
|-17%		-23%		-35%		-42%          |
|-------------------------------------------------------------|
|-29%		-37%		-52%		-58%          |
|-------------------------------------------------------------|
|-53%		-63%		-76%		-77%          |
|-------------------------------------------------------------|

So the binding is:

vsc8531,vddmac		: The vddmac in mV.
vsc8531,edge-slowdown	: % the edge should be slowed down relative to
                          the fastest possible edge time.

Given those two values, the driver can work out the magic value to put
into the register that nobody knows the true meaning of.

     Andrew

             reply	other threads:[~2016-09-27 21:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-27 21:14 Andrew Lunn [this message]
2016-09-28 11:12 ` [v3,net-next] net: phy: Add Edge-rate driver for Microsemi PHYs Raju Lakkaraju

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160927211436.GA11602@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=Raju.Lakkaraju@microsemi.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.