On Sat, Aug 24, 2013 at 11:40 PM, Boris BREZILLON
<b.brezillon@xxxxxxxxxxx> wrote:
Add generic pinconf definitions and reference appropriate configs in(...)
atmel,pins properties.
Signed-off-by: Boris BREZILLON <b.brezillon@xxxxxxxxxxx>pinctrl@fffff200 {What kind of compatible string is that "generic-pinconf"?
#address-cells = <1>;
#size-cells = <1>;
- compatible = "atmel,at91sam9x5-pinctrl", "atmel,at91rm9200-pinctrl", "simple-bus";
+ compatible = "atmel,at91sam9x5-pinctrl", "atmel,at91rm9200-pinctrl", "generic-pinconf", "simple-bus";
There is no driver that can instantiate against this string but I'm not
100% sure about such things. Is there some other driver doing this?
Else I think it'd just be removed.
+ pcfg_none: pcfg_none {Nice.
+ bias-disable;
+ };
+
+ pcfg_pull_up: pcfg_pull_up {
+ bias-pull-up;
+ };
+ pcfg_deglitch: pcfg_deglitch {input-deglitch seems like a proposed generic binding but I haven't seen
+ input-deglitch = <1>;
+ };
+
+ pcfg_pull_up_deglitch: pcfg_pull_up_deglitch {
+ bias-pull-up;
+ input-deglitch = <1>;
+ };
these yet?
(It might be in my violently exploding INBOX though sorry in that case.)
This would need adding to
Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt
Plus changes to pinctrl core for handling.
BTW: this is really moving in the right direction!
Yours,
Linus Walleij