94292d7e95
Most of the gpio controller cannot configure or get the configuration of the pin muxing as it's usually handled in the pinctrl driver. But they can know what is the pinmuxing driver either because they are child of it or via the gpio-range property. Add some new methods to fdt_pinctrl that a pin controller can implement. Some methods are : fdt_pinctrl_is_gpio: Use to know if the pin in the gpio mode fdt_pinctrl_set_flags: Set the flags of the pin (pullup/pulldown etc ...) fdt_pinctrl_get_flags: Get the flags of the pin (pullup/pulldown etc ...) The defaults method returns EOPNOTSUPP. Reviewed by: ian, bcr (manpages) MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D23093 |
||
---|---|---|
.. | ||
fdt_arm_platform.c | ||
fdt_clock_if.m | ||
fdt_clock.c | ||
fdt_clock.h | ||
fdt_common.c | ||
fdt_common.h | ||
fdt_intr.h | ||
fdt_pinctrl_if.m | ||
fdt_pinctrl.c | ||
fdt_pinctrl.h | ||
fdt_slicer.c | ||
fdt_static_dtb.S | ||
simple_mfd.c | ||
simple_mfd.h | ||
simplebus.c | ||
simplebus.h |