lkml.org 
[lkml]   [2011]   [May]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 0/4] Pinmux subsystem
From
Date
On Tue, 03 May 2011 19:27:12 +0200, Andrew Lunn said:

> I can think of two different solutions:
>
> 1) Three functions: uart-3wire, uart-hw-flow, uart-hw-flow-modem. The
> first just has 2 pins, the second 4 and the last 8. The board code
> selects one of these for the serial driver to use.
>
> 2) Three functions: uart-core, uart-hw-flow, uart-mode. The first has
> 2 pins, the second has 2 pins and the last 4 pins. The board code tells
> the driver to use uart-core, plus say uart-hw-flow.

For this second solution, what happens if some bozo selects *only* uart-modem
but not uart-core? If there's a strict ordering (hw-flow requires core, modem
requires both hw-flow and core), it's essentially the same thing as the first
solution. If there's not a strict ordering (i.e you can select uart-modem
without uart-core), you need to come up with sane semantics.

[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2011-05-03 21:33    [W:0.935 / U:0.184 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site