Lines Matching +full:dev +full:- +full:a +full:- +full:active +full:- +full:pins
1 .\" -*- nroff -*-
20 .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
53 function to register itself as a pinmux controller.
56 is used to walk the device tree and configure pins specified by the pinctrl-0
57 property for all active devices.
62 If a client device requires a pin configuration change at some
72 to request a pin configuration
73 described by the pinctrl-N property with index
83 registers a pinctrl driver so that it can be used by other devices which call
88 a property with the name given in
96 as a pinmux controller for more than one pin property type
103 If the pinctrl-0 property contains references
105 their pins are configured.
107 .Bd -literal
109 foo_configure_pins(device_t dev, phandle_t cfgxref)
112 uint32_t *pins, *functions;
117 npins = OF_getencprop_alloc_multi(cfgnode, "foo,pins", sizeof(*pins),
118 (void **)&pins);
126 foo_is_gpio(device_t dev, device_t gpiodev, bool *is_gpio)
132 foo_set_flags(device_t dev, device_t gpiodev, uint32_t pin, uint32_t flags)
144 foo_get_flags(device_t dev, device_t gpiodev, uint32_t pin, uint32_t *flags)
156 foo_attach(device_t dev)
160 fdt_pinctrl_register(dev, "foo,pins");
164 fdt_pinctrl_register(dev, "bar,pins");
165 fdt_pinctrl_configure_tree(dev);