On Fri, Feb 1, 2013 at 1:04 PM, John Crispin<blogic@xxxxxxxxxxx> wrote:
While converting the boards inside OpenWrt to OF I noticed that the we areOK, I have applied this, BUT:
missing a pinconf parameter to set a pin to output.
Signed-off-by: John Crispin<blogic@xxxxxxxxxxx>
@@ -34,6 +34,7 @@ enum ltq_pinconf_param {All of this exist in the generic pinconf library nowadays.
LTQ_PINCONF_PARAM_OPEN_DRAIN,
LTQ_PINCONF_PARAM_DRIVE_CURRENT,
LTQ_PINCONF_PARAM_SLEW_RATE,
+ LTQ_PINCONF_PARAM_OUTPUT,
};
How about cooking a patch that converts the lantiq driver
to just use that? It'll be pretty straight forward I think.
I mean you convert it to use the generic pinconf internally,
the DT representation we'll have to live with.
See for example the new drivers that are boiling in
-next. All use generic pinconf I think. The parameter to
set a pin as output was added for the abx500 driver
this cycle.
Yours,
Linus Walleij