[U-Boot] [RFC v3 PATCH 2/4] pinctrl: add pin control uclass support

Simon Glass sjg at chromium.org
Fri Aug 21 19:56:52 CEST 2015


Hi Masahiro,

On 12 August 2015 at 08:16, Simon Glass <sjg at chromium.org> wrote:
> Hi Masahiro,
>
> On 10 August 2015 at 10:05, Masahiro Yamada
> <yamada.masahiro at socionext.com> wrote:
>> 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 supports the same device tree bindings, but if you
>> do not need full interface support, you can disable some features
>> to reduce memory foot print.
>>
>> Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
>> ---
>>
>>  drivers/Kconfig                   |   2 +
>>  drivers/Makefile                  |   1 +
>>  drivers/core/device.c             |   4 +
>>  drivers/pinctrl/Kconfig           |  42 +++++
>>  drivers/pinctrl/Makefile          |   2 +
>>  drivers/pinctrl/pinctrl-generic.c | 351 ++++++++++++++++++++++++++++++++++++++
>>  drivers/pinctrl/pinctrl-uclass.c  | 151 ++++++++++++++++
>>  include/dm/pinctrl.h              | 218 +++++++++++++++++++++++
>>  include/dm/uclass-id.h            |   2 +
>>  9 files changed, 773 insertions(+)
>>  create mode 100644 drivers/pinctrl/Kconfig
>>  create mode 100644 drivers/pinctrl/Makefile
>>  create mode 100644 drivers/pinctrl/pinctrl-generic.c
>>  create mode 100644 drivers/pinctrl/pinctrl-uclass.c
>>  create mode 100644 include/dm/pinctrl.h

Just checking on the status of this patch - it would be great to move
this forward and apply it soon. The rockchip series now depends on it.

Regards,
Simon


More information about the U-Boot mailing list