Thread (27 messages) 27 messages, 6 authors, 2011-02-16

Re: [Nios2-dev] [PATCH v2] altera_ps2: Add devicetree support

From: Tobias Klauser <hidden>
Date: 2011-02-02 12:11:12
Also in: linux-input, lkml

On Wed, 2 Feb 2011 19:48:58 +0800 Thomas Chou [off-list ref] wrote:
On 02/02/2011 12:31 PM, Grant Likely wrote:
quoted
quoted
+static const struct of_device_id altera_ps2_match[] = {
+	{ .compatible = "altr,ps2-1.0", },
I thought I had seen 'altera' instead of an abbreviation being used in
a previous patch.  I don't care much whether 'altr' or 'altera' is
used, but I'd like to know that there is consensus from the Altera
users so that all the drivers use the same prefix.
We had discussed on nios2-dev mailing list, and decided to use 'altr' as 
Walter suggested that it saves space.

About the documentation on dts binding, shall we have a single 
altera.txt to describe all Altera related binding, and opencores.txt to 
describe all OpenCores binding? Or separate file for each core in its 
driver class?
As I will submit the device tree support for the altera_uart driver
(and the altera_jtaguart driver sometime in the future) I was asking
myself the same question. I'd vote for the altera.txt solution, as we
could use that for documenting the uart drivers, other Altera component
specific drivers and also the Nios2 arch specific parameters in the
future.

Cheers
Tobias
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help