From: Jean-Jacques Hiblot Date: Fri, 8 Nov 2019 17:25:45 +0100 Subject: [U-Boot] [PATCH v2 3/4] drivers: mux: mmio-based syscon mux controller In-Reply-To: References: <20191105115019.25484-1-jjhiblot@ti.com> <20191105115019.25484-4-jjhiblot@ti.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: u-boot@lists.denx.de On 08/11/2019 13:16, Alexandru Marginean wrote: > Hi JJ, > > On 11/5/2019 12:50 PM, Jean-Jacques Hiblot 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 >> --- >> >> Changes in v2: None >> >>   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 >> > > do you plan to add support for reg-mux too, for parent devices which are > not syscon? I haven't planned to work on it. I kept the framework close to the linux version, so porting mux drivers from linux shouldn't be hard. JJ > > Thanks! > Alex >