u-boot/include/dm
Masahiro Yamada d90a5a30de pinctrl: add pin control uclass support
This creates a new framework for handling of pin control devices,
i.e. devices that control different aspects of package pins.

This uclass handles pinmuxing and pin configuration; pinmuxing
controls switching among silicon blocks that share certain physical
pins, pin configuration handles electronic properties such as pin-
biasing, load capacitance etc.

This framework can support the same device tree bindings, but if you
do not need full interface support, you can disable some features to
reduce memory foot print.  Typically around 1.5KB is necessary to
include full-featured uclass support on ARM board (CONFIG_PINCTRL +
CONFIG_PINCTRL_FULL + CONFIG_PINCTRL_GENERIC + CONFIG_PINCTRL_PINMUX),
for example.

We are often limited on code size for SPL.  Besides, we still have
many boards that do not support device tree configuration.  The full
pinctrl, which requires OF_CONTROL, does not make sense for those
boards.  So, this framework also has a Do-It-Yourself (let's say
simple pinctrl) interface.  With CONFIG_PINCTRL_FULL disabled, the
uclass itself provides no systematic mechanism for identifying the
peripheral device, applying pinctrl settings, etc.  They must be
done in each low-level driver.  In return, you can save much memory
footprint and it might be useful especially for SPL.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Simon Glass <sjg@chromium.org>
2015-08-31 07:57:29 -06:00
..
platform_data serial: uniphier: drop platform data support 2015-08-31 00:28:46 +09:00
device-internal.h dm: core: allow device_bind() to not return a device pointer 2015-08-31 07:57:29 -06:00
device.h of: clean up OF_CONTROL ifdef conditionals 2015-08-18 13:46:05 -04:00
lists.h dm: core: allow device_bind() to not return a device pointer 2015-08-31 07:57:29 -06:00
pinctrl.h pinctrl: add pin control uclass support 2015-08-31 07:57:29 -06:00
platdata.h dm: Add platform data advice and admonishment 2015-07-21 17:39:30 -06:00
root.h dm: Add dm_scan_other() to locate board-specific devices 2014-07-23 14:08:37 +01:00
test.h test: dm: Move the dm tests over to the ut command 2015-05-21 09:16:17 -04:00
uclass-id.h pinctrl: add pin control uclass support 2015-08-31 07:57:29 -06:00
uclass-internal.h dm: drop CONFIG_DM_DEVICE_REMOVE from uncmd list 2015-08-18 13:46:04 -04:00
uclass.h dm: simplify uclass_foreach_dev() implementation 2015-08-31 07:56:44 -06:00
util.h devres: add debug command to dump device resources 2015-08-06 07:44:29 -06:00