From: Maxime Ripard <maxime.ripard@bootlin.com>
To: Jagan Teki <jagan@amarulasolutions.com>
Cc: Yong Deng <yong.deng@magewell.com>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
Rob Herring <robh+dt@kernel.org>,
Mark Rutland <mark.rutland@arm.com>, Chen-Yu Tsai <wens@csie.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
davem@davemloft.net, akpm@linux-foundation.org,
Arnd Bergmann <arnd@arndb.de>,
Hans Verkuil <hans.verkuil@cisco.com>,
laurent.pinchart@ideasonboard.com, geert@linux-m68k.org,
Neil Armstrong <narmstrong@baylibre.com>,
Philipp Zabel <p.zabel@pengutronix.de>,
jacopo+renesas@jmondi.org, tglx@linutronix.de,
todor.tomov@linaro.org, linux-media <linux-media@vger.kernel.org>,
devicetree <devicetree@vger.kernel.org>,
linux-arm-kernel <linux-arm-kernel@lists.infradead.org>,
linux-kernel <linux-kernel@vger.kernel.org>,
linux-sunxi@goog
Subject: Re: [linux-sunxi] [PATCH v12 2/2] media: V3s: Add support for Allwinner CSI.
Date: Tue, 20 Nov 2018 14:18:16 +0100 [thread overview]
Message-ID: <20181120131816.sqwiiics7sannl7f@flea> (raw)
In-Reply-To: <CAMty3ZBa3XwQ-0CDYb69qny2MiaCfx1RiQZvQ+WhkoSonU5CbA@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 4374 bytes --]
On Tue, Nov 20, 2018 at 06:27:48PM +0530, Jagan Teki wrote:
> On Mon, Nov 19, 2018 at 5:38 PM Jagan Teki <jagan@amarulasolutions.com> wrote:
> >
> > On Tue, Oct 30, 2018 at 1:49 PM Yong Deng <yong.deng@magewell.com> wrote:
> > >
> > > Allwinner V3s SoC features a CSI module with parallel interface.
> > >
> > > This patch implement a v4l2 framework driver for it.
> > >
> > > Reviewed-by: Hans Verkuil <hans.verkuil@cisco.com>
> > > Reviewed-by: Maxime Ripard <maxime.ripard@bootlin.com>
> > > Tested-by: Maxime Ripard <maxime.ripard@bootlin.com>
> > > Signed-off-by: Yong Deng <yong.deng@magewell.com>
> > > ---
> > > MAINTAINERS | 8 +
> > > drivers/media/platform/Kconfig | 1 +
> > > drivers/media/platform/Makefile | 2 +
> > > drivers/media/platform/sunxi/sun6i-csi/Kconfig | 9 +
> > > drivers/media/platform/sunxi/sun6i-csi/Makefile | 3 +
> > > drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c | 915 +++++++++++++++++++++
> > > drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.h | 135 +++
> > > .../media/platform/sunxi/sun6i-csi/sun6i_csi_reg.h | 196 +++++
> > > .../media/platform/sunxi/sun6i-csi/sun6i_video.c | 678 +++++++++++++++
> > > .../media/platform/sunxi/sun6i-csi/sun6i_video.h | 38 +
> > > 10 files changed, 1985 insertions(+)
> > > create mode 100644 drivers/media/platform/sunxi/sun6i-csi/Kconfig
> > > create mode 100644 drivers/media/platform/sunxi/sun6i-csi/Makefile
> > > create mode 100644 drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c
> > > create mode 100644 drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.h
> > > create mode 100644 drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_reg.h
> > > create mode 100644 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c
> > > create mode 100644 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.h
> > >
> > > diff --git a/MAINTAINERS b/MAINTAINERS
> > > index 23021e0df5d7..42d73b35ed3e 100644
> > > --- a/MAINTAINERS
> > > +++ b/MAINTAINERS
> > > @@ -3900,6 +3900,14 @@ M: Jaya Kumar <jayakumar.alsa@gmail.com>
> > > S: Maintained
> > > F: sound/pci/cs5535audio/
> > >
> > > +CSI DRIVERS FOR ALLWINNER V3s
> > > +M: Yong Deng <yong.deng@magewell.com>
> > > +L: linux-media@vger.kernel.org
> > > +T: git git://linuxtv.org/media_tree.git
> > > +S: Maintained
> > > +F: drivers/media/platform/sunxi/sun6i-csi/
> > > +F: Documentation/devicetree/bindings/media/sun6i-csi.txt
> > > +
> > > CW1200 WLAN driver
> > > M: Solomon Peachy <pizza@shaftnet.org>
> > > S: Maintained
> > > diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig
> > > index 0edacfb01f3a..be6626ed0ec8 100644
> > > --- a/drivers/media/platform/Kconfig
> > > +++ b/drivers/media/platform/Kconfig
> > > @@ -138,6 +138,7 @@ source "drivers/media/platform/am437x/Kconfig"
> > > source "drivers/media/platform/xilinx/Kconfig"
> > > source "drivers/media/platform/rcar-vin/Kconfig"
> > > source "drivers/media/platform/atmel/Kconfig"
> > > +source "drivers/media/platform/sunxi/sun6i-csi/Kconfig"
> >
> > [snip]
> >
> > > +
> > > + return 0;
> > > +}
> > > +
> > > +static int sun6i_subdev_notify_complete(struct v4l2_async_notifier *notifier)
> > > +{
> > > + struct sun6i_csi *csi = container_of(notifier, struct sun6i_csi,
> > > + notifier);
> > > + struct v4l2_device *v4l2_dev = &csi->v4l2_dev;
> > > + struct v4l2_subdev *sd;
> > > + int ret;
> > > +
> > > + dev_dbg(csi->dev, "notify complete, all subdevs registered\n");
> > > +
> > > + if (notifier->num_subdevs != 1)
> >
> > drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c: In function
> > ‘sun6i_subdev_notify_complete’:
> > drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c:646:14: error:
> > ‘struct v4l2_async_notifier’ has no member named ‘num_subdevs’
>
> This build issues on linux-next, let me know you have next version
> changes for this, thanks.
This driver has been merged now, and you have a fix on the thread
starting from the cover letter of that very same version.
Maxime
--
Maxime Ripard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
prev parent reply other threads:[~2018-11-20 13:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-30 8:18 [PATCH v12 2/2] media: V3s: Add support for Allwinner CSI Yong Deng
[not found] ` <1540887490-28316-1-git-send-email-yong.deng-+3dxTMOEIRNWk0Htik3J/w@public.gmane.org>
2018-11-19 12:08 ` Jagan Teki
[not found] ` <CAMty3ZAprBAxAm+=1kpFsbhV3XGvmQ8XEW+6mOcsV5iaR3xNyQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-11-20 12:57 ` Jagan Teki
2018-11-20 13:18 ` [linux-sunxi] " Sakari Ailus
2018-11-20 13:18 ` Maxime Ripard [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181120131816.sqwiiics7sannl7f@flea \
--to=maxime.ripard@bootlin.com \
--cc=akpm@linux-foundation.org \
--cc=arnd@arndb.de \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=geert@linux-m68k.org \
--cc=gregkh@linuxfoundation.org \
--cc=hans.verkuil@cisco.com \
--cc=jacopo+renesas@jmondi.org \
--cc=jagan@amarulasolutions.com \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-sunxi@goog \
--cc=mark.rutland@arm.com \
--cc=mchehab@kernel.org \
--cc=narmstrong@baylibre.com \
--cc=p.zabel@pengutronix.de \
--cc=robh+dt@kernel.org \
--cc=tglx@linutronix.de \
--cc=todor.tomov@linaro.org \
--cc=wens@csie.org \
--cc=yong.deng@magewell.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).