[U-Boot] [PATCH v1 3/4] drivers: mux: mmio-based syscon mux controller

Simon Glass sjg at chromium.org
Wed Oct 30 01:48:51 UTC 2019


On Wed, 2 Oct 2019 at 06:47, Jean-Jacques Hiblot <jjhiblot at ti.com> wrote:
>
> This adds a driver for mmio-based syscon multiplexers controlled by
> bitfields in a syscon register range.
> This is heavily based on the linux mmio-mux driver.
>
> Signed-off-by: Jean-Jacques Hiblot <jjhiblot at ti.com>
> ---
>
>  drivers/mux/Kconfig  |  15 +++++
>  drivers/mux/Makefile |   1 +
>  drivers/mux/mmio.c   | 155 +++++++++++++++++++++++++++++++++++++++++++
>  3 files changed, 171 insertions(+)
>  create mode 100644 drivers/mux/mmio.c

Reviewed-by: Simon Glass <sjg at chromium.org>

So much memory allocation! But I suppose it is unavoidable. No way to
use DM's auto-alloc?

Regards,
Simon


More information about the U-Boot mailing list