freebsd-dev/sys/dev/fdt
Emmanuel Vadot 94292d7e95 fdt_pinctrl: Add new methods for gpios
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
2020-01-16 21:19:27 +00:00
..
fdt_arm_platform.c
fdt_clock_if.m
fdt_clock.c Align OF_getencprop_alloc API with OF_getencprop and OF_getprop_alloc 2018-04-09 22:06:16 +00:00
fdt_clock.h
fdt_common.c cpsw: use phy-handle in FDT to find PHY address 2019-04-03 21:01:53 +00:00
fdt_common.h Increase the number of fdt memory regions we support to 16. Some SoCs have 2018-05-29 17:44:40 +00:00
fdt_intr.h
fdt_pinctrl_if.m fdt_pinctrl: Add new methods for gpios 2020-01-16 21:19:27 +00:00
fdt_pinctrl.c fdt_pinctrl: Add some TSLOG annotations 2018-07-19 11:41:53 +00:00
fdt_pinctrl.h
fdt_slicer.c fdt_slicer: bump to SI_ORDER_THIRD following r347183 2019-09-29 03:12:35 +00:00
fdt_static_dtb.S
simple_mfd.c Fix bug introduced by r351184. 2019-08-18 15:37:19 +00:00
simple_mfd.h Extend simple_mfd driver to expose a syscon interface if 2019-07-02 08:47:18 +00:00
simplebus.c fdt: Add support for simple-mfd bus 2018-12-12 21:56:45 +00:00
simplebus.h fdt: Add support for simple-mfd bus 2018-12-12 21:56:45 +00:00