Re: [PATCH 2/2] i3c: master: Add driver for MediaTek IP

2019-06-13 Thread Qii Wang
On Tue, 2019-06-11 at 14:28 +0200, Boris Brezillon wrote: > On Tue, 11 Jun 2019 20:25:22 +0800 > Qii Wang wrote: > > > On Tue, 2019-06-04 at 20:26 +0800, Qii Wang wrote: > > > On Tue, 2019-06-04 at 09:58 +0200, Boris Brezillon wrote: > > > > On Mon, 3 Jun 2019 11:51:03 +0800 > > > > Qii Wang w

Re: [PATCH 2/2] i3c: master: Add driver for MediaTek IP

2019-06-11 Thread Boris Brezillon
On Tue, 11 Jun 2019 20:25:22 +0800 Qii Wang wrote: > On Tue, 2019-06-04 at 20:26 +0800, Qii Wang wrote: > > On Tue, 2019-06-04 at 09:58 +0200, Boris Brezillon wrote: > > > On Mon, 3 Jun 2019 11:51:03 +0800 > > > Qii Wang wrote: > > > > > > > > > > +static int mtk_i3c_master_probe(struct pl

Re: [PATCH 2/2] i3c: master: Add driver for MediaTek IP

2019-06-11 Thread Qii Wang
On Tue, 2019-06-04 at 20:26 +0800, Qii Wang wrote: > On Tue, 2019-06-04 at 09:58 +0200, Boris Brezillon wrote: > > On Mon, 3 Jun 2019 11:51:03 +0800 > > Qii Wang wrote: > > > > > > > +static int mtk_i3c_master_probe(struct platform_device *pdev) > > > +{ > > > + struct device *dev = &pdev->dev;

Re: [PATCH 2/2] i3c: master: Add driver for MediaTek IP

2019-06-04 Thread Qii Wang
On Tue, 2019-06-04 at 09:58 +0200, Boris Brezillon wrote: > On Mon, 3 Jun 2019 11:51:03 +0800 > Qii Wang wrote: > > > > +static int mtk_i3c_master_probe(struct platform_device *pdev) > > +{ > > + struct device *dev = &pdev->dev; > > + struct mtk_i3c_master *master; > > + struct resource *r

Re: [PATCH 2/2] i3c: master: Add driver for MediaTek IP

2019-06-04 Thread Boris Brezillon
On Mon, 3 Jun 2019 11:51:03 +0800 Qii Wang wrote: > +static int mtk_i3c_master_probe(struct platform_device *pdev) > +{ > + struct device *dev = &pdev->dev; > + struct mtk_i3c_master *master; > + struct resource *res; > + int ret, irqnr; > + > + master = devm_kzalloc(dev, siz

[PATCH 2/2] i3c: master: Add driver for MediaTek IP

2019-06-02 Thread Qii Wang
Add a driver for MediaTek I3C master IP. Signed-off-by: Qii Wang --- drivers/i3c/master/Kconfig | 10 + drivers/i3c/master/Makefile |1 + drivers/i3c/master/i3c-master-mtk.c | 1246 +++ 3 files changed, 1257 insertions(+) create mode 100644