From: Dan Murphy <dmurphy@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [RFC PATCH 1/2] net: phy: ti: Allow the driver to be more configurable
Date: Thu, 31 Mar 2016 10:27:31 -0500 [thread overview]
Message-ID: <56FD41E3.4040701@ti.com> (raw)
In-Reply-To: <20160331141103.GE23166@bill-the-cat>
Tom
On 03/31/2016 09:11 AM, Tom Rini wrote:
> On Thu, Mar 31, 2016 at 07:42:39AM -0500, Dan Murphy wrote:
>
>> Not all devices use the same internal delay or fifo depth.
>> Add the ability to set the internal delay for rx or tx and the
>> fifo depth via the config file. If the value is not set in the
>> config file then set the delay to the default.
>>
>> Signed-off-by: Dan Murphy <dmurphy@ti.com>
>> ---
>> drivers/net/phy/ti.c | 71 ++++++++++++++++++++++++++++++++----
>> include/dt-bindings/net/ti-dp83867.h | 35 ++++++++++++++++++
> I don't think this is taking things down the right path. If it's a DT
> binding, it comes from the device tree (which is fine and good!) but
> that means the binding needs to meet the usual reviews and not just come
> in via U-Boot like this. We really don't want to add a DT binding that
> gets values from the config.h file.
>
This binding file I created that is already part of the Mainline kernel.
I just brought it in to use #defines and once the drivers are ported to use
DT then the bindings will already be available.
And the config.h should be getting its values from the dt-binding.
Dan
--
------------------
Dan Murphy
next prev parent reply other threads:[~2016-03-31 15:27 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-31 12:42 [U-Boot] [RFC PATCH 1/2] net: phy: ti: Allow the driver to be more configurable Dan Murphy
2016-03-31 12:42 ` [U-Boot] [RFC PATCH 2/2] board: ti: DRA7: Add in RGMII parameters for rev c Dan Murphy
2016-03-31 13:57 ` [U-Boot] [RFC PATCH 1/2] net: phy: ti: Allow the driver to be more configurable Dan Murphy
2016-03-31 14:11 ` Tom Rini
2016-03-31 15:27 ` Dan Murphy [this message]
2016-03-31 15:42 ` Tom Rini
2016-03-31 17:43 ` Dan Murphy
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=56FD41E3.4040701@ti.com \
--to=dmurphy@ti.com \
--cc=u-boot@lists.denx.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox