Re: [PATCHv6 0/4] n_gsm serdev support and protocol driver for droid4 modem

From: Tony Lindgren
Date: Fri Apr 24 2020 - 18:15:23 EST


* Pavel Machek <pavel@xxxxxxx> [200424 21:51]:
> Hi!
>
> > > Here's v4 set of n_gsm serdev support patches, and the related protocol
> > > driver for the modem found on Motorola Mapphone phones and tablets
> > > like droid4.
> > >
> > > This series only adds basic character device support for the serdev
> > > driver. Other serdev consumer drivers for specific devices will be
> > > posted separately.
> >
> > I'm still missing an architectural (design) overview here -- reviewer
> > time is a scarce resource.
> >
> > I also suggested earlier that you include, at least as an RFC, one or
> > more of your child-device drivers so that we can see how this ends up
> > being used in the end (including an example devicetree).
>
> Note that this is useful on its own: we have ofonod running on the top
> of this doing calls and SMSes.

Yup.

> Tony: I know you have drivers depending on this somewhere (audio
> routing and GPS), but I can't find them. It is not droid4-pending-v5.6
> AFAICT. Do you have a pointer / could you publish them somewhere?

Hmm they should be there in droid4-pending-v5.6 branch [0]:

$ git log --abbrev=12 --pretty=format:"%h (\"%s\")" \
v5.6..droid4-pending-v5.6 | grep -i -e gsm -e mot -e mdm
e09590a260a4 ("mfd: motmdm: Fix oops on unload of motorola-mdm")
f9252f9ff6bd ("mfd: motmdm: Revert bad list change")
d733dcaf4416 ("mfd: motmdm: Fix issue with receiving data before ddata is set")
452d2b5d4c95 ("n_gsm: Build fixes for make randconfig build")
6882b27ea92a ("phy: mapphone-mdm6600: Fix write timeouts with shorter GPIO toggle interval")
58ff58c4b520 ("mfd: motmdm: Add basic DTMF support")
e92b6f30e5ae ("ASoC: audio-graph-card: Add audio mixer for motorold mdm6600")
c2caea5767d5 ("gnss: mot-mdm6600: Add support for Motorola Mapphone MDM6600 modem")
a5f73b7b06f6 ("mfd: motmdm: Add Motorola TS 27.010 serdev driver for devices like droid4")
6c311d5aeb0a ("dt-bindings: mfd: motmdm: Add binding for motorola-mdm")
cd02274b920e ("tty: n_gsm: Add support for serdev drivers")
a73a48321c98 ("phy: mapphone-mdm6600: Fix timeouts by adding wake-up handling")

Regards,

Tony

[0] https://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap.git/log/?h=droid4-pending-v5.6