On Sat, May 23, 2009 at 10:44 AM, Wolfgang Grandegger <wg@grandegger.com> wrote:
Would it be better to specify the external clock frequency, and the
driver know that internal freq is half that? I ask because external
clock freq is a value the HW designer actually has control over.
Ugh, I see what you mean.
Or how about CLKOUT pin off if the property isn't present? Otherwise,
this looks okay. BTW, I'd consider prefixing this with 'nxp,' or
'sja1000,' to protect the namespace. clock-out-frequency sounds like
one of those names which could be commonly used in the future. I'd so
the same for the other chip-specific properties too.
Segher, what's your opinion on this?
hmmm; It is very chip specific and it is a lot of mucking around. If
you prefix the property with the manufacturer name, then perhaps the
explicit register setting is okay.
Are TX0 & TX1 protocol pins or GPIOs? If gpio, then maybe it is worth
the mucking about to then use the gpios binding to specify the pin
mode.
g.
--
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html