
30 Oct
2019
30 Oct
'19
2:48 a.m.
On Wed, 2 Oct 2019 at 06:47, Jean-Jacques Hiblot jjhiblot@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@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@chromium.org
So much memory allocation! But I suppose it is unavoidable. No way to use DM's auto-alloc?
Regards, Simon