Re: Question about UIO vs DT
From: Kuninori Morimoto
Date: Fri May 16 2025 - 03:05:40 EST
Hi Greg
Thank you for your help
> > > > (A) [1 reg, 1 IRQ] UIO
> > > > (B) [1 reg, 1 IRQ] UIO
> > > > (C) [0 reg, 1 IRQ] UIO
> > > >
> > > > and (C) will be DT error. Is this known issue ? Do we have better solution ?
> > >
> > > Yes, write a real driver for the device as obviously it is a complex one
> > > and UIO shouldn't be used for it :)
> > >
> > > What type of device is this that requires this type of hardware control
> > > and why do you feel that UIO is the proper solution?
> >
> > One of big reason is license.
> > Because it needs to be proprietary licensed driver, we can't create
> > real driver.
>
> That is not a valid reason at all, sorry. So much so that I, and many
> others, have argued that you can not have UIO drivers in userspace that
> are NOT also released under the GPLv2.
>
> Go work with your lawyers please, there's nothing I can now do to help
> you out with this due to the expectation that you are attempting to
> evade the license requirements here.
OK, Thank you for clearing details and helping us.
I will forward this info to the relatead members.
Thank you for your help !!
Best regards
---
Kuninori Morimoto