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

Jean-Jacques Hiblot jjhiblot at ti.com
Fri Nov 8 16:25:45 UTC 2019


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 <jjhiblot at ti.com>
>> ---
>>
>> 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
>


More information about the U-Boot mailing list