5 Jun
2013
5 Jun
'13
3:27 p.m.
On Wed, Jun 05, 2013 at 08:12:56PM +0800, Nicolin Chen wrote:
- gpio-cfg : A list of GPIO configuration register values. The list must
- be 6 entries long. If absent, no configuration of these registers is
- performed. And note that the max value for each entry is 0xffff, don't
- fill a large one.
It is nicer for users if out of band values are ignored, providing them with a method for specifying the default register value without having to actually encode it. This is both more legible (they explicitly say "use the default, I don't care") and less work (as the default doesn't need to be checked).