[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20130425.035649.1109561373283256109.davem@davemloft.net>
Date: Thu, 25 Apr 2013 03:56:49 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: mugunthanvnm@...com
Cc: netdev@...r.kernel.org, devicetree-discuss@...ts.ozlabs.org,
linux-omap@...r.kernel.org
Subject: Re: [net-next PATCH 1/3] drivers: of: add phy fixup support in DT
From: Mugunthan V N <mugunthanvnm@...com>
Date: Mon, 22 Apr 2013 23:50:36 +0530
> In earlier case phy fixup are added in board file as this is no more the case
> so adding support for phy register fixup in Device Tree
>
> Signed-off-by: Mugunthan V N <mugunthanvnm@...com>
When people put a series of undocumented PHY register writes using
constants, we tell them it's firmware.
If these PHY registers are actually documented in the driver, write a
function in that driver which does the programming sequence, then add
a property that the driver looks for in order to determine whether to
call that sequence or not.
I don't want people putting random PHY raw programming sequences and
other crap like that into the OF device nodes. It's extremely
inelegant and inviting abuse.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists